/* =============================================================
   SANJA STOJANOVIĆ · TESLA METAMORPHOSIS®
   Design System — dunkel · Gold · Weiß · edel · Quantum
   ============================================================= */

:root {
  /* Core palette — warm dark purple (true Lila, not blue/indigo) */
  --bg-0: #1d1031;          /* deep amethyst */
  --bg-1: #281544;          /* base background */
  --bg-2: #341f57;          /* raised surfaces */
  --bg-3: #41276b;          /* cards / glass base */
  --line: rgba(212, 175, 55, 0.28);
  --line-soft: rgba(255, 255, 255, 0.12);

  /* Gold */
  --gold-1: #f6e3a1;        /* light gold (text highlight) */
  --gold-2: #d4af37;        /* core gold */
  --gold-3: #c9a227;        /* deep gold */
  --gold-grad: linear-gradient(135deg, #f6e3a1 0%, #d4af37 45%, #b8881d 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);

  /* Lila / Amethyst (secondary accent) — true purple, more red, less blue */
  --violet-1: #dcb3ff;      /* light violet */
  --violet-2: #b45cf2;      /* core violet */
  --violet-3: #7d2bc9;      /* deep violet */
  --violet-glow: rgba(180, 92, 242, 0.34);
  --lux-grad: linear-gradient(135deg, #dcb3ff 0%, #b45cf2 40%, #d4af37 110%);

  /* Text — brighter & warmer for readability on dark purple */
  --ink-0: #faf9f5;         /* near white */
  --ink-1: #e8e6e0;         /* soft white (body) */
  --ink-2: #c2bdce;         /* muted (now legible, slight lavender) */
  --ink-3: #968fa8;         /* faint */

  /* Fonts */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing rhythm */
  --container: 1180px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 60px rgba(0,0,0,0.45);
  --shadow-gold: 0 0 0 1px rgba(212,175,55,0.25), 0 18px 50px rgba(212,175,55,0.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg-1);
  color: var(--ink-1);
  line-height: 1.7;
  font-size: 17px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Quantum field background ---------- */
.quantum-bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 720px at 80% -6%, rgba(246,227,161,0.18), transparent 62%),
    radial-gradient(980px 700px at 4% 8%, rgba(180,92,242,0.32), transparent 60%),
    radial-gradient(900px 900px at 55% 120%, rgba(220,179,255,0.20), transparent 60%),
    linear-gradient(180deg, #341f57 0%, var(--bg-0) 55%);
}
.quantum-canvas { position: fixed; inset: 0; z-index: -1; opacity: 0.55; pointer-events: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
section { position: relative; padding: 104px 0; }
.section-tight { padding: 72px 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink-0); font-weight: 500; line-height: 1.1; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: var(--ink-1); font-weight: 300; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-2);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-grad); display: inline-block; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.serif-italic { font-style: italic; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold-grad); color: #1a1405; box-shadow: 0 10px 34px var(--gold-glow); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 46px var(--gold-glow); }
.btn-ghost { background: rgba(255,255,255,0.02); border-color: var(--line); color: var(--ink-0); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-1); transform: translateY(-2px); }
.btn-violet { background: linear-gradient(135deg, #dcb3ff, #b45cf2 60%, #7d2bc9); color: #120a26; box-shadow: 0 10px 34px var(--violet-glow); }
.btn-violet:hover { transform: translateY(-2px); box-shadow: 0 16px 46px var(--violet-glow); }
.btn-lg { padding: 18px 38px; font-size: 1rem; }

.lux-text {
  background: var(--lux-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Glass cards ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card {
  background: linear-gradient(160deg, rgba(58,46,104,0.55), rgba(32,25,62,0.55));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow-gold); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(26,19,48,0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gold-2);
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 25%, rgba(180,92,242,0.30), transparent 60%),
              radial-gradient(circle at 70% 75%, rgba(212,175,55,0.28), transparent 65%);
  position: relative;
}
.brand .mark svg { width: 22px; height: 22px; }
.brand .name { font-family: var(--serif); font-size: 1.18rem; color: var(--ink-0); letter-spacing: 0.04em; line-height: 1; }
.brand .name small { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-2); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 0.9rem; color: var(--ink-2); transition: color .2s ease; }
.nav-links a:hover { color: var(--gold-1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink-0); font-size: 1.5rem; }
.nav-mob-only { display: none; }
.nav-portal-link { color: var(--gold-1) !important; font-weight: 600; }

/* Language switch */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.lang-switch button {
  background: none; border: none; color: var(--ink-2); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.06em; padding: 7px 11px; transition: all .2s ease;
}
.lang-switch button:hover { color: var(--gold-1); }
.lang-switch button.active { background: var(--gold-grad); color: #1a1405; }

/* ---------- Hero ---------- */
.hero { min-height: 88vh; display: flex; align-items: center; padding-top: 132px; padding-bottom: 64px; }
.hero-inner { max-width: 880px; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { max-width: 620px; margin-bottom: 22px; }
.hero-pillars { display: flex; gap: 26px; flex-wrap: wrap; margin: 30px 0 40px; }
.hero-pillars span { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold-1); }
.hero-pillars span::before { content: "◇"; color: var(--gold-3); margin-right: 10px; font-size: 0.7rem; vertical-align: middle; font-style: normal; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-microtrust { margin-top: 18px; font-size: 0.86rem; color: var(--ink-2); letter-spacing: 0.02em; }
.hero-microtrust::before { content: "✦ "; color: var(--gold-2); }
.hero-sign { margin-top: 40px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ink-1); border-left: 2px solid var(--gold-3); padding-left: 22px; max-width: 540px; }

/* Pulsing primary CTA for the assessment */
#heroAsmtBtn { position: relative; animation: cta-pulse 2.8s ease-in-out infinite; }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 10px 34px var(--gold-glow); }
  50% { box-shadow: 0 10px 34px var(--gold-glow), 0 0 0 8px rgba(212,175,55,0.10); }
}
@media (prefers-reduced-motion: reduce) { #heroAsmtBtn { animation: none; } }

/* Trust row under section heads */
.trust-row { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.trust-row span { font-size: 0.84rem; color: var(--ink-2); font-weight: 500; }
.trust-row span { color: var(--gold-1); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Feature card with icon */
.feature .ico {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(212,175,55,0.18), rgba(212,175,55,0.04));
  border: 1px solid var(--line);
  color: var(--gold-1);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 10px; font-size: 1.25rem; }
.feature p { color: var(--ink-2); font-size: 0.97rem; }

/* Method chips */
.method { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; }
.method .num { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-2); line-height: 1; min-width: 34px; }
.method h4 { font-size: 1.1rem; color: var(--ink-0); margin-bottom: 4px; }
.method p { font-size: 0.9rem; color: var(--ink-2); }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; padding: 36px 32px; position: relative; overflow: hidden; }
.price-card.featured { border-color: var(--gold-3); box-shadow: var(--shadow-gold); }
.price-card .ribbon {
  position: absolute; top: 20px; right: -38px; transform: rotate(45deg);
  background: var(--gold-grad); color: #1a1405; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 46px;
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.price-card .tagline { color: var(--ink-2); font-size: 0.92rem; min-height: 44px; }
.price-card .price { font-family: var(--serif); font-size: 3rem; color: var(--gold-1); margin: 18px 0 4px; line-height: 1; }
.price-card .price small { font-size: 1rem; color: var(--ink-2); font-family: var(--sans); }
.price-card .unit { font-size: 0.82rem; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; }
.price-card ul { list-style: none; margin: 8px 0 26px; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 11px; font-size: 0.92rem; color: var(--ink-1); }
.price-card li svg { width: 17px; height: 17px; color: var(--gold-2); flex-shrink: 0; margin-top: 4px; }
.price-card .btn { margin-top: auto; }

/* ---------- Process / steps ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(3,1fr); counter-reset: step; }
.step { padding: 32px 28px; position: relative; }
.step .phase { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.step h3 { font-size: 1.4rem; margin-bottom: 12px; }
.step p { font-size: 0.95rem; color: var(--ink-2); }
.step .big { position: absolute; top: 18px; right: 26px; font-family: var(--serif); font-size: 3.4rem; color: rgba(212,175,55,0.16); line-height: 1; }

/* 3-6-9 motif */
.tesla-369 { display: flex; gap: 30px; justify-content: center; align-items: center; margin: 10px 0 0; }
.tesla-369 .node {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 2.4rem; color: var(--gold-1);
  border: 1px solid var(--gold-3); position: relative;
  background: radial-gradient(circle at 50% 35%, rgba(212,175,55,0.18), transparent 70%);
}
.tesla-369 .node:nth-child(3) { color: var(--violet-1); border-color: var(--violet-3); background: radial-gradient(circle at 50% 35%, rgba(180,92,242,0.22), transparent 70%); }
.tesla-369 .link { width: 40px; height: 1px; background: var(--lux-grad); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-portrait {
  aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  border: 1px solid var(--line); background: linear-gradient(160deg, var(--bg-3), var(--bg-1));
  display: grid; place-items: center;
}
.about-portrait { background: linear-gradient(160deg, rgba(180,92,242,0.12), var(--bg-1) 55%); }
.about-portrait .initials { font-family: var(--serif); font-size: 6rem; background: var(--lux-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about-portrait .badge { position: absolute; bottom: 16px; left: 16px; right: 16px; padding: 14px 18px; font-size: 0.82rem; color: #fff; background: rgba(18,13,36,0.82); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.about ul { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.about li { display: flex; gap: 11px; color: var(--ink-1); font-size: 0.96rem; }
.about li svg { width: 18px; height: 18px; color: var(--gold-2); flex-shrink: 0; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--ink-0); font-family: var(--serif); font-size: 1.3rem; padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq-q .sign { color: var(--gold-2); font-size: 1.6rem; transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a .inner { padding-bottom: 26px; color: var(--ink-2); }

/* ---------- CTA banner ---------- */
.cta-banner { text-align: center; padding: 70px 44px; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { color: var(--ink-2); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h5 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.footer-grid a, .footer-grid p { display: block; color: var(--ink-2); font-size: 0.92rem; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold-1); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line-soft); color: var(--ink-3); font-size: 0.82rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Disclaimer note ---------- */
.note { font-size: 0.82rem; color: var(--ink-3); max-width: 720px; line-height: 1.6; }

/* =============================================================
   TESLA ASSESSMENT
   ============================================================= */
.assessment-wrap { max-width: 820px; margin-inline: auto; }
.assessment {
  padding: 40px clamp(22px, 4vw, 48px) 44px;
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.assessment::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 80% -10%, rgba(180,92,242,0.10), transparent 60%),
              radial-gradient(500px 280px at 0% 110%, rgba(212,175,55,0.08), transparent 60%);
}
.asmt-progress { display: flex; gap: 8px; margin-bottom: 30px; position: relative; }
.asmt-progress .dot { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.asmt-progress .dot.active { background: var(--lux-grad); }
.asmt-step { display: none; animation: fadeUp .5s ease; }
.asmt-step.active { display: block; }
@keyframes fadeUp { from { opacity:0; transform: translateY(14px);} to {opacity:1; transform:none;} }
.asmt-q-no { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.asmt-step h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 26px; }
.asmt-options { display: grid; gap: 12px; }
.asmt-opt {
  text-align: left; background: rgba(255,255,255,0.025); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 18px 20px; color: var(--ink-1); font-size: 1rem;
  display: flex; align-items: center; gap: 16px; transition: all .2s ease; width: 100%;
}
.asmt-opt:hover { border-color: var(--gold-2); background: rgba(212,175,55,0.06); transform: translateX(4px); }
.asmt-opt .glyph {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(180,92,242,0.16), rgba(212,175,55,0.10));
  border: 1px solid var(--line); color: var(--gold-1); font-family: var(--serif); font-size: 1.2rem;
}
.asmt-nav { display: flex; justify-content: space-between; margin-top: 26px; }
.asmt-back { background: none; border: none; color: var(--ink-3); font-size: 0.9rem; }
.asmt-back:hover { color: var(--gold-1); }

.asmt-opt.sel { border-color: var(--gold-2); background: rgba(212,175,55,0.10); color: var(--gold-1); }
.asmt-opt.sel .glyph { background: var(--gold-grad); color: #1a1405; }

/* Result */
.asmt-result { display: none; animation: fadeUp .6s ease; text-align: center; }
.asmt-result.active { display: block; }
.asmt-result .match-label { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--violet-1); margin-bottom: 10px; }
.asmt-result h3 { font-size: clamp(1.7rem,4vw,2.4rem); margin-bottom: 8px; }
.asmt-result .why { color: var(--ink-1); max-width: 560px; margin: 14px auto 0; }
.asmt-result .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.asmt-result .secondary { font-size: 0.9rem; color: var(--ink-2); margin-top: 18px; }
#asmtRestart { margin-top: 22px; }

/* Score ring */
.score-ring {
  --p: 0;
  width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 22px;
  background: conic-gradient(var(--gold-2) calc(var(--p)*1%), rgba(255,255,255,0.07) 0);
  display: grid; place-items: center; position: relative;
}
.score-ring::before { content:""; position:absolute; inset:9px; border-radius:50%; background: var(--bg-1); }
.score-inner { position: relative; text-align: center; }
.score-num { font-family: var(--serif); font-size: 3rem; color: var(--gold-1); line-height: 1; }
.score-max { display:block; font-size: 0.78rem; color: var(--ink-3); letter-spacing:0.08em; }

/* Breakdown */
.breakdown { max-width: 560px; margin: 30px auto 0; text-align: left; }
.bd-title { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; text-align:center; }
.bd-row { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 14px; margin-bottom: 11px; }
.bd-name { font-size: 0.86rem; color: var(--ink-1); }
.bd-track { height: 8px; border-radius: 8px; background: rgba(255,255,255,0.07); overflow: hidden; }
.bd-fill { display:block; height:100%; border-radius:8px; background: var(--lux-grad); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.bd-val { font-size: 0.82rem; color: var(--gold-1); font-weight: 600; min-width: 38px; text-align:right; }
.bd-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-top:16px; font-size:0.84rem; color:var(--ink-2); }
.bd-meta strong { color: var(--ink-0); }

/* Recommendation */
.rec { margin: 30px auto 0; max-width: 600px; padding: 26px; text-align: left; }
.rec-head { display:flex; align-items:center; gap:16px; margin:10px 0 14px; }
.rec-glyph { width:54px; height:54px; border-radius:14px; display:grid; place-items:center; flex-shrink:0;
  font-family:var(--serif); font-size:1.8rem; color:var(--gold-1);
  background: radial-gradient(circle at 50% 30%, rgba(212,175,55,0.2), transparent 70%); border:1px solid var(--gold-3); }
.rec-head h4 { font-size: 1.4rem; }
.rec-meta { font-size: 0.82rem; color: var(--ink-3); letter-spacing:0.06em; }
.rec .why2 { color: var(--ink-1); font-size: 0.96rem; margin-bottom: 20px; }
.rec .actions { justify-content: flex-start; }
.rec .secondary { text-align: left; }
@media (max-width:560px){ .rec .actions, .asmt-result .actions { justify-content: center; } .bd-row { grid-template-columns: 1fr 1.4fr auto; } }

/* =============================================================
   TESLA METAMORPHOSIS READING (cards)
   ============================================================= */
.reading-wrap { max-width: 960px; margin-inline: auto; text-align: center; }
.reading-stage { min-height: 340px; display: grid; place-items: center; margin: 10px 0 8px; }
.deck-fan { position: relative; height: 230px; width: 100%; display: grid; place-items: center; }
.deck-card {
  position: absolute; width: 120px; height: 188px; border-radius: 14px; cursor: pointer;
  background: linear-gradient(160deg, #161020, #0c0d14);
  border: 1px solid var(--violet-3);
  box-shadow: 0 12px 40px rgba(125,43,201,0.18);
  display: grid; place-items: center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.deck-card::after {
  content: ""; position: absolute; inset: 8px; border-radius: 9px; border: 1px solid rgba(212,175,55,0.35);
  background:
    radial-gradient(circle at 50% 38%, rgba(212,175,55,0.12), transparent 60%),
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(180,92,242,0.05) 0deg 30deg, transparent 30deg 60deg);
}
.deck-card .seal { position: relative; z-index: 1; font-family: var(--serif); font-size: 1.9rem; color: var(--gold-1); }
.deck-card:hover { box-shadow: 0 18px 54px rgba(212,175,55,0.22); }

.draw-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; perspective: 1400px; }
.draw-slot { width: 150px; }
.draw-pos { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--violet-1); margin-bottom: 12px; }
.flip { width: 150px; height: 234px; position: relative; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.flip.revealed { transform: rotateY(180deg); }
.flip .face { position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.flip .back {
  background: linear-gradient(160deg, #161020, #0c0d14); border: 1px solid var(--violet-3);
  display: grid; place-items: center;
}
.flip .back::after {
  content: ""; position: absolute; inset: 10px; border-radius: 11px; border: 1px solid rgba(212,175,55,0.3);
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(180,92,242,0.06) 0deg 30deg, transparent 30deg 60deg);
}
.flip .back .seal { position: relative; z-index:1; font-family: var(--serif); font-size: 2.2rem; color: var(--gold-1); }
.flip .front {
  transform: rotateY(180deg); background: linear-gradient(165deg, #1b1530, #0c0d14);
  border: 1px solid var(--gold-3); padding: 18px 16px; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.flip .front .num { font-family: var(--serif); font-size: 1.4rem; color: var(--violet-1); }
.flip .front .glyph2 { font-size: 2rem; margin: 8px 0; }
.flip .front .cname { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-1); line-height: 1.2; }
.flip .front .ckey { font-size: 0.72rem; color: var(--ink-2); margin-top: 8px; letter-spacing: 0.04em; }

.reading-out { max-width: 680px; margin: 30px auto 0; text-align: left; display: none; }
.reading-out.show { display: block; animation: fadeUp .6s ease; }
.reading-out .card-read { padding: 18px 20px; margin-bottom: 12px; }
.reading-out .card-read .pos { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--violet-1); }
.reading-out .card-read h4 { font-size: 1.15rem; margin: 4px 0 6px; }
.reading-out .card-read p { font-size: 0.92rem; color: var(--ink-2); }
.reading-out .synthesis { padding: 24px; margin-top: 6px; border-color: var(--line); }
.reading-out .synthesis .pos { color: var(--gold-2); }
.reading-actions { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2,1fr); }
  .about { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  section { padding: 76px 0; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(26,19,48,0.97); padding: 24px; gap: 20px; border-bottom: 1px solid var(--line);
  }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-sign { font-size: 1.25rem; }
  .nav-portal { display: none; }
  .nav-mob-only { display: block; }
  .lang-switch button { padding: 6px 8px; font-size: 0.7rem; }
}
