/* The Coded Astrologer — Tailwind companion (cosmic neon theme) */

:root {
    --space-950: #030508;
    --space-900: #0a0e1a;
    --neon-purple: #a855f7;
    --neon-cyan: #22d3ee;
    --neon-green: #39ff14;
    --gold: #d4af37;
    --header-offset: 5.5rem;
    --nav-height: 3.5rem;
    --disclaimer-height: 0px;
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--space-950);
}

/* Starfield backdrop */
.cosmic-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(88, 28, 135, 0.35), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(34, 211, 238, 0.12), transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(57, 255, 20, 0.08), transparent 45%),
        linear-gradient(180deg, #030508 0%, #0a0e1a 40%, #050810 100%);
}

.cosmic-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 40% 90%, rgba(168, 85, 247, 0.5), transparent);
    background-size: 200px 200px;
    opacity: 0.5;
    pointer-events: none;
}

/* Glass cards — static surfaces */
.glass-card {
    background: rgba(10, 14, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

a.glass-card:hover,
button.glass-card:hover {
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 8px 40px rgba(168, 85, 247, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Neon text glow */
.text-glow-purple {
    text-shadow: 0 0 24px rgba(168, 85, 247, 0.55), 0 0 48px rgba(34, 211, 238, 0.2);
}

/* Hero cosmic orb */
.hero-orb {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(34, 211, 238, 0.12) 40%, transparent 70%);
    animation: hero-pulse 8s ease-in-out infinite;
}

@keyframes hero-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.35; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.5; }
}

/* City autocomplete */
.city-autocomplete-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 40;
    margin-top: 4px;
    max-height: 220px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: rgba(10, 14, 26, 0.98);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.15);
}

.city-autocomplete-list li {
    padding: 10px 14px;
    font-size: 0.875rem;
    color: #cbd5e1;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.city-autocomplete-list li:hover {
    background: rgba(168, 85, 247, 0.15);
    color: #22d3ee;
}

/* North Indian Kundli chart */
.kundli-chart-wrap {
    width: 100%;
}

.kundli-chart-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 32px rgba(168, 85, 247, 0.2), inset 0 0 48px rgba(0, 0, 0, 0.5);
}

.kundli-ni-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.kundli-houses-layer {
    position: absolute;
    inset: 0;
}

.kundli-house {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 22%;
    min-height: 14%;
    text-align: center;
    font-size: 0.65rem;
    line-height: 1.2;
}

.kundli-sign {
    display: block;
    font-weight: 700;
    color: #d4af37;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
}

.kundli-hnum {
    display: block;
    font-size: 0.5rem;
    color: rgba(148, 163, 184, 0.7);
}

.kundli-lagna-tag {
    display: block;
    font-size: 0.45rem;
    color: #39ff14;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

.kundli-grahas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    margin-top: 2px;
}

.kundli-graha {
    font-weight: 700;
    font-size: 0.7rem;
}

.kundli-graha sup {
    font-size: 0.45rem;
    color: #22d3ee;
}

.kundli-empty {
    opacity: 0.25;
}

/* Interactive North Indian chart + laser aspects (from CosmicMatrix engine) */
.ni-chart-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.15), inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.ni-grid-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.ni-laser-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.ni-houses-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.ni-house {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    min-width: 52px;
    max-width: 96px;
    pointer-events: none;
}

.ni-sign {
    display: block;
    font-weight: 700;
    font-size: 0.62rem;
    color: #d4af37;
    letter-spacing: 0.02em;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.55);
    margin-bottom: 1px;
}

.ni-hnum {
    display: block;
    font-size: 0.5rem;
    font-family: ui-monospace, monospace;
    color: rgba(57, 255, 20, 0.45);
    margin-bottom: 2px;
}

.ni-lagna-tag {
    display: block;
    font-size: 0.5rem;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    color: #39ff14;
    text-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
    margin-bottom: 3px;
}

