/* ==========================================================================
   IRASTRA — Stylised Deep Space & Red/Black Astrology Interface
   ========================================================================== */

:root {
    --bg-space: #000002;
    --red-primary: #DC2626;
    --red-bright: #EF4444;
    --red-light: #F87171;
    --red-dark: #991B1B;
    --red-deep: #450A0A;
    --red-glow: rgba(220, 38, 38, 0.55);

    --black-pure: #000000;
    --black-card: rgba(8, 3, 5, 0.78);
    --black-overlay: rgba(2, 1, 2, 0.85);

    --glass-bg: rgba(12, 4, 7, 0.72);
    --glass-border: rgba(220, 38, 38, 0.35);
    --glass-border-hover: rgba(239, 68, 68, 0.85);
    --glass-blur: blur(20px);

    --text-primary: #EF4444;
    --text-bright: #FCA5A5;
    --text-muted: #9CA3AF;
    --text-white: #FFFFFF;
    --text-dark: #1F2937;

    --font-heading: 'Cinzel', serif;
    --font-sub: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-space);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    background: transparent;
}

/* 3D Fixed Background Canvas */
#space-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

#space-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Vignette & Deep Space Overlay */
.cosmic-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.85) 100%);
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.95);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-primary);
}

p {
    line-height: 1.7;
    color: var(--text-muted);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.9rem 2rem;
    background: rgba(4, 1, 2, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(220, 38, 38, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.65rem 2rem;
    background: rgba(3, 1, 2, 0.95);
    border-bottom-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.95), 0 0 20px rgba(220, 38, 38, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--red-bright);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-symbol {
    font-size: 1.6rem;
    color: var(--red-bright);
    text-shadow: 0 0 15px var(--red-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.logo-title-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #FFFFFF 0%, #FCA5A5 40%, var(--red-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    line-height: 1;
}

.logo-subtext {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--red-light);
    border-left: 1px solid rgba(220, 38, 38, 0.4);
    padding-left: 0.65rem;
    white-space: nowrap;
    line-height: 1;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.45rem 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 8px;
    line-height: 1;
}

.nav-item i, .nav-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: inherit;
}

.nav-item:hover {
    color: var(--text-white);
    background: rgba(220, 38, 38, 0.08);
}

.nav-item.active {
    color: var(--red-bright);
    background: rgba(220, 38, 38, 0.12);
    text-shadow: 0 0 10px var(--red-glow);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
    box-shadow: 0 0 8px var(--red-bright);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-item:hover::after, .nav-item.active::after {
    width: 80%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Mobile Menu Toggle Button */
.mobile-toggle {
    display: none;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mobile-toggle:hover {
    background: rgba(220, 38, 38, 0.25);
    border-color: var(--red-bright);
    color: var(--red-bright);
    box-shadow: 0 0 15px var(--red-glow);
}

.mobile-toggle i, .mobile-toggle svg {
    width: 20px;
    height: 20px;
}

/* Sound Button */
.btn-icon {
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid var(--glass-border);
    color: var(--red-bright);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-icon:hover {
    background: rgba(220, 38, 38, 0.3);
    border-color: var(--red-bright);
    box-shadow: 0 0 15px var(--red-glow);
}

.sound-wave-bars {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.sound-wave-bars span {
    width: 2px;
    background: var(--red-bright);
    animation: soundWave 0.8s ease-in-out infinite alternate;
}

.sound-wave-bars span:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.sound-wave-bars span:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.sound-wave-bars span:nth-child(3) { height: 8px; animation-delay: 0.2s; }

@keyframes soundWave {
    0% { height: 3px; }
    100% { height: 14px; }
}

.btn-icon.active .sound-wave-bars { display: flex; }
.btn-icon.active #sound-icon { display: none; }

/* Buttons in Red & Black Theme */
.btn-gold-glow, .btn-primary-gold {
    background: linear-gradient(135deg, var(--red-primary), #7F1D1D);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.65rem 1.4rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid var(--red-bright);
    cursor: pointer;
    box-shadow: 0 0 25px rgba(220, 38, 38, 0.45);
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
}

.btn-gold-glow:hover, .btn-primary-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(239, 68, 68, 0.8);
    background: linear-gradient(135deg, var(--red-bright), var(--red-primary));
}

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary-glass:hover {
    border-color: var(--red-bright);
    background: rgba(220, 38, 38, 0.2);
    color: var(--red-bright);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 0.95rem;
    margin-top: 0.5rem;
}

/* Minimal HUD Bar */
.space-hud {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    background: var(--black-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    width: 320px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.hud-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--red-bright);
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.hud-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-height: 140px;
    overflow-y: auto;
}

/* Floating 3D Planet Target Lock Overlay */
.planet-info-overlay {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 95;
    background: var(--black-card);
    border: 1px solid var(--red-bright);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 1.5rem;
    width: 320px;
    box-shadow: 0 0 35px rgba(220, 38, 38, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.planet-info-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.close-info-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

.close-info-btn:hover {
    color: var(--red-bright);
}

.info-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--red-bright);
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid var(--red-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 0.6rem;
}

.info-title {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 0.2rem;
}

.info-subtitle {
    font-size: 0.75rem;
    color: var(--text-bright);
    display: block;
    margin-bottom: 0.8rem;
}

.info-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.hud-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-smooth);
}

.hud-btn:hover, .hud-btn.active {
    background: rgba(220, 38, 38, 0.25);
    border-color: var(--red-bright);
    color: var(--red-bright);
}

/* Main Layout */
.main-content {
    position: relative;
    z-index: 10;
    padding-top: 5rem;
}

/* Lenis Buttery Smooth Inertial Scroll Integration */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.section-container,
.hero-text-section {
    will-change: opacity, transform;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-container.apple-scroll-in,
.hero-text-section.apple-scroll-in {
    opacity: 1;
    transform: translateY(0);
}

.section-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: clamp(5.5rem, 9vw, 8rem) clamp(1.5rem, 4vw, 4rem);
    position: relative;
}

/* Elegant Glowing Section Separator */
.section-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 140, 133, 0.2) 20%, #ff8c85 50%, rgba(255, 140, 133, 0.2) 80%, transparent 100%);
    box-shadow: 0 0 12px rgba(255, 86, 79, 0.3);
}

.section-container:last-of-type::after {
    display: none;
}

/* Distinct Section Atmosphere Differentiation */
#natal-chart {
    background: radial-gradient(circle at 50% 30%, rgba(28, 5, 9, 0.4) 0%, rgba(12, 3, 6, 0.2) 70%, transparent 100%);
}

#planets {
    background: radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 60%);
}

#zodiacs {
    background: radial-gradient(circle at 80% 50%, rgba(180, 20, 20, 0.06) 0%, transparent 60%);
}

#synastry {
    background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.08) 0%, rgba(12, 3, 6, 0.3) 80%, transparent 100%);
}

.section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto clamp(3rem, 6vw, 4.5rem) auto;
}

.section-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #ff8c85;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    background: rgba(255, 86, 79, 0.12);
    border: 1px solid rgba(255, 140, 133, 0.3);
    padding: 0.4rem 1.15rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    background: linear-gradient(180deg, #FFFFFF 40%, #E2E2E8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.18;
}

.section-desc {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    max-width: 720px;
    margin-inline: auto;
}

/* Glass Card System */
.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(18, 14, 24, 0.65));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 26px;
    padding: clamp(1.8rem, 3.5vw, 2.75rem);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.006);
    border-color: rgba(255, 140, 133, 0.45);
    box-shadow: 0 28px 65px rgba(255, 86, 79, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 950px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-pill {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid var(--red-primary);
    color: var(--red-bright);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1.4rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--red-bright);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red-bright);
    animation: pulseGlow 1.8s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.3); }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.15;
    background: linear-gradient(135deg, #FFFFFF 15%, var(--red-bright) 60%, var(--red-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 35px rgba(220, 38, 38, 0.35);
}

.hero-subtitle {
    font-size: 1.35rem;
    max-width: 750px;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-sub);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: rgba(10, 3, 5, 0.85);
    border: 1px solid var(--glass-border);
    padding: 1.25rem 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--red-bright);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(220, 38, 38, 0.3);
}

/* Natal Form & Result */
.natal-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2.5rem;
    align-items: stretch;
}

