/**
 * Исваха — Стилистика веб-приложения лендинга.
 *
 * Дизайн-система:
 *   - Цвета: Храмовое золото (#C9A84C), Изумрудный (#437A4C), Шелковистый крем (#FAF7F2), Ночной космос (#0C0B18)
 *   - Типографика: Cormorant Garamond (Serif) + Plus Jakarta Sans (Grotesque)
 *   - Эффекты: Glassmorphism, Золотое сечение, Анимации свечения
 */

:root {
  /* Colors (Light Theme) */
  --bg-main: #FCFAF7;
  --bg-surface: #FFFFFF;
  --bg-surface-variant: #FAF7F2;
  --bg-sand: #F3EFEA;

  --gold-primary: #C9A84C;
  --gold-light: #DEC882;
  --gold-dark: #806819;
  --gold-surface: #FDF9EE;
  --gold-border: #E5D5A4;

  --emerald: #437A4C;
  --emerald-surface: #EFF7F1;

  --ruby: #B5483C;
  --ruby-surface: #FDF1EF;

  --text-primary: #1F1E24;
  --text-secondary: #6E6D7A;
  --text-tertiary: #777581;
  --text-on-gold: #382907;

  --border-color: #EBE6DF;
  --border-light: #F5F1EB;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(201, 168, 76, 0.25);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(201, 168, 76, 0.12);
  --shadow-gold: 0 8px 30px rgba(201, 168, 76, 0.35);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

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

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-main: #0C0B18;
  --bg-surface: #141326;
  --bg-surface-variant: #1C1A33;
  --bg-sand: #242240;

  --gold-primary: #DFC476;
  --gold-light: #F0DC9C;
  --gold-dark: #C9A84C;
  --gold-surface: #26213A;
  --gold-border: #4A3E6B;

  --emerald-surface: #142E1B;
  --ruby-surface: #361514;

  --text-primary: #F5F3FF;
  --text-secondary: #AAA6C2;
  --text-tertiary: #6E6A8A;
  --text-on-gold: #0C0B18;

  --border-color: #2E2A4A;
  --border-light: #221F38;
  --glass-bg: rgba(20, 19, 38, 0.85);
  --glass-border: rgba(223, 196, 118, 0.25);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* ── Reset & Base ──────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

section,
#app-preview {
  scroll-margin-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

#stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

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

.max-w-md {
  max-width: 840px;
}

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

ul {
  list-style: none;
}

button, select, input {
  font-family: inherit;
  font-size: inherit;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
}

/* ── Marketing Top Switcher Bar ────────────── */
.marketing-bar {
  background: var(--bg-surface-variant);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 100;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.marketing-bar.hidden {
  display: none;
}

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

.marketing-tag {
  font-weight: 600;
  color: var(--gold-dark);
}

.marketing-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.marketing-btn {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.marketing-btn:hover, .marketing-btn.active {
  background: var(--gold-primary);
  color: #FFFFFF;
  border-color: var(--gold-primary);
}

.marketing-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  font-size: 1rem;
}

/* ── Header ────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 90;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-glyph {
  font-size: 1.8rem;
  color: var(--gold-primary);
  font-weight: 700;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--gold-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher {
  display: flex;
  background: var(--bg-surface-variant);
  border-radius: var(--radius-pill);
  padding: 3px;
  border: 1px solid var(--border-color);
}

.lang-btn {
  border: none;
  background: none;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--gold-primary);
  color: var(--text-on-gold);
}

.lang-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.theme-toggle {
  background: var(--bg-surface-variant);
  border: 1px solid var(--border-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--gold-primary);
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* ── Buttons & Badges ──────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  line-height: 1.35;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
  color: var(--text-on-gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(201, 168, 76, 0.45);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-glass {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-gold {
  background: var(--gold-surface);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
}

.gold-text {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Hero Section ──────────────────────────── */
.hero-section {
  position: relative;
  padding: 70px 0 100px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 10%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18) 0%, rgba(201, 168, 76, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 20px 0;
  letter-spacing: -0.5px;
}

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

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-value {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
}

.trust-unit {
  font-size: 1rem;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border-color);
}

/* ── Interactive Phone Mockup ──────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup-wrap {
  position: relative;
  perspective: 1000px;
}

.auric-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.3) 0%, rgba(201, 168, 76, 0) 70%);
  animation: pulse-aura 4s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes pulse-aura {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.phone-mockup {
  width: 310px;
  height: 600px;
  background: #100F1A;
  border-radius: 44px;
  border: 10px solid #28263D;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 168, 76, 0.3);
  position: relative;
  overflow: hidden;
}

.phone-speaker {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 5px;
  background: #3B3954;
  border-radius: 3px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-main);
  padding: 30px 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.mock-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.mock-score-pill {
  background: var(--gold-primary);
  color: var(--text-on-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.mock-card {
  height: 380px;
  background: var(--gold-surface);
  border-radius: 20px;
  border: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mock-avatar-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(180deg, var(--gold-surface), var(--bg-surface-variant));
}

.mock-card-overlay {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85) 60%);
  padding: 16px;
  color: #FFFFFF;
}

.mock-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.mock-verified {
  background: var(--gold-primary);
  color: var(--text-on-gold);
  font-size: 0.7rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.mock-geo {
  font-size: 0.8rem;
  opacity: 0.85;
  margin: 4px 0 8px;
}

.mock-vedic-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.vedic-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
}

.mock-actions {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

.mock-action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-action-btn.pass { background: var(--ruby-surface); color: var(--ruby); }
.mock-action-btn.star { background: var(--gold-surface); color: var(--gold-dark); width: 38px; height: 38px; }
.mock-action-btn.like { background: var(--gold-primary); color: var(--text-on-gold); width: 50px; height: 50px; }

.float-chip {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: float-chip 5s infinite alternate ease-in-out;
}

.float-chip-1 {
  top: 12%;
  left: -40px;
}

.float-chip-2 {
  bottom: 15%;
  right: -30px;
  animation-delay: 2.5s;
}

@keyframes float-chip {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

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

.chip-title {
  font-weight: 700;
  font-size: 0.85rem;
}

.chip-subtitle {
  font-size: 0.75rem;
  color: var(--emerald);
  font-weight: 600;
}

/* ── Section Structure ─────────────────────── */
.section {
  padding: 90px 0;
  position: relative;
}

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

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  margin: 16px 0;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Compatibility conversation check ─────── */
.calculator-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.calc-honesty-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  background: var(--gold-surface);
}

