/* ════════════════════════════════════════════════════════════════════════
   SADE-SATI.RU — Landing Page Stylesheet
   SUTRA Design System · Jyotish Focus
   Themes: ASTRA (dark, default) + ALMANAC (light)
   ════════════════════════════════════════════════════════════════════════ */

/* ── Fonts ─────────────────────────────────────────────────────────────── */
@import url('./fonts/fonts.css');

/* ── Theme Tokens: ASTRA (dark, default) ──────────────────────────────── */
/* Synced with MatrixDestiny.pro SUTRA ASTRA Design System 25.03.2026 */
:root {
  --void:     #08060A;
  --surface:  #12101a;
  --raised:   #1C1825;
  --gold:     #C9A96E;
  --gold-b:   #E8C98A;
  --gold-d:   rgba(201,169,110,0.08);
  --mars:     #C97070;
  --mars-d:   rgba(201,112,112,0.08);
  --rahu:     #9A8ED8;
  --mint:     #6A9E91;
  --mint-p:   #A8C8BF;
  --mint-d:   rgba(106,158,145,0.10);
  --text:     #F0E8D8;
  --text-m:   rgba(240,232,216,0.7);
  --text-d:   rgba(240,232,216,0.4);
  --border:   rgba(201,169,110,0.15);
  --border-s: rgba(201,169,110,0.12);

  --font-nav:     'Cinzel', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-ui:      'Jost', sans-serif;
}

/* ── Theme Tokens: ALMANAC (light) ────────────────────────────────────── */
html[data-theme="almanac"] {
  --void:     #FBF8F1;
  --surface:  #F5EFE3;
  --raised:   #EDE4D0;
  --gold:     #B8935A;
  --gold-b:   #C9A96E;
  --gold-d:   rgba(184,147,90,0.08);
  --mars:     #B05555;
  --mars-d:   rgba(176,85,85,0.08);
  --rahu:     #7B6FB8;
  --mint:     #4A7A6A;
  --mint-p:   #6A9E91;
  --mint-d:   rgba(74,122,106,0.10);
  --text:     #2C2820;
  --text-m:   rgba(44,40,32,0.7);
  --text-d:   rgba(44,40,32,0.4);
  --border:   rgba(184,147,90,0.15);
  --border-s: rgba(184,147,90,0.15);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--void);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}

a { color: var(--mint); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

/* ── Canvas Background ───────────────────────────────────────────────── */
#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
html[data-theme="almanac"] #bg { display: none; }

/* ── Grain Overlay ─────────────────────────────────────────────────────── */
#sutra-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.40;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.90' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}
html[data-theme="almanac"] #sutra-noise {
  opacity: 0.16;
  mix-blend-mode: multiply;
}

/* ── CONTAINER ─────────────────────────────────────────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(8,6,10,0.65);
  border-bottom: 1px solid var(--border-s);
  transition: background .3s;
}
html[data-theme="almanac"] .nav {
  background: rgba(253,251,246,0.80);
}

@supports not (backdrop-filter: blur(1px)) {
  .nav { background: rgba(8,6,10,0.92); }
  html[data-theme="almanac"] .nav { background: rgba(253,251,246,0.95); }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

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

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

.nav-back {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-d);
  letter-spacing: 0.04em;
  transition: color .2s;
  text-decoration: none;
}
.nav-back:hover { color: var(--gold); }

.nav-logo {
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.nav-theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-m);
  font-size: 14px;
  padding: 4px 8px;
  cursor: pointer;
  transition: border-color .2s;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-theme-toggle:hover { border-color: var(--gold); }

.theme-icon-sun,
.theme-icon-moon {
  font-size: 14px;
  line-height: 1;
}
html[data-theme="astra"] .theme-icon-sun { display: inline; }
html[data-theme="astra"] .theme-icon-moon { display: none; }
html[data-theme="almanac"] .theme-icon-sun { display: none; }
html[data-theme="almanac"] .theme-icon-moon { display: inline; }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-ui);
  font-size: 12px;
}

.nav-lang-link {
  color: var(--text-d);
  font-weight: 300;
  letter-spacing: 0.04em;
  transition: color .2s;
}
.nav-lang-link:hover,
.nav-lang-link.active { color: var(--gold); }

.nav-lang-sep {
  color: var(--text-d);
  opacity: 0.4;
}

.nav-cta {
  display: inline-block;
  padding: 8px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-b));
  color: var(--void) !important;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201,169,110,0.3);
  color: var(--void) !important;
}

/* ── HERO ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 48px 40px;
  overflow: hidden;
  z-index: 2;
}

/* Hero is now a centered single-column layout — no grid */