.natal-form-card,
.natal-result-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.natal-form-card .card-title {
    font-size: 1.3rem;
    color: #ff8c85;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.45rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Apple-style Form Input Wrappers */
.apple-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.apple-input-wrapper .input-icon {
    position: absolute;
    left: 0.95rem;
    width: 16px;
    height: 16px;
    color: #ff8c85;
    pointer-events: none;
    z-index: 2;
}

.apple-input-wrapper input {
    width: 100%;
    padding: 0.82rem 1rem 0.82rem 2.6rem !important;
    background: transparent !important;
    border: none !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Plus Jakarta Sans", sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}

.apple-input-wrapper input:focus {
    outline: none !important;
}

.apple-input-wrapper:focus-within {
    border-color: rgba(255, 140, 133, 0.7);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 140, 133, 0.22), 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Native Calendar & Clock Picker Indicator Styling */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.2) sepia(0.3) hue-rotate(320deg);
    cursor: pointer;
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding: 3px;
    margin-right: 2px;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    transform: scale(1.18);
    opacity: 1;
}

/* Quick Presets */
.preset-pills-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.preset-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--red-bright);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.05em;
}

.preset-pills {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.preset-btn {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.preset-btn * {
    pointer-events: none;
}

.preset-btn:hover, .preset-btn.active {
    background: rgba(220, 38, 38, 0.25);
    border-color: var(--red-bright);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.3);
}

.chart-mini-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(220, 38, 38, 0.3);
}

.mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.6rem;
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.mini-title {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.mini-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--red-bright);
}

/* Results Display Tabs */
.natal-result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.natal-tabs {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.35rem;
    border-radius: 30px;
    border: 1px solid rgba(220, 38, 38, 0.25);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.natal-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.natal-tab-btn * {
    pointer-events: none;
}

.natal-tab-btn:hover {
    color: var(--text-white);
}

.natal-tab-btn.active {
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInTab 0.35s ease forwards;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SVG Horoscope Wheel & Vedic Wrappers */
.chart-wheel-wrapper, .chart-vedic-wrapper {
    position: relative;
    width: 360px;
    height: 360px;
    margin-bottom: 1.5rem;
}

#vedic-north-svg, #vedic-south-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 25px rgba(220, 38, 38, 0.5));
}

.vedic-badge-bar {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.vedic-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    width: 100%;
    text-align: left;
    margin-bottom: 1.5rem;
}

.vedic-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.vedic-card-title {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.vedic-card-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--red-bright);
}

.vedic-card-desc {
    font-size: 0.8rem;
    color: var(--text-bright);
}

#zodiac-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 25px rgba(220, 38, 38, 0.5));
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

#zodiac-svg.spinning {
    animation: rotateWheel 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rotateWheel {
    0% { transform: rotate(0deg) scale(0.95); }
    50% { transform: rotate(180deg) scale(1.03); }
    100% { transform: rotate(360deg) scale(1); }
}

.chart-center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(239, 68, 68, 0.35) 0%, rgba(220, 38, 38, 0.1) 60%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    animation: centerPulse 2.5s infinite alternate;
}

@keyframes centerPulse {
    0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* SVG Interactive Tooltip */
.svg-tooltip {
    position: absolute;
    z-index: 100;
    background: rgba(12, 3, 6, 0.95);
    border: 1px solid var(--red-bright);
    color: var(--text-white);
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    font-size: 0.78rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9), 0 0 15px rgba(220, 38, 38, 0.5);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(10px);
    white-space: nowrap;
    text-align: left;
}

.svg-tooltip.active {
    opacity: 1;
    transform: translateY(0);
}

.reading-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid var(--red-primary);
    color: var(--red-bright);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1.2rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}

.reading-title {
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.element-bars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.25rem;
    text-align: left;
    width: 100%;
}

.element-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.element-bar .el-name {
    width: 45px;
    color: var(--text-muted);
    font-weight: 600;
}

