/* =====================================================
   Zodovia — Main Stylesheet
   ===================================================== */

/* ── Self-hosted Noto Serif Sinhala ─────────────────────────────────────── */
@font-face {
    font-family: 'Noto Serif Sinhala';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/static/fonts/noto-serif-sinhala-sinhala.woff2') format('woff2');
    unicode-range: U+0964-0965, U+0D81-0DF4, U+1CF2, U+200C-200D, U+25CC, U+111E1-111F4;
}
@font-face {
    font-family: 'Noto Serif Sinhala';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/static/fonts/noto-serif-sinhala-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
    --midnight: #0d0d1a;
    --deep: #13132b;
    --surface: #1a1a35;
    --surface2: #212145;
    --border: rgba(255,255,255,0.08);
    --gold: #f0c060;
    --gold-light: #f5d48a;
    --purple: #9b6dff;
    --purple-light: #b89aff;
    --teal: #4ecdc4;
    --text: #e8e8f0;
    --text-muted: #a8a8c8;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    /* Sign accent — overridden per sign via data-sign attribute */
    --sign-accent: var(--purple);
    --sign-glow: rgba(155,109,255,0.3);
}

/* ── Sign-specific accent colours ─────────────────────── */
body[data-sign="Aries"]       { --sign-accent:#e74c3c; --sign-glow:rgba(231,76,60,0.28); }
body[data-sign="Taurus"]      { --sign-accent:#27ae60; --sign-glow:rgba(39,174,96,0.28); }
body[data-sign="Gemini"]      { --sign-accent:#e6b800; --sign-glow:rgba(230,184,0,0.28); }
body[data-sign="Cancer"]      { --sign-accent:#74b9ff; --sign-glow:rgba(116,185,255,0.28); }
body[data-sign="Leo"]         { --sign-accent:#e67e22; --sign-glow:rgba(230,126,34,0.28); }
body[data-sign="Virgo"]       { --sign-accent:#1abc9c; --sign-glow:rgba(26,188,156,0.28); }
body[data-sign="Libra"]       { --sign-accent:#fd79a8; --sign-glow:rgba(253,121,168,0.28); }
body[data-sign="Scorpio"]     { --sign-accent:#c0392b; --sign-glow:rgba(192,57,43,0.28); }
body[data-sign="Sagittarius"] { --sign-accent:#9b59b6; --sign-glow:rgba(155,89,182,0.28); }
body[data-sign="Capricorn"]   { --sign-accent:#95a5a6; --sign-glow:rgba(149,165,166,0.28); }
body[data-sign="Aquarius"]    { --sign-accent:#0984e3; --sign-glow:rgba(9,132,227,0.28); }
body[data-sign="Pisces"]      { --sign-accent:#00cec9; --sign-glow:rgba(0,206,201,0.28); }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--midnight);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; }

/* --- Layout --- */
.container     { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-sm  { max-width: 680px;  margin: 0 auto; padding: 0 20px; }
.container-md  { max-width: 860px;  margin: 0 auto; padding: 0 20px; }

.section {
    padding: 64px 0;
}
.section-alt {
    background: var(--deep);
    position: relative;
    overflow: hidden;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text);
}

/* --- Navbar --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13,13,26,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 16px;
}
.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.9rem;
}
.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--text); }
.nav-user { color: var(--text-muted); font-size: 0.85rem; }

.quick-promise-bar {
    background: rgba(26,26,53,0.96);
    border-bottom: 1px solid rgba(212,175,55,0.22);
}
.quick-promise-link {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    flex-wrap: wrap;
    padding: 8px 0;
    color: var(--text);
    text-align: center;
}
.quick-promise-link:hover { color: var(--text); }
.quick-promise-kicker {
    border: 1px solid rgba(155,109,255,0.45);
    border-radius: 999px;
    padding: 3px 9px;
    color: var(--purple-light);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.quick-promise-link strong {
    color: var(--gold-light);
    font-size: 0.98rem;
}
.quick-promise-sub {
    color: var(--text-muted);
    font-size: 0.82rem;
}
.quick-promise-price {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #e8a020 100%);
    color: #1a0e00;
}
.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    color: #1a0e00;
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}
.btn-outline:hover {
    background: var(--gold);
    color: #1a0e00;
}
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* --- Hero (Home) --- */
.hero {
    background:
        radial-gradient(ellipse at 28% -10%, rgba(240,192,96,0.24) 0%, transparent 56%),
        radial-gradient(ellipse at 82% 72%, rgba(143,227,176,0.12) 0%, transparent 46%),
        radial-gradient(ellipse at 70% 2%, rgba(116,185,255,0.12) 0%, transparent 44%),
        linear-gradient(180deg, #080914 0%, #111022 54%, #130d26 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    text-align: left;
}
.hero > .container,
.section-alt > .container {
    position: relative;
    z-index: 1;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-proof-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 7px 12px;
    margin: 0 0 14px;
    border: 1px solid rgba(240,192,96,0.34);
    border-radius: 999px;
    background: rgba(240,192,96,0.08);
    color: #f4d58d;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.45;
}
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    align-items: center;
}
.hero-price-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    color: #f4d58d;
    background: rgba(255,255,255,0.055);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}
.hero-price-link:hover { border-color: rgba(240,192,96,0.5); background: rgba(240,192,96,0.09); }
.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.hero-trust-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    color: rgba(255,255,255,0.78);
    background: rgba(255,255,255,0.055);
    font-size: 0.78rem;
    font-weight: 700;
}
.hero-sri-lanka-visual {
    justify-content: flex-end;
}
.hero-poster-card {
    position: relative;
    width: min(430px, 100%);
    border: 1px solid rgba(240,192,96,0.26);
    border-radius: 8px;
    background: rgba(8,9,20,0.64);
    box-shadow:
        0 28px 80px rgba(0,0,0,0.52),
        0 0 44px rgba(240,192,96,0.13),
        inset 0 1px 0 rgba(255,255,255,0.08);
    overflow: hidden;
    transform: rotate(0.7deg);
}
.hero-poster-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8,9,20,0) 48%, rgba(8,9,20,0.24) 100%),
        linear-gradient(90deg, rgba(240,192,96,0.16), transparent 22%, transparent 78%, rgba(116,185,255,0.08));
}
.hero-poster-card picture,
.hero-poster-card img {
    display: block;
    width: 100%;
}
.hero-poster-card img {
    height: auto;
}
/* Hero insight cards visual */
.insight-cards {
    position: relative;
    width: 310px;
    height: 310px;
}
.insight-card {
    position: absolute;
    background: rgba(155,109,255,0.08);
    border: 1px solid rgba(155,109,255,0.22);
    border-radius: 14px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
    min-width: 230px;
    max-width: 270px;
}
.insight-card-icon { font-size: 1.4rem; flex-shrink: 0; }
.insight-card-label {
    font-size: 0.7rem;
    color: var(--purple-light);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    opacity: 0.85;
}
.insight-card-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 3px;
}
.insight-card-1 { top: 0; left: 0; animation: icFloat 4.2s ease-in-out infinite; }
.insight-card-2 { top: 78px; left: 45px; animation: icFloat 3.8s ease-in-out infinite 0.6s; }
.insight-card-3 { top: 156px; left: 8px; animation: icFloat 4.6s ease-in-out infinite 1.1s; }
.insight-card-4 { top: 234px; left: 42px; animation: icFloat 4s ease-in-out infinite 1.7s; }
@keyframes icFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-9px); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 12px 0 20px;
    color: var(--text);
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--purple-light);
    font-weight: 600;
}
.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 0 32px;
}
.hero-social-proof {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
}

/* --- First-visit problem hook popup --- */
.problem-hook-launcher {
    position: fixed;
    right: 18px;
    bottom: 92px;
    z-index: 9993;
    min-height: 44px;
    max-width: min(280px, calc(100vw - 32px));
    padding: 10px 14px;
    border: 1px solid rgba(240,192,96,0.48);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(240,192,96,0.96), rgba(184,154,255,0.94));
    color: #151525;
    font-family: var(--font);
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(0,0,0,0.4), 0 0 24px rgba(240,192,96,0.22);
    cursor: pointer;
    animation: problemLauncherGlow 3.8s ease-in-out infinite;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.problem-hook-launcher:hover,
.problem-hook-launcher:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(0,0,0,0.46), 0 0 32px rgba(240,192,96,0.38);
    outline: none;
}

.problem-hook-modal.hidden { display: none; }
.problem-hook-modal {
    position: fixed;
    inset: 0;
    z-index: 9994;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.problem-hook-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5,5,18,0.74);
    backdrop-filter: blur(8px);
}
.problem-hook-panel {
    position: relative;
    width: min(1040px, 100%);
    max-height: min(86vh, 820px);
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgba(240,192,96,0.08) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(184,154,255,0.07), transparent 42%),
        linear-gradient(160deg, #17172f 0%, #101026 100%);
    background-size: 46px 46px, auto, auto;
    box-shadow: 0 28px 90px rgba(0,0,0,0.62);
    padding: 24px 0 28px;
    outline: none;
    overflow-x: hidden;
}
.problem-modal-container { max-width: 980px; }
.problem-hook-close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 2;
    width: 38px;
    height: 38px;
    margin: -10px 14px 0 0;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--text);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
}
.problem-modal-open { overflow: hidden; }
.conversion-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 20px;
    min-width: 0;
}
.conversion-kicker {
    display: inline-block;
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.conversion-head h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}
.conversion-head p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.problem-modal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.problem-modal-primary {
    min-height: 42px;
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), #f2a33a);
    color: #1a0e00;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(240,192,96,0.22);
}
.problem-modal-primary:hover,
.problem-modal-primary:focus-visible {
    filter: brightness(1.08);
    outline: none;
    box-shadow: 0 16px 36px rgba(240,192,96,0.34);
}
.problem-modal-actions span {
    color: rgba(255,255,255,0.68);
    font-size: 0.82rem;
    font-weight: 700;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}
