/* Lector Website Styles */
/* Following Brand Guidelines */

:root {
  /* Primary */
  --primary: #0D9488;
  --primary-light: #14B8A6;
  --primary-dark: #0F766E;
  
  /* Accent */
  --accent: #F59E0B;
  --accent-light: #FCD34D;
  --accent-dark: #D97706;
  
  /* Surface */
  --surface: #134E4A;
  --surface-light: #115E59;
  --bg: #0A1F1E;
  --bg-light: #0F2928;
  
  /* Text */
  --text: #F0FDF4;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  
  /* Semantic */
  --success: #10B981;
  --error: #EF4444;
  
  /* Spacing */
  --section-padding: 120px;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(40px, 8vw, 72px);
}

h2 {
  font-size: clamp(28px, 5vw, 40px);
  text-align: center;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  background: rgba(10, 31, 30, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.nav-logo-icon svg {
  width: 24px;
  height: 24px;
}

.nav-logo-icon.small {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-logo-icon.small svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-auth {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-auth:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-auth.logged-in {
  border-color: var(--primary);
  color: var(--primary-light) !important;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 10px 20px;
  border-radius: 10px;
  color: white !important;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

/* Hero Section */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 128px 40px 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(13, 148, 136, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 1180px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 28px;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: normal;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 1;
}

html[lang="es"] .hero h1 {
  font-size: clamp(44px, 5.8vw, 78px);
}

.hero-subtitle-group {
  max-width: 860px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-subtitle {
  margin: 0 auto;
}

.hero-subtitle-main {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.35;
  max-width: 760px;
  white-space: nowrap;
}

.hero-subtitle-product {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  max-width: 700px;
}


.hero-visual {
  display: none; /* Hidden for now, can show floating player mockup */
}

/* Demo Widget */
.demo-widget {
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.5), rgba(10, 31, 30, 0.7));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 
    0 24px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

#demo-section {
  scroll-margin-top: 120px;
}

.scroll-anchor {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
}

.demo-tabs {
  display: flex;
  gap: 8px;
  flex: 1;
}

.demo-user-status {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.demo-user-status.signed-in {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.demo-user-status.demo-mode {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.demo-tab {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.demo-tab:hover {
  background: rgba(255, 255, 255, 0.08);
}

.demo-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.demo-input-area {
  margin-bottom: 20px;
}

.demo-panel {
  display: none;
}

.demo-panel.active {
  display: block;
}

.demo-panel input,
.demo-panel textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.2s;
}

.demo-panel textarea {
  min-height: 120px;
  resize: vertical;
}

.demo-panel input:focus,
.demo-panel textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(13, 148, 136, 0.1);
}

.demo-panel input::placeholder,
.demo-panel textarea::placeholder {
  color: var(--text-subtle);
}

.demo-controls {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.demo-voice-select {
  flex: 1;
}

.demo-voice-select label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.demo-voice-select select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: all 0.2s;
}

.demo-voice-select select:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.demo-voice-select select:focus {
  outline: none;
  border-color: var(--primary);
}

.demo-voice-select option,
.demo-voice-select optgroup {
  background: #1a2a29;
  color: white;
}

.demo-play-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
}

.demo-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.5);
}

.demo-play-btn:active {
  transform: scale(0.98);
}

.demo-play-btn svg {
  width: 20px;
  height: 20px;
}

.demo-play-btn.playing .icon-play {
  display: none;
}

.demo-play-btn.playing .icon-pause {
  display: block !important;
}

.demo-play-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.demo-status {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  min-height: 20px;
}

.demo-status.error {
  color: var(--error);
}

.demo-status.success {
  color: var(--success);
}

/* Floating Player Demo (visual only) */
.floating-player-demo {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
}

.fp-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.75), rgba(10, 31, 30, 0.85));
  backdrop-filter: blur(24px);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
  padding: 56px 40px 56px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-light) 100%);
}

.features-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.3), rgba(10, 31, 30, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  transition: all 0.3s;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.feature h3 {
  color: var(--text);
  margin-bottom: 12px;
}

.feature p {
  font-size: 15px;
  line-height: 1.6;
}

/* How It Works */
.how-it-works {
  padding: 56px 40px 72px;
  background: var(--bg-light);
}

.how-it-works h2 {
  margin-bottom: 16px;
}

.how-subtitle {
  text-align: center;
  font-size: 18px;
  margin-bottom: 36px;
}

.paths {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 32px;
}

.path {
  flex: 1;
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.3), rgba(10, 31, 30, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.path-header {
  text-align: center;
  margin-bottom: 28px;
}

.path-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.path-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.path h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.path-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.path-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.path-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.path-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
}

.path-step strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.path-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.path-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.path-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.path-cta-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.path-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.path-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.path-divider span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.how-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 24px;
}