.element-bar .bar {
    flex-grow: 1;
    height: 7px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.element-bar .fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.fill.fire { background: linear-gradient(90deg, #DC2626, #EF4444); }
.fill.earth { background: linear-gradient(90deg, #B45309, #F59E0B); }
.fill.air { background: linear-gradient(90deg, #F87171, #FCA5A5); }
.fill.water { background: linear-gradient(90deg, #1D4ED8, #60A5FA); }

.reading-summary {
    font-family: var(--font-sub);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Placements Grid Tab */
.placements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    width: 100%;
    text-align: left;
    margin-bottom: 1.5rem;
}

.placement-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    transition: var(--transition-smooth);
}

.placement-card:hover {
    border-color: var(--red-bright);
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.placement-icon {
    font-size: 1.6rem;
    color: var(--red-bright);
    line-height: 1;
}

.placement-info {
    display: flex;
    flex-direction: column;
}

.placement-planet {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.placement-sign {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0.1rem 0;
}

.placement-details {
    font-size: 0.78rem;
    color: var(--red-light);
}

/* Houses & Aspects Layout */
.houses-aspects-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    text-align: left;
    margin-bottom: 1.5rem;
}

.houses-list, .aspects-list {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
}

.house-item, .aspect-item {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.house-item:last-child, .aspect-item:last-child {
    border-bottom: none;
}

.house-name {
    font-weight: 600;
    color: var(--text-white);
}

.house-sign {
    color: var(--red-bright);
    font-weight: 600;
}

.aspect-pair {
    color: var(--text-white);
    font-weight: 600;
}

.aspect-type {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    background: rgba(220, 38, 38, 0.2);
    color: var(--red-light);
}

.natal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Planet Cards Grid */
.planet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.planet-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.planet-card:hover {
    transform: translateY(-8px);
    border-color: var(--red-bright);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.3);
}

.planet-orb-preview {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    box-shadow: inset -15px -15px 25px rgba(0, 0, 0, 0.9), 0 0 30px rgba(220, 38, 38, 0.4);
    transition: var(--transition-smooth);
}

.planet-card:hover .planet-orb-preview {
    transform: scale(1.1);
}

.planet-name {
    font-size: 1.4rem;
    color: var(--red-bright);
    margin-bottom: 0.3rem;
}

.planet-role {
    font-size: 0.8rem;
    color: var(--text-bright);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.planet-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Zodiac Section */
.zodiac-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.z-filter {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.z-filter:hover, .z-filter.active {
    background: rgba(220, 38, 38, 0.25);
    border-color: var(--red-bright);
    color: var(--red-bright);
    box-shadow: 0 0 15px var(--red-glow);
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem;
}

.zodiac-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 1.75rem;
    transition: var(--transition-smooth);
}

.zodiac-card:hover {
    transform: translateY(-6px);
    border-color: var(--red-bright);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.25);
}

.zodiac-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.zodiac-glyph {
    width: 58px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(239, 68, 68, 0.75);
    background: radial-gradient(circle, rgba(220, 38, 38, 0.24) 0%, rgba(8, 3, 5, 0.96) 72%);
    box-shadow: inset 0 0 18px rgba(239, 68, 68, 0.15), 0 0 20px rgba(220, 38, 38, 0.3);
    font-family: "Times New Roman", "Arial Unicode MS", serif;
    font-variant-emoji: text;
    font-size: 2rem;
    line-height: 1;
    color: #FFFFFF;
    text-shadow: 0 0 12px var(--red-glow);
}

.zodiac-element-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(220, 38, 38, 0.2);
    color: var(--red-bright);
    border: 1px solid var(--red-primary);
}

.zodiac-name {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 0.2rem;
}

.zodiac-dates {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: block;
}

.zodiac-advice {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* Synastry Section */
.synastry-card {
    max-width: 900px;
    margin: 0 auto;
}

.synastry-preset-btn {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.synastry-preset-btn * {
    pointer-events: none;
}

.synastry-preset-btn:hover, .synastry-preset-btn.active {
    background: rgba(220, 38, 38, 0.25);
    border-color: var(--red-bright);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.3);
}

.synastry-selectors {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.synastry-controls-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.synastry-action-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.select-box label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    display: block;
}

.select-box select {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--red-primary);
    color: var(--red-bright);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.synastry-symbol {
    font-size: 2.2rem;
    color: var(--red-bright);
    text-shadow: 0 0 15px var(--red-glow);
}

.synastry-results {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.synergy-score-ring {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.synergy-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.ring-fill {
    fill: none;
    stroke: var(--red-bright);
    stroke-width: 8;
    stroke-dasharray: 314;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-text span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--red-bright);
    display: block;
}

.synergy-details h4 {
    font-size: 1.3rem;
    color: var(--red-bright);
    margin-bottom: 0.8rem;
}

.synergy-details p {
    font-family: var(--font-sub);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.synergy-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.82rem;
}

.metric .m-label {
    width: 110px;
    color: var(--text-muted);
    font-weight: 600;
}

.metric .m-bar {
    flex-grow: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.metric .m-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red-dark), var(--red-bright));
    border-radius: 4px;
    transition: width 0.8s ease;
}

.metric .m-pct {
    width: 40px;
    text-align: right;
    font-weight: 700;
    color: var(--red-bright);
}

.oracle-filter-btn {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.oracle-filter-btn * {
    pointer-events: none;
}

.oracle-filter-btn:hover, .oracle-filter-btn.active {
    background: rgba(220, 38, 38, 0.25);
    border-color: var(--red-bright);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.3);
}

.oracle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.oracle-card-container {
    width: 290px;
    height: 440px;
    perspective: 1000px;
    cursor: pointer;
    margin-bottom: 2rem;
}

.oracle-card-container * {
    pointer-events: none;
}

.oracle-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.oracle-card-container.flipped .oracle-card-inner {
    transform: rotateY(180deg);
}

.oracle-card-front, .oracle-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    border: 2px solid var(--red-primary);
    box-shadow: 0 0 35px rgba(220, 38, 38, 0.4);
}

.oracle-card-front {
    background: linear-gradient(135deg, #050102, #1C0508);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.card-pattern {
    border: 1px dashed var(--red-bright);
    width: 100%;
    height: 100%;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.card-star-center {
    font-size: 3.2rem;
    color: var(--red-bright);
    animation: rotateStar 10s linear infinite;
    text-shadow: 0 0 20px var(--red-glow);
}

.card-hint-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid var(--red-primary);
    color: var(--red-bright);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

@keyframes rotateStar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card-pattern p {
    font-size: 0.85rem;
    color: var(--red-light);
}

.oracle-card-back {
    background: linear-gradient(135deg, #080203, #2B070B);
    transform: rotateY(180deg);
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-art-frame {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid var(--red-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 0 25px var(--red-glow);
}

.card-icon-symbol {
    font-size: 2.2rem;
}

.card-name {
    font-size: 1.35rem;
    color: var(--red-bright);
    margin-bottom: 0.2rem;
}

.card-subtitle {
    font-size: 0.72rem;
    color: var(--text-bright);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.9rem;
}

.card-message {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.oracle-meta-badges {
    display: flex;
    gap: 0.6rem;
    font-size: 0.72rem;
}

.oracle-meta-badges .o-badge {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--text-muted);
    padding: 0.25rem 0.65rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.oracle-meta-badges strong {
    color: var(--red-bright);
}

.oracle-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--glass-border);
    background: rgba(4, 1, 2, 0.95);
    backdrop-filter: var(--glass-blur);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links span {
    font-size: 0.75rem;
    color: rgba(220, 38, 38, 0.6);
}

/* Responsive */
@media (max-width: 1280px) {
    .nav-container {
        gap: 1rem;
    }
    .nav-links {
        gap: 0.85rem;
    }
    .nav-item {
        font-size: 0.82rem;
        padding: 0.4rem 0.45rem;
    }
    .logo-subtext {
        display: none;
    }
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(6, 2, 4, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem;
        gap: 0.5rem;
        display: none;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95);
    }

    .nav-links.active {
        display: flex;
        animation: slideDownNav 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav-item {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .nav-item::after {
        display: none;
    }

    .hero-title { font-size: 2.8rem; }
    .natal-layout { grid-template-columns: 1fr; }
    .synastry-results { grid-template-columns: 1fr; text-align: center; }
    .synastry-selectors { flex-direction: column; gap: 1rem; }
}

@media (max-width: 640px) {
    .navbar,
    .navbar.scrolled {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-actions > .btn-gold-glow {
        display: none;
    }
}

@keyframes slideDownNav {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   FOUNDER JATIN PAGE STYLING
   ========================================== */

.founder-quote-card {
    max-width: 800px;
    margin: 2rem auto 2.5rem auto;
    position: relative;
    padding: 2.25rem 2.5rem;
    border-color: rgba(220, 38, 38, 0.4);
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.15) 0%, rgba(12, 3, 6, 0.85) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(220, 38, 38, 0.25);
}

.quote-icon {
    font-size: 2rem;
    color: var(--red-bright);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.founder-quote-text {
    font-family: var(--font-sub);
    font-size: 1.35rem;
    line-height: 1.65;
    color: var(--text-white);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.founder-quote-author {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--red-bright);
    text-transform: uppercase;
}

.founder-story-card {
    padding: 3rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-heading {
    font-size: 1.6rem;
    color: var(--red-bright);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.story-p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

.story-highlight-box {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(220, 38, 38, 0.35);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.highlight-badge {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--red-bright);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.highlight-list li {
    font-size: 0.92rem;
    color: var(--text-white);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
}

.highlight-list li i {
    color: var(--red-bright);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* Techniques Grid */
.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.technique-card {
    padding: 2rem;
    text-align: left;
    transition: var(--transition-smooth);
}

.technique-card:hover {
    transform: translateY(-6px);
    border-color: var(--red-bright);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.25);
}

.technique-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid var(--red-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-bright);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}

.technique-title {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 0.3rem;
}

.technique-tag {
    font-size: 0.75rem;
    color: var(--red-bright);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.85rem;
}

.technique-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Founder FAQ List */
.founder-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 950px;
    margin: 0 auto;
}

.faq-item {
    padding: 2rem;
    text-align: left;
}

.faq-question {
    font-size: 1.2rem;
    color: var(--red-bright);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.faq-answer {
    font-family: var(--font-sub);
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
}

/* Founder CTA Card */
.founder-cta-card {
    text-align: center;
    padding: 3.5rem 2rem;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.2) 0%, rgba(12, 3, 6, 0.9) 100%);
    border-color: var(--red-bright);
    box-shadow: 0 25px 60px rgba(220, 38, 38, 0.3);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid var(--red-primary);
    color: var(--red-bright);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.cta-title {
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 0.8rem;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   SERVICES & PRICING PAGE STYLING
   ========================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--red-bright);
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.3);
}

.featured-tier {
    border-color: var(--red-bright);
    background: radial-gradient(circle at top center, rgba(220, 38, 38, 0.25) 0%, rgba(12, 3, 6, 0.95) 80%);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.35);
    transform: scale(1.03);
}

.master-tier {
    border-color: #F59E0B;
    background: radial-gradient(circle at top center, rgba(245, 158, 11, 0.2) 0%, rgba(12, 3, 6, 0.95) 80%);
}

.popular-ribbon {
    position: absolute;
    top: -14px;
    right: 20px;
    background: linear-gradient(135deg, var(--red-primary), #F59E0B);
    color: var(--text-white);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.85rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

.pricing-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--red-bright);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tier-title {
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.tier-price {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.tier-price .currency {
    font-size: 1.5rem;
    color: var(--red-bright);
    font-weight: 700;
}

.tier-price .amount {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
}

.tier-price .period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.tier-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.tier-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tier-features li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.45;
}

.tier-features li i {
    color: var(--red-bright);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.tier-features li strong {
    color: var(--red-bright);
}

/* Booking Section */
.booking-card {
    max-width: 750px;
    margin: 0 auto;
    padding: 3rem;
    text-align: left;
}

.booking-confirmation {
    text-align: center;
    padding: 2rem 1rem;
}

.confirm-icon {
    font-size: 3.5rem;
    color: var(--red-bright);
    margin-bottom: 1rem;
    animation: rotateStar 8s linear infinite;
}

.confirm-title {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.confirm-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .hero-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-content {
        width: 100%;
        min-width: 0;
    }

    .hero-title {
        font-size: 2.15rem;
    }

    .badge-pill {
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-buttons {
        width: 100%;
        max-width: 320px;
        flex-direction: column;
    }

    .hero-buttons > * {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
        padding: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .section-container {
        width: 100%;
        min-width: 0;
        padding: 5rem 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .glass-card,
    .pricing-card,
    .booking-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 1.25rem;
        border-radius: 20px;
    }

    .natal-layout {
        min-width: 0;
        gap: 1.5rem;
    }

    .natal-layout > * {
        width: 100%;
        min-width: 0;
    }

    .form-row,
    .chart-mini-summary {
        grid-template-columns: 1fr;
    }

    .chart-wheel-wrapper,
    .chart-vedic-wrapper {
        width: min(100%, 360px);
        height: auto;
        aspect-ratio: 1;
    }

    .natal-tabs {
        border-radius: 18px;
    }

    .natal-tab-btn {
        white-space: normal;
        justify-content: center;
    }

    .natal-actions,
    .oracle-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .planet-grid,
    .zodiac-grid,
    .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .featured-tier {
        transform: none;
    }

    .oracle-card-container {
        width: min(100%, 290px);
    }
}

/* ==========================================================================
   Quality pass — content legibility, responsive charts, and accessible states
   ========================================================================== */

body {
    overflow-x: clip;
}

#space-container {
    opacity: 0.82;
    filter: saturate(1.08) brightness(0.92) contrast(1.05);
}

.cosmic-vignette {
    z-index: 1;
    background:
        radial-gradient(circle at 50% 18%, rgba(6, 2, 4, 0.02) 0%, rgba(5, 1, 3, 0.22) 48%, rgba(2, 0, 1, 0.7) 100%),
        linear-gradient(180deg, rgba(2, 0, 1, 0.06), rgba(2, 0, 1, 0.38));
    box-shadow: inset 0 0 95px rgba(0, 0, 0, 0.58);
}

.main-content,
.footer {
    isolation: isolate;
}

.nav-container {
    width: 100%;
    max-width: 1480px;
    gap: 0.8rem;
}

.nav-links {
    gap: 0.35rem;
    justify-content: center;
}

.nav-item {
    padding: 0.5rem 0.45rem;
    font-size: 0.79rem;
}

.nav-actions .btn-gold-glow {
    padding-inline: 1rem;
    font-size: 0.78rem;
}

.hero-section {
    position: relative;
    min-height: min(92vh, 900px);
}

.hero-section::before {
    display: none !important;
}

.compact-hero {
    min-height: min(70vh, 680px);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.section-container {
    width: calc(100% - 2rem);
    max-width: 1380px;
    margin: 2rem auto;
    padding: clamp(5rem, 8vw, 7.5rem) clamp(1.25rem, 3vw, 3rem);
    border: none;
    background: transparent;
}

.section-header {
    max-width: 860px;
}

.section-desc,
.technique-desc,
.footer-tagline {
    color: #C6CAD2;
}

.glass-card {
    background: rgba(11, 3, 6, 0.94);
}

.glass-card:hover {
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.76), inset 0 0 28px rgba(220, 38, 38, 0.08);
}

.natal-layout {
    grid-template-columns: minmax(305px, 0.82fr) minmax(0, 1.58fr);
    align-items: start;
    gap: 2rem;
}

.natal-layout > *,
.natal-result-card,
.tab-content {
    min-width: 0;
}

.natal-form-card,
.natal-result-card {
    padding: clamp(1.25rem, 2.5vw, 2.3rem);
}

.form-row-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-help,
.calculation-source {
    margin: -0.35rem 0 1.25rem;
    color: #B8BDC7;
    font-size: 0.76rem;
    line-height: 1.55;
}

.accuracy-note {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin: 1.3rem 0;
    padding: 1rem;
    border: 1px solid rgba(248, 113, 113, 0.24);
    border-radius: 14px;
    background: rgba(127, 29, 29, 0.12);
}

.accuracy-note svg {
    width: 18px;
    flex: 0 0 18px;
    color: var(--red-light);
    margin-top: 0.15rem;
}

.accuracy-note p {
    color: #D7DAE0;
    font-size: 0.78rem;
    line-height: 1.55;
}

.natal-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 18px;
}

.natal-tab-btn {
    min-height: 46px;
    justify-content: center;
    white-space: normal;
    line-height: 1.25;
    border-radius: 13px;
}

.chart-wheel-wrapper,
.chart-vedic-wrapper {
    width: min(100%, 540px);
    height: auto;
    aspect-ratio: 1;
    margin-inline: auto;
}

.chart-reading-details {
    width: 100%;
}

.calculation-source {
    margin: 0.65rem auto 0;
    max-width: 680px;
}

.planet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.planet-card {
    min-height: 300px;
    padding: 1.7rem;
    text-align: left;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.planet-card:hover {
    transform: translateY(-4px);
}

.planet-kind {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 1rem;
    padding: 0.25rem 0.65rem;
    border: 1px solid rgba(248, 113, 113, 0.32);
    border-radius: 999px;
    color: #FCA5A5;
    background: rgba(127, 29, 29, 0.15);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.planet-desc {
    color: #C8CBD2;
    line-height: 1.65;
}

.planet-tradition {
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #E2E4E9;
    font-size: 0.86rem;
    line-height: 1.6;
}

.planet-source {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    color: #FCA5A5;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.planet-source:hover {
    color: #FFFFFF;
}

.synastry-card {
    max-width: 1040px;
}

.synastry-results {
    grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
    align-items: stretch;
}

.element-pair-mark {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.75rem;
    min-height: 230px;
    padding: 1.5rem;
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 22px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.18), rgba(5, 1, 3, 0.72));
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.35rem);
    letter-spacing: 0.12em;
}

.element-pair-mark svg {
    color: var(--red-light);
}

.reflection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.reflection-card {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.reflection-card span {
    display: block;
    margin-bottom: 0.45rem;
    color: #FCA5A5;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.synergy-details .reflection-card p {
    margin: 0;
    color: #D6D9E0;
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.55;
}

.tool-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0 0 !important;
    padding: 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    color: #BFC3CC !important;
    font-family: var(--font-body) !important;
    font-size: 0.78rem !important;
}

.tool-disclaimer svg {
    flex: 0 0 17px;
    margin-top: 0.18rem;
}

.oracle-card-container {
    width: min(100%, 320px);
    height: 470px;
}

.card-icon-symbol,
.card-icon-symbol svg {
    width: 38px;
    height: 38px;
    color: #FCA5A5;
}

.oracle-meta-badges {
    width: 100%;
    flex-direction: column;
}

.oracle-meta-badges .o-badge {
    width: 100%;
    justify-content: center;
}

.source-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.source-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem;
    color: #FFFFFF;
    text-decoration: none;
}

.source-card > svg {
    color: var(--red-light);
}

.source-card span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.25rem;
}

.source-card small {
    color: #BFC3CC;
    line-height: 1.45;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem 1.2rem;
}

.footer-links a {
    color: #FCA5A5;
    text-decoration: none;
    font-size: 0.8rem;
}

:where(a, button, input, select, [role='button']):focus-visible {
    outline: 3px solid #FCA5A5;
    outline-offset: 3px;
}

button,
select,
[role='button'] {
    min-height: 44px;
}

@media (max-width: 1160px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 1rem 1.25rem 1.25rem;
        border-bottom: 1px solid var(--glass-border);
        background: rgba(5, 1, 3, 0.98);
        box-shadow: 0 22px 50px rgba(0, 0, 0, 0.86);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        min-height: 44px;
        padding: 0.8rem 1rem;
        font-size: 0.92rem;
    }

    .nav-item::after {
        display: none;
    }

    .natal-layout {
        grid-template-columns: 1fr;
    }

    .planet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hero-section {
        min-height: 780px;
        padding: 5rem 1rem 2rem;
    }

    .compact-hero {
        min-height: 610px;
    }

    .hero-section::before {
        inset: 2.5rem 0.5rem 1rem;
        border-radius: 28px;
    }

    .section-container {
        width: calc(100% - 1rem);
        padding: 4.5rem 1rem;
        margin-block: 1rem;
        border-radius: 26px;
    }

    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }

    .section-desc {
        font-size: 0.98rem;
    }

    .form-row,
    .form-row-three,
    .element-bars,
    .houses-aspects-layout,
    .source-grid,
    .reflection-grid {
        grid-template-columns: 1fr;
    }

    .natal-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .planet-grid,
    .zodiac-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .synastry-results {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .element-pair-mark {
        grid-template-columns: 1fr auto 1fr;
        min-height: 110px;
        text-align: center;
    }

    .synastry-selectors {
        align-items: stretch;
    }

    .select-box select {
        width: 100%;
    }

    .oracle-card-container {
        width: min(100%, 290px);
        height: 450px;
    }
}

@media (max-width: 480px) {
    .navbar,
    .navbar.scrolled {
        padding-inline: 0.8rem;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .nav-actions > .btn-gold-glow {
        display: none;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.55rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-stats {
        gap: 0.45rem;
        padding: 0.85rem 0.55rem;
    }

    .stat-number {
        font-size: 1.45rem;
    }

    .stat-label {
        font-size: 0.62rem;
    }

    .glass-card {
        padding: 1rem;
    }

    .natal-tabs {
        grid-template-columns: 1fr;
    }

    .natal-tab-btn {
        width: 100%;
    }

    .reading-badge {
        white-space: normal;
        text-align: left;
    }

    .chart-wheel-wrapper,
    .chart-vedic-wrapper {
        width: 100%;
    }

    .preset-pills {
        width: 100%;
    }

    .preset-btn,
    .synastry-preset-btn,
    .oracle-filter-btn,
    .z-filter {
        justify-content: center;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Apple-inspired cosmic refinement
   Clean geometry, generous spacing, restrained glass, visible universe
   ========================================================================== */

:root {
    --page-max: 1240px;
    --page-gutter: clamp(1rem, 3vw, 2rem);
    --surface-soft: rgba(12, 12, 18, 0.66);
    --surface-card: rgba(20, 20, 28, 0.8);
    --surface-card-strong: rgba(24, 24, 33, 0.9);
    --border-soft: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.34);
    --shadow-card: 0 16px 45px rgba(0, 0, 0, 0.28);
    --radius-section: 38px;
    --radius-card: 26px;
    --apple-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    background: #020205;
    color-scheme: dark;
    scroll-padding-top: 88px;
}

body {
    min-height: 100vh;
    color: #f5f5f7;
    background:
        radial-gradient(circle at 18% 4%, rgba(93, 39, 72, 0.16), transparent 32rem),
        radial-gradient(circle at 86% 22%, rgba(41, 64, 117, 0.14), transparent 36rem),
        #020205;
    font-family: var(--font-body);
    line-height: 1.55;
}

h1,
h2,
h3,
h4 {
    color: #f5f5f7;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/* The original WebGL universe remains the primary background. These two
   lightweight layers keep stars visible while it initializes or is unavailable. */
#space-container {
    z-index: 0;
    opacity: 1;
    filter: saturate(1.1) brightness(1.08) contrast(1.03);
    background:
        radial-gradient(circle at 50% 45%, rgba(27, 24, 45, 0.16), transparent 48%),
        #010104;
    overflow: hidden;
}

#space-container::before,
#space-container::after {
    content: '';
    position: absolute;
    inset: -12%;
    z-index: 2;
    pointer-events: none;
    background-repeat: repeat;
    mix-blend-mode: screen;
    will-change: transform;
}

#space-container::before {
    opacity: 0.72;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.94) 0 1px, transparent 1.6px),
        radial-gradient(circle, rgba(194, 211, 255, 0.8) 0 0.8px, transparent 1.35px),
        radial-gradient(circle, rgba(255, 220, 205, 0.7) 0 0.7px, transparent 1.2px);
    background-size: 137px 137px, 211px 211px, 283px 283px;
    background-position: 17px 31px, 79px 103px, 143px 41px;
    animation: appleStarDrift 110s linear infinite;
}

#space-container::after {
    opacity: 0.46;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1.15px, transparent 2px),
        radial-gradient(circle, rgba(248, 113, 113, 0.65) 0 0.75px, transparent 1.35px);
    background-size: 367px 367px, 491px 491px;
    background-position: 29px 67px, 191px 139px;
    animation: appleStarDriftReverse 155s linear infinite;
}

#space-canvas {
    position: relative;
    z-index: 1;
}

@keyframes appleStarDrift {
    to { transform: translate3d(-48px, 64px, 0); }
}

@keyframes appleStarDriftReverse {
    to { transform: translate3d(58px, -42px, 0); }
}

.cosmic-vignette {
    z-index: 1;
    background:
        radial-gradient(circle at 50% 24%, transparent 0 28%, rgba(2, 2, 6, 0.1) 58%, rgba(1, 1, 4, 0.54) 100%),
        linear-gradient(180deg, rgba(2, 2, 6, 0.08), rgba(2, 2, 6, 0.32));
    box-shadow: inset 0 0 110px rgba(0, 0, 0, 0.44);
}

.main-content,
.footer {
    position: relative;
    z-index: 10;
}

/* Calm, compact, Apple-like navigation */
.navbar,
.navbar.scrolled {
    min-height: 68px;
    padding: 0.55rem var(--page-gutter);
    background: rgba(8, 8, 12, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
}

.navbar.scrolled {
    background: rgba(8, 8, 12, 0.88);
}

.nav-container {
    width: 100%;
    max-width: var(--page-max);
    min-height: 56px;
    gap: 1rem;
}

.logo {
    gap: 0.7rem;
}

.logo-symbol {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.055);
    color: #ff7b73;
    font-size: 1rem;
    text-shadow: 0 0 18px rgba(255, 59, 48, 0.6);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    letter-spacing: 0.14em;
    background: none;
    color: #f5f5f7;
    -webkit-text-fill-color: currentColor;
}

.logo-subtext {
    color: #9b9ba3;
    border-left-color: rgba(255, 255, 255, 0.14);
    font-size: 0.52rem;
}

.nav-links {
    gap: 0.3rem;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
}

.nav-item {
    min-height: 38px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    color: #a9a9b2;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-item::after {
    display: none;
}

.nav-item:hover,
.nav-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.main-content {
    padding-top: 68px;
}

/* Hero: large editorial type, restrained glass, universe still visible */
.hero-section {
    width: calc(100% - (var(--page-gutter) * 2));
    max-width: 1480px;
    min-height: calc(100svh - 92px);
    margin: 1.25rem auto 2rem;
    padding: clamp(6.5rem, 12vw, 10rem) var(--page-gutter);
    overflow: hidden;
    isolation: isolate;
}

/* Hero 3D Solar System Stage 1 */
.home-page .hero-section {
    width: 100%;
    max-width: none;
    min-height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.hero-cosmos-stage {
    position: relative;
    width: 100%;
    height: calc(100vh - 68px);
    min-height: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1.5rem 6.5rem;
    pointer-events: none;
}

.hero-space-tag {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background: rgba(14, 14, 22, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #ff8c85;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pulse-star {
    animation: starRotate 4s linear infinite;
    display: inline-block;
    color: #ff564f;
}

@keyframes starRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scroll-down-btn {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: #f5f5f7;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-down-btn:hover {
    transform: translateY(4px);
    color: #ff8c85;
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.mouse-wheel {
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: #ff8c85;
    animation: scrollWheel 1.8s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

.scroll-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.bounce-chevron {
    width: 18px;
    height: 18px;
    color: #ff8c85;
    animation: bounceChevron 1.6s infinite alternate;
}

@keyframes bounceChevron {
    0% { transform: translateY(0); }
    100% { transform: translateY(6px); }
}

.btn-back-cosmos {
    pointer-events: auto;
    position: absolute;
    top: 2rem;
    left: max(var(--page-gutter), calc((100% - 1400px) / 2));
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.15rem;
    border: 1px solid rgba(255, 140, 133, 0.4);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 86, 79, 0.22), rgba(18, 14, 22, 0.85));
    box-shadow: 0 10px 30px rgba(255, 86, 79, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-back-cosmos svg {
    width: 15px;
    height: 15px;
    color: #ff8c85;
    transition: transform 0.2s ease;
}

.btn-back-cosmos.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.btn-back-cosmos:hover {
    background: linear-gradient(135deg, rgba(255, 86, 79, 0.38), rgba(25, 18, 28, 0.95));
    box-shadow: 0 12px 35px rgba(255, 86, 79, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-2px) scale(1.02);
}

.btn-back-cosmos:hover svg {
    transform: translateX(-3px);
}

/* Shifted Hero Text Section */
.hero-text-section {
    width: 100%;
    margin: 0 auto;
    padding: clamp(4rem, 7vw, 6.5rem) var(--page-gutter);
    text-align: center;
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    transform: none !important;
}

.glass-hero-card {
    max-width: 1080px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(18, 14, 26, 0.8)) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    backdrop-filter: blur(32px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(190%) !important;
    border-radius: 36px !important;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.8rem, 5vw, 4rem) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glass-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 140, 133, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.25rem;
    border-radius: 30px;
    background: rgba(255, 140, 133, 0.12);
    border: 1px solid rgba(255, 140, 133, 0.35);
    color: #ff8c85;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    box-shadow: 0 0 20px rgba(255, 86, 79, 0.2);
}

.pulse-star-gold {
    display: inline-block;
    color: #ff8c85;
    animation: starPulse 2.5s ease-in-out infinite alternate;
}

@keyframes starPulse {
    0% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    100% { transform: scale(1.3) rotate(45deg); opacity: 1; filter: drop-shadow(0 0 8px #ff8c85); }
}

.hero-title-animated {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.3rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5FA 40%, #ff8c85 85%, #ff564f 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.btn-hero-action {
    padding: 0.95rem 2.2rem !important;
    font-size: 0.95rem !important;
    border-radius: 18px !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.btn-hero-action:hover {
    transform: translateY(-4px) scale(1.02) !important;
}

.icon-spin-subtle {
    animation: iconSpin 6s linear infinite;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 820px;
}

@media (max-width: 680px) {
    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.stat-glass-card {
    padding: 1.5rem 1.2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.stat-glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 140, 133, 0.5);
    box-shadow: 0 15px 35px rgba(255, 86, 79, 0.2);
    background: rgba(255, 255, 255, 0.055);
}

.stat-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 86, 79, 0.14);
    border: 1px solid rgba(255, 140, 133, 0.3);
    color: #ff8c85;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.glow-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.35rem;
    text-shadow: 0 0 20px rgba(255, 140, 133, 0.4);
}



.badge-pill,
.section-tag,
.cta-badge,
.pricing-badge,
.technique-tag {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.065);
    color: #ff8c85;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.badge-pill {
    min-height: 38px;
    margin-bottom: 1.7rem;
    padding: 0.55rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.hero-title {
    max-width: 1000px;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 12%, #d9d9df 78%, #a8a8b1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(3.25rem, 7.1vw, 6.8rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.065em;
    text-shadow: none;
}

.compact-hero .hero-title {
    max-width: 900px;
    font-size: clamp(3rem, 6vw, 5.5rem);
}

.hero-subtitle {
    max-width: 780px;
    margin-bottom: 2.2rem;
    color: #b9b9c2;
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.6vw, 1.32rem);
    line-height: 1.65;
    letter-spacing: -0.018em;
}

.hero-buttons {
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary-gold,
.btn-gold-glow,
.btn-secondary-glass {
    min-height: 48px;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: none;
    transition: transform 0.35s var(--apple-ease), background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.btn-primary-gold,
.btn-gold-glow {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #f5f5f7;
    color: #111116;
}

.btn-primary-gold:hover,
.btn-gold-glow:hover {
    background: #ffffff;
    color: #050507;
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.btn-secondary-glass {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #f5f5f7;
}

.btn-secondary-glass:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-sm {
    min-height: 40px;
    padding: 0.58rem 0.9rem;
    font-size: 0.75rem;
}

.hero-stats {
    gap: clamp(1rem, 4vw, 3rem);
    padding: 1.05rem clamp(1rem, 4vw, 2.4rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(17, 17, 24, 0.56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.stat-number {
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.stat-label {
    color: #8f8f99;
    font-size: 0.66rem;
}

.stat-divider {
    background: rgba(255, 255, 255, 0.1);
}

/* Consistent section rhythm across Home, Founder, and Services */
.section-container,
#natal-chart,
#planets,
#zodiacs,
#synastry,
#oracle {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-max));
    max-width: var(--page-max);
    min-height: 0;
    margin: clamp(1rem, 2.5vw, 2rem) auto;
    padding: clamp(5.5rem, 9vw, 8.5rem) clamp(1.25rem, 4vw, 4.5rem);
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.section-container::after {
    display: none;
}

.section-header {
    max-width: 820px;
    margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.section-tag {
    min-height: 32px;
    margin-bottom: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.67rem;
    letter-spacing: 0.16em;
}

.section-title {
    margin-bottom: 1.15rem;
    background: linear-gradient(180deg, #ffffff, #c6c6ce);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2.45rem, 5.1vw, 4.7rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.055em;
    text-shadow: none;
}

.section-desc {
    max-width: 740px;
    margin-inline: auto;
    color: #a9a9b2;
    font-size: clamp(0.98rem, 1.4vw, 1.12rem);
    line-height: 1.7;
    letter-spacing: -0.012em;
}

/* Cards: less decoration, more hierarchy */
.glass-card,
.technique-card,
.pricing-card,
.faq-item,
.founder-story-card,
.founder-cta-card,
.natal-form-card,
.natal-result-card,
.synastry-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    background: var(--surface-card);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.glass-card:hover,
.technique-card:hover,
.pricing-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.techniques-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: stretch;
}

.technique-card {
    min-height: 248px;
    height: 100%;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    transform: none;
    transition: transform 0.45s var(--apple-ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.technique-card:hover {
    transform: translateY(-4px);
}

.technique-icon-wrapper {
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 77, 69, 0.1);
    color: #ff8c85;
    box-shadow: none;
}

.technique-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.technique-title,
.tier-title,
.story-heading,
.faq-question {
    color: #f5f5f7;
    font-family: var(--font-body);
    letter-spacing: -0.03em;
}

.technique-title {
    margin-bottom: 0.45rem;
    font-size: 1.28rem;
}

.technique-tag {
    margin-bottom: 0.85rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
}

.technique-desc,
.tier-desc,
.story-p,
.faq-answer {
    color: #aaaab4;
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.7;
}

.founder-story-card {
    max-width: 1080px;
    margin-inline: auto;
    padding: clamp(1.7rem, 4vw, 3.6rem);
}

.story-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.story-heading {
    margin-bottom: 1.35rem;
    color: #f5f5f7;
    font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.story-highlight-box {
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: none;
}

.highlight-badge {
    color: #ff8c85;
    font-size: 0.69rem;
    letter-spacing: 0.12em;
}

.highlight-list {
    gap: 1rem;
}

.highlight-list li,
.tier-features li {
    color: #d2d2d8;
    font-size: 0.88rem;
    line-height: 1.58;
}

.highlight-list li svg,
.tier-features li svg {
    width: 18px;
    height: 18px;
    color: #ff8c85;
}

.founder-faq-list {
    max-width: 980px;
    gap: 1rem;
}

.faq-item {
    padding: clamp(1.4rem, 3vw, 2rem);
}

.faq-question {
    margin-bottom: 0.65rem;
    color: #f5f5f7;
    font-size: 1.15rem;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: #ff8c85;
}

.founder-cta-card {
    max-width: 1040px;
    margin-inline: auto;
    padding: clamp(3.25rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem);
    border-color: rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 80, 72, 0.14), transparent 48%),
        var(--surface-card-strong);
}

.cta-title {
    color: #ffffff;
    font-family: var(--font-body);
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.cta-desc {
    color: #aaaab4;
    line-height: 1.65;
}

/* Pricing: three balanced, readable plans */
.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: stretch;
}

.pricing-card {
    min-height: 430px;
    height: 100%;
    padding: clamp(1.6rem, 3vw, 2.25rem);
    transform: none;
    overflow: hidden;
    transition: transform 0.45s var(--apple-ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.featured-tier {
    border-color: rgba(255, 116, 107, 0.34);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 80, 72, 0.14), transparent 42%),
        var(--surface-card-strong);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: none;
}

.master-tier {
    border-color: rgba(255, 196, 104, 0.22);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 190, 90, 0.1), transparent 42%),
        var(--surface-card);
}

.popular-ribbon {
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.38rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: none;
    font-size: 0.58rem;
}

.pricing-badge {
    margin-bottom: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.65rem;
}

.tier-title {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.tier-price {
    margin-bottom: 1.15rem;
    font-family: var(--font-body);
    letter-spacing: -0.05em;
}

.tier-price .currency,
.tier-price .amount {
    color: #ffffff;
}

.tier-price .currency {
    font-size: 1.2rem;
}

.tier-price .amount {
    font-size: clamp(2.45rem, 4vw, 3.5rem);
}

.tier-price .period {
    color: #85858f;
    letter-spacing: -0.01em;
}

.tier-features {
    gap: 0.9rem;
}

/* Home tools inherit the same visual system without changing behaviour */
.natal-layout {
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.natal-form-card,
.natal-result-card,
.synastry-card {
    padding: clamp(1.35rem, 3vw, 2.5rem);
}

input,
select,
textarea,
.natal-tabs,
.preset-btn,
.synastry-preset-btn,
.oracle-filter-btn,
.z-filter {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
    color: #ececf0;
    box-shadow: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(255, 126, 118, 0.68);
    box-shadow: 0 0 0 4px rgba(255, 92, 84, 0.11);
}

.preset-pills-container,
.zodiac-filter-tabs {
    margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.planet-grid,
.zodiac-grid {
    gap: 1.1rem;
}

.planet-card,
.zodiac-card {
    border-color: var(--border-soft);
    border-radius: 24px;
    background: var(--surface-card);
    box-shadow: var(--shadow-card);
}

.planet-card:hover,
.zodiac-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
}

.oracle-card-container {
    filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.34));
}

.footer {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-max));
    margin: 2rem auto var(--page-gutter);
    padding: clamp(2.5rem, 5vw, 4rem) var(--page-gutter);
    border: 1px solid var(--border-soft);
    border-radius: 32px;
    background: rgba(10, 10, 15, 0.74);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.footer-container {
    max-width: 1100px;
    margin-inline: auto;
    gap: 1.5rem;
}

.footer-tagline,
.footer-links,
.footer-links span {
    color: #85858f;
}

.footer-links a {
    color: #c8c8ce;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links .texture-credit {
    color: #a6a6b0;
    font-size: 0.72rem;
}

.footer-links .texture-credit:hover {
    color: #ffffff;
}

@media (max-width: 1160px) {
    .nav-links {
        padding: 1rem var(--page-gutter) 1.25rem;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        background: rgba(8, 8, 12, 0.96);
    }

    .nav-item {
        border-radius: 14px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card:last-child {
        grid-column: 1 / -1;
        min-height: 0;
    }
}

@media (max-width: 900px) {
    :root {
        --radius-section: 30px;
        --radius-card: 22px;
    }

    .hero-section,
    .compact-hero {
        min-height: clamp(620px, 82svh, 760px);
        padding-block: 6.5rem;
    }

    .section-container,
    #natal-chart,
    #planets,
    #zodiacs,
    #synastry,
    #oracle {
        padding: clamp(4.5rem, 10vw, 6rem) clamp(1.15rem, 4vw, 2rem);
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story-highlight-box {
        width: 100%;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 700px) {
    :root {
        --page-gutter: 0.5rem;
        --radius-section: 24px;
        --radius-card: 20px;
    }

    html {
        scroll-padding-top: 76px;
    }

    .navbar,
    .navbar.scrolled {
        min-height: 64px;
        padding-inline: 0.85rem;
    }

    .main-content {
        padding-top: 64px;
    }

    .logo-subtext {
        display: none;
    }

    .hero-section,
    .compact-hero {
        width: calc(100% - 1rem);
        min-height: 620px;
        margin: 0.75rem auto 1rem;
        padding: 6rem 1.1rem 4.5rem;
    }

    .hero-section::before {
        inset: 0;
        border-radius: 26px;
    }

    .hero-title,
    .compact-hero .hero-title {
        font-size: clamp(2.7rem, 13vw, 4rem);
        line-height: 1;
    }

    .hero-buttons {
        width: 100%;
        max-width: 340px;
        flex-direction: column;
    }

    .hero-buttons > * {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        width: 100%;
        max-width: 420px;
        gap: 0.6rem;
        padding: 0.9rem 0.65rem;
    }

    .section-container,
    #natal-chart,
    #planets,
    #zodiacs,
    #synastry,
    #oracle {
        width: calc(100% - 1rem);
        margin-block: 0.75rem;
        padding: 4.25rem 1rem;
    }

    .section-title {
        font-size: clamp(2.15rem, 10vw, 3.15rem);
    }

    .techniques-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card,
    .pricing-card:last-child {
        grid-column: auto;
        min-height: 0;
    }

    .technique-card {
        min-height: 0;
    }

    .founder-story-card,
    .founder-cta-card,
    .faq-item,
    .glass-card {
        padding: 1.35rem;
    }

    .founder-cta-card {
        padding-block: 3.5rem;
    }

    .footer {
        width: calc(100% - 1rem);
        margin: 1rem auto 0.5rem;
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #space-container::before,
    #space-container::after {
        animation: none !important;
    }
}

/* Interactive solar-system controller */
.home-page #space-container {
    filter: saturate(1.16) brightness(1.16) contrast(1.05);
}

/* Subtle procedural stars stay as a loading fallback behind the real sky map. */
.home-page #space-container::before {
    opacity: 0.22;
}

.home-page #space-container::after {
    opacity: 0.14;
}

.home-page .cosmic-vignette {
    background:
        radial-gradient(circle at 50% 30%, transparent 0 38%, rgba(2, 2, 6, 0.08) 66%, rgba(1, 1, 4, 0.42) 100%),
        linear-gradient(180deg, rgba(2, 2, 6, 0.02), rgba(2, 2, 6, 0.22));
}

.home-page .hero-section {
    padding-bottom: clamp(12rem, 20vw, 15rem);
}

.home-page .hero-section::before {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.055), transparent 34%),
        radial-gradient(circle at 20% 82%, rgba(255, 59, 48, 0.07), transparent 30%),
        linear-gradient(145deg, rgba(14, 14, 22, 0.2), rgba(7, 7, 12, 0.42));
}



.home-page .space-hud {
    position: absolute;
    right: auto;
    bottom: 1.35rem;
    left: 50%;
    z-index: 8;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    width: min(calc(100% - 2.5rem), 1120px);
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(11, 11, 17, 0.72);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(28px) saturate(145%);
    -webkit-backdrop-filter: blur(28px) saturate(145%);
    transform: translateX(-50%);
}

.space-hud-copy {
    min-width: 188px;
    padding: 0.35rem 0.65rem;
}

.home-page .hud-header {
    gap: 0.45rem;
    margin: 0 0 0.2rem;
    padding: 0;
    border: 0;
    color: #f5f5f7;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.home-page .hud-header svg {
    width: 16px;
    height: 16px;
    color: #ff8c85;
}

.space-focus-label {
    display: block;
    color: #8f8f99;
    font-size: 0.68rem;
    font-weight: 600;
}

.home-page .hud-btn-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.42rem;
    max-height: none;
    padding: 0.15rem 0.2rem 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
    scrollbar-width: thin;
}

.home-page .hud-btn-group::-webkit-scrollbar {
    height: 4px;
}

.home-page .hud-btn-group::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.home-page .hud-btn {
    min-height: 42px;
    flex: 0 0 auto;
    padding: 0.58rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #aaaab3;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 650;
    line-height: 1;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--apple-ease);
}

.home-page .hud-btn svg {
    width: 15px;
    height: 15px;
}

.home-page .hud-btn:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.085);
    color: #ffffff;
    transform: translateY(-1px);
}

.home-page .hud-btn.active {
    border-color: rgba(255, 255, 255, 0.22);
    background: #f5f5f7;
    color: #101014;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.planet-orb {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border-radius: 50%;
    background: #a3a3a8;
    box-shadow: inset -2px -2px 3px rgba(0, 0, 0, 0.32), 0 0 9px currentColor;
}

.orb-sun { color: #ffb44c; background: #ffc65c; }
.orb-mercury { color: #a7a7a7; background: #99999d; }
.orb-venus { color: #e5bd87; background: #ddb67d; }
.orb-earth { color: #4aa8ff; background: linear-gradient(135deg, #4ca5ff, #57c77c); }
.orb-mars { color: #ef6b55; background: #d9614d; }
.orb-jupiter { color: #d8a26d; background: linear-gradient(180deg, #e2bc91, #af744d); }
.orb-saturn { color: #dec98d; background: #d7c58d; }
.orb-uranus { color: #77d9e8; background: #75d5df; }
.orb-neptune { color: #547de8; background: #5277de; }

.home-page[data-space-focus]:not([data-space-focus='universe']) #space-container {
    filter: saturate(1.2) brightness(1.2) contrast(1.06);
}

@media (max-width: 900px) {
    .home-page .space-hud {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        width: min(calc(100% - 1.5rem), 720px);
        padding: 0.7rem;
    }

    .space-hud-copy {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.15rem 0.45rem;
    }

    .home-page .hud-header {
        margin: 0;
    }
}

@media (max-width: 700px) {
    .home-page .hero-section {
        min-height: 760px;
        padding-bottom: 12rem;
    }

    .home-page .space-hud {
        bottom: 0.7rem;
        width: calc(100% - 1rem);
        border-radius: 20px;
    }

    .home-page .hud-btn {
        min-height: 40px;
        padding-inline: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .hud-btn,
    .home-page .hud-btn:hover {
        transform: none;
    }
}

/* Cosmos dock refinement — compact visionOS-style control surface */
.home-page .space-hud {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 0.55rem;
    width: min(calc(100% - 3rem), 1040px);
    padding: 0.55rem;
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(35, 35, 45, 0.68), rgba(14, 14, 20, 0.72));
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.42),
        0 8px 24px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(40px) saturate(160%);
    -webkit-backdrop-filter: blur(40px) saturate(160%);
}

.home-page .space-hud::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.12), transparent 28%),
        radial-gradient(circle at 72% 120%, rgba(255, 86, 78, 0.09), transparent 34%);
    pointer-events: none;
}

.home-page .space-hud::after {
    content: '';
    position: absolute;
    right: 10%;
    bottom: -18px;
    left: 10%;
    z-index: -2;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 91, 83, 0.12);
    filter: blur(24px);
    pointer-events: none;
}

.home-page .space-hud-copy {
    position: relative;
    min-width: 0;
    height: 100%;
    padding: 0.58rem 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.home-page .hud-header {
    font-size: 0.72rem;
    letter-spacing: -0.018em;
}

.home-page .hud-header svg {
    width: 15px;
    height: 15px;
    filter: drop-shadow(0 0 8px rgba(255, 114, 105, 0.45));
}

.home-page .space-focus-label {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    margin-top: 0.12rem;
    color: #a9a9b2;
    font-size: 0.64rem;
}

.home-page .space-focus-label::before {
    content: '';
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: #78e08f;
    box-shadow: 0 0 9px rgba(120, 224, 143, 0.75);
}

.home-page .hud-btn-group {
    gap: 0.2rem;
    padding: 0.2rem 0.35rem;
    border-radius: 23px;
    background: rgba(0, 0, 0, 0.13);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

.home-page .hud-btn {
    min-height: 44px;
    gap: 0.42rem;
    padding: 0.62rem 0.72rem;
    border-color: transparent;
    background: transparent;
    color: #96969f;
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: -0.012em;
}

.home-page .hud-btn:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.065);
    color: #f5f5f7;
    transform: scale(1.025);
}

.home-page .hud-btn.active {
    border-color: rgba(255, 255, 255, 0.15);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.1));
    color: #ffffff;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-page .hud-btn.active svg {
    color: #ff8b83;
    filter: drop-shadow(0 0 8px rgba(255, 107, 98, 0.5));
}

.home-page .planet-orb {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset -2px -2px 3px rgba(0, 0, 0, 0.36),
        0 0 8px color-mix(in srgb, currentColor 68%, transparent);
    transition: transform 0.4s var(--apple-ease), box-shadow 0.4s ease;
}

.home-page .hud-btn.active .planet-orb {
    transform: scale(1.2);
    box-shadow:
        inset -2px -2px 3px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(255, 255, 255, 0.09),
        0 0 13px currentColor;
}

@media (max-width: 900px) {
    .home-page .space-hud {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        width: min(calc(100% - 1.5rem), 720px);
        border-radius: 26px;
    }

    .home-page .space-hud-copy {
        display: flex;
        height: auto;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 0.72rem;
        border-radius: 20px;
    }

    .home-page .space-focus-label {
        margin: 0;
    }

    .home-page .hud-btn-group {
        min-height: 52px;
        border-radius: 20px;
    }
}

@media (max-width: 560px) {
    .home-page .space-hud {
        padding: 0.45rem;
        border-radius: 22px;
    }

    .home-page .space-hud-copy {
        border-radius: 17px;
    }

    .home-page .hud-header {
        font-size: 0.68rem;
    }

    .home-page .space-focus-label {
        font-size: 0.6rem;
    }

    .home-page .hud-btn {
        min-height: 42px;
        padding-inline: 0.66rem;
    }
}

/* ==========================================
   HOMEPAGE AGENCY & PLATFORM SECTIONS
   ========================================== */

/* Creative Features Grid & Modules */
.creative-features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
}

@media (max-width: 840px) {
    .creative-features-grid {
        grid-template-columns: 1fr !important;
    }
}

.creative-feature-card {
    position: relative;
    padding: clamp(2rem, 4vw, 2.75rem) !important;
    border-radius: 28px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(18, 14, 26, 0.75)) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.creative-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff8c85, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.creative-feature-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    border-color: rgba(255, 140, 133, 0.5) !important;
    box-shadow: 0 30px 70px rgba(255, 86, 79, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.creative-feature-card:hover::before {
    opacity: 1;
}

.feature-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.creative-icon-glow {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, rgba(255, 86, 79, 0.25), rgba(18, 14, 26, 0.9)) !important;
    border: 1px solid rgba(255, 140, 133, 0.4) !important;
    color: #ff8c85 !important;
    font-size: 1.35rem !important;
    box-shadow: 0 8px 25px rgba(255, 86, 79, 0.2) !important;
    margin-bottom: 0 !important;
}

.feature-index {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(255, 140, 133, 0.2);
    letter-spacing: -0.02em;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ff8c85;
    font-size: 0.74rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.creative-feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem !important;
    color: #ffffff !important;
    margin-bottom: 0.75rem !important;
}

.creative-feature-card p {
    font-size: 0.92rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.65 !important;
    margin-bottom: 1.4rem;
}

.feature-footer-stat {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff8c85;
    box-shadow: 0 0 8px #ff8c85;
}

.feature-footer-stat strong {
    color: #ffffff;
}

/* Creative 3-Step Process Track */
.creative-steps-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-top: 3.5rem !important;
    position: relative;
}

@media (max-width: 900px) {
    .creative-steps-grid {
        grid-template-columns: 1fr !important;
    }
}

.creative-step-card {
    position: relative;
    padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.6rem, 3vw, 2.2rem) !important;
    border-radius: 28px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(18, 14, 26, 0.75)) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.creative-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff8c85, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.creative-step-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    border-color: rgba(255, 140, 133, 0.5) !important;
    box-shadow: 0 30px 70px rgba(255, 86, 79, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.creative-step-card:hover::before {
    opacity: 1;
}

.step-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.step-icon-glow {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 86, 79, 0.25), rgba(18, 14, 26, 0.9));
    border: 1px solid rgba(255, 140, 133, 0.4);
    color: #ff8c85;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(255, 86, 79, 0.2);
}

.step-number-badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: rgba(255, 140, 133, 0.9);
    background: rgba(255, 86, 79, 0.12);
    border: 1px solid rgba(255, 140, 133, 0.3);
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
}

.step-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #ff8c85;
    margin-bottom: 0.85rem;
}

.creative-step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem !important;
    color: #ffffff !important;
    margin-bottom: 0.75rem !important;
}

.creative-step-card p {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.65 !important;
    margin-bottom: 1.5rem;
}

.step-footer-tag {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.step-tag-pill {
    display: inline-block;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

/* Services / Consultations Preview */
.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-preview-card {
    position: relative;
    padding: 2.4rem 2rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(18, 14, 22, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-preview-card.featured {
    border-color: rgba(255, 140, 133, 0.5);
    background: linear-gradient(145deg, rgba(255, 86, 79, 0.12), rgba(18, 14, 22, 0.85));
    box-shadow: 0 15px 40px rgba(255, 86, 79, 0.2);
}

.featured-pill {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
    background: #ff564f;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.service-meta {
    font-size: 0.82rem;
    color: #ff8c85;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.service-features-list li {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.service-features-list li svg {
    color: #ff8c85;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* FAQ Accordion Section */
.faq-accordion {
    max-width: 900px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.faq-item {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.open {
    border-color: rgba(255, 140, 133, 0.4);
    background: rgba(255, 255, 255, 0.055);
}

.faq-question {
    width: 100%;
    padding: 1.35rem 1.75rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}

.faq-question svg {
    color: #ff8c85;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.75rem 1.4rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* Founder Spotlight Banner */
.founder-spotlight-card {
    margin-top: 4rem;
    padding: clamp(2.5rem, 5vw, 4rem);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 86, 79, 0.14), rgba(18, 14, 22, 0.85));
    border: 1px solid rgba(255, 140, 133, 0.35);
    backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .founder-spotlight-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.founder-avatar-box {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto;
    border: 2px solid rgba(255, 140, 133, 0.5);
    background: radial-gradient(circle, rgba(255, 86, 79, 0.3), rgba(18, 14, 22, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #ff8c85;
    box-shadow: 0 12px 35px rgba(255, 86, 79, 0.25);
}

.founder-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.founder-tagline {
    font-size: 0.85rem;
    color: #ff8c85;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.founder-bio {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.8rem;
}