.problem-hook {
    width: 100%;
    min-height: 42px;
    min-width: 0;
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(13,13,26,0.54);
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.84rem;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.16s, background 0.16s, color 0.16s, transform 0.16s;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.problem-tile {
    --tile-accent: 184,154,255;
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 8px;
    border-color: rgba(var(--tile-accent),0.34);
    background:
        linear-gradient(135deg, rgba(var(--tile-accent),0.14), rgba(255,255,255,0.025) 52%, rgba(13,13,26,0.72)),
        rgba(13,13,26,0.76);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 12px 30px rgba(0,0,0,0.22),
        0 0 0 1px rgba(var(--tile-accent),0.04);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.problem-tile::before {
    content: attr(data-sigil);
    position: absolute;
    right: -2px;
    bottom: -24px;
    z-index: -1;
    color: rgba(var(--tile-accent),0.09);
    font-size: 6.4rem;
    font-weight: 800;
    line-height: 1;
    transform: rotate(-8deg);
}
.problem-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,0.14) 44%, transparent 54% 100%);
    opacity: 0;
    transform: translateX(-48%);
    transition: opacity 0.22s ease, transform 0.55s ease;
}
.problem-tile-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(var(--tile-accent),0.38);
    background: rgba(var(--tile-accent),0.16);
    color: rgb(var(--tile-accent));
    font-size: 2rem;
    font-family: Georgia, 'Times New Roman', serif;
    text-shadow: 0 0 20px rgba(var(--tile-accent),0.42);
    flex-shrink: 0;
}
.problem-tile-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}
.problem-tile strong {
    display: block;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.problem-tile small {
    display: block;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.problem-hook:hover,
.problem-hook:focus-visible {
    border-color: rgba(240,192,96,0.52);
    background: rgba(240,192,96,0.1);
    color: var(--text);
    transform: translateY(-1px);
    outline: none;
}
.problem-tile:hover,
.problem-tile:focus-visible {
    border-color: rgba(var(--tile-accent),0.68);
    background:
        linear-gradient(135deg, rgba(var(--tile-accent),0.2), rgba(255,255,255,0.035) 52%, rgba(13,13,26,0.72)),
        rgba(13,13,26,0.76);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 18px 42px rgba(0,0,0,0.34),
        0 0 28px rgba(var(--tile-accent),0.22);
}
.problem-tile:hover::after,
.problem-tile:focus-visible::after {
    opacity: 0.42;
    transform: translateX(42%);
}
.problem-tile-picked {
    transform: translateY(-2px) scale(0.99);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.16),
        0 0 36px rgba(var(--tile-accent),0.36),
        0 22px 46px rgba(0,0,0,0.36);
}
.problem-love { --tile-accent: 253,121,168; }
.problem-career { --tile-accent: 240,192,96; }
.problem-foreign { --tile-accent: 116,185,255; }
.problem-money { --tile-accent: 143,227,176; }
.problem-future { --tile-accent: 184,154,255; }
.problem-peace { --tile-accent: 0,206,201; }
.problem-edu { --tile-accent: 96,165,250; }

@keyframes problemLauncherGlow {
    0%, 100% { box-shadow: 0 14px 34px rgba(0,0,0,0.4), 0 0 18px rgba(240,192,96,0.18); }
    50% { box-shadow: 0 16px 40px rgba(0,0,0,0.44), 0 0 34px rgba(240,192,96,0.36); }
}

/* --- Form Card --- */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.card-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.required-hint {
    color: #f5d48a;
    font-size: 0.82rem;
    margin-bottom: 24px;
}
.selected-concern-banner {
    display: grid;
    gap: 5px;
    margin: -4px 0 22px;
    padding: 13px 15px;
    border: 1px solid rgba(240,192,96,0.26);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(240,192,96,0.12), rgba(184,154,255,0.08)),
        rgba(255,255,255,0.045);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.selected-concern-banner span {
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.selected-concern-banner strong {
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.45;
}
.selected-concern-banner small {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}
.required-label::after {
    content: " *";
    color: #f87171;
    font-weight: 800;
}
.time-input-label {
    display: inline-block;
    margin-bottom: 6px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row { margin-bottom: 20px; }
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.label-note { font-weight: 400; text-transform: none; font-size: 0.8rem; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="time"] {
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 1rem;
    padding: 12px 16px;
    transition: border-color 0.2s;
    width: 100%;
    font-family: var(--font);
}
input.is-invalid,
textarea.is-invalid,
select.is-invalid {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 2px rgba(248,113,113,0.12);
}
.field-error {
    color: #fca5a5;
    font-size: 0.78rem;
    line-height: 1.4;
}
input:focus {
    outline: none;
    border-color: var(--purple);
}
input::placeholder { color: var(--text-muted); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.7); }

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}
.auth-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.form-error {
    background: rgba(255,80,80,0.12);
    border: 1px solid rgba(255,80,80,0.3);
    border-radius: var(--radius-sm);
    color: #ff8080;
    font-size: 0.88rem;
    padding: 10px 14px;
    margin-bottom: 16px;
}

/* --- How It Works --- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}
.step-icon { font-size: 2.4rem; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-wrap: break-word;
    min-width: 0;
}
.pricing-card-featured {
    border-color: var(--gold);
    background: linear-gradient(160deg, #1f1840 0%, #1a1a35 100%);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #1a0e00;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.pricing-tier {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.pricing-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-alt { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.pricing-features li { font-size: 0.9rem; }
.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
    align-items: start;
}
@media (max-width: 860px) {
    .pricing-grid-3 { grid-template-columns: 1fr; max-width: 440px; }
}
.plan-badge-wrap {
    min-height: 28px;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.badge-popular {
    background: var(--gold);
    color: #1a0533;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.badge-save {
    background: #2a7a2a;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}
.badge-value {
    background: rgba(139,92,246,0.18);
    color: var(--accent, #8b5cf6);
    border: 1px solid rgba(139,92,246,0.4);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.plan-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 6px 0 20px;
    min-height: 36px;
}

/* --- Footer --- */
.footer {
    background: var(--deep);
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
}
.footer-logo { font-size: 1.3rem; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.footer-tagline { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* --- Modal --- */
.modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.modal-box {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    width: min(420px, 90vw);
    box-shadow: var(--shadow);
}
.modal-box h2 { margin-bottom: 24px; }
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover { color: var(--text); }

/* --- Chart Page --- */
.section-hero-chart {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(155,109,255,0.28) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 90%, rgba(0,150,200,0.08) 0%, transparent 50%),
        linear-gradient(180deg, #0b0b1a 0%, #130d26 100%);
    text-align: center;
    padding: 64px 0 48px;
}
.eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--purple-light);
    font-weight: 600;
    margin-bottom: 8px;
}
.section-hero-chart h1 { font-size: 2.2rem; margin-bottom: 32px; }

.big-three {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
}
.sign-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 12px;
    text-align: center;
}
.sign-card-center {
    background: linear-gradient(160deg, #1f1840 0%, #1a1a35 100%);
    border-color: var(--purple);
    transform: scale(1.04);
}
.sign-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 6px; }
.sign-name { font-size: 1.3rem; font-weight: 700; color: var(--gold); margin-bottom: 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sign-note { font-size: 0.78rem; color: var(--text-muted); }

/* Zodiac sign illustrations (Wikimedia Commons CC0 SVGs) */
.rasi-sign-img {
    width: 48px;
    height: 48px;
    display: block;
    /* Convert black SVG paths to gold (#f0c060) for dark background */
    filter: brightness(0) saturate(100%) invert(78%) sepia(40%) saturate(600%) hue-rotate(348deg) brightness(105%);
}
.rasi-glyph-name { display: block; }

.reading-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.reading-card h2 { margin-bottom: 20px; font-size: 1.5rem; }
.reading-body {
    color: var(--text);
    line-height: 1.8;
    font-size: 0.97rem;
}
.reading-body p { margin-bottom: 14px; }
.reading-body p:last-child { margin-bottom: 0; }
.reading-body h2, .reading-body h3 { color: var(--gold); margin: 20px 0 8px; }
.reading-body strong { color: var(--gold-light); }

.planet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.planet-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.planet-name { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.planet-sign { font-size: 1rem; font-weight: 600; color: var(--text); }
.planet-meta { font-size: 0.78rem; color: var(--text-muted); }
.planet-retro { color: #f06060; font-size: 0.75rem; }

/* --- Jaimini Karakas --- */
.karakas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 8px;
}
.karaka-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}
.karaka-item.karaka-ak   { border-left: 3px solid var(--gold); }
.karaka-item.karaka-amk  { border-left: 3px solid var(--violet); }
.karaka-role  { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); }
.karaka-planet { font-size: 1rem; font-weight: 700; color: var(--text); margin-top: 2px; }
.karaka-degree { font-size: 0.78rem; color: var(--text-muted); }
.karaka-label  { font-size: 0.72rem; color: var(--text-muted); font-style: italic; margin-top: 2px; }
@media (max-width: 600px) {
    .karakas-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Upayas / Vedic Remedies --- */
.upayas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 8px;
}
.upaya-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.upaya-card.priority-primary { border-left: 3px solid var(--gold); }
.upaya-card.priority-important { border-left: 3px solid #f59e0b; }
.upaya-card.priority-supportive { border-left: 3px solid var(--violet); }
.upaya-header { display: flex; align-items: center; gap: 10px; }
.upaya-symbol { font-size: 1.6rem; }
.upaya-planet { font-size: 1rem; font-weight: 700; color: var(--text); }
.upaya-reason { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.upaya-detail { display: block; }
.upaya-row {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 2px 10px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    align-items: start;
}
.upaya-row:last-child { border-bottom: none; }
.upaya-label { color: var(--text-muted); font-size: 0.73rem; font-weight: 600; line-height: 1.4; padding-top: 2px; }
.upaya-value { color: var(--text); font-size: 0.83rem; line-height: 1.5; word-break: break-word; }
.upaya-theme { font-size: 0.78rem; color: var(--text-muted); font-style: italic; margin-top: 4px; }
.karaka-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
    letter-spacing: 0.3px;
}
.karaka-badge.ak { background: var(--gold); color: #1a1a2e; }
.karaka-badge.amk { background: var(--violet); color: #fff; }

/* ── Functional Nature Label (Navagraha grid) ──────── */
.planet-fn-nature {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
    background: rgba(255,255,255,0.06);
    letter-spacing: 0.2px;
}

/* ── Graha Drishti (Aspects) Section ───────────────── */
.aspects-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.aspect-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    flex-wrap: wrap;
}
.aspect-from {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 160px;
    font-size: 0.9rem;
}
.aspect-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.aspect-targets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
}
.aspect-target {
    background: rgba(255,255,255,0.05);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
}
@media (max-width: 600px) {
    .upayas-grid { grid-template-columns: 1fr; }
    .aspect-item { padding: 10px 12px; }
    .aspect-from { min-width: 120px; }
}

/* --- Paywall --- */
.paywall-section { background: linear-gradient(180deg, var(--midnight) 0%, #100d20 100%); }
.paywall-card {
    background: var(--surface);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}
.paywall-icon { font-size: 3rem; margin-bottom: 16px; }
.paywall-card h2 { font-size: 2rem; margin-bottom: 12px; }
.paywall-card > p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.paywall-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}
.paywall-features span {
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.85rem;
}
.paywall-price {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-muted);
}
.paywall-price strong { color: var(--gold); }
.paywall-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.paywall-note { font-size: 0.8rem; color: var(--text-muted); }

/* --- Dashboard --- */
.section-hero-dash {
    background:
        radial-gradient(ellipse at 30% -20%, rgba(155,109,255,0.22) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 100%, rgba(74,0,150,0.15) 0%, transparent 50%),
        linear-gradient(180deg, #0b0b1a 0%, #130d26 100%);
    padding: 56px 0;
}
.dash-greeting h1 { font-size: 2rem; font-weight: 700; margin: 8px 0; }
.dash-greeting .hero-sub { color: var(--text-muted); font-size: 0.95rem; margin-top: 4px; }

.dash-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow);
}
.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.dash-card-header h2 { font-size: 1.3rem; }
.horoscope-date { font-size: 0.82rem; color: var(--text-muted); }
.horoscope-loading { color: var(--text-muted); display: flex; align-items: center; gap: 8px; padding: 12px 0; }
.horoscope-body { line-height: 1.85; color: var(--text); font-size: 0.97rem; }
.horoscope-body p { margin-bottom: 14px; }
.horoscope-body p:last-child { margin-bottom: 0; }
.horoscope-body h2, .horoscope-body h3 { color: var(--gold); margin: 16px 0 8px; font-size: 1.05rem; }
.horoscope-body strong { color: var(--gold-light); }

