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

/* --- 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: #9090b0;
    --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);
}
.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; }

/* --- 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 50% -20%, rgba(155,109,255,0.32) 0%, transparent 65%),
        radial-gradient(ellipse at 85% 85%, rgba(74,0,224,0.18) 0%, transparent 50%),
        linear-gradient(180deg, #0b0b1a 0%, #130d26 100%);
    padding: 100px 0 80px;
    text-align: left;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Zodiac wheel visual (replaces hero image) */
.zodiac-wheel {
    width: 340px;
    height: 340px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 7s ease-in-out infinite;
}
.zodiac-orb {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(200,160,255,0.35), rgba(100,50,220,0.18) 60%, transparent 100%);
    border: 1.5px solid rgba(155,109,255,0.4);
    box-shadow: 0 0 70px rgba(155,109,255,0.28), inset 0 0 40px rgba(155,109,255,0.1);
    position: absolute;
}
.zodiac-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(155,109,255,0.15);
}
.zodiac-ring span {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 1.3rem;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-light);
    transform: rotate(calc(var(--i) * 30deg)) translateY(-150px) rotate(calc(var(--i) * -30deg));
    text-shadow: 0 0 12px rgba(155,109,255,0.6);
}
@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;
}

/* --- 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: 28px;
}

.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: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: 36px;
    position: relative;
}
.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;
}
.pricing-features li { font-size: 0.9rem; }

/* --- 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; 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; }
.sign-note { font-size: 0.78rem; color: var(--text-muted); }

.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;
    white-space: pre-wrap;
}
.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; }

/* --- 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; white-space: pre-wrap; }

.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; }

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.coming-soon-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}
.coming-soon-icon { font-size: 2rem; margin-bottom: 12px; }
.coming-soon-card h3 { font-size: 1rem; margin-bottom: 8px; }
.coming-soon-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }

.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;
}

/* Textarea + select 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); }

select {
    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);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239090b0' stroke-width='1.5' fill='none' stroke-linecap='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); }

/* ── 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;
    white-space: pre-wrap;
}
/* 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);
    white-space: pre-wrap;
}

/* ── 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;
    white-space: pre-wrap;
}
.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; }
}

/* ── 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); }

/* 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; }
}

/* ── 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; }
    .hero { text-align: center; padding: 64px 0 56px; }
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-sub { margin: 0 auto 32px; }
    .hero-social-proof { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-zodiac-img { max-width: 220px; }
    .compat-page-hero h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .big-three { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}