.pricing-context {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: 15px;
  color: var(--text-subtle);
}

/* Pricing Section */
.pricing {
  padding: 72px 40px 64px;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
}

.pricing-subtitle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-subtitle {
    white-space: nowrap;
  }
}

.pricing-surface-note {
  max-width: 720px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.pricing-human-body {
  margin-bottom: 24px;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.toggle-label[data-period="monthly"].active,
.toggle-label[data-period="annual"].active {
  color: var(--text);
}

.save-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  margin-left: 8px;
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.toggle-switch[aria-pressed="true"] {
  background: var(--primary);
}

.toggle-handle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-switch[aria-pressed="true"] .toggle-handle {
  transform: translateX(24px);
}

.pricing-card {
  max-width: 400px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.5), rgba(10, 31, 30, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 
    0 24px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(13, 148, 136, 0.2);
}

.pricing-header h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.price {
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.period {
  font-size: 18px;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 15px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  width: 20px;
  height: 20px;
  stroke: var(--success);
  flex-shrink: 0;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  border-radius: 14px;
  color: white;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
  text-align: center;
}

.pricing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
}

.pricing-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-subtle);
}

.api-tier-characters {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted); /* better to stay consistent with your system */
  margin-top: 6px;
  margin-bottom: 10px;
}

.api-tier-characters strong {
  color: var(--text);
  font-weight: 600;
}

/* Final CTA */
.final-cta {
  padding: 64px 40px 56px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
}

.final-cta p {
  font-size: 18px;
  margin-bottom: 24px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 190px;
  padding: 18px 34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  color: white;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s;
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.5);
}

.cta-button svg {
  width: 24px;
  height: 24px;
}

.cta-button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  min-width: 190px;
}

.cta-button-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.cta-button-accent {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.28);
}

.cta-button-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.32);
}

.nav-cta,
.nav-auth,
.path-cta,
.pricing-cta {
  border-radius: 12px;
  font-weight: 600;
}

.cta-button,
.path-cta,
.pricing-cta {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cta-button-secondary,
.path-cta-secondary,
.nav-auth {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cta-button-secondary:hover,
.path-cta-secondary:hover,
.nav-auth:hover {
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.12);
}

/* Footer */
.footer {
  padding: 40px 40px 32px;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-subtle);
}

.footer-privacy {
  font-size: 12px;
  color: var(--text-subtle);
  opacity: 0.8;
  margin-top: 4px;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal.visible {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: linear-gradient(135deg, #0F2928, #0A1F1E);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 28px;
  padding: 48px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.5);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.visible .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.modal-step {
  display: block;
}

.modal-step.hidden {
  display: none;
}

.modal-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.modal-content h2 {
  font-size: 24px;
  margin-bottom: 12px;
  text-align: center;
}

.modal-content > p,
.modal-step > p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.modal-step input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  margin-bottom: 16px;
  transition: all 0.2s;
  text-align: center;
}

.modal-step input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(13, 148, 136, 0.1);
}

.modal-step input::placeholder {
  color: var(--text-subtle);
}

.modal-btn {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.modal-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-btn-secondary {
  width: 100%;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.2s;
}

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

.modal-sent {
  color: var(--primary-light);
  font-size: 14px;
  margin-bottom: 20px;
}

.modal-error {
  color: var(--error);
  font-size: 13px;
  margin-top: 12px;
  min-height: 20px;
}

/* Account Modal */
.account-content {
  max-width: 360px;
}

.account-summary-block,
.account-module-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.account-section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.account-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  margin: 24px 0 16px;
}

.account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.account-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-label {
  color: var(--text-muted);
  font-size: 14px;
}

.account-value {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.account-value.pro {
  color: var(--primary-light);
}

.account-value.trial {
  color: var(--accent);
}

.account-progress {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.account-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 6px;
  transition: width 0.3s ease;
  width: 0%;
}

.account-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.age-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin: 16px 0 8px;
  cursor: pointer;
}

.age-confirm input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.age-confirm span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.age-confirm a {
  color: var(--primary-light);
  text-decoration: underline;
}

.age-confirm a:hover {
  color: var(--primary);
}

.age-note {
  font-size: 11px;
  color: var(--text-subtle);
  text-align: left;
  margin-bottom: 16px;
  line-height: 1.4;
}

.modal-note {
  color: var(--text-subtle);
  font-size: 12px;
  margin-top: 20px;
}

@media (min-width: 1100px) {
  .hero h1,
  .hero-subtitle-main {
    white-space: nowrap;
  }
}

.page-shell {
  padding: 120px 24px 80px;
}