.intention-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    font-style: italic;
    padding: 4px 0;
    white-space: pre-wrap;
}
.streak-line {
    font-size: 0.88rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.2px;
}
.premium-access-line {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-top: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 999px;
    background: rgba(212,175,55,0.1);
    color: var(--gold-light);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.45;
}

.trial-banner {
    background: linear-gradient(90deg, #2a1a4a, #1a2a4a);
    border-bottom: 1px solid rgba(180, 130, 255, 0.3);
    color: #c9a8ff;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    padding: 10px 16px;
    letter-spacing: 0.3px;
}

.forecast-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 680px) {
    .forecast-grid { grid-template-columns: 1fr; }
}
.forecast-card { display: flex; flex-direction: column; gap: 8px; }
.forecast-teaser { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}
.stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 8px; }
.stat-value { font-size: 1.2rem; font-weight: 700; color: var(--gold); }
.stat-card-cta { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-soon { background: rgba(155,109,255,0.15); color: var(--purple-light); border: 1px solid rgba(155,109,255,0.3); }

/* --- Loading Screen --- */
.loading-screen {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
}
.loader-star {
    font-size: 3rem;
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
}
.loader-dot::before { content: '●'; animation: pulse 1s infinite; }

/* --- Legal Pages --- */
.legal-doc h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.legal-date { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 32px; }
.legal-doc h2 { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin: 32px 0 10px; }
.legal-doc h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 20px 0 8px; }
.legal-doc p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; font-size: 0.95rem; }
.legal-doc ul { color: var(--text-muted); padding-left: 20px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; line-height: 1.7; }
.legal-doc a { color: var(--gold); }

/* --- FAQ --- */
.faq-item { border-top: 1px solid var(--border); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.faq-item p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.faq-item a { color: var(--gold); }

/* ── Context / Personalise Section ───────────────────── */
.context-section {
    margin-top: 24px;
    border: 1px solid rgba(155,109,255,0.25);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(155,109,255,0.04);
}
.context-toggle {
    width: 100%;
    background: none;
    border: none;
    color: var(--purple-light);
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font);
    padding: 14px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    transition: background 0.2s;
}
.context-toggle:hover { background: rgba(155,109,255,0.08); }
.context-toggle-icon { font-size: 1.1rem; }
.context-toggle-label { color: var(--text-muted); font-weight: 400; font-size: 0.85rem; }
.context-arrow { margin-left: auto; transition: transform 0.25s; font-size: 0.75rem; }
.context-arrow.open { transform: rotate(180deg); }
.context-body {
    padding: 0 20px 20px;
    border-top: 1px solid rgba(155,109,255,0.12);
}
.context-intro {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 14px 0 16px;
    line-height: 1.6;
}

/* Focus-area pill buttons */
.focus-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.focus-pill {
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.83rem;
    font-family: var(--font);
    padding: 7px 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.focus-pill:hover { border-color: var(--purple); color: var(--purple-light); }
.focus-pill.active {
    background: rgba(155,109,255,0.18);
    border-color: var(--purple);
    color: var(--purple-light);
    font-weight: 600;
}
.focus-pill-other {
    border-style: dashed;
    opacity: 0.7;
}
.focus-pill-other:hover, .focus-pill-other.active {
    opacity: 1;
}
.pill-custom-input {
    display: block;
    margin-top: 8px;
    width: 100%;
    max-width: 320px;
    background: var(--deep);
    border: 1px solid var(--purple);
    border-radius: 8px;
    padding: 7px 12px;
    color: var(--text);
    font-size: 0.82rem;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.pill-custom-input:focus {
    border-color: var(--purple-light);
    box-shadow: 0 0 0 3px rgba(155,109,255,0.15);
}

/* Textarea styling */
textarea {
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    padding: 12px 16px;
    transition: border-color 0.2s;
    width: 100%;
    font-family: var(--font);
    resize: vertical;
    line-height: 1.6;
}
textarea:focus { outline: none; border-color: var(--purple); }
textarea::placeholder { color: var(--text-muted); }

/* ── Ask the Stars ────────────────────────────────────── */
.ask-stars-card {
    background: var(--surface);
    border: 1px solid rgba(155,109,255,0.3);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 0 60px rgba(155,109,255,0.08);
}
.ask-stars-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}
.ask-stars-icon { font-size: 2.6rem; flex-shrink: 0; }
.ask-stars-header h2 { font-size: 1.6rem; margin-bottom: 6px; }
.ask-stars-sub { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }
.ask-stars-form { display: flex; flex-direction: column; gap: 12px; }
.ask-stars-form textarea { min-height: 90px; }
.stars-answer {
    margin-top: 20px;
    padding: 20px;
    background: rgba(155,109,255,0.06);
    border: 1px solid rgba(155,109,255,0.2);
    border-radius: var(--radius-sm);
    line-height: 1.85;
    color: var(--text);
    font-size: 0.97rem;
}
.stars-answer p { margin-bottom: 14px; }
.stars-answer p:last-child { margin-bottom: 0; }
.stars-answer h2, .stars-answer h3 { color: var(--gold); margin: 16px 0 8px; }
.stars-answer strong { color: var(--gold-light); }
/* Locked teaser version */
.ask-stars-locked { opacity: 0.85; }
.ask-stars-example {
    background: var(--deep);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-top: 0;
    position: relative;
}
.ask-stars-example-q {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--purple-light);
    margin-bottom: 8px;
}
.ask-stars-example-a {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    filter: blur(3px);
    user-select: none;
    position: relative;
}
.lock-overlay {
    display: block;
    filter: none;
    text-align: center;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 8px;
    filter: none !important;
}