/* Keep old .hero-inner for fallback */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow--gold {
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, var(--gold) 0%, transparent 70%);
  opacity: 0.12;
  top: -120px;
  right: -200px;
  animation: orb-drift 14s ease-in-out infinite alternate;
}
.hero-glow--mint {
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, var(--mint) 0%, transparent 70%);
  opacity: 0.08;
  bottom: -80px;
  left: -150px;
  animation: orb-drift 14s ease-in-out infinite alternate-reverse;
}
html[data-theme="almanac"] .hero-glow { display: none; }

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 15px) scale(0.96); }
  100% { transform: translate(15px, 25px) scale(1.02); }
}

.hero-text .hero-sanskrit,
.hero-text .hero-title,
.hero-text .hero-desc {
  text-align: left;
}

.hero-sanskrit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-nav);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.hero-sanskrit::before {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.1;
  color: var(--text);
  max-width: 780px;
  margin-bottom: 20px;
}

.hero-title-accent {
  color: var(--gold);
}

.hero-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-m);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

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

.hero-stat-value {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-family: var(--font-nav);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-top: 6px;
  display: block;
}

/* ── SECTIONS ──────────────────────────────────────────────────────────── */
section {
  position: relative;
  z-index: 2;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--surface);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}
.section-title em {
  font-style: normal;
  color: var(--gold);
}

.section-subtitle {
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 14px;
  color: var(--text-d);
  text-align: center;
  margin-bottom: 40px;
}

/* ── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, border-color .2s, color .2s;
  border: none;
}

.btn-primary {
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-b));
  color: var(--void) !important;
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: 0 0 30px rgba(201,169,110,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201,169,110,0.35);
  color: var(--void) !important;
}
.btn-mars {
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--mars), #D48A8A);
  color: #fff !important;
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.btn-mars:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201,112,112,0.35);
}

.btn-ghost {
  padding: 14px 36px;
  background: transparent;
  color: var(--gold) !important;
  font-weight: 400;
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-b) !important;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-calc {
  display: block;
  width: 100%;
  padding: 14px 24px;
  margin-top: 8px;
}
.btn-calc:active {
  transform: translateY(0);
}

.btn-buy {
  /* Inherits from btn + btn-primary or btn-ghost */
}

/* ── CALCULATOR FORM ───────────────────────────────────────────────────── */
.calc-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
}

.calc-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.calc-field {
  display: flex;
  flex-direction: column;
}

.calc-field label {
  display: block;
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 8px;
}

.calc-field label .required {
  color: var(--gold);
}

.calc-field input,
.calc-field select {
  width: 100%;
  padding: 12px 16px;
  background: var(--raised);
  border: 1px solid var(--border-s);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.calc-field input:focus,
.calc-field select:focus {
  border-color: var(--gold);
}
.calc-field input::placeholder {
  color: var(--text-d);
}

.calc-field select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236E5E4A'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 36px;
}

/* ── RESULT AREA ─────────────────────────────────────────────────────── */
.calc-result {
  max-width: 640px;
  margin: 40px auto 0;
}

.calc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.calc-card {
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: 2px;
  padding: 24px 16px;
  text-align: center;
  transition: border-color .2s;
  position: relative;
  overflow: hidden;
}
.calc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s;
}
.calc-card:hover::after { transform: scaleX(1); }
.calc-card:hover {
  border-color: var(--border);
}

.calc-card-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--gold);
}

.calc-card-title {
  font-family: var(--font-nav);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 8px;
}

.calc-card-value {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}

.calc-card-sub {
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 13px;
  color: var(--text-d);
}

.calc-card-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 2px;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.calc-card-status {
  border-color: var(--gold);
  position: relative;
}
.calc-card-status::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--gold), var(--gold-b));
  z-index: -1;
  opacity: 0.06;
}

