.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 0 24px rgba(13, 148, 136, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(13, 148, 136, 0.1);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1rem;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.lang-btn {
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  position: relative;
  z-index: 10;
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.capability-card {
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.capability-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.capability-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--radius-sm);
}

.capability-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.capability-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.capability-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.philosophy-card {
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.philosophy-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.philosophy-card:hover::before {
  opacity: 1;
}

.philosophy-card:nth-child(1)::before {
  background: linear-gradient(90deg, var(--accent), #10B981);
}

.philosophy-card:nth-child(2)::before {
  background: linear-gradient(90deg, #3B82F6, #8B5CF6);
}

.philosophy-card:nth-child(3)::before {
  background: linear-gradient(90deg, #F59E0B, #EF4444);
}

.philosophy-card:nth-child(4)::before {
  background: linear-gradient(90deg, #EC4899, #8B5CF6);
}

.philosophy-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent), #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.8;
}

.philosophy-card:nth-child(2) .philosophy-number {
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  -webkit-background-clip: text;
  background-clip: text;
}

.philosophy-card:nth-child(3) .philosophy-number {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  -webkit-background-clip: text;
  background-clip: text;
}

.philosophy-card:nth-child(4) .philosophy-number {
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  -webkit-background-clip: text;
  background-clip: text;
}

.philosophy-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--radius-sm);
}

.philosophy-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.philosophy-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.philosophy-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.provider-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(16px);
}

.provider-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.provider-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.provider-lettermark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--font-display);
  transition: all 0.3s ease;
}

.provider-card:hover .provider-lettermark {
  background: rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.15);
  transform: scale(1.05);
}

.provider-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
}

.dashboard-wrapper {
  margin-top: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(13, 148, 136, 0.08);
  border: 1px solid var(--border);
}

.dashboard-ui {
  background: #0F0F11;
  color: #E5E5E5;
  min-height: 520px;
  display: flex;
  font-size: 0.875rem;
}

/* Sidebar */
.dashboard-sidebar {
  width: 210px;
  background: #16161A;
  border-right: 1px solid #27272A;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
  padding: 0 8px;
}

.sidebar-logo i {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #A1A1AA;
  font-size: 0.8125rem;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #E5E5E5;
}

.sidebar-item.active {
  background: rgba(13, 148, 136, 0.15);
  color: #FFFFFF;
}

.sidebar-item i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #27272A;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  color: #71717A;
  font-size: 0.75rem;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.sidebar-footer-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #E5E5E5;
}

.sidebar-footer-item i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-top: 4px;
}

.sidebar-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #0F0F11;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-user-email {
  font-size: 0.75rem;
  color: #71717A;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Main content */
.dashboard-main {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF;
}

.dashboard-credits {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 6px;
  font-size: 0.8125rem;
  color: var(--accent);
}

.credit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.5);
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kpi-card {
  background: #16161A;
  border: 1px solid #27272A;
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s ease;
}

.kpi-card:hover {
  border-color: rgba(13, 148, 136, 0.3);
}

.kpi-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  color: #3B82F6;
}

.kpi-icon i {
  width: 18px;
  height: 18px;
}

.kpi-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}

.kpi-label {
  font-size: 0.75rem;
  color: #A1A1AA;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dashboard row */
.dashboard-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dashboard-panel {
  background: #16161A;
  border: 1px solid #27272A;
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: border-color 0.3s ease;
}

.dashboard-panel:hover {
  border-color: rgba(13, 148, 136, 0.3);
}

.panel-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
}

/* Chart */
.chart-container {
  width: 100%;
  height: 180px;
}

.chart-line {
  width: 100%;
  height: 100%;
}

.chart-stroke {
  filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.4));
}

/* Activity table */
.activity-table {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.activity-header {
  display: grid;
  grid-template-columns: 60px 1fr 80px 60px;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #71717A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #27272A;
}

.activity-row {
  display: grid;
  grid-template-columns: 60px 1fr 80px 60px;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(39, 39, 42, 0.5);
  align-items: center;
}

.activity-row:last-child {
  border-bottom: none;
}

.activity-time {
  color: #71717A;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.activity-agent {
  color: #E4E4E7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  width: fit-content;
}

.activity-status.completed {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
}

.activity-status.pending {
  background: rgba(234, 179, 8, 0.15);
  color: #EAB308;
}

.activity-status.failed {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.activity-duration {
  color: #71717A;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: right;
}

.usage-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #A1A1AA;
  margin-top: 8px;
}

/* Unlimited section */
.unlimited-card {
  padding: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.unlimited-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.unlimited-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 20px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--radius);
}

.unlimited-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.unlimited-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.unlimited-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Pricing table section */
.pricing-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-tier {
  margin-bottom: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-tier:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

.tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(13, 148, 136, 0.05);
  border-bottom: 1px solid var(--border);
}

.tier-badge {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-range {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tier-table {
  padding: 8px 0;
}

.table-header {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 16px;
  padding: 12px 24px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

.table-row {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 16px;
  padding: 14px 24px;
  font-size: 0.875rem;
  color: var(--text);
  border-bottom: 1px solid rgba(30, 30, 45, 0.5);
  transition: background 0.2s ease;
}

.table-row:last-child {
  border-bottom: none;
}

.table-row:hover {
  background: rgba(13, 148, 136, 0.03);
}

.table-row.more-row {
  justify-content: center;
  background: transparent;
  cursor: default;
  border-bottom: none;
  padding: 12px 24px;
}

.table-row.more-row:hover {
  background: transparent;
}

.table-row.more-row .model-name {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.7;
  text-align: center;
  width: 100%;
}

.model-name {
  font-weight: 600;
  color: var(--text);
}

.cost-highlight {
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
}

.pricing-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 24px;
  font-style: italic;
}

/* Tier color variations */
.tier-ultra .tier-header {
  background: rgba(13, 148, 136, 0.08);
  border-left: 4px solid var(--accent);
}

.tier-cheap .tier-header {
  background: rgba(14, 165, 233, 0.08);
  border-left: 4px solid #0EA5E9;
}

.tier-cheap .tier-badge {
  color: #0EA5E9;
}

.tier-cheap .cost-highlight {
  color: #0EA5E9;
}

.tier-standard .tier-header {
  background: rgba(99, 102, 241, 0.08);
  border-left: 4px solid #6366F1;
}

.tier-standard .tier-badge {
  color: #6366F1;
}

.tier-standard .cost-highlight {
  color: #6366F1;
}

.tier-expensive .tier-header {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid #F59E0B;
}

.tier-expensive .tier-badge {
  color: #F59E0B;
}

.tier-expensive .cost-highlight {
  color: #F59E0B;
}

.more-models {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.875rem;
  padding: 10px 24px;
  border-top: 1px dashed var(--border);
  margin-top: 4px;
  text-align: center;
  opacity: 0.7;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.faq-answer {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer legal links */
.footer-legal {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer-legal a:hover {
  opacity: 1;
  color: var(--text);
}