.calc-honesty-icon {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: var(--text-on-gold);
  font-weight: 800;
}

.calc-honesty-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.calc-honesty-note p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-select, .form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-select:focus, .form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.calc-instruction {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-weight: 600;
}

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

.compatibility-topic {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-surface-variant);
}

.compatibility-topic.has-error {
  border-color: var(--ruby);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ruby) 15%, transparent);
}

.compatibility-topic legend {
  float: left;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
}

.compatibility-topic legend + * {
  clear: both;
}

.compatibility-topic legend span,
.compatibility-topic legend small {
  display: block;
}

.compatibility-topic legend span {
  color: var(--text-primary);
  font-weight: 750;
  font-size: 1.05rem;
}

.compatibility-topic legend small {
  margin-top: 3px;
  color: var(--text-tertiary);
  font-size: 0.78rem;
  font-weight: 500;
}

.compatibility-options {
  display: grid;
  gap: 8px;
}

.compatibility-options label {
  position: relative;
  display: block;
  cursor: pointer;
}

.compatibility-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.compatibility-options span {
  display: block;
  min-height: 44px;
  padding: 11px 13px 11px 38px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.35;
  transition: var(--transition);
}

.compatibility-options span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 13px;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-surface);
  transform: translateY(-50%);
}

.compatibility-options input:checked + span {
  border-color: var(--gold-primary);
  background: var(--gold-surface);
  color: var(--text-primary);
  font-weight: 650;
}

