/* ==============================================================================
   AMI 2.0 LANDING PAGE - NORDIC LUXURY DARK PALETTE (OFFICIAL APP DESIGN)
   Colors: Midnight Slate (#0B0F14), Surface Dark (#131922), Champagne Gold (#D4A24C)
   ============================================================================== */

:root {
  /* Official App Colors */
  --bg-dark: #0B0F14;               /* midnight_slate */
  --bg-surface: #131922;            /* surface_dark */
  --bg-card: rgba(19, 25, 34, 0.75);
  --bg-card-hover: rgba(28, 37, 50, 0.9);
  --border-input: #242F3D;          /* input_border */
  --border-glass: rgba(212, 162, 76, 0.15);
  --border-glow: rgba(212, 162, 76, 0.45);

  --gold-accent: #D4A24C;           /* gold_accent / electric_teal in app */
  --gold-glow: #E5B567;             /* gold_glow */
  --gold-dim: rgba(212, 162, 76, 0.12);
  --gold-shadow: rgba(212, 162, 76, 0.25);

  --emerald: #10B981;
  --amber: #F59E0B;
  --rose: #F43F5E;

  --text-primary: #F1F5F9;          /* off_white */
  --text-secondary: #94A3B8;        /* text_secondary */
  --text-muted: #64748B;

  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==============================================================================
   WCAG 2.2 AA ACCESSIBILITY & FOCUS STYLES
   ============================================================================== */
*:focus-visible {
  outline: 2px solid var(--gold-accent) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 12px var(--gold-shadow);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--gold-accent);
  color: #0B0F14;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(212, 162, 76, 0.3) 0%, transparent 70%);
  top: -120px;
  left: -100px;
}
.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 181, 103, 0.25) 0%, transparent 70%);
  top: 35%;
  right: -150px;
}
.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 162, 76, 0.2) 0%, transparent 70%);
  bottom: 8%;
  left: 10%;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, #F1F5F9 0%, #E5B567 50%, #D4A24C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-glow));
  color: #0B0F14;
  font-weight: 800;
  box-shadow: 0 4px 20px var(--gold-shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 162, 76, 0.45);
}

.btn-glow {
  background: linear-gradient(135deg, #D4A24C, #E5B567);
  color: #0B0F14;
  font-weight: 800;
  box-shadow: 0 0 25px rgba(212, 162, 76, 0.4);
}
.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(229, 181, 103, 0.65);
}