/* ── Dashboard Feature Cards ─────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(155,109,255,0.4); transform: translateY(-2px); }
.feature-card-link { display: block; text-decoration: none; color: inherit; }
.feature-card-link:hover { color: inherit; }
.feature-card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.55; }
.feature-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
}
/* Ask Stars inline on dashboard */
.dash-ask-textarea {
    width: 100%;
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 10px 14px;
    font-family: var(--font);
    font-size: 0.88rem;
    resize: none;
    transition: border-color 0.2s;
    margin-top: 10px;
}
.dash-ask-textarea:focus { outline: none; border-color: var(--purple); }
.dash-ask-textarea::placeholder { color: var(--text-muted); }
.dash-ask-result {
    margin-top: 10px;
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text);
}
.dash-ask-result p { margin-bottom: 12px; }
.dash-ask-result p:last-child { margin-bottom: 0; }
.dash-ask-result h2, .dash-ask-result h3 { color: var(--gold); margin: 14px 0 6px; font-size: 0.96rem; }
.dash-ask-result strong { color: var(--gold-light); }

/* ── Dashboard select inputs ─────────────────────────── */
.dash-select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: var(--text);
    padding: 8px 12px;
    font-size: 0.85rem;
    cursor: pointer;
}
.dash-select:focus { outline: none; border-color: var(--purple); }
.dash-select option { background: #1a1a2e; color: var(--text); }

/* ── Compatibility Page ───────────────────────────────── */
.compat-page-hero {
    background:
        radial-gradient(ellipse at 50% -10%, rgba(253,121,168,0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(155,109,255,0.15) 0%, transparent 50%),
        linear-gradient(180deg, #0b0b1a 0%, #130d26 100%);
    padding: 64px 0 48px;
    text-align: center;
}
.compat-page-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.compat-page-hero p { color: var(--text-muted); max-width: 500px; margin: 0 auto; font-size: 1rem; line-height: 1.7; }

.compat-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.compat-person-section {
    padding: 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}
.compat-person-section.you { background: rgba(155,109,255,0.06); border: 1px solid rgba(155,109,255,0.2); }
.compat-person-section.them { background: rgba(253,121,168,0.06); border: 1px solid rgba(253,121,168,0.2); }
.compat-section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 16px;
}
.compat-section-label.you { color: var(--purple-light); }
.compat-section-label.them { color: #fd79a8; }

/* Relationship type pills */
.rel-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.rel-pill {
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-family: var(--font);
    padding: 7px 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.rel-pill:hover { border-color: #fd79a8; color: #fd79a8; }
.rel-pill.active {
    background: rgba(253,121,168,0.15);
    border-color: #fd79a8;
    color: #fd79a8;
    font-weight: 600;
}
input[type="hidden"] { display: none; }

/* Compatibility result */
.compat-result {
    background: var(--surface);
    border: 1px solid rgba(253,121,168,0.25);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 0 60px rgba(253,121,168,0.06);
    margin-top: 32px;
}
.compat-result-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.compat-result-names {
    font-size: 1.4rem;
    font-weight: 700;
}
.compat-result-sub { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; }
.compat-reading {
    line-height: 1.85;
    color: var(--text);
    font-size: 0.97rem;
}
.compat-reading p { margin-bottom: 14px; }
.compat-reading p:last-child { margin-bottom: 0; }
.compat-reading h2, .compat-reading h3 { color: var(--gold); margin: 20px 0 8px; }
.compat-reading strong { color: var(--gold-light); }

/* Sign-themed big-three on chart page */
.sign-card-center {
    border-color: var(--sign-accent) !important;
    box-shadow: 0 0 30px var(--sign-glow);
}
.sign-name { color: var(--sign-accent) !important; }

/* ── Natal Chart Wheel ───────────────────────────────────── */
.section-sub {
    text-align: center;
    color: var(--text-muted);
    margin-top: -24px;
    margin-bottom: 32px;
    font-size: 0.88rem;
    line-height: 1.6;
}
.wheel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.chart-wheel-svg {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 0 32px rgba(155,109,255,0.18));
}
.wheel-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}
.retro-legend {
    color: #ff8080;
    font-size: 0.88rem;
    font-weight: 600;
}

/* ── Rising Sign Spotlight ───────────────────────────────── */
.rising-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.rising-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}
.rising-glyph-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155,109,255,0.22) 0%, transparent 70%);
    border: 1px solid rgba(155,109,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.rising-glyph {
    font-size: 2.2rem;
    line-height: 1;
}
.rising-eyebrow {
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--purple-light);
    margin-bottom: 4px;
}
.rising-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}
.rising-degree-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}
.rising-what-is {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    padding: 14px 18px;
    background: var(--deep);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--purple);
}
.rising-what-is strong { color: var(--text); }
.rising-intro {
    font-size: 0.96rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 28px;
}
.rising-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.rising-pillar {
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 14px;
    text-align: center;
}
.pillar-icon { font-size: 1.4rem; margin-bottom: 10px; }
.rising-pillar h4 {
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 600;
}
.rising-pillar p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 600px) {
    .rising-pillars { grid-template-columns: 1fr; }
    .rising-header { flex-direction: column; text-align: center; }
    .rising-card { padding: 24px 18px; }
}

/* ── Birth time unknown ─────────────────────────────────── */
.time-unknown-row {
    margin-top: 8px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
}
.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--purple);
    cursor: pointer;
    flex-shrink: 0;
}
.time-unknown-note {
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--gold-light);
    background: rgba(240,192,96,0.08);
    border: 1px solid rgba(240,192,96,0.2);
    border-radius: 8px;
    padding: 6px 10px;
    line-height: 1.5;
}

/* ── Ask Stars character counter ─────────────────────────── */
.ask-counter {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 4px;
    transition: color 0.2s;
}
.ask-counter.counter-warn { color: #e87070; }

/* ── Wellness Goals section ─────────────────────────────── */
.wellness-section {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid rgba(155,109,255,0.35);
    border-radius: var(--radius);
    background: rgba(155,109,255,0.06);
}
.wellness-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px 0;
}
.wellness-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 16px 0;
}
.label-small {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}
.label-optional {
    font-size: 0.75rem;
    color: #8c8cac;
    font-weight: 400;
}
.sensitive-flags-intro {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 10px;
    line-height: 1.4;
    opacity: 0.85;
}
.sensitive-flags-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.checkbox-flag-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    user-select: none;
    line-height: 1.3;
    position: relative;
}
.checkbox-flag-label:hover {
    border-color: rgba(155,109,255,0.45);
    color: var(--text);
    background: rgba(155,109,255,0.04);
}
.checkbox-flag-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}
.flag-icon { font-size: 1rem; flex-shrink: 0; }
.flag-text { flex: 1; }
.flag-check {
    width: 16px;
    min-width: 16px;
    height: 16px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    transition: background 0.15s, border-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: transparent;
}
.checkbox-flag-label:has(input:checked) {
    border-color: var(--purple);
    background: rgba(155, 109, 255, 0.12);
    color: var(--text);
}
.checkbox-flag-label:has(input:checked) .flag-check {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
    font-weight: 700;
}
.checkbox-flag-label:has(input:checked) .flag-check::before {
    content: '✓';
}
/* Sensitive context box — revealed when any flag is ticked */
.sensitive-context-box {
    margin-top: 12px;
    background: rgba(155,109,255,0.05);
    border: 1px solid rgba(155,109,255,0.2);
    border-radius: 12px;
    padding: 14px 16px;
}
.sensitive-context-box.hidden { display: none; }
.sensitive-context-prompt {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 10px;
    line-height: 1.5;
}
.sensitive-context-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 10px 0 0;
    opacity: 0.8;
    line-height: 1.5;
}

/* ── Google Places Autocomplete dark theme ──────────────── */
.pac-container {
    background: #1a1a38;
    border: 1px solid rgba(255,255,255,0.12);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    font-family: inherit;
    overflow: hidden;
    z-index: 9999;
}
.pac-item {
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.4;
}
.pac-item:first-child { border-top: none; }
.pac-item:hover, .pac-item-selected {
    background: rgba(155, 109, 255, 0.12);
    color: var(--text);
}
.pac-item-query {
    color: var(--text);
    font-size: 0.9rem;
}
.pac-icon { display: none; }
.pac-matched { color: var(--purple-light); font-weight: 600; }

/* ── Location autocomplete dropdown ─────────────────────── */
.location-ac-wrap { position: relative; }
.location-dropdown {
    position: fixed;
    background: #1a1a38;
    border: 1px solid rgba(255,255,255,0.14);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 9999;
    max-height: 240px;
    overflow-y: auto;
}
.location-dropdown.hidden { display: none; }
.location-dropdown-item {
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.4;
    transition: background 0.1s, color 0.1s;
}
.location-dropdown-item:first-child { border-top: none; }
.location-dropdown-item:hover,
.location-dropdown-item.active {
    background: rgba(155, 109, 255, 0.12);
    color: var(--text);
}

/* ── Demographics section ───────────────────────────────── */
/* Reuses .context-section / .context-toggle / .context-body styles */
/* Select inputs share input styling */
select {
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
    cursor: pointer;
    font-family: var(--font);
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239090b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
select:focus {
    outline: none;
    border-color: var(--purple);
}
select option { background: var(--deep); color: var(--text); }

/* ── Geocode preview & coordinate inputs ────────────────── */
.geocode-preview {
    font-size: 0.82rem;
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    line-height: 1.4;
}
.geocode-preview-loading {
    color: var(--text-muted);
    background: var(--deep);
    border: 1px solid var(--border);
}
.geocode-preview-ok {
    color: #7ab648;
    background: rgba(122,182,72,0.08);
    border: 1px solid rgba(122,182,72,0.25);
}
.geocode-preview-error {
    color: #e87070;
    background: rgba(232,112,112,0.08);
    border: 1px solid rgba(232,112,112,0.25);
}

.coord-toggle-link {
    background: none;
    border: none;
    color: var(--purple-light);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 6px 0 2px;
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.coord-toggle-link:hover { color: var(--gold-light); }

.coord-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 10px;
}
.coord-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.5;
}
.coord-hint strong { color: var(--text); }