/* Badge variants (set via JS) */
.calc-card-badge.active {
  background: rgba(201,169,110,0.12);
  color: var(--gold-b);
  border: 1px solid var(--gold-d);
}
.calc-card-badge.safe {
  background: var(--mint-d);
  color: var(--mint-p);
  border: 1px solid rgba(106,158,145,0.20);
}

.calc-recs {
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: 2px;
  padding: 28px;
  margin-bottom: 24px;
}
.calc-recs h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 16px;
}
.calc-recs ul {
  list-style: none;
  padding: 0;
}
.calc-recs li {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text-m);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-s);
  line-height: 1.5;
}
.calc-recs li:last-child { border-bottom: none; }
.calc-recs li::before {
  content: '\25C8';
  color: var(--gold);
  margin-right: 10px;
  font-size: 10px;
}

.calc-cycle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text-m);
  line-height: 1.7;
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: 2px;
  padding: 24px 28px;
}

/* ── DYNAMIC RESULT CARDS (generated by app.js displayResult) ────────── */
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px;
  margin-top: 24px;
}
.result-section {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-s);
}
.result-section:last-child { border-bottom: none; }
.result-label {
  font-family: var(--font-nav);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-d);
  margin-bottom: 8px;
}
.result-big {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 300;
  color: var(--text);
}
.result-big em { font-style: italic; color: var(--gold); }
.result-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
}
.result-sub {
  font-size: 13px;
  color: var(--text-m);
  margin-top: 4px;
}
.result-list {
  list-style: none;
  padding: 0;
}
.result-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-s);
  font-size: 14px;
  color: var(--text-m);
  line-height: 1.6;
}
.result-list li:last-child { border-bottom: none; }
.result-list li::before {
  content: '\25C8';
  color: var(--gold);
  margin-right: 10px;
  font-size: 10px;
}
.result-status.status-active .result-big { color: var(--gold); }
.result-status.status-inactive .result-big { color: var(--mint); }
.result-error { border-color: #B83030; }
.result-error .result-label { color: #B83030; }

/* ── PRICING / UPSELL ─────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: 2px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.pricing-card-featured {
  border-color: var(--gold);
  position: relative;
}
.pricing-card-featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--gold), var(--gold-b));
  z-index: -1;
  opacity: 0.08;
}

.pricing-label {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 16px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 36px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  text-align: left;
  flex: 1;
}
.pricing-features li {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 14px;
  color: var(--text-m);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-s);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '\2713';
  color: var(--mint);
  margin-right: 8px;
  font-weight: 500;
}

.pricing-legal {
  max-width: 560px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 13px;
  color: var(--text-m);
  cursor: pointer;
  line-height: 1.4;
}
.checkbox-label input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.checkbox-label a {
  color: var(--mint);
  text-decoration: underline;
}
.checkbox-label a:hover {
  color: var(--gold);
}

/* ── WIKI ARTICLES ─────────────────────────────────────────────────────── */
.wiki-article {
  max-width: 720px;
  margin: 0 auto 48px;
}
.wiki-article:last-child {
  margin-bottom: 0;
}

.wiki-article h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}
.wiki-article h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  color: var(--text);
  margin: 32px 0 12px;
}
.wiki-article p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  color: var(--text-m);
  line-height: 1.8;
  margin-bottom: 20px;
}

.wiki-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.wiki-card {
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: 2px;
  padding: 28px;
  transition: border-color .2s;
}
.wiki-card:hover {
  border-color: var(--border);
}
.wiki-card h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 20px;
  color: var(--text);
  margin: 0 0 12px;
}
.wiki-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text-m);
  line-height: 1.7;
  margin-bottom: 0;
}
.wiki-card em {
  font-style: italic;
  color: var(--gold);
}
.wiki-card strong {
  font-weight: 500;
  color: var(--text);
}

.wiki-card-warning {
  border-color: rgba(201,169,110,0.30);
  background: rgba(201,169,110,0.04);
}
.wiki-card-warning h4 {
  color: var(--gold);
}