.btn-secondary {
  background: rgba(36, 47, 61, 0.4);
  color: var(--text-primary);
  border: 1px solid var(--border-input);
}
.btn-secondary:hover {
  background: rgba(36, 47, 61, 0.8);
  border-color: var(--gold-accent);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==============================================================================
   NAVBAR
   ============================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-input);
  z-index: 100;
  padding: 14px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 0 15px var(--gold-shadow);
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.brand-version {
  font-size: 0.8rem;
  color: var(--gold-accent);
  background: var(--gold-dim);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.nav-link:hover {
  color: var(--gold-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Selector */
.lang-selector-wrapper {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(19, 25, 34, 0.8);
  border: 1px solid var(--border-input);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.lang-btn:hover {
  border-color: var(--gold-accent);
  background: var(--bg-surface);
}

.chevron-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  z-index: 101;
}
.lang-dropdown.active {
  display: flex;
  animation: fadeIn 0.15s ease-out;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}
.lang-opt:hover {
  background: var(--gold-dim);
  color: var(--gold-glow);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-section {
  padding: 80px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--border-glass);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-accent);
  margin-bottom: 24px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 162, 76, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(212, 162, 76, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 162, 76, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.play-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-accent);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--border-input);
  padding-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-check {
  width: 18px;
  height: 18px;
  color: var(--gold-accent);
  flex-shrink: 0;
}

/* ==============================================================================
   PHONE MOCKUP
   ============================================================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-frame {
  width: 320px;
  height: 640px;
  background: #000000;
  border-radius: 46px;
  border: 4px solid var(--border-input);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 162, 76, 0.2);
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.phone-speaker {
  width: 70px;
  height: 5px;
  background: #242F3D;
  border-radius: 10px;
  margin: 6px auto 14px;
}

.phone-screen {
  width: 100%;
  height: calc(100% - 30px);
  background: var(--bg-dark);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background-image: radial-gradient(#1e293b 1px, transparent 1px);
  background-size: 16px 16px;
}

.hud-viewfinder {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  position: relative;
}

.hud-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hud-badge {
  background: var(--gold-dim);
  border: 1px solid var(--gold-accent);
  color: var(--gold-glow);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.hud-fps {
  font-size: 0.65rem;
  color: var(--emerald);
  font-weight: 700;
}

.hud-scanner-box {
  border: 2px dashed rgba(212, 162, 76, 0.7);
  border-radius: 16px;
  padding: 16px;
  background: rgba(11, 15, 20, 0.75);
  position: relative;
  overflow: hidden;
}

.scan-laser {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4A24C, transparent);
  box-shadow: 0 0 10px #D4A24C;
  animation: laserScan 2.5s ease-in-out infinite;
}

@keyframes laserScan {
  0% { top: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.menu-item-tag {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--gold-accent);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.menu-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.menu-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-bottom: 8px;
}

.menu-price {
  font-weight: 800;
  color: var(--gold-glow);
  font-size: 0.9rem;
}

.hud-speech-bar {
  background: rgba(19, 25, 34, 0.95);
  border: 1px solid var(--border-input);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.speech-indicator {
  position: relative;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-glow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.speaker-icon {
  width: 14px;
  height: 14px;
  color: #0B0F14;
}

.speaking-now {
  font-size: 0.72rem;
  color: #fff;
  font-style: italic;
}

/* ==============================================================================
   INTERACTIVE DEMO SECTION
   ============================================================================== */
.demo-section {
  padding-top: 40px;
}

.comparison-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.demo-text-box {
  margin-bottom: 24px;
}

.demo-text-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.demo-text-box textarea {
  width: 100%;
  background: rgba(11, 15, 20, 0.6);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 16px;
  resize: vertical;
  outline: none;
  transition: border-color var(--transition-fast);
}
.demo-text-box textarea:focus {
  border-color: var(--gold-accent);
}

.voice-picker-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.voice-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(36, 47, 61, 0.3);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  color: var(--text-primary);
}
.voice-tab:hover {
  background: rgba(36, 47, 61, 0.6);
}
.voice-tab.active {
  background: var(--gold-dim);
  border-color: var(--gold-accent);
  box-shadow: 0 0 20px var(--gold-shadow);
}

.voice-icon {
  font-size: 1.5rem;
}

.voice-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}
.voice-info span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.playback-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.waveform-container {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  flex: 1;
}

.wave-bar {
  width: 4px;
  height: 8px;
  background: rgba(212, 162, 76, 0.4);
  border-radius: 4px;
  transition: height 0.1s ease;
}

.waveform-container.playing .wave-bar {
  animation: waveDance 0.8s ease-in-out infinite alternate;
  background: var(--gold-accent);
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.35s; }
.wave-bar:nth-child(8) { animation-delay: 0.25s; }
.wave-bar:nth-child(9) { animation-delay: 0.15s; }
.wave-bar:nth-child(10) { animation-delay: 0.45s; }
.wave-bar:nth-child(11) { animation-delay: 0.2s; }
.wave-bar:nth-child(12) { animation-delay: 0.1s; }

@keyframes waveDance {
  0% { height: 6px; }
  100% { height: 32px; }
}

/* ==============================================================================
   FEATURES GRID
   ============================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-accent);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.feature-icon-wrapper.gold {
  background: var(--gold-dim);
  color: var(--gold-glow);
}
.feature-icon-wrapper.cyan {
  background: rgba(0, 242, 254, 0.12);
  color: #00f2fe;
}
.feature-icon-wrapper.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.feature-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-glow);
  background: var(--gold-dim);
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ==============================================================================
   COMPARISON TABLE
   ============================================================================== */
.table-responsive {
  overflow-x: auto;
  padding: 24px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-input);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.highlight-th {
  color: var(--gold-glow) !important;
  background: var(--gold-dim);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.highlight-td {
  background: rgba(212, 162, 76, 0.04);
}

.green-text {
  color: var(--emerald);
}

/* ==============================================================================
   PRICING SECTION & B2B/B2G SWITCH
   ============================================================================== */
.pricing-switch-container {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.pricing-switch {
  display: inline-flex;
  background: rgba(36, 47, 61, 0.4);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-input);
  gap: 8px;
}

.pricing-switch-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pricing-switch-btn:hover {
  color: var(--text-primary);
}

.pricing-switch-btn.active {
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-glow));
  color: #0B0F14;
  box-shadow: 0 4px 20px var(--gold-shadow);
}