.ni-planets {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.ni-graha {
    pointer-events: auto;
    display: inline-block;
    background: rgba(20, 24, 32, 0.94);
    border: 1.1px solid var(--graha-core, #d4af37);
    border-radius: 4px;
    padding: 1px 5px;
    cursor: pointer;
    margin: 0;
    transition: border-color 0.2s, box-shadow 0.2s;
    user-select: none;
}

.ni-graha:hover {
    box-shadow: 0 0 10px var(--graha-glow, rgba(212, 175, 55, 0.4));
    border-color: var(--graha-bright, #d4af37);
}

.ni-graha.selected {
    border-width: 2px;
    border-color: var(--graha-bright, #39ff14);
    box-shadow: 0 0 14px var(--graha-glow, rgba(57, 255, 20, 0.45)),
        inset 0 0 8px rgba(0, 0, 0, 0.4);
    background: rgba(14, 18, 26, 0.98);
}

.ni-graha-text {
    font-weight: 700;
    font-size: 0.58rem;
    color: var(--graha-bright, #ffe566);
    line-height: 1.2;
    white-space: nowrap;
    text-shadow: 0 0 6px var(--graha-glow, rgba(255, 215, 0, 0.5));
}

.ni-tap-hint {
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.65rem;
}

.kundli-data-table {
    border-collapse: collapse;
}

.kundli-data-table th,
.kundli-data-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kundli-data-table th {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-weight: 600;
}

.kundli-data-table tbody tr:hover {
    background: rgba(168, 85, 247, 0.08);
}

.kundli-sb-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.kundli-sb-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.6s ease;
}

.kundli-results-visible {
    animation: fade-up 0.5s ease;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.text-glow-gold {
    text-shadow: 0 0 16px rgba(212, 175, 55, 0.45);
}

/* Navbar scrolled state */
#site-nav.is-scrolled,
.site-header.is-scrolled {
    background: rgba(3, 5, 8, 0.94);
    border-bottom-color: rgba(168, 85, 247, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.site-header {
    --header-row: 1;
}

.header-top {
    min-height: 3.25rem;
}

.header-nav {
    padding-bottom: 0.35rem;
}

.nav-scroll {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.35rem 0 0.5rem;
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.nav-scroll::-webkit-scrollbar {
    display: none;
}

.nav-link.is-active {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.15);
}

.mobile-nav-link {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    color: #cbd5e1;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    background: rgba(34, 211, 238, 0.08);
    color: #22d3ee;
}

/* Language toggle */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 14, 26, 0.8);
}

.lang-switcher button {
    min-width: 2.25rem;
    padding: 0.3rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #94a3b8;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.lang-switcher button:hover {
    color: #e2e8f0;
}

.lang-switcher button.active {
    color: #030508;
    background: linear-gradient(135deg, #22d3ee, #a855f7);
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.35);
}

/* Trust badges */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.trust-strip--compact {
    margin-top: 1.25rem;
}

.trust-strip--footer {
    justify-content: flex-start;
    margin-top: 1rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #cbd5e1;
    background: rgba(10, 14, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.trust-badge--sm {
    font-size: 0.65rem;
    padding: 0.35rem 0.7rem;
}

.trust-badge--wa {
    border-color: rgba(37, 211, 102, 0.35);
    color: #86efac;
}

.trust-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background: #39ff14;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.7);
    animation: trust-pulse 2.2s ease-in-out infinite;
}

.trust-badge-dot--cyan {
    background: #22d3ee;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
}

.trust-badge-dot--purple {
    background: #a855f7;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.7);
}

.trust-badge-dot--gold {
    background: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

@keyframes trust-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.85); }
}

/* Testimonials carousel */
.reviews-carousel {
    position: relative;
    max-width: 40rem;
    margin: 0 auto;
    padding: 0 2.75rem;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 1.25rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 14, 26, 0.9);
    color: #e2e8f0;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.carousel-btn:hover {
    border-color: rgba(34, 211, 238, 0.5);
    color: #22d3ee;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.2);
}

.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: width 0.25s, background 0.25s, box-shadow 0.25s;
}

.carousel-dot.is-active {
    width: 1.5rem;
    background: linear-gradient(90deg, #22d3ee, #a855f7);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.45);
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, transparent, rgba(10, 14, 26, 0.65));
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

.footer-tagline {
    margin-top: 0.65rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 22rem;
}

.footer-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 0.85rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 0.45rem;
}

.footer-links a,
.footer-wa-link {
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.footer-links a:hover,
.footer-wa-link:hover {
    color: #22d3ee;
}

.footer-disclaimer {
    margin-top: 2rem;
    padding: 1rem 1.15rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.06);
    font-size: 0.75rem;
    line-height: 1.65;
    color: #94a3b8;
    text-align: center;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

.footer-bottom-links {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom-links a {
    color: #22d3ee;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

/* WhatsApp FAB */
.wa-fab {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 3.5rem;
    height: 3.5rem;
    padding: 0 1rem 0 0.85rem;
    border-radius: 9999px;
    border: none;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}

.wa-fab-label {
    display: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

@media (min-width: 768px) {
    .wa-fab {
        bottom: 1.5rem;
        right: 1.5rem;
        min-width: 3.75rem;
        height: 3.75rem;
    }

    .wa-fab-label {
        display: inline;
    }
}

.wa-fab-pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(37, 211, 102, 0.55);
    animation: wa-ping 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes wa-ping {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.45); opacity: 0; }
}

.wa-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.carousel-btn--prev:hover,
.carousel-btn--next:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Mobile menu */
#mobile-menu.is-open {
    display: block;
}

/* Profile ring */
.profile-ring {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan), var(--gold));
    padding: 3px;
    border-radius: 9999px;
}

/* CTA buttons */
.btn-neon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(34, 211, 238, 0.75));
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-neon:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.5), 0 0 12px rgba(34, 211, 238, 0.3);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(37, 211, 102, 0.55), 0 0 12px rgba(18, 140, 126, 0.35);
}