.map-picker-actions {
    margin-top: 12px;
}

.coord-map-btn {
    width: 100%;
    border: 1px solid rgba(201, 180, 88, 0.35);
    background: linear-gradient(135deg, rgba(201,180,88,0.16), rgba(155,109,255,0.14));
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-family: var(--font);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.coord-map-btn:hover {
    border-color: rgba(201,180,88,0.55);
    box-shadow: 0 0 18px rgba(201,180,88,0.14);
    transform: translateY(-1px);
}

.map-picker-wrap {
    margin-top: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(7, 7, 20, 0.88);
}

.map-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.map-picker-close {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border-radius: 8px;
    padding: 6px 10px;
    font-family: var(--font);
    font-size: 0.76rem;
    white-space: nowrap;
    cursor: pointer;
}

.map-picker-canvas {
    width: 100%;
    height: min(52vh, 360px);
    min-height: 280px;
    background: radial-gradient(circle at center, rgba(201,180,88,0.14), rgba(13,13,26,0.9));
}

.map-picker-empty {
    height: 100%;
    min-height: 230px;
    display: grid;
    place-items: center;
    padding: 22px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.map-input-panel {
    min-height: 100%;
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 22px;
}

.map-input-title {
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 800;
}

.map-input-copy {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 0;
}

.map-input-open {
    width: fit-content;
    border: 1px solid rgba(201,180,88,0.35);
    border-radius: 8px;
    color: var(--gold-light);
    background: rgba(201,180,88,0.08);
    padding: 8px 11px;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.map-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.map-input-field {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.86rem;
    min-width: 0;
    padding: 10px 12px;
}

.map-input-use {
    border: none;
    border-radius: 8px;
    background: var(--gold);
    color: #181024;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 900;
    padding: 10px 12px;
    white-space: nowrap;
}

.map-input-use:disabled {
    cursor: wait;
    opacity: 0.7;
}

.map-input-status {
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.45;
    padding: 8px 10px;
}

.map-input-status-loading {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
}

.map-input-status-ok {
    background: rgba(122,182,72,0.1);
    color: #8bd168;
}

.map-input-status-error {
    background: rgba(232,112,112,0.12);
    color: #f08c8c;
}

/* number inputs (lat/lon) */
input[type="number"] {
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 1rem;
    padding: 12px 16px;
    transition: border-color 0.2s;
    width: 100%;
    font-family: var(--font);
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
input[type="number"]:focus {
    outline: none;
    border-color: var(--purple);
}
input[type="number"]::placeholder { color: var(--text-muted); }

@media (max-width: 600px) {
    .coord-pair { grid-template-columns: 1fr; gap: 10px; }
    .map-picker-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .map-picker-close {
        width: 100%;
    }
    .map-picker-canvas {
        height: 300px;
        min-height: 260px;
    }
    .map-input-row {
        grid-template-columns: 1fr;
    }
    .map-input-open,
    .map-input-use {
        width: 100%;
        text-align: center;
    }
}

/* ── Utilities ──────────────────────────────────────────── */
.hidden { display: none !important; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .form-row-2 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 24px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .big-three { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
    .sign-card-center { transform: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .coming-soon-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .paywall-card { padding: 36px 24px; }
    .form-card { padding: 28px 20px; }
    .compat-form-card { padding: 24px 16px; }
    .ask-stars-card { padding: 24px 20px; }
    .ask-stars-header { flex-direction: column; gap: 10px; }
    .nav-links { gap: 12px; }
    .nav-links a:not(.btn) { display: none; }
    .quick-promise-link {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 5px 8px;
        padding: 10px 0;
        text-align: left;
    }
    .quick-promise-link strong { width: 100%; font-size: 0.96rem; }
    .quick-promise-sub { width: 100%; line-height: 1.5; }
    .quick-promise-price {
        width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.45;
    }
    .hero { text-align: center; padding: 30px 0 56px; }
    .hero-inner { grid-template-columns: 1fr; gap: 24px; }
    .hero-text,
    .hero-cta-row,
    .hero-trust-strip {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .hero-sub { margin: 0 auto 32px; }
    .hero-proof-pill { margin-left: auto; margin-right: auto; }
    .hero-cta-row,
    .hero-trust-strip { justify-content: center; }
    .hero .btn-lg,
    .hero-price-link {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }
    .hero-trust-strip span {
        white-space: normal;
        justify-content: center;
    }
    .hero-social-proof { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-sri-lanka-visual { justify-content: center; }
    .hero-poster-card { width: min(292px, 82vw); transform: none; }
    .hero-zodiac-img { max-width: 220px; }
    .compat-page-hero h1 { font-size: 1.8rem; }
    .problem-hook-modal {
        align-items: flex-end;
        justify-content: flex-start;
        padding: 0;
    }
    .problem-hook-panel {
        width: min(390px, 100%);
        max-width: 100%;
        max-height: 86vh;
        border-radius: 18px 18px 0 0;
        padding: 22px 0 24px;
    }
    .problem-modal-container,
    .problem-tile,
    .problem-hook {
        max-width: 100%;
    }
    .problem-modal-container { width: 100%; }
    .problem-grid { grid-template-columns: 1fr; }
    .problem-tile {
        min-height: 92px;
        gap: 12px;
        padding: 13px;
    }
    .problem-tile-icon {
        width: 46px;
        height: 46px;
        font-size: 1.35rem;
    }
    .problem-tile strong { font-size: 0.96rem; }
    .problem-tile small { font-size: 0.78rem; line-height: 1.45; }
    .conversion-head { text-align: left; margin-bottom: 16px; }
    .conversion-kicker { font-size: 0.7rem; letter-spacing: 0.04em; }
    .conversion-head h2 { font-size: 1.28rem; line-height: 1.35; }
    .conversion-head p { font-size: 0.9rem; }
    .problem-modal-actions {
        justify-content: flex-start;
        gap: 8px;
        margin-top: 12px;
    }
    .problem-modal-primary {
        width: 100%;
        min-height: 44px;
    }
    .problem-modal-actions span {
        font-size: 0.78rem;
        line-height: 1.45;
    }
    .problem-hook { overflow-wrap: anywhere; word-break: break-word; }
    .problem-hook-launcher {
        right: 12px;
        bottom: 82px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .navbar { padding: 0 14px; }
    .logo { font-size: 1.22rem; letter-spacing: 0; }
    .nav-inner { gap: 8px; }
    .nav-links { gap: 8px; }
    .nav-links .btn-primary { display: none; }
    .nav-links .btn-ghost { padding: 7px 9px; font-size: 0.78rem; }
    .big-three { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .sensitive-flags-grid { grid-template-columns: 1fr; }
    .conversion-kicker { font-size: 0.66rem; }
    .conversion-head h2 { font-size: 1.14rem; }
    .conversion-head p { font-size: 0.88rem; }
    .problem-hook { font-size: 0.82rem; }
    .problem-tile {
        min-height: 86px;
        padding: 12px;
    }
    .problem-tile-icon {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }
    .problem-tile strong { font-size: 0.92rem; }
    .problem-tile small { font-size: 0.74rem; }
}

/* ── Sri Lanka Localisation Styles ──────────────────────────────────────────── */

/* Sinhala subtitle in hero */
.sinhala-sub {
    font-family: 'Noto Serif Sinhala', serif;
    font-size: 0.95rem;
    color: var(--purple-light);
    margin-bottom: 4px;
    line-height: 1.8;
}

/* Sri Lanka use cases grid */
.sl-use-cases {
    margin-top: 48px;
    text-align: center;
}
.sl-use-cases-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.sl-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}
.sl-use-case {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: left;
}
@media (max-width: 600px) {
    .sl-use-cases-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .sl-use-cases-grid { grid-template-columns: 1fr; }
}

/* Sri Lanka trust block */
.sl-trust-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
}
.sl-trust-header {
    margin-bottom: 32px;
}
.sl-trust-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.sl-trust-header p {
    color: var(--text-muted);
    font-size: 1rem;
}
.sl-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}
.sl-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 16px;
}
.sl-trust-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}
.sl-trust-item strong {
    color: var(--text);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 3px;
}
.sl-trust-item div {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.5;
}
@media (max-width: 768px) {
    .sl-trust-grid { grid-template-columns: 1fr 1fr; }
    .sl-trust-block { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .sl-trust-grid { grid-template-columns: 1fr; }
}

/* LKR secondary price line */
.plan-price-usd {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin: 2px 0 0;
    opacity: 0.8;
}

/* City quick-pick chips */
.city-quick-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    align-items: center;
}
.city-pick-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-right: 2px;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
}
.city-chip {
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-family: var(--font);
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.15s;
}
.city-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.city-chip-other {
    border-style: dashed;
    opacity: 0.7;
}
.city-chip-other:hover { opacity: 1; }

/* Form disclaimer */
.form-disclaimer {
    font-size: 0.75rem;
    color: #8c8cac;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

.form-price-preview {
    margin: 6px 0 14px;
    padding: 14px;
    border: 1px solid rgba(212,175,55,0.16);
    border-radius: 12px;
    background: rgba(212,175,55,0.045);
}
.form-price-preview.has-error {
    border-color: rgba(248,113,113,0.55);
    background: rgba(248,113,113,0.07);
}
.form-price-preview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.form-price-preview-head span {
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
}
.form-price-preview-head small {
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: right;
}
.required-chip {
    border: 1px solid rgba(248,113,113,0.35);
    border-radius: 999px;
    color: #fca5a5 !important;
    flex-shrink: 0;
    padding: 2px 8px;
}
.form-price-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.form-price-tile {
    min-height: 88px;
    padding: 10px 8px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 8px;
    background: rgba(255,255,255,0.035);
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: inherit;
    text-align: left;
    transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.form-price-tile:hover {
    border-color: rgba(212,175,55,0.42);
    background: rgba(212,175,55,0.07);
}
.form-price-tile:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.form-price-tile.selected {
    border-color: rgba(212,175,55,0.78);
    background: rgba(212,175,55,0.12);
    transform: translateY(-1px);
}
.form-price-plan {
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.25;
}
.form-price-tile strong {
    color: var(--gold);
    font-size: clamp(0.9rem, 2.8vw, 1.05rem);
    line-height: 1.15;
    word-break: keep-all;
}
.form-price-tile small {
    color: var(--text-muted);
    font-size: 0.68rem;
    line-height: 1.35;
}
@media (max-width: 720px) {
    .form-price-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-price-preview-head { flex-direction: column; gap: 4px; }
    .form-price-preview-head small { text-align: left; }
}
@media (max-width: 380px) {
    .form-price-tiles { grid-template-columns: 1fr; }
}

/* ── WhatsApp Floating Button ────────────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 12px 20px 12px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: var(--font);
}
.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
    color: #fff;
}
.whatsapp-float span {
    white-space: nowrap;
}
@media (max-width: 480px) {
    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 14px; border-radius: 50%; }
}

/* ── Language toggle button ──────────────────────────── */
.lang-toggle {
    background: transparent;
    border: 1px solid rgba(240,192,96,0.4);
    color: var(--gold);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Serif Sinhala', var(--font);
    letter-spacing: 0.02em;
    line-height: 1.6;
}
.lang-toggle:hover {
    background: rgba(240,192,96,0.12);
    border-color: var(--gold);
}

/* ── Sinhala font rendering ─────────────────────────── */
/* Noto Serif Sinhala is loaded on pages that need it.  */
/* When lang-si is active, inject it into the font stack */
body.lang-si {
    font-family: 'Noto Serif Sinhala', 'Segoe UI', system-ui, sans-serif;
}
body.lang-si input,
body.lang-si textarea,
body.lang-si select,
body.lang-si button {
    font-family: 'Noto Serif Sinhala', 'Segoe UI', system-ui, sans-serif;
}
body.lang-si .hero h1 {
    font-size: clamp(1.35rem, 2.6vw, 2.1rem);
    line-height: 1.85;
    overflow-wrap: break-word;
}

/* ── Birth time accuracy ────────────────────────────── */
.time-acc-radios {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
}
.time-acc-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
}
.time-acc-opt input[type=radio] {
    accent-color: var(--purple);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}
.session-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.session-picker.is-invalid {
    border: 1px solid rgba(248,113,113,0.45);
    border-radius: 10px;
    padding: 8px;
}
.session-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(155,109,255,0.4);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.session-btn:hover {
    border-color: var(--purple);
    color: var(--purple-light);
}
.session-btn.active {
    background: rgba(155,109,255,0.18);
    border-color: var(--purple);
    color: var(--purple-light);
}

/* ── Section question label ─────────────────────────── */
.section-q-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 10px;
}

/* ── Form hint ──────────────────────────────────────── */
.form-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: -6px 0 10px;
    opacity: 0.85;
}

.customer-brief-group {
    margin-top: 18px;
}

.brief-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.brief-prompt-btn {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(240,192,96,0.28);
    border-radius: 8px;
    background: rgba(240,192,96,0.08);
    color: var(--gold-light);
    font-family: var(--font);
    font-size: 0.8rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.brief-prompt-btn:hover {
    background: rgba(240,192,96,0.14);
    border-color: rgba(240,192,96,0.45);
    transform: translateY(-1px);
}

.brief-meter {
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.brief-meter.is-ok {
    color: var(--gold-light);
}

.brief-meter.is-good {
    color: #8fe3b0;
}

/* ── Situation checkboxes ───────────────────────────── */
.situation-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sit-check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.4;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.12s, border-color 0.12s;
}
.sit-check-label:hover {
    background: rgba(155,109,255,0.06);
    border-color: rgba(155,109,255,0.3);
}
.sit-check-label input[type=checkbox] {
    accent-color: var(--purple);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    cursor: pointer;
}
.sit-check-label input[type=checkbox]:checked + span {
    color: var(--text);
}

/* ── Conditional question blocks ────────────────────── */
.cond-block {
    margin-top: 18px;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(155,109,255,0.05);
    border: 1px solid rgba(155,109,255,0.25);
}
.cond-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 10px;
}

/* ── Pricing 4-column grid ───────────────────────── */
.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}
.pricing-grid-4 .pricing-features li { font-size: 0.82rem; }
.pricing-grid-4 .pricing-price { font-size: 2rem; }
@media (max-width: 1100px) {
    .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 680px; }
}
@media (max-width: 600px) {
    .pricing-grid-4 { grid-template-columns: 1fr; max-width: 440px; }
}

/* ── Family Plan Card ────────────────────────────── */
.family-plan-card {
    background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(79,70,229,0.08));
    border: 1px solid rgba(139,92,246,0.45);
    border-radius: var(--radius);
    padding: 28px 32px;
    max-width: 1100px;
    margin: 24px auto 0;
    display: flex;
    align-items: center;
    gap: 28px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.family-plan-card:hover { border-color: rgba(139,92,246,0.8); }
.family-plan-card .fp-icon { font-size: 2.8rem; flex-shrink: 0; }
.family-plan-card .fp-body { flex: 1; }
.family-plan-card .fp-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.family-plan-card .fp-price { font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.family-plan-card .fp-per { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.family-plan-card .fp-sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.family-plan-card .fp-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.family-plan-card .fp-tag { background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.3); border-radius: 20px; padding: 3px 10px; font-size: 0.78rem; color: #c4b5fd; }
@media (max-width: 640px) {
    .family-plan-card { flex-direction: column; align-items: flex-start; gap: 16px; }
    .family-plan-card > div:last-child { display: none; }
}

/* ── Testimonials ────────────────────────────────── */
.testimonials-section { padding: 64px 0; }
.testimonials-title {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}
.testimonials-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0 0 40px;
}
.testimonials-carousel {
    position: relative;
    overflow: hidden;
    max-width: 1080px;
    margin: 0 auto;
}
.testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transition: opacity 0.5s ease;
}
.testimonials-track.fading { opacity: 0; }
@media (max-width: 860px) {
    .testimonials-track { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}
.testi-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.testi-stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 2px; }
.testi-quote {
    font-size: 0.93rem;
    color: var(--text);
    line-height: 1.65;
    flex: 1;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.testi-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a0533;
    flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.88rem; color: var(--text); }
.testi-location { font-size: 0.78rem; color: var(--text-muted); }
.testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: background 0.3s;
}
.testi-dot.active { background: var(--gold); }