.compatibility-options input:checked + span::before {
  border: 5px solid var(--gold-primary);
}

.compatibility-options input:focus-visible + span {
  outline: 3px solid rgba(201, 168, 76, 0.28);
  outline-offset: 2px;
}

.calc-form-error {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--ruby);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: color-mix(in srgb, var(--ruby) 8%, var(--bg-surface));
  color: var(--ruby);
  font-size: 0.9rem;
  font-weight: 650;
}

.calc-action {
  margin: 28px 0 0;
}

/* Calc Result */
.calc-result {
  margin-top: 34px;
  padding: 30px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--gold-surface), var(--bg-surface));
}

.calc-result[hidden] {
  display: none;
}

.calc-result-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.result-mark {
  display: flex;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: var(--text-on-gold);
  box-shadow: var(--shadow-gold);
  font-size: 1.8rem;
  font-weight: 800;
}

.result-eyebrow {
  margin: 0 0 4px;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-verdict {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.score-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 5px 0 0;
  line-height: 1.55;
}

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

.compatibility-group {
  background: var(--bg-surface-variant);
  border: 1px solid var(--border-color);
  padding: 18px;
  border-radius: var(--radius-sm);
}

.compatibility-group.is-blocked {
  border-left: 3px solid var(--ruby);
}

.compatibility-group.is-unknown {
  border-left: 3px solid var(--gold-primary);
}

.compatibility-group.is-discuss {
  border-left: 3px solid var(--gold-dark);
}

.compatibility-group.is-aligned {
  border-left: 3px solid var(--emerald);
}

.compatibility-group h4 {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.compatibility-group ul,
.compatibility-recommendations ol {
  margin: 0;
  padding-left: 20px;
}

.compatibility-group li,
.compatibility-recommendations li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.compatibility-group li + li,
.compatibility-recommendations li + li {
  margin-top: 5px;
}

.compatibility-recommendations {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
}

.compatibility-recommendations h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.compatibility-app-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--gold-border);
}

.compatibility-app-step strong {
  color: var(--text-primary);
  font-size: 1.05rem;
}

.compatibility-app-step p {
  max-width: 660px;
  margin: 5px 0 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
}

.compatibility-app-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* ── Bento Grid Features ───────────────────── */
.bento-features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bento-card {
  grid-column: span 2;
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.bento-card-large {
  grid-column: span 4;
  background: var(--gold-surface);
  border-color: var(--gold-border);
}

.bento-card-wide {
  grid-column: span 6;
}

.journey-step:nth-child(3),
.journey-step:nth-child(4) {
  grid-column: span 3;
}

.bento-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.journey-step-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.journey-step-number {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  background: var(--gold-surface);
  color: var(--gold-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.journey-step-label {
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.journey-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.journey-tags span {
  padding: 8px 12px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 650;
}

.journey-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--gold-surface);
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.5;
}

.journey-outcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.38fr);
  align-items: center;
  gap: 44px;
  background: linear-gradient(135deg, var(--gold-surface), var(--bg-surface));
  border-color: var(--gold-border);
}

.journey-outcome-content {
  min-width: 0;
}

.journey-cta {
  padding-left: 32px;
  border-left: 1px solid var(--gold-border);
}

.journey-cta .btn {
  width: 100%;
}

.journey-cta p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

/* ── Muhurta Showcase ──────────────────────── */
.muhurta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.muhurta-features-list {
  margin: 24px 0 32px;
}

.muhurta-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
}