/* ── WIKI TABLE ────────────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}

.wiki-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 14px;
}
.wiki-table th {
  font-family: var(--font-nav);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-d);
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.wiki-table td {
  padding: 10px 14px;
  color: var(--text-m);
  border-bottom: 1px solid var(--border-s);
}

.wiki-table-sm {
  font-size: 13px;
}
.wiki-table-sm td {
  padding: 8px 10px;
}
.wiki-table-sm th {
  padding: 8px 10px;
}

.wiki-note {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-d);
  font-style: italic;
  margin-top: 12px;
}

/* ── ACCORDION (signs) ─────────────────────────────────────────────────── */
.accordion {
  max-width: 720px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border-s);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 18px;
  color: var(--text);
  text-align: left;
  line-height: 1.4;
  transition: color .2s;
  list-style: none;
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-header::marker { display: none; content: ''; }
.accordion-header:hover { color: var(--gold); }
.accordion-header::after {
  content: '+';
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 24px;
  color: var(--text-d);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .3s;
}
.accordion-item[open] .accordion-header::after {
  transform: rotate(45deg);
  color: var(--gold);
}

.accordion-body {
  padding: 0 0 20px;
}
.accordion-body p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text-m);
  line-height: 1.7;
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-s);
  padding: 20px 0;
}
.faq-item h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.faq-item p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text-m);
  line-height: 1.7;
  margin: 0;
}

/* ── CROSS-LINKS ──────────────────────────────────────────────────────── */
.cross-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.cross-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px;
  background: var(--raised);
  border: 1px solid var(--border-s);
  border-radius: 2px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  text-decoration: none;
}
.cross-link:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.20);
}

.cross-link-icon {
  font-size: 28px;
  line-height: 1;
}

.cross-link-title {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 14px;
  color: var(--text);
}

.cross-link-domain {
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 11px;
  color: var(--text-d);
  letter-spacing: 0.02em;
}

/* ── FOOTER ────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-s);
  padding: 48px 0 32px;
  position: relative;
  z-index: 2;
}
.footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-d);
  letter-spacing: 0.04em;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-legal {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 12px;
  color: var(--text-d);
  line-height: 1.7;
}
.footer-legal a {
  color: var(--mint);
}

.footer-tech {
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 12px;
  color: var(--text-d);
  line-height: 1.7;
}

.footer-copy {
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 12px;
  color: var(--text-d);
  padding-top: 16px;
  border-top: 1px solid var(--border-s);
}

/* ── COOKIE BANNER ─────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 14px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border-s);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-m);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.cookie-banner.is-hidden { display: none; }
.cookie-btn {
  padding: 6px 18px;
  background: var(--gold);
  color: var(--void);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 12px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}
.cookie-btn:hover { background: var(--gold-b); }

/* ── SECTION DIVIDER ───────────────────────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--border) 30%,
    var(--border) 70%,
    transparent 100%
  );
  border: none;
}

/* ── ANIMATIONS ────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.fade-up { animation: fadeUp .8s ease both; }
.fade-up-d1 { animation-delay: .1s; }
.fade-up-d2 { animation-delay: .2s; }
.fade-up-d3 { animation-delay: .3s; }
.fade-up-d4 { animation-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .hero-glow { animation: none; }
  #bg { opacity: 0.3; }
}

/* ── RESPONSIVE: TABLET ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-text .hero-sanskrit,
  .hero-text .hero-title,
  .hero-text .hero-desc { text-align: center; }
  .hero { padding: 80px 24px 40px; }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
    margin: 0 auto;
  }
  .cross-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .wiki-grid {
    grid-template-columns: 1fr;
  }
  .calc-cards {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto 32px;
  }
  .hero-stats {
    gap: 32px;
  }
  .calc-form {
    padding: 32px 24px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── RESPONSIVE: MOBILE ────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-inner {
    padding: 12px 16px;
  }
  .nav-back { font-size: 11px; }
  .nav-logo { font-size: 11px; }
  .nav-cta { padding: 6px 14px; font-size: 11px; }
  .nav-lang-link { font-size: 11px; }

  .hero {
    padding: 100px 16px 60px;
    min-height: auto;
  }
  .hero-title { font-size: clamp(32px, 7vw, 48px); }
  .hero-desc { font-size: 16px; }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .section { padding: 48px 0; }
  .section-title { font-size: clamp(26px, 5vw, 36px); }

  .calc-form { padding: 24px 16px; }

  .result-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .cross-links {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .footer {
    padding: 32px 0 24px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-copy {
    text-align: center;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 12px 16px;
  }

  .wiki-article p {
    font-size: 16px;
  }
  .wiki-card {
    padding: 20px;
  }
}