/* ═══════════════════════════════════════════════════════════
   PREMIUM POLISH v2 — entrance animations, hovers, reveals
   ═══════════════════════════════════════════════════════════ */

/* ── Scroll-reveal base ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.28s; }
.reveal-d4 { transition-delay: 0.38s; }
.reveal-d5 { transition-delay: 0.48s; }
.reveal-d6 { transition-delay: 0.58s; }

/* ── Landing page section staging ── */
.page-home .landing-segment {
    position: relative;
    isolation: isolate;
    scroll-margin-top: 84px;
}
.page-home .landing-segment::before {
    content: "";
    position: absolute;
    top: 18px;
    left: max(18px, calc((100vw - 1120px) / 2));
    right: max(18px, calc((100vw - 1120px) / 2));
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240,192,96,0.36), rgba(184,154,255,0.26), transparent);
    opacity: 0;
    transform: scaleX(0.5);
    transform-origin: center;
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22,1,0.36,1);
    pointer-events: none;
}
.page-home.segment-motion-ready .landing-segment > .container {
    opacity: 0.18;
    transform: translateY(34px) scale(0.985);
    transition:
        opacity 0.78s cubic-bezier(0.22,1,0.36,1),
        transform 0.78s cubic-bezier(0.22,1,0.36,1);
    will-change: opacity, transform;
}
.page-home.segment-motion-ready .landing-segment.segment-shift-left > .container {
    transform: translateX(-28px) translateY(18px) scale(0.99);
}
.page-home.segment-motion-ready .landing-segment.segment-shift-right > .container {
    transform: translateX(28px) translateY(18px) scale(0.99);
}
.page-home.segment-motion-ready .landing-segment.segment-scale-in > .container {
    transform: translateY(24px) scale(0.965);
}
.page-home.segment-motion-ready .landing-segment.segment-visible > .container,
.page-home.segment-motion-ready .landing-segment#birth-form > .container {
    opacity: 1;
    transform: none;
}
.page-home .landing-segment.segment-active::before {
    opacity: 1;
    transform: scaleX(1);
}
.page-home .landing-segment.segment-active .pricing-card-featured,
.page-home .landing-segment.segment-active .form-card,
.page-home .landing-segment.segment-active .sl-trust-block {
    box-shadow: 0 22px 64px rgba(0,0,0,0.48), 0 0 34px rgba(155,109,255,0.12);
}