.btn-whatsapp--nav {
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.4);
    animation: wa-glow 2.8s ease-in-out infinite;
}

.btn-whatsapp--hero,
.btn-whatsapp--prominent {
    box-shadow: 0 0 24px rgba(37, 211, 102, 0.45), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.btn-whatsapp--prominent {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-whatsapp--block {
    border-radius: 0.85rem;
    padding: 0.75rem 1rem;
    font-weight: 700;
}

.wa-btn-icon {
    margin-right: 0.15rem;
}

@keyframes wa-glow {
    0%, 100% { box-shadow: 0 0 14px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 0 26px rgba(37, 211, 102, 0.6); }
}

/* Disclaimer banner */
.disclaimer-banner {
    position: fixed;
    top: var(--nav-height, 3.5rem);
    left: 0;
    right: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.55rem 2.5rem 0.55rem 1rem;
    background: rgba(212, 175, 55, 0.12);
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    backdrop-filter: blur(8px);
}

.disclaimer-banner-text {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #cbd5e1;
    text-align: center;
}

.disclaimer-banner-close {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.disclaimer-banner-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #f1f5f9;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-outline:hover {
    border-color: rgba(34, 211, 238, 0.5);
    color: #22d3ee;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
    transform: translateY(-1px);
}

/* Nav */
.nav-link {
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-link:hover {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.08);
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.12);
}

/* Sections */
.section {
    position: relative;
    padding: 4.5rem 1rem;
    scroll-margin-top: var(--header-offset);
}

#hero {
    scroll-margin-top: var(--header-offset);
}

@media (min-width: 640px) {
    .section { padding: 5.5rem 1.5rem; }
}

.section-alt {
    background: linear-gradient(180deg, transparent, rgba(10, 14, 26, 0.45) 30%, transparent);
}

.section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #22d3ee;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.2;
}