.muhurta-preview-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.muhurta-preview-badge {
  display: inline-block;
  background: var(--gold-primary);
  color: var(--text-on-gold);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.muhurta-preview-time {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.muhurta-preview-details {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ── Reviews ───────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--gold-primary);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.review-text {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-surface);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-meta {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ── Accordion FAQ ─────────────────────────── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}

.accordion-icon {
  font-size: 1.4rem;
  color: var(--gold-primary);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-item.active .accordion-body {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ── Final CTA & Badges ────────────────────── */
.final-cta-card {
  background: linear-gradient(135deg, var(--gold-surface), var(--bg-surface));
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.2) 0%, rgba(201, 168, 76, 0) 70%);
  pointer-events: none;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.final-cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.app-store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--text-primary);
  color: var(--bg-surface);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.app-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.badge-brand-icon {
  font-size: 1.8rem;
}

.badge-small {
  font-size: 0.7rem;
  opacity: 0.8;
  text-transform: uppercase;
}

.badge-bold {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ── Footer ────────────────────────────────── */
.footer {
  background: var(--bg-surface-variant);
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-mandala {
  font-family: var(--font-heading);
  color: var(--gold-dark);
  font-size: 1.1rem;
}

/* ── Lead Capture Modal ────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-tertiary);
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.lead-form {
  text-align: left;
}

.form-hint,
.form-error {
  margin-top: 7px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.form-hint {
  color: var(--text-tertiary);
}

.form-error {
  color: var(--ruby);
  font-weight: 600;
}

.form-input[aria-invalid="true"] {
  border-color: var(--ruby);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ruby) 15%, transparent);
}

.lead-form .btn[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.modal-success {
  padding: 20px 0;
}

.success-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--emerald);
  color: #FFF;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* ── Mobile Drawer ─────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-surface);
  z-index: 89;
  padding: 30px;
  display: none;
  flex-direction: column;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Responsive Queries ────────────────────── */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .burger-btn {
    display: flex;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-cta-group, .hero-trust {
    justify-content: center;
  }

  .bento-features {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-card-large,
  .bento-card-wide,
  .journey-step:nth-child(3),
  .journey-step:nth-child(4) {
    grid-column: span 1;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 18px;
  }

  .header-inner {
    height: 68px;
    gap: 10px;
  }

  .header-actions {
    gap: 8px;
    margin-left: auto;
  }

  .header-actions > .btn {
    display: none;
  }

  .mobile-drawer {
    top: 68px;
    padding: 28px 20px;
  }

  .hero-section {
    padding: 48px 0 64px;
  }

  .hero-container {
    gap: 56px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta-group {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-trust {
    align-items: stretch;
    gap: 12px;
  }

  .trust-item {
    flex: 1 1 0;
  }

  .trust-label {
    font-size: 0.75rem;
  }

  .section {
    padding: 64px 0;
  }

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

  .section-subtitle {
    font-size: 1rem;
  }

  .calculator-card,
  .bento-card,
  .muhurta-preview-box,
  .review-card {
    padding: 24px;
  }

  .calc-result-header {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .compatibility-topics,
  .compatibility-groups,
  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .compatibility-app-step {
    grid-template-columns: minmax(0, 1fr);
  }

  .compatibility-app-actions {
    justify-content: stretch;
  }

  .compatibility-app-actions .btn {
    flex: 1 1 180px;
  }

  .journey-outcome {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .journey-cta {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--gold-border);
    border-left: 0;
  }

  .muhurta-content > .btn {
    width: 100%;
  }

  .final-cta-card {
    padding: 44px 22px;
  }

  .accordion-header {
    gap: 16px;
    padding: 18px;
  }

  .accordion-body {
    padding-inline: 18px;
  }

  .modal-box {
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 32px 22px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.65rem;
  }

  .logo-glyph {
    font-size: 1.55rem;
  }

  .lang-btn {
    padding-inline: 6px;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .burger-btn {
    padding: 4px;
  }

  .badge {
    max-width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .phone-mockup-wrap {
    transform: scale(0.9);
    transform-origin: top center;
    margin-bottom: -60px;
  }

  .final-cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 360px) {
  .lang-switcher {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