.page-hero {
  padding: 32px 0 24px;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-eyebrow {
  color: var(--primary-light);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero h1 {
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1.5;
}

.page-section {
  max-width: 1000px;
  margin: 0 auto 32px;
}

.content-card {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06), rgba(15, 23, 42, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.content-card h2 {
  margin-bottom: 16px;
}

.simple-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 1.8;
}

.code-block {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.page-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dashboard-account-card {
  padding: 28px;
}

.dashboard-account-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.dashboard-actions {
  align-items: center;
}

.dashboard-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.dashboard-account-email {
  margin: 0;
  font-size: 28px;
  color: var(--text);
}

.dashboard-account-note {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.dashboard-module-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-module-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.dashboard-status-badge-active {
  background: rgba(13, 148, 136, 0.18);
  color: #CFFAF2;
  border-color: rgba(13, 148, 136, 0.35);
}

.dashboard-status-badge-muted {
  opacity: 0.85;
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-stat {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.dashboard-stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.dashboard-stat-value {
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
}

.dashboard-usage-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-usage-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.dashboard-progress {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.dashboard-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.dashboard-key-block {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.dashboard-key-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.dashboard-key-prefix {
  margin: 4px 0 0;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
}

.dashboard-key-note {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.dashboard-key-reveal {
  margin-top: 16px;
}

.dashboard-key-full-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.dashboard-key-full-row code {
  flex: 1;
  display: block;
  overflow-x: auto;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: #E6FFFA;
  border: 1px solid rgba(255,255,255,0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}

.dashboard-warning {
  margin-top: 12px;
  color: #FDE68A;
  font-size: 13px;
  line-height: 1.5;
}

.dashboard-quickstart {
  margin-top: 6px;
}

.dashboard-key-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 10, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dashboard-key-modal[hidden] {
  display: none !important;
}

.dashboard-key-modal-card {
  width: min(760px, 100%);
  background: linear-gradient(180deg, rgba(15, 41, 40, 0.98), rgba(10, 31, 30, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dashboard-key-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.dashboard-key-modal-title {
  margin: 0;
  color: var(--text);
  font-size: 24px;
}

.dashboard-modal-close {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.dashboard-modal-close:hover {
  color: var(--text);
}

#api-key-modal-full {
  min-height: 52px;
}

.dashboard-module-card .page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.dashboard-module-card .page-actions .cta-button {
  min-width: 180px;
}

.dashboard-module-card .page-actions .cta-button {
  min-width: 180px;
  outline: none;
}

#get-api-access-btn {
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.16);
  border: 1px solid rgba(13, 148, 136, 0.22);
}

#get-api-access-btn:hover {
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.2);
}

#get-api-access-btn:focus,
#get-api-access-btn:focus-visible,
#get-api-access-btn:active {
  outline: none;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.18), 0 6px 18px rgba(13, 148, 136, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .nav {
    padding: 16px 20px;
  }

  .nav-links a:not(.nav-cta):not(.nav-auth) {
    display: none;
  }

  .nav-auth {
    padding: 6px 12px;
    font-size: 13px;
  }

  .hero {
    padding: 108px 20px 56px;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero-subtitle-group {
    gap: 8px;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .hero-subtitle {
    margin: 0 auto;
    max-width: 92%;
  }

  .hero-subtitle-main {
    font-size: 18px;
    line-height: 1.35;
    white-space: normal;
    max-width: 92%;
  }

  .hero-subtitle-product {
    font-size: 17px;
    line-height: 1.4;
    max-width: 92%;
  }

  .demo-widget {
    padding: 24px;
  }

  .demo-controls {
    flex-direction: column;
  }

  .demo-play-btn {
    width: 100%;
    justify-content: center;
  }

  .features {
    padding: 48px 20px;
  }

  .feature {
    padding: 32px 24px;
  }

  .how-it-works {
    padding: 48px 20px 56px;
  }

  .how-subtitle {
    font-size: 17px;
    margin-bottom: 28px;
  }

  .paths {
    flex-direction: column;
  }

  .path {
    padding: 28px 24px;
  }

  .path-divider {
    padding: 8px 0;
  }

  .path-divider span {
    position: relative;
  }

  .path-divider span::before,
  .path-divider span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
  }

  .path-divider span::before {
    right: calc(100% + 16px);
  }

  .path-divider span::after {
    left: calc(100% + 16px);
  }

  .api-pricing-grid {
  grid-template-columns: 1fr;
}

  .pricing {
    padding: 56px 20px;
  }

  .pricing-context {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .pricing-card {
    padding: 36px 24px;
  }

  .price {
    font-size: 48px;
  }

  .final-cta {
    padding: 56px 20px 48px;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .modal-content {
    padding: 36px 24px;
  }

  .page-shell {
    padding: 108px 20px 64px;
  }

  .page-subtitle {
    font-size: 18px;
  }

  .content-card {
    padding: 24px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.page-subcopy {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.5;
}

.hero-support-note,
.cta-support-note {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.page-hero-inner h1 {
  max-width: 1400px;
  margin: 0 auto;
  line-height: 0.95;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.page-hero .page-subtitle,
.hero-support-note {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  white-space: normal;
  overflow-wrap: anywhere;
}

.mini-section-title {
  margin-top: 28px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
}

.code-block + .mini-section-title {
  margin-top: 32px;
}

.pricing-split-card {
  text-align: center;
}

.api-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 28px;
}

.api-tier-card {
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.3), rgba(10, 31, 30, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 24px 20px;
  text-align: center;
}

.api-tier-label {
  color: var(--primary-light);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.api-tier-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.api-tier-price span {
  font-size: 16px;
  color: var(--text-muted);
  margin-left: 4px;
}

.api-tier-copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.api-section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
}

.api-tier-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.api-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 255, 200, 0.08);
  border-color: rgba(0, 255, 200, 0.2);
}

.pricing-simple-list {
  max-width: 760px;
  margin: 0 auto;
}

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-account-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-stat-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-key-full-row {
    flex-direction: column;
    align-items: stretch;
  }

/* Page Styles for Privacy/Terms */
.page {
  min-height: 100vh;
  padding: 120px 40px 80px;
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
}

.page h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.page .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 48px;
}

.page h2 {
  text-align: left;
  font-size: 24px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.page p,
.page li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page ul {
  padding-left: 24px;
  margin-bottom: 24px;
}

.page li {
  margin-bottom: 8px;
}

.page a {
  color: var(--primary-light);
  text-decoration: underline;
}

.page a:hover {
  color: var(--primary);
}

/* Pro Badge */
.pro-badge {
  display: inline-block;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}

.nav-auth .pro-badge {
  font-size: 0.65rem;
}

/* Pro user pricing section */
.pricing-pro-status {
  text-align: center;
  padding: 2rem;
}

.pricing-pro-status h3 {
  color: #F59E0B;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-pro-usage {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.pricing-pro-usage .usage-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-pro-usage .usage-bar {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  height: 8px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.pricing-pro-usage .usage-bar-fill {
  background: linear-gradient(90deg, #0D9488, #14B8A6);
  height: 100%;
  border-radius: 8px;
  transition: width 0.3s ease;
}

.pricing-pro-usage .usage-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-manage-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.pricing-manage-link:hover {
  text-decoration: underline;
}

/* Comms section */

.comms-article-page .page-hero {
  overflow: hidden;
}

.comms-article-page .page-hero h1 {
  max-width: min(980px, calc(100vw - 96px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: clamp(42px, 5vw, 76px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.035em !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  padding-bottom: 12px !important;
}

.comms-article-page .hero-support-note {
  max-width: min(1050px, calc(100vw - 48px));
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
}

.comms-article-page article {
  max-width: 920px;
  margin: 0 auto;
  color: #d8eee9;
  font-size: 20px;
  line-height: 1.85;
}

.comms-article-page article p {
  color: #cfe4df;
  margin: 0 0 22px;
}

.comms-article-page article h2 {
  color: #f4fffb;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  text-align: center;
  margin: 56px 0 24px;
}

.comms-article-page article ul {
  margin: -8px 0 28px 26px;
  padding-left: 18px;
}

.comms-article-page article li {
  color: #f4fffb;
  font-size: 20px;
  line-height: 1.75;
  margin-bottom: 8px;
}

.comms-article-page .content-card > img {
  display: block;
  max-width: 100%;
}

.comms-article-page .content-card .content-card {
  background: rgba(8, 43, 38, 0.72);
}

.comms-featured-section {
  padding-top: 0;
  margin-top: -64px;
}

.comms-featured-section + .comms-featured-section {
  margin-top: 24px;
}

.comms-featured-section .dashboard-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 22px 0 26px !important;
}

.comms-featured-section .dashboard-actions .modal-btn {
  display: inline-flex !important;
  width: auto !important;
}

/* Mobile nav + pricing cleanup */
@media (max-width: 768px) {
  .nav {
    padding: 14px 16px;
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .nav-logo {
    flex-shrink: 0;
  }

  .nav-logo span {
    font-size: 22px;
  }

  .nav-logo-icon {
    width: 42px;
    height: 42px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    flex-wrap: nowrap;
  }

  .nav-links a:not([href="/app"]):not([href="/api"]):not(.nav-auth) {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-auth,
  .nav-links a[href="/app"],
  .nav-links a[href="/api"] {
    padding: 10px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .pricing-grid,
  .api-pricing-grid,
  .pricing-cards,
  .plans-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .pricing-card,
  .api-pricing-card,
  .plan-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 28px 24px !important;
  }
}