.section-desc {
    margin-top: 0.875rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #94a3b8;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero stats */
.stat-pill {
    background: rgba(10, 14, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1rem 0.75rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.stat-pill strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    color: #d4af37;
}

.stat-pill span {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-pill:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.15);
    transform: translateY(-2px);
}

/* Feature cards */
.feature-card {
    background: rgba(10, 14, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.75rem;
    color: #f1f5f9;
}

.feature-card p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94a3b8;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card[data-accent="cyan"] .feature-icon { color: #22d3ee; box-shadow: 0 0 16px rgba(34, 211, 238, 0.2); }
.feature-card[data-accent="purple"] .feature-icon { color: #a855f7; box-shadow: 0 0 16px rgba(168, 85, 247, 0.2); }
.feature-card[data-accent="gold"] .feature-icon { color: #d4af37; box-shadow: 0 0 16px rgba(212, 175, 55, 0.2); }
.feature-card[data-accent="green"] .feature-icon { color: #39ff14; box-shadow: 0 0 16px rgba(57, 255, 20, 0.15); }

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(168, 85, 247, 0.1);
}

/* Tool cards */
.tools-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.35rem 1.25rem;
    border-radius: 1.25rem;
    background: rgba(10, 14, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.tool-card--link {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.tool-card--link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.tool-card--link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform: skewX(-18deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.tool-card--link:hover::before,
.tool-card--link:focus-visible::before {
    opacity: 1;
}

.tool-card--link:hover::after {
    left: 140%;
}

.tool-card--link:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.55);
    outline-offset: 2px;
}

.tool-card--link:active {
    transform: translateY(-1px) scale(0.99);
}

.tool-card--wide {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .tool-card--wide {
        grid-column: span 2;
    }

    #tool-transits.tool-card--wide {
        grid-column: span 3;
    }
}

.tool-card--interactive {
    border-color: rgba(255, 255, 255, 0.1);
}

.tool-card--interactive.is-interactive:hover,
.tool-card--interactive.is-loaded {
    border-color: rgba(34, 211, 238, 0.28);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tool-card--interactive[data-accent="cyan"].is-loaded {
    border-color: rgba(34, 211, 238, 0.35);
}

.tool-card--interactive[data-accent="sky"].is-loaded {
    border-color: rgba(56, 189, 248, 0.35);
}

.tool-card-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tool-badge-offline {
    flex-shrink: 0;
    align-self: flex-start;
    margin-left: auto;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #39ff14;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.35);
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.15);
}

.tool-card--link .tool-badge-offline {
    position: absolute;
    top: 0.85rem;
    right: 2.5rem;
    margin-left: 0;
}

.tool-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
    transition: color 0.2s;
}

.tool-card p {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #94a3b8;
}

.tool-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.tool-body { flex: 1; min-width: 0; }

.tool-arrow {
    font-size: 1.25rem;
    color: #64748b;
    transition: transform 0.25s, color 0.25s;
    align-self: center;
    margin-left: auto;
}

.tool-card--link:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 28px rgba(34, 211, 238, 0.12);
}

.tool-card--link:hover .tool-arrow {
    transform: translateX(4px);
    color: #22d3ee;
}

.tool-card-more {
    display: inline-flex;
    align-items: center;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.tool-card-more:hover {
    color: #22d3ee;
}

/* Tool widgets */
.tool-widget {
    margin-top: 1rem;
}

.tool-widget-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.tool-widget-actions--transit {
    gap: 0.5rem;
}

.tool-widget-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: #64748b;
}

.tool-widget-panel {
    margin-top: 0.85rem;
    animation: tool-fade-in 0.45s ease;
}

@keyframes tool-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tool-widget-meta {
    margin-top: 0.65rem;
    font-size: 0.68rem;
    color: #64748b;
}

.btn-tool {
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    border: 1px solid rgba(34, 211, 238, 0.45);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(168, 85, 247, 0.12));
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn-tool:hover {
    border-color: rgba(34, 211, 238, 0.7);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
    transform: translateY(-1px);
}

.btn-tool:active {
    transform: translateY(0);
}

.btn-tool.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-tool--sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.72rem;
}

.btn-tool-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-tool-icon:hover {
    border-color: rgba(56, 189, 248, 0.5);
    color: #38bdf8;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.tool-date-input {
    flex: 1;
    min-width: 8.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(3, 5, 8, 0.65);
    color: #e2e8f0;
    font-size: 0.8rem;
    font-family: inherit;
}

.tool-date-input:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15);
}

.tool-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .tool-mini-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .tool-mini-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.tool-mini-card {
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.tool-mini-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.tool-mini-value {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.3;
}

.tool-transit-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tool-transit-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.7fr 1.1fr;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
    color: #cbd5e1;
    font-size: 0.78rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.tool-transit-row:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.06);
    transform: translateX(2px);
}

.tool-transit-row.is-selected {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(168, 85, 247, 0.1);
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.15);
}