/* Section title underline draw on scroll */
.section-title, .testimonials-title {
    position: relative;
}
.section-title::after, .testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 44px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.section-title.visible::after, .testimonials-title.visible::after {
    transform: translateX(-50%) scaleX(1);
}
.testimonials-title { display: block; text-align: center; }

/* ── Hero entrance sequence ── */
@keyframes _fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}
@keyframes _fadeFromRight {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: none; }
}
.hero-text .hero-eyebrow,
.hero-text .hero-proof-pill { animation: _fadeUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.10s both; }
.hero-text h1             { animation: _fadeUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.25s both; }
.hero-text .hero-sub,
.hero-text .sinhala-sub   { animation: _fadeUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.38s both; }
.hero-text .btn-lg,
.hero-price-link,
.hero-trust-strip        { animation: _fadeUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.52s both; }
.hero-visual              { animation: _fadeFromRight 0.80s cubic-bezier(0.22,1,0.36,1) 0.35s both; }

/* ── Primary button shimmer on hover ── */
@keyframes _shimmer {
    from { background-position: -200% center; }
    to   { background-position:  200% center; }
}
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        transparent 35%,
        rgba(255,255,255,0.26) 50%,
        transparent 65%);
    background-size: 200% 100%;
    background-position: -200% center;
    pointer-events: none;
    border-radius: inherit;
}
.btn-primary:hover::after { animation: _shimmer 0.55s ease forwards; }
.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(240,192,96,0.38);
    color: #1a0e00;
}

/* ── Outline button lift + glow ── */
.btn-outline:hover {
    background: var(--gold);
    color: #1a0e00;
    box-shadow: 0 4px 16px rgba(240,192,96,0.28);
    transform: translateY(-1px);
}

/* ── Step cards — icon bounce + lift ── */
.step { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.step:hover { transform: translateY(-5px); }
.step-icon { display: inline-block; transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.step:hover .step-icon { transform: scale(1.22) rotate(-6deg); }

/* ── Trust items — subtle lift ── */
.sl-trust-item {
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), background 0.3s;
    border-radius: var(--radius-sm);
}
.sl-trust-item:hover {
    transform: translateY(-3px);
    background: rgba(155,109,255,0.06);
}

/* ── Use-case chips ── */
.sl-use-case { transition: background 0.25s, transform 0.25s; }
.sl-use-case:hover { background: rgba(155,109,255,0.14); transform: translateY(-2px); }

/* ── Feature cards — deeper shadow glow ── */
.feature-card {
    transition: border-color 0.3s, transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}
.feature-card:hover {
    border-color: rgba(155,109,255,0.5);
    transform: translateY(-5px);
    box-shadow: 0 14px 44px rgba(0,0,0,0.45), 0 0 0 1px rgba(155,109,255,0.12);
}

/* ── Pricing cards ── */
.pricing-card {
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, border-color 0.3s;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.5); }
.pricing-card-featured {
    box-shadow: 0 8px 32px rgba(240,192,96,0.14), var(--shadow);
}
.pricing-card-featured:hover {
    box-shadow: 0 18px 52px rgba(240,192,96,0.24), 0 4px 16px rgba(0,0,0,0.4);
}

/* ── Testimonial cards ── */
.testi-card {
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s, box-shadow 0.3s;
}
.testi-card:hover {
    transform: translateY(-3px);
    border-color: rgba(240,192,96,0.22);
    box-shadow: 0 10px 36px rgba(0,0,0,0.32);
}

/* ── Testimonial dots — pill expand ── */
.testi-dot {
    width: 8px;
    transition: background 0.35s, width 0.35s cubic-bezier(0.22,1,0.36,1);
}
.testi-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

/* ── Logo hover glow ── */
.logo { transition: opacity 0.2s, text-shadow 0.3s; }
.logo:hover { opacity: 1; text-shadow: 0 0 22px rgba(240,192,96,0.5); }

/* ── Input focus glow ── */
.form-input:focus, .form-select:focus, .dash-ask-textarea:focus {
    box-shadow: 0 0 0 3px rgba(155,109,255,0.18);
    border-color: var(--purple-light) !important;
    outline: none;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .reveal, .hero-text .hero-eyebrow, .hero-text .hero-proof-pill, .hero-text h1,
    .hero-text .hero-sub, .hero-text .sinhala-sub,
    .hero-text .btn-lg, .hero-price-link, .hero-trust-strip, .hero-visual,
    .problem-hook-launcher,
    .page-home.segment-motion-ready .landing-segment > .container {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .page-home .landing-segment::before,
    .problem-tile::after {
        display: none !important;
    }
}

@media (max-width: 680px) {
    .hero-text .hero-eyebrow,
    .hero-text .hero-proof-pill,
    .hero-text h1,
    .hero-text .hero-sub,
    .hero-text .sinhala-sub,
    .hero-text .btn-lg,
    .hero-price-link,
    .hero-trust-strip,
    .hero-visual,
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .page-home.segment-motion-ready .landing-segment > .container {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        transition-delay: 0s !important;
    }

    .insight-card-1,
    .insight-card-2,
    .insight-card-3,
    .insight-card-4,
    .featured,
    .cosmic-star {
        animation: none !important;
    }
}


/* ═══════════════════════════════════════════════════════════
   PREMIUM POLISH v3 — cosmic atmosphere, glow, micro-details
   ═══════════════════════════════════════════════════════════ */

/* ── Scroll progress bar (element created by JS) ── */
#scrollProgress {
    position: fixed;
    top: 0; left: 0;
    z-index: 301;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--purple) 0%, var(--gold) 100%);
    pointer-events: none;
    will-change: width;
}

/* ── Navbar: gold shimmer border on scroll ── */
.navbar.nav-scrolled {
    border-bottom-color: rgba(240,192,96,0.22);
    box-shadow: 0 2px 24px rgba(0,0,0,0.55);
}

/* ── Hero: positioning context for star particles ── */
.hero {
    position: relative;
    overflow: hidden;
}
.hero-inner {
    position: relative;
    z-index: 1;
}

/* ── Star particles (JS-generated, 1–2px dots) ── */
.star-particle {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
    z-index: 0;
    will-change: opacity, transform;
    animation: _starBlink var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
}
@keyframes _starBlink {
    0%, 100% { opacity: var(--max, 0.45); transform: scale(1); }
    50%       { opacity: calc(var(--max, 0.45) * 0.15); transform: scale(0.5); }
}

/* ── Hero h1 em: warm gradient instead of flat gold ── */
.hero h1 em {
    background: linear-gradient(135deg, #ffd77a 0%, #f0c060 45%, #d4881c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
}

/* ── Featured pricing card: ambient glow pulse ── */
@keyframes _featuredGlow {
    0%, 100% { box-shadow: 0 8px 32px rgba(240,192,96,0.14), var(--shadow); }
    50%       { box-shadow: 0 0 52px 8px rgba(240,192,96,0.16), 0 8px 32px rgba(240,192,96,0.22), var(--shadow); }
}
.pricing-card-featured {
    animation: _featuredGlow 4s ease-in-out infinite;
}
.pricing-card-featured:hover {
    animation: none;
    box-shadow: 0 18px 52px rgba(240,192,96,0.28), 0 4px 16px rgba(0,0,0,0.4);
}

/* ── Trust icons: glow + bounce on hover ── */
.sl-trust-icon {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s;
}
.sl-trust-item:hover .sl-trust-icon {
    transform: scale(1.38) rotate(-6deg);
    filter: drop-shadow(0 0 8px rgba(240,192,96,0.6));
}

/* ── Form card: subtle purple glow when user is typing ── */
.form-card {
    transition: box-shadow 0.4s, border-color 0.4s;
}
.form-card:focus-within {
    border-color: rgba(155,109,255,0.32);
    box-shadow: var(--shadow), 0 0 0 1px rgba(155,109,255,0.10), 0 0 48px rgba(155,109,255,0.07);
}

/* ── Insight card-2: warm gold accent ── */
.insight-card-2 {
    border-color: rgba(240,192,96,0.28);
    background: linear-gradient(135deg, rgba(240,192,96,0.09) 0%, rgba(155,109,255,0.06) 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06), 0 0 18px rgba(240,192,96,0.07);
}

/* ── Footer logo: gentle float ── */
@keyframes _footFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}
.footer-logo {
    display: inline-block;
    cursor: default;
    animation: _footFloat 4s ease-in-out infinite;
}

/* ── Reduced motion: disable new animations ── */
@media (prefers-reduced-motion: reduce) {
    .pricing-card-featured { animation: none !important; }
    .star-particle          { animation: none !important; opacity: 0.4 !important; }
    .footer-logo            { animation: none !important; }
}