.personal-plan-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.billing-cycle-switch {
  display: inline-flex;
  background: rgba(18, 24, 33, 0.8);
  padding: 5px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-input);
  gap: 6px;
}

.cycle-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cycle-btn:hover {
  color: var(--text-primary);
}

.cycle-btn.active {
  background: rgba(212, 162, 76, 0.18);
  color: var(--gold-glow);
  border: 1px solid var(--gold-accent);
}

.discount-badge {
  background: var(--emerald);
  color: #0B0F14;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.supporter-switch-box {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: rgba(212, 162, 76, 0.08);
  border: 1px solid rgba(212, 162, 76, 0.35);
  display: flex;
  align-items: center;
}

.supporter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.supporter-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold-accent);
  cursor: pointer;
}

.supporter-text-group {
  display: flex;
  flex-direction: column;
}

.supporter-text-group strong {
  font-size: 0.95rem;
  color: var(--gold-glow);
}

.supporter-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.pricing-card:hover {
  transform: translateY(-4px);
}

.featured-tier {
  border-color: var(--gold-accent);
  box-shadow: 0 0 35px var(--gold-shadow);
  background: rgba(28, 37, 50, 0.9);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-glow));
  color: #0B0F14;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px var(--gold-shadow);
  white-space: nowrap;
}

.pricing-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.tier-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 40px;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.price-currency {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
}

.price-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--gold-accent);
  font-weight: 800;
}

/* ==============================================================================
   TRUST BADGES
   ============================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-badge-card {
  padding: 24px;
  background: rgba(19, 25, 34, 0.6);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
}

.badge-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.trust-badge-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.trust-badge-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==============================================================================
   FAQ ACCORDION
   ============================================================================== */
.faq-container {
  max-width: 760px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 28px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==============================================================================
   CTA BANNER & FOOTER
   ============================================================================== */
.cta-banner {
  text-align: center;
  padding: 60px 40px;
  background: radial-gradient(circle at center, rgba(212, 162, 76, 0.15) 0%, rgba(19, 25, 34, 0.9) 100%);
  border: 1px solid var(--border-glow);
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  border-top: 1px solid var(--border-input);
  padding: 48px 0;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 16px;
}

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

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}
.footer-legal-links a:hover {
  color: var(--gold-glow);
}

/* ==============================================================================
   RESPONSIVE DESIGN
   ============================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 36px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .voice-picker-row {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ==============================================================================
   SUBSCRIPTION TERMS & COMPLIANCE NOTICES (ARL / EU)
   ============================================================================== */