.tool-transit-planet {
    font-weight: 600;
    color: #f1f5f9;
}

.tool-transit-retro {
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0 0.3rem;
    border-radius: 0.25rem;
    font-size: 0.62rem;
    font-weight: 800;
    color: #fca5a5;
    background: rgba(248, 113, 113, 0.15);
    vertical-align: middle;
}

.tool-transit-sign { color: #94a3b8; }
.tool-transit-deg { color: #22d3ee; font-variant-numeric: tabular-nums; }
.tool-transit-nak { color: #a78bfa; font-size: 0.72rem; }

.tool-transit-detail {
    margin-top: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.65rem;
    border-left: 3px solid #a855f7;
    background: rgba(168, 85, 247, 0.08);
    font-size: 0.78rem;
    color: #ddd6fe;
}

@media (max-width: 520px) {
    .tool-transit-row {
        grid-template-columns: 1fr 1fr;
    }

    .tool-transit-nak {
        grid-column: 1 / -1;
    }
}

.tool-card[data-accent="gold"]:hover h3 { color: #d4af37; }
.tool-card[data-accent="cyan"]:hover h3 { color: #22d3ee; }
.tool-card[data-accent="violet"]:hover h3 { color: #a855f7; }
.tool-card[data-accent="sky"]:hover h3 { color: #38bdf8; }
.tool-card[data-accent="coral"]:hover h3 { color: #fb7185; }
.tool-card[data-accent="orange"]:hover h3 { color: #fb923c; }

/* Advanced panel */
.advanced-panel {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1.25rem;
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(57, 255, 20, 0.2);
}

.advanced-panel summary {
    cursor: pointer;
    list-style: none;
}

.advanced-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #39ff14;
}

.advanced-summary-cta {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
    transition: color 0.2s, text-shadow 0.2s;
}

.advanced-panel summary:hover .advanced-summary-cta,
.advanced-panel[open] .advanced-summary-cta {
    color: #22d3ee;
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.35);
}

.advanced-panel summary::-webkit-details-marker { display: none; }

.advanced-intro {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.advanced-link {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.advanced-link:hover {
    border-color: rgba(168, 85, 247, 0.45);
    background: rgba(168, 85, 247, 0.08);
    color: #e9d5ff;
}

/* Reviews — genuine Firestore only */
.reviews-live-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .reviews-live-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reviews-live-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.reviews-loading,
.reviews-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: #94a3b8;
    border-radius: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(10, 14, 26, 0.5);
}

.reviews-cta {
    margin-top: 1.75rem;
    text-align: center;
}

.reviews-cta-note {
    margin-top: 0.65rem;
    font-size: 0.75rem;
    color: #64748b;
}

.review-thanks-notice {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    color: #86efac;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

/* Review prompt modal */
body.review-prompt-open {
    overflow: hidden;
}

.review-prompt-modal[hidden] {
    display: none !important;
}

.review-prompt-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.review-prompt-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 8, 0.82);
    backdrop-filter: blur(6px);
}

.review-prompt-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 28rem;
    max-height: min(90vh, 640px);
    overflow-y: auto;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: rgba(10, 14, 26, 0.98);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 40px rgba(168, 85, 247, 0.12);
}

.review-prompt-card h3 {
    margin: 0 0 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #d4af37;
}

.review-prompt-card > p {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #94a3b8;
}

.review-prompt-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.review-prompt-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
}

.review-prompt-field input,
.review-prompt-field textarea,
.review-prompt-field select {
    padding: 0.55rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(3, 5, 8, 0.65);
    color: #e2e8f0;
    font-size: 0.875rem;
    font-family: inherit;
}

.review-prompt-field textarea {
    resize: vertical;
    min-height: 5rem;
}

.review-prompt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-top: 0.5rem;
}

.review-prompt-submit {
    border: none;
    border-radius: 9999px;
    padding: 0.6rem 1.1rem;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
}

.review-prompt-later {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    padding: 0.55rem 1rem;
    background: transparent;
    color: #94a3b8;
    font-size: 0.8rem;
    cursor: pointer;
}

.review-prompt-later:hover {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.25);
}

.review-prompt-status {
    flex: 1;
    min-width: 8rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.review-prompt-status-ok { color: #86efac; }
.review-prompt-status-err { color: #fca5a5; }

/* Premium */
.premium-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(57, 255, 20, 0.25);
    background: rgba(10, 14, 26, 0.8);
    overflow: hidden;
}

@media (min-width: 640px) {
    .premium-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 2.5rem;
    }
}

.premium-banner-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(57, 255, 20, 0.12), transparent 55%);
    pointer-events: none;
}

.premium-banner-content { position: relative; z-index: 1; }

.premium-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #030508;
    background: #39ff14;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.premium-banner h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f8fafc;
}

.premium-banner p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #94a3b8;
    max-width: 32rem;
}