/* ── Sinhala Translation Overlay ──────────────────────────────────────────── */
.si-overlay-wrap { position: relative !important; }
.si-translate-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(26, 26, 53, 0.97);
    border-radius: inherit;
    z-index: 10;
    min-height: 160px;
    padding: 40px 24px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.si-overlay-icon {
    font-size: 2.2rem;
    animation: siPulse 2.2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(240, 192, 96, 0.55));
}
@keyframes siPulse {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%       { transform: scale(1.18); opacity: 0.65; }
}
.si-overlay-step {
    font-family: 'Noto Serif Sinhala', serif;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.8;
    max-width: 290px;
    min-height: 2rem;
    transition: opacity 0.38s ease;
}
.si-overlay-step.si-fade { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
    .si-overlay-icon { animation: none !important; }
    .si-overlay-step { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM POLISH v4 — directional reveals, orbs, depth
   ═══════════════════════════════════════════════════════════ */

/* ── Directional reveal variants ── */
.reveal-left {
    opacity: 0;
    transform: translateX(-52px);
    transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible  { opacity: 1; transform: none; }

.reveal-right {
    opacity: 0;
    transform: translateX(52px);
    transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: none; }

.reveal-scale {
    opacity: 0;
    transform: scale(0.90) translateY(18px);
    transition: opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.62s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.reveal-scale.visible { opacity: 1; transform: none; }

/* Stagger delays for all directional variants */
.reveal-left.reveal-d2,  .reveal-right.reveal-d2,  .reveal-scale.reveal-d2  { transition-delay: 0.10s; }
.reveal-left.reveal-d3,  .reveal-right.reveal-d3,  .reveal-scale.reveal-d3  { transition-delay: 0.20s; }
.reveal-left.reveal-d4,  .reveal-right.reveal-d4,  .reveal-scale.reveal-d4  { transition-delay: 0.30s; }
.reveal-left.reveal-d5,  .reveal-right.reveal-d5,  .reveal-scale.reveal-d5  { transition-delay: 0.40s; }
.reveal-left.reveal-d6,  .reveal-right.reveal-d6,  .reveal-scale.reveal-d6  { transition-delay: 0.50s; }

/* ── Card glow flash when revealed ── */
@keyframes _cardRevealGlow {
    0%   { box-shadow: 0 0 0 0 rgba(155, 109, 255, 0); }
    30%  { box-shadow: 0 0 28px 6px rgba(155, 109, 255, 0.26); }
    100% { box-shadow: var(--shadow); }
}
.feature-card.visible { animation: _cardRevealGlow 0.90s ease forwards; }
.pricing-card.visible { animation: _cardRevealGlow 0.90s ease forwards; }
.pricing-card-featured.visible {
    animation: _cardRevealGlow 0.90s ease forwards,
               _featuredGlow 4s ease-in-out 0.90s infinite;
}

/* ── Cosmic background orbs (JS-generated) ── */
.cosmic-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(52px);
    will-change: transform;
    animation: _orbDrift var(--orb-dur, 10s) ease-in-out infinite var(--orb-delay, 0s);
}
@keyframes _orbDrift {
    0%,  100% { transform: translate(0, 0); }
    33%        { transform: translate(14px, -24px); }
    66%        { transform: translate(-12px, 16px); }
}

/* ── Navbar: stronger blur + gold shimmer when scrolled ── */
.navbar.nav-scrolled {
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border-bottom: 1px solid rgba(240, 192, 96, 0.20);
    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.6), 0 0 1px rgba(240, 192, 96, 0.10);
}

/* ── Sign cards (chart page): glow lift on hover ── */
.sign-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s,
                border-color 0.35s;
}
.sign-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 14px 44px rgba(155, 109, 255, 0.30),
                0 0 0 1px rgba(155, 109, 255, 0.22);
    border-color: rgba(155, 109, 255, 0.5);
}

/* ── Planet items: slide-right + background glow on hover ── */
.planet-item {
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.planet-item:hover {
    background: rgba(155, 109, 255, 0.07);
    transform: translateX(5px);
    box-shadow: inset 3px 0 0 rgba(155, 109, 255, 0.5);
}

/* ── Yoga / dasha / karaka items: lift ── */
.yoga-item,
.dasha-item,
.karaka-item {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.28s, box-shadow 0.28s;
}
.yoga-item:hover,
.dasha-item:hover,
.karaka-item:hover {
    transform: translateY(-3px);
    border-color: rgba(155, 109, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ── Compatibility person columns: pulse border on hover ── */
.compat-person-col {
    transition: border-color 0.3s, box-shadow 0.3s;
}
.compat-person-col:hover {
    border-color: rgba(155, 109, 255, 0.3);
    box-shadow: 0 0 32px rgba(155, 109, 255, 0.08);
}

/* ── Reading sections: subtle glow on reveal ── */
@keyframes _readingReveal {
    0%   { border-left-color: rgba(155, 109, 255, 0.55); }
    100% { border-left-color: rgba(155, 109, 255, 0.18); }
}
.reading-section.visible {
    animation: _readingReveal 1.2s ease forwards;
}

/* ── Reduced motion: disable all v4 animations ── */
@media (prefers-reduced-motion: reduce) {
    .reveal-left, .reveal-right, .reveal-scale {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .cosmic-orb           { animation: none !important; display: none; }
    .feature-card.visible,
    .pricing-card.visible  { animation: none !important; }
    .reading-section.visible { animation: none !important; }
}

/* ── Contact popup modal ── */
#contactModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#contactModal.open { display: flex; }
.contact-popup {
    background: #1a1a35;
    border: 1px solid rgba(240,192,96,0.3);
    border-radius: 16px;
    padding: 32px 28px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    position: relative;
}
.contact-popup h3 {
    margin: 0 0 6px;
    color: var(--gold);
    font-size: 1.25rem;
}
.contact-popup p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
}
.contact-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.contact-popup-close:hover { color: #fff; }
.contact-popup-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.contact-popup-row:hover { background: rgba(255,255,255,0.11); }
.contact-popup-wa { background: rgba(37,211,102,0.1); color: #25d366; }
.contact-popup-wa:hover { background: rgba(37,211,102,0.18); }

/* ── FAQ Section ────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.faq-item { border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; background: rgba(255,255,255,0.02); overflow: hidden; }
.faq-q {
    width: 100%; background: none; border: none; color: var(--text);
    font-family: inherit; font-size: 1rem; font-weight: 600;
    text-align: left; padding: 18px 20px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; gap: 12px; line-height: 1.4;
    transition: background 0.2s;
}
.faq-q:hover { background: rgba(255,255,255,0.04); }
.faq-q[aria-expanded="true"] { color: var(--gold); }
.faq-arrow { font-size: 1.1rem; flex-shrink: 0; transition: transform 0.25s; }
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* ── Porondam (Ashtakoot compatibility) Card ───────────────────────────────── */
.porondam-card {
    background: rgba(212,175,55,0.04);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 14px;
    padding: 24px;
    margin: 2rem 0;
}
.porondam-header { text-align: center; margin-bottom: 20px; }
.porondam-title { font-size: 1.15rem; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.porondam-naks { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 16px; }
.porondam-score-wrap { text-align: center; margin-bottom: 18px; }
.porondam-score-num { font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.porondam-score-denom { font-size: 1rem; color: var(--text-muted); }
.porondam-score-bar {
    width: 100%; height: 10px;
    background: rgba(255,255,255,0.08); border-radius: 5px; overflow: hidden;
    margin: 10px 0 8px;
}
.porondam-score-fill { height: 100%; border-radius: 5px; transition: width 0.9s ease; }
.porondam-grade-badge {
    display: inline-block; padding: 4px 16px; border-radius: 20px;
    font-size: 0.82rem; font-weight: 600; margin-top: 4px;
}
.porondam-grade-excellent { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.porondam-grade-good      { background: rgba(212,175,55,0.12); color: #fbbf24; border: 1px solid rgba(212,175,55,0.25); }
.porondam-grade-average   { background: rgba(249,115,22,0.12); color: #fb923c; border: 1px solid rgba(249,115,22,0.25); }
.porondam-grade-challenging { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.25); }

.porondam-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 16px 0; }
.porondam-table th {
    text-align: left; padding: 7px 10px;
    color: var(--text-muted); font-weight: 600; font-size: 0.78rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-transform: uppercase; letter-spacing: 0.05em;
}
.porondam-table td {
    padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--text);
}
.porondam-table tr:last-child td { border-bottom: none; }
.porondam-table tr:hover td { background: rgba(255,255,255,0.02); }
.porondam-koot-name { font-weight: 600; }
.porondam-koot-detail { color: var(--text-muted); font-size: 0.8rem; display: block; margin-top: 1px; }
.porondam-score-cell { text-align: right; font-weight: 700; white-space: nowrap; }
.pscore-hi { color: #4ade80; }
.pscore-mid { color: #fbbf24; }
.pscore-lo { color: #f87171; }

.porondam-total-row td {
    font-weight: 700; font-size: 0.95rem;
    border-top: 2px solid rgba(255,255,255,0.1) !important;
    padding-top: 12px;
}
.porondam-section-title {
    font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--text-muted);
    margin: 16px 0 8px; padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.porondam-check-row {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 12px; border-radius: 8px; font-size: 0.88rem; margin-bottom: 6px;
}
.porondam-check-pass { background: rgba(34,197,94,0.06); }
.porondam-check-fail { background: rgba(239,68,68,0.08); }
.porondam-check-bonus { background: rgba(255,255,255,0.03); }
.porondam-check-icon { font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.porondam-check-body { flex: 1; }
.porondam-check-label { font-weight: 600; }
.porondam-check-detail { color: var(--text-muted); font-size: 0.8rem; display: block; margin-top: 2px; }
.porondam-dosha-warn {
    background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.18);
    border-radius: 10px; padding: 14px 16px; margin-top: 14px; font-size: 0.87rem;
}
.porondam-dosha-warn-title { font-weight: 700; color: #f87171; margin-bottom: 6px; font-size: 0.9rem; }
.porondam-dosha-warn-item { color: var(--text-muted); margin-top: 4px; }
.porondam-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 14px; font-style: italic; }
.faq-a p { margin: 0; }