.subscription-terms-notice {
  margin-top: 40px;
  padding: 24px 32px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.terms-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.terms-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.terms-notice-item strong {
  display: block;
  color: var(--gold-accent);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.terms-notice-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==============================================================================
   FOOTER BUSINESS INFO (CAN-SPAM / GDPR)
   ============================================================================== */
.footer-business-info {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-business-info a {
  color: var(--gold-accent);
  text-decoration: none;
}

.footer-business-info a:hover {
  text-decoration: underline;
}

/* ==============================================================================
   COOKIE CONSENT & PRIVACY NOTICE BAR
   ============================================================================== */
.cookie-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 15, 20, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glow);
  padding: 16px 24px;
  z-index: 9998;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-consent-bar.hidden {
  transform: translateY(120%);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-content p strong {
  color: var(--gold-accent);
}

/* ==============================================================================
   EAN & CVR MODAL DIALOG
   ============================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  padding: 36px;
  background: rgba(19, 25, 34, 0.95);
  border: 1px solid var(--border-glow);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--gold-shadow);
  border-radius: var(--radius-lg);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--gold-glow);
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.btn-close-modal:hover {
  color: var(--gold-accent);
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.order-form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(11, 15, 20, 0.8);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--gold-accent);
  outline: none;
}

.readonly-input {
  background: rgba(36, 47, 61, 0.4);
  color: var(--gold-glow);
  font-weight: 700;
  border-color: var(--gold-dim);
}

/* Stripe Checkout Styling */
.stripe-badge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.stripe-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--teal-glow);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stripe-cards-icons {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.checkout-price-tag {
  display: inline-block;
  background: rgba(212, 162, 76, 0.15);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 6px 14px;
  margin-top: 6px;
}

.checkout-price-tag .price-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-glow);
  font-family: var(--font-heading);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

/* ==============================================================================
   LEGAL CENTER MODAL & FOOTER BUTTONS
   ============================================================================== */
.footer-legal-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-btn:hover {
  color: var(--gold-accent);
  text-decoration: underline;
}

.legal-modal-card {
  max-width: 860px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 36px 28px;
}

.legal-modal-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.legal-modal-header h3 {
  font-size: 1.4rem;
  color: var(--gold-glow);
  font-family: var(--font-heading);
}

.legal-tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.legal-tab-btn:hover {
  background: rgba(212, 162, 76, 0.1);
  color: var(--gold-glow);
}

.legal-tab-btn.active {
  background: var(--gold-accent);
  color: #0B0F14;
  border-color: var(--gold-accent);
  font-weight: 700;
}

.legal-tab-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.legal-tab-content h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.legal-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-scroll-box {
  flex: 1;
  overflow-y: auto;
  padding-right: 14px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-scroll-box h5 {
  color: var(--gold-accent);
  font-size: 0.95rem;
  margin-top: 10px;
  margin-bottom: 4px;
}

.legal-scroll-box p {
  margin: 0;
}

.legal-scroll-box ul {
  padding-left: 20px;
  margin: 4px 0;
}

.legal-scroll-box a {
  color: var(--gold-glow);
  text-decoration: underline;
}

/* Custom Scrollbar for Legal modal */
.legal-scroll-box::-webkit-scrollbar {
  width: 6px;
}
.legal-scroll-box::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.legal-scroll-box::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 4px;
}
.legal-scroll-box::-webkit-scrollbar-thumb:hover {
  background: var(--gold-accent);
}

/* ==============================================================================
   PLATFORM SELECTION & DUAL SHOWCASE (MOBIL VS COMPUTER VS BUNDLE)
   ============================================================================== */
.platform-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 960px) {
  .platform-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.platform-card {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.platform-card:hover {
  transform: translateY(-4px);
}

.platform-card.bundle-featured {
  border-color: var(--gold-accent);
  box-shadow: 0 0 30px var(--gold-shadow);
  background: rgba(28, 37, 50, 0.85);
}

.platform-badge-top {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.platform-badge-top.mobile {
  background: rgba(0, 229, 255, 0.15);
  color: #00E5FF;
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.platform-badge-top.desktop {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.platform-badge-top.bundle {
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-glow));
  color: #0B0F14;
  box-shadow: 0 2px 10px var(--gold-shadow);
}

.platform-card-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.platform-card h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.platform-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.platform-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.platform-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Platform Pricing Switcher */
.platform-selection-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.platform-selection-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-accent);
}

.platform-switch {
  display: inline-flex;
  background: rgba(18, 24, 33, 0.9);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glow);
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.platform-switch-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.platform-switch-btn.active {
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-glow));
  color: #0B0F14;
  box-shadow: 0 4px 18px var(--gold-shadow);
  border-color: var(--gold-accent);
}

.platform-save-badge {
  background: #10B981;
  color: #0B0F14;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

/* Google Play & Cross-Platform Info Box */
.google-play-info-box {
  margin-top: 36px;
  padding: 20px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: rgba(11, 15, 20, 0.7);
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.play-badge-icon {
  flex-shrink: 0;
}

.play-info-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gold-glow);
  margin-bottom: 4px;
}

.play-info-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}





/* ==============================================================================
   MODULAR VOICE PACKAGES SECTION
   ============================================================================== */
.voice-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.voice-package-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(18, 22, 34, 0.55);
  transition: all 0.25s ease;
}

.voice-package-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 162, 76, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.voice-package-card.featured-package {
  border-color: rgba(212, 162, 76, 0.6);
  background: linear-gradient(180deg, rgba(212, 162, 76, 0.08) 0%, rgba(18, 22, 34, 0.7) 100%);
}

.pkg-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pkg-flag {
  font-size: 2rem;
  line-height: 1;
}

.pkg-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--off-white);
}

.pkg-size {
  font-size: 0.8rem;
  color: var(--gold-glow);
  font-weight: 500;
}

.pkg-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.pkg-voices-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pkg-voice-tag {
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