.premium-phone {
    margin-top: 0.75rem !important;
    font-weight: 600;
    color: #39ff14 !important;
}

.premium-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    border-radius: 1.25rem;
    background: rgba(10, 14, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.premium-card h3 {
    margin-top: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #f1f5f9;
}

.premium-card p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #94a3b8;
    flex: 1;
}

.premium-card-icon { font-size: 2rem; }

.premium-card-featured {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.12);
}

.premium-card-featured h3 { color: #d4af37; }

.premium-meta {
    margin-top: 0.5rem !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Reviews */
.review-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: rgba(10, 14, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.review-stars {
    color: #d4af37;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #cbd5e1;
    font-style: italic;
    flex: 1;
}

.review-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.review-footer strong {
    display: block;
    font-size: 0.9rem;
    color: #f1f5f9;
}

.review-footer span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #64748b;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* About */
.about-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid { grid-template-columns: auto 1fr; gap: 3.5rem; }
}

.about-photo-ring { display: inline-block; }

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

@media (min-width: 768px) {
    .about-visual { text-align: left; }
}


.about-photo {
    display: block;
    width: 11rem;
    height: 11rem;
    border-radius: 9999px;
    object-fit: cover;
    object-position: center top;
}

.about-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
    justify-content: center;
}

.about-stats div {
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-stats strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    color: #d4af37;
    font-size: 1rem;
}

.about-stats span {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-role {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}

.about-lead {
    margin-top: 1rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #e2e8f0;
}

.about-copy p {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
}

.about-quote {
    margin-top: 1.25rem;
    padding-left: 1rem;
    border-left: 3px solid #a855f7;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    color: #c4b5fd;
    font-style: italic;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Kundli form */
.kundli-form {
    max-width: 42rem;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: rgba(10, 14, 26, 0.75);
    border: 1px solid rgba(168, 85, 247, 0.22);
    box-shadow: 0 0 48px rgba(168, 85, 247, 0.1);
}

@media (min-width: 640px) {
    .kundli-form { padding: 2rem; }
}

.kundli-results-panel {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: rgba(10, 14, 26, 0.75);
    border: 1px solid rgba(34, 211, 238, 0.22);
    box-shadow: 0 0 48px rgba(34, 211, 238, 0.08);
}

@media (min-width: 640px) {
    .kundli-results-panel { padding: 2rem; }
}

/* FAQ refresh */
details.faq-item {
    padding: 1.1rem 1.25rem;
    border-radius: 1rem;
    background: rgba(10, 14, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.25s;
}

details.faq-item[open] {
    border-color: rgba(34, 211, 238, 0.3);
}

details.faq-item summary {
    font-weight: 600;
    color: #e2e8f0;
    cursor: pointer;
    list-style: none;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item[open] summary {
    color: #22d3ee;
}

details.faq-item p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94a3b8;
}

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

    .btn-neon:hover,
    .btn-whatsapp:hover,
    .feature-card:hover,
    .tool-card--link:hover,
    .tool-card--link:active,
    .tool-transit-row:hover {
        transform: none;
    }

    .tool-widget-panel {
        animation: none;
    }
    .premium-card:hover,
    .review-card:hover,
    .stat-pill:hover,
    .wa-fab:hover,
    .carousel-btn:hover {
        transform: none;
    }

    .carousel-track {
        transition: none;
    }

    .trust-badge-dot,
    .wa-fab-pulse,
    .btn-whatsapp--nav {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-orb {
        animation: none;
    }
}
