﻿*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#dbe5ef;line-height:1.6}a{text-decoration:none;color:inherit}.container{width:min(1180px,calc(100% - 40px));margin:auto}.header{position:sticky;top:0;z-index:20;background:rgba(2,14,28,.94);backdrop-filter:blur(14px);border-bottom:1px solid #ffffff14}.nav{height:70px;display:flex;align-items:center;justify-content:space-between}.brand{color:#fff;font-weight:850;font-size:1.2rem;display:flex;gap:10px;align-items:center}.logo{width:34px;height:34px;border:2px solid #4b8fc9;border-radius:50%;display:grid;place-items:center;color:#4b8fc9}.nav nav{display:flex;gap:25px;align-items:center;color:#b5c4d4;font-size:.9rem}.nav nav a:hover{color:#fff}.navcta{background:#3f7fb5;padding:10px 17px;border-radius:10px;color:#fff!important}.menu{display:none;background:none;border:0;color:#fff;font-size:1.5rem}.hero{position:relative;overflow:hidden;min-height:680px;color:#fff;background:radial-gradient(circle at 68% 35%,#1558a355,transparent 25%),linear-gradient(120deg,#010711,#03172f 55%,#010712)}.stars{position:absolute;inset:0;opacity:.55;background-image:radial-gradient(circle,#fff 0 1px,transparent 1.5px);background-size:140px 140px}.sun{position:absolute;right:-160px;top:30px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,#fff4a7,#ffc42b 30%,#ff6a00 68%,transparent 72%);box-shadow:0 0 100px #ff9f36aa}.hero-grid{min-height:570px;display:grid;grid-template-columns:1fr 1fr;align-items:center;position:relative;z-index:2}.eyebrow{font-size:.75rem;letter-spacing:.15em;font-weight:850;color:#5a91bd;margin-bottom:10px}.hero .eyebrow{color:#75add1}.hero h1{font-size:clamp(3rem,6vw,5.2rem);line-height:.98;letter-spacing:-.065em;margin:0}.hero h1 span{color:#6ba4ce}.hero p{max-width:640px;color:#aebdcd}.hero .lead{font-size:1.35rem;font-weight:750;color:#fff;margin:25px 0 10px;line-height:1.3}.actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:27px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:11px;padding:13px 21px;font-weight:800;cursor:pointer}.primary{background:linear-gradient(135deg,#427fae,#356b98);color:#fff;box-shadow:0 12px 30px #427fae40}.secondary{color:#fff;border:1px solid #5b91b855;background:#ffffff08}.visual{height:450px;position:relative}.galaxy{position:absolute;right:2%;top:65px;width:430px;height:250px;border-radius:50%;transform:rotate(-18deg);background:repeating-radial-gradient(ellipse at center,#557fa866 0 3px,transparent 4px 13px),radial-gradient(ellipse,#fff 0 2%,#506fd9 8%,transparent 20%);box-shadow:0 0 100px #426b8a22}.orbit{position:absolute;border:1px solid #ffffff3b;border-radius:50%;right:0;top:60px;width:440px;height:260px;transform:rotate(-15deg)}.o2{width:300px;height:180px;right:80px;top:130px}.earth{position:absolute;width:36px;height:36px;border-radius:50%;right:180px;top:240px;background:radial-gradient(circle at 35% 30%,#86b4d0,#356e98 50%,#0a2035)}.jupiter{position:absolute;width:72px;height:72px;border-radius:50%;right:80px;top:310px;background:linear-gradient(#e6c796 0 20%,#9d7651 22% 38%,#d8b886 40% 55%,#805d40 58%)}.mars{position:absolute;width:22px;height:22px;border-radius:50%;right:285px;top:175px;background:#a65342}.capabilities{position:absolute;z-index:4;bottom:20px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(5,1fr);padding:14px;border:1px solid #4d83aa45;border-radius:14px;background:#021022cc;backdrop-filter:blur(15px);color:#fff}.capabilities div{padding:5px 18px;border-right:1px solid #ffffff18;color:#5a91bd;font-size:1.4rem}.capabilities div:last-child{border:0}.capabilities b{font-size:.8rem;color:#fff;margin-left:7px}.capabilities small{display:block;color:#91a2b4;font-size:.72rem;margin-left:33px}.section{padding:100px 0}.feature-layout{display:grid;grid-template-columns:.75fr 1.7fr;gap:65px;align-items:center}h2{font-size:clamp(2.2rem,4vw,3.7rem);line-height:1.05;letter-spacing:-.05em;margin:0 0 18px}.feature-layout p,.about p{color:#9aaabd}.link{color:#5b91bd;font-weight:800}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.cards article{border:1px solid #102c4c18;border-radius:18px;overflow:hidden;box-shadow:0 20px 55px #00000040;background:#fff}.card{height:170px}.galaxy-card{background:repeating-radial-gradient(ellipse,#527b9a66 0 3px,transparent 4px 13px),linear-gradient(135deg,#061229,#243e93,#090b25)}.solar-card{background:radial-gradient(circle at 18% 50%,#ffd64b 0 9%,#ff7d0b 11%,transparent 14%),radial-gradient(circle at 70% 50%,#bda77e 0 10%,transparent 11%),linear-gradient(135deg,#020817,#0a2c53)}.planet-card{background:radial-gradient(circle at 35% 30%,#d8e8ff,#7ea7db 30%,#263a67 62%,#07101e 65%)}.cards h3,.cards p{margin:16px 18px}.cards p{color:#9aaabd;font-size:.92rem}.dark{background:radial-gradient(circle at 80% 10%,#1c6bd844,transparent 30%),linear-gradient(135deg,#030a14,#071727 55%,#020812);color:#fff}.dark .eyebrow{color:#75add1}.dark .intro{color:#b7c5d4;max-width:760px;margin-bottom:45px}.audiences{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.audiences>div{min-height:220px;padding:28px;border:1px solid #42adff47;border-radius:18px;background:#071727cc}.audiences span{font-size:2rem}.audiences h3{margin:18px 0 7px}.audiences p{color:#aebdcd;margin:0}.journey{background:#050c16}.center{text-align:center;max-width:750px;margin:0 auto 50px}.center p{color:#9aaabd}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.steps>div{padding:28px;background:#fff;border:1px solid #102c4c18;border-radius:18px;box-shadow:0 15px 40px #00000035}.steps b{color:#3f7fb5}.steps h3{margin:12px 0 6px}.steps p{color:#9aaabd;margin:0}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px}.demo{padding:110px 0;text-align:center;color:#fff;background:radial-gradient(ellipse at 50% 120%,#1571ff99,transparent 45%),linear-gradient(#020b18,#071728)}.demo h2{color:#fff}.demo p{color:#b7c5d4;margin-bottom:25px}.footer{padding:55px 0 20px;background:#020711;color:#aebdcd}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px;padding-bottom:40px}.footer-grid a{display:block;margin:8px 0}.footer-grid .brand{display:flex}.footer-grid p{max-width:360px}.foot-bottom{border-top:1px solid #ffffff18;padding-top:20px;display:flex;justify-content:space-between;font-size:.82rem}.modal{display:none;position:fixed;inset:0;z-index:100;background:#000b;backdrop-filter:blur(8px);align-items:center;justify-content:center;padding:20px}.modal.open{display:flex}.modal-box{position:relative;width:min(600px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;padding:35px;box-shadow:0 40px 100px #0006}.close{position:absolute;right:15px;top:12px;border:0;border-radius:50%;width:38px;height:38px;font-size:1.5rem;cursor:pointer}.modal-box label{display:block;font-weight:700;margin:15px 0}.modal-box input,.modal-box select,.modal-box textarea{width:100%;margin-top:5px;padding:11px;border:1px solid #34475a;border-radius:9px}.modal-box small{display:block;color:#9aaabd;margin-top:14px}@media(max-width:980px){.nav nav{display:none;position:absolute;top:70px;left:20px;right:20px;padding:20px;flex-direction:column;align-items:stretch;background:#041426;border-radius:14px}.nav nav.open{display:flex}.menu{display:block}.hero-grid,.feature-layout,.about-grid{grid-template-columns:1fr}.hero{min-height:900px}.visual{height:350px}.capabilities{position:relative;bottom:auto;margin-top:-35px;grid-template-columns:repeat(2,1fr)}.audiences,.steps{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:1fr}}@media(max-width:620px){.container{width:calc(100% - 28px)}.hero h1{font-size:3rem}.hero{min-height:950px}.capabilities{grid-template-columns:1fr}.audiences,.steps,.footer-grid{grid-template-columns:1fr}.foot-bottom{flex-direction:column}.visual{transform:scale(.78);transform-origin:top left;width:128%}.section{padding:70px 0}}
/* ============================================================
   ASTROSPHERE COMMERCIAL DARK THEME
   ============================================================ */

body {
    background: #050c16;
    color: #dbe5ef;
}

.section {
    background: #050c16;
    color: #dbe5ef;
}

.feature-layout h2,
.feature-layout h3,
.about h2,
.about h3 {
    color: #e6edf5;
}

.feature-layout p,
.about p {
    color: #9aaabd;
}

.cards article {
    background: #0a1626;
    border: 1px solid #27415b;
    box-shadow: 0 20px 55px #00000045;
}

.cards h3 {
    color: #e6edf5;
}

.cards p {
    color: #9aaabd;
}

.journey {
    background: #030a14;
}

.steps > div {
    background: #0a1626;
    border: 1px solid #27415b;
    box-shadow: 0 15px 40px #00000035;
}

.steps h3 {
    color: #e6edf5;
}

.center p,
.steps p {
    color: #9aaabd;
}

.about {
    background: #050c16;
}

.demo {
    background:
        radial-gradient(
            ellipse at 50% 120%,
            #245b8255,
            transparent 45%
        ),
        linear-gradient(#020a14, #061728);
}

.footer {
    background: #020711;
}

@media (max-width: 620px) {
    .cards article {
        background: #0a1626;
    }
}


/* ============================================================
   ASTROSPHERE 3D COMMERCIAL EXPERIENCE
   Landing-page presentation only.
   ============================================================ */

/* ---------- HERO DEPTH ---------- */

.hero {
    perspective: 1400px;
    perspective-origin: 55% 45%;
    isolation: isolate;
    background:
        radial-gradient(
            circle at 72% 42%,
            rgba(35, 111, 205, .18),
            transparent 24%
        ),
        radial-gradient(
            circle at 88% 80%,
            rgba(18, 72, 145, .12),
            transparent 32%
        ),
        linear-gradient(
            120deg,
            #010711 0%,
            #03172f 54%,
            #010712 100%
        );
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at 68% 48%,
            rgba(63, 139, 255, .12),
            transparent 24%
        ),
        radial-gradient(
            ellipse at 82% 30%,
            rgba(92, 165, 255, .08),
            transparent 18%
        );
    filter: blur(35px);
    transform: translateZ(-100px);
}

/* ---------- STAR DEPTH LAYERS ---------- */

.stars {
    transform: translateZ(-80px) scale(1.12);
    opacity: .62;
}

.stars::before,
.stars::after {
    content: "";
    position: absolute;
    inset: -10%;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.5px);
    background-size: 220px 220px;
}

.stars::before {
    transform: translateZ(-30px) scale(1.18);
    opacity: .28;
}

.stars::after {
    background-size: 310px 310px;
    transform: translateZ(-60px) scale(1.25);
    opacity: .18;
}

/* ---------- HERO CONTENT ---------- */

.hero-grid {
    transform-style: preserve-3d;
}

.hero-copy {
    transform: translateZ(55px);
}

.hero-copy .eyebrow {
    text-shadow: 0 0 22px rgba(90, 201, 255, .28);
}

.hero h1 {
    text-shadow:
        0 5px 30px rgba(0,0,0,.35),
        0 0 45px rgba(74,151,255,.08);
}

.hero .lead {
    text-shadow: 0 3px 18px rgba(0,0,0,.35);
}

/* ---------- 3D SPACE SCENE ---------- */

.visual {
    height: 470px;
    perspective: 1100px;
    transform-style: preserve-3d;
    position: relative;
    isolation: isolate;
}

/* Ambient scene glow */

.visual::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 340px;
    right: -10px;
    top: 45px;
    border-radius: 50%;
    background:
        radial-gradient(
            ellipse,
            rgba(52, 113, 255, .17),
            rgba(38, 86, 190, .07) 38%,
            transparent 70%
        );
    filter: blur(22px);
    transform: translateZ(-70px);
    pointer-events: none;
}

/* ---------- SUN ---------- */

.sun {
    transform:
        translateZ(-120px)
        scale(1.08);
    transform-style: preserve-3d;

    background:
        radial-gradient(
            circle at 35% 30%,
            #fffbd1 0%,
            #fff4a7 12%,
            #ffd34d 30%,
            #ff9a19 58%,
            #ff6200 70%,
            rgba(255,98,0,0) 74%
        );

    box-shadow:
        0 0 55px rgba(255,174,45,.70),
        0 0 120px rgba(255,123,18,.42),
        0 0 210px rgba(255,95,0,.22);
}

.sun::before {
    content: "";
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(255,255,220,.65),
            transparent 28%
        );
    filter: blur(3px);
}

.sun::after {
    content: "";
    position: absolute;
    inset: -15%;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(255,180,48,.20),
            rgba(255,120,0,.08) 42%,
            transparent 68%
        );
    filter: blur(22px);
    z-index: -1;
}

/* ---------- GALAXY ---------- */

.galaxy {
    transform:
        translateZ(45px)
        rotateX(58deg)
        rotateZ(-18deg);

    transform-style: preserve-3d;

    background:
        repeating-radial-gradient(
            ellipse at center,
            rgba(108,174,255,.72) 0 2px,
            transparent 3px 13px
        ),
        radial-gradient(
            ellipse at center,
            #ffffff 0 1.5%,
            #a7c9ff 4%,
            #536fd9 9%,
            rgba(55,82,180,.45) 16%,
            transparent 32%
        );

    box-shadow:
        0 0 30px rgba(91,145,255,.25),
        0 0 90px rgba(61,140,255,.24),
        0 35px 70px rgba(0,0,0,.35);

    filter: saturate(1.1);
}

.galaxy::before {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background:
        radial-gradient(
            ellipse,
            rgba(255,255,255,.18),
            transparent 52%
        );
    filter: blur(10px);
    transform: translateZ(22px);
}

.galaxy::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    margin: -7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow:
        0 0 12px #ffffff,
        0 0 30px rgba(120,175,255,.95),
        0 0 60px rgba(80,125,255,.65);
    transform: translateZ(35px);
}

/* ---------- ORBITAL PLANES ---------- */

.orbit {
    transform-style: preserve-3d;
    border-color: rgba(130, 190, 255, .28);

    box-shadow:
        0 0 18px rgba(70,145,255,.06),
        inset 0 0 15px rgba(70,145,255,.03);

    backdrop-filter: blur(.3px);
}

.o1 {
    transform:
        translateZ(15px)
        rotateX(62deg)
        rotateZ(-15deg);
}

.o2 {
    transform:
        translateZ(55px)
        rotateX(62deg)
        rotateZ(-15deg);
    border-color: rgba(115, 190, 255, .38);
}

/* ---------- PLANETS ---------- */

.earth,
.jupiter,
.mars {
    transform-style: preserve-3d;
}

/* Earth */

.earth {
    transform:
        translateZ(95px)
        rotateY(-18deg);

    background:
        radial-gradient(
            circle at 30% 25%,
            #dff8ff 0%,
            #8edcff 10%,
            #287ee9 42%,
            #0d3d82 67%,
            #041a38 100%
        );

    box-shadow:
        inset -9px -7px 15px rgba(0,0,0,.42),
        inset 5px 4px 10px rgba(255,255,255,.18),
        0 8px 24px rgba(0,0,0,.35),
        0 0 25px rgba(48,147,255,.22);
}

.earth::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(150,220,255,.35);
    box-shadow: 0 0 13px rgba(87,184,255,.22);
}

/* Jupiter */

.jupiter {
    transform:
        translateZ(70px)
        rotateY(-20deg);

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #e9d4aa 0 12%,
            #9c7652 13% 24%,
            #d6b27f 25% 37%,
            #806043 38% 49%,
            #d5b681 50% 62%,
            #9c724d 63% 77%,
            #d8bf98 78% 100%
        );

    box-shadow:
        inset -16px -10px 24px rgba(0,0,0,.43),
        inset 7px 5px 12px rgba(255,255,255,.18),
        0 12px 30px rgba(0,0,0,.38),
        0 0 22px rgba(214,178,125,.14);
}

.jupiter::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 12px;
    right: 9px;
    top: 40px;
    border-radius: 50%;
    background: rgba(112,68,48,.58);
    box-shadow: inset 2px 2px 5px rgba(255,255,255,.12);
}

/* Mars */

.mars {
    transform:
        translateZ(115px)
        rotateY(-20deg);

    background:
        radial-gradient(
            circle at 32% 25%,
            #ef9b7d,
            #c65f43 45%,
            #713124 78%,
            #35150f 100%
        );

    box-shadow:
        inset -5px -4px 8px rgba(0,0,0,.42),
        inset 3px 2px 5px rgba(255,255,255,.14),
        0 7px 18px rgba(0,0,0,.34),
        0 0 15px rgba(198,95,67,.16);
}

/* ---------- FLOATING DEPTH ---------- */

.visual > * {
    will-change: transform;
    transition:
        filter .35s ease,
        box-shadow .35s ease;
}

/* ---------- GLASS CAPABILITY DECK ---------- */

.capabilities {
    transform:
        translateX(-50%)
        translateZ(70px);

    transform-style: preserve-3d;

    background:
        linear-gradient(
            135deg,
            rgba(5,25,50,.86),
            rgba(3,16,34,.72)
        );

    border-color: rgba(94,182,255,.25);

    box-shadow:
        0 25px 70px rgba(0,0,0,.42),
        0 0 45px rgba(36,113,205,.08),
        inset 0 1px 0 rgba(255,255,255,.07);

    backdrop-filter: blur(20px) saturate(130%);
}

.capabilities::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 13px;
    pointer-events: none;
    background:
        linear-gradient(
            110deg,
            rgba(255,255,255,.06),
            transparent 35%,
            transparent 70%,
            rgba(100,180,255,.04)
        );
}

.capabilities div {
    position: relative;
    transition:
        transform .25s ease,
        background .25s ease;
}

.capabilities div:hover {
    transform: translateZ(12px);
    background: rgba(65,145,230,.06);
}

/* ---------- BUTTON DEPTH ---------- */

.btn {
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.btn:hover {
    transform: translateY(-3px) translateZ(8px);
}

.primary:hover {
    box-shadow:
        0 16px 36px rgba(22,141,255,.30),
        0 0 24px rgba(48,139,255,.14);
}

.secondary:hover {
    border-color: rgba(90,190,255,.65);
    background: rgba(255,255,255,.06);
}

/* ---------- 3D FEATURE CARDS ---------- */

.cards {
    perspective: 1000px;
}

.cards article {
    transform-style: preserve-3d;
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.cards article:hover {
    transform:
        translateY(-8px)
        rotateX(3deg)
        rotateY(-3deg);
    box-shadow:
        0 30px 70px rgba(20,50,90,.18),
        0 0 30px rgba(44,145,255,.06);
    border-color: rgba(72,160,230,.30);
}

.cards article .card {
    transform: translateZ(12px);
}

/* ---------- AUDIENCE CARDS ---------- */

.audiences {
    perspective: 1200px;
}

.audiences > div {
    transform-style: preserve-3d;
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.audiences > div:hover {
    transform:
        translateY(-7px)
        rotateX(2deg)
        rotateY(-2deg);
    border-color: rgba(82,173,255,.55);
    box-shadow:
        0 25px 55px rgba(0,0,0,.28),
        0 0 30px rgba(53,139,235,.08);
}

/* ---------- JOURNEY DEPTH ---------- */

.steps {
    perspective: 1100px;
}

.steps > div {
    transform-style: preserve-3d;
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.steps > div:hover {
    transform:
        translateY(-6px)
        rotateX(2deg)
        rotateY(-2deg);
    box-shadow:
        0 25px 55px rgba(20,50,90,.14);
}

/* ---------- DEMO SECTION ---------- */

.demo {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.demo::before,
.demo::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.demo::before {
    width: 500px;
    height: 500px;
    left: -180px;
    bottom: -300px;
    background: radial-gradient(
        circle,
        rgba(47,137,255,.20),
        transparent 68%
    );
    filter: blur(20px);
}

.demo::after {
    width: 420px;
    height: 420px;
    right: -170px;
    top: -250px;
    background: radial-gradient(
        circle,
        rgba(87,181,255,.12),
        transparent 68%
    );
    filter: blur(25px);
}

/* ---------- ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
    .visual,
    .visual > *,
    .cards article,
    .audiences > div,
    .steps > div,
    .btn,
    .capabilities div {
        transition: none !important;
        animation: none !important;
    }
}

/* ---------- MOBILE ---------- */

@media (max-width: 980px) {
    .visual {
        perspective: 900px;
    }

    .galaxy {
        right: 4%;
    }

    .capabilities {
        transform:
            translateX(-50%)
            translateZ(20px);
    }
}

@media (max-width: 620px) {
    .visual {
        perspective: 700px;
        transform: scale(.82);
        transform-origin: top center;
        width: 122%;
        margin-left: -11%;
    }

    .sun {
        right: -230px;
    }

    .capabilities {
        transform: none;
    }
}

/* ============================================================
   CRISP 3D OVERRIDE
   Preserve depth while avoiding blurry GPU rasterisation.
   ============================================================ */

/* Keep the scene crisp ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â avoid 3D compositing on the objects */
.visual {
    transform: none !important;
    filter: none !important;
    will-change: auto;
}

/* Keep atmospheric glow behind objects rather than blurring
   the actual objects themselves. */
.visual::before {
    filter: blur(18px);
    transform: none;
}

/* ---------- SUN ---------- */

.sun {
    transform: none !important;
    filter: none !important;

    box-shadow:
        0 0 24px rgba(255,174,45,.72),
        0 0 55px rgba(255,123,18,.38),
        0 0 105px rgba(255,95,0,.18);
}

.sun::after {
    filter: blur(18px);
}

/* ---------- GALAXY ---------- */

.galaxy {
    transform: none !important;
    filter: none !important;

    box-shadow:
        0 0 22px rgba(91,145,255,.32),
        0 0 55px rgba(61,140,255,.20),
        0 22px 45px rgba(0,0,0,.30);
}

.galaxy::before {
    transform: none !important;
    filter: blur(7px);
}

/* ---------- ORBITS ---------- */

.orbit {
    transform: none !important;
    filter: none !important;

    box-shadow:
        0 0 12px rgba(70,145,255,.10),
        inset 0 0 10px rgba(70,145,255,.025);
}

.o1 {
    transform: rotateX(58deg) rotateZ(-15deg) !important;
}

.o2 {
    transform: rotateX(58deg) rotateZ(-15deg) !important;
}

/* ---------- PLANETS ---------- */

.earth,
.jupiter,
.mars {
    transform: none !important;
    filter: none !important;
}

/* Earth depth */

.earth {
    box-shadow:
        inset -10px -8px 16px rgba(0,0,0,.48),
        inset 5px 4px 9px rgba(255,255,255,.20),
        0 8px 20px rgba(0,0,0,.42),
        0 0 18px rgba(48,147,255,.24);
}

/* Jupiter depth */

.jupiter {
    box-shadow:
        inset -15px -10px 22px rgba(0,0,0,.48),
        inset 6px 4px 10px rgba(255,255,255,.18),
        0 10px 24px rgba(0,0,0,.42),
        0 0 16px rgba(214,178,125,.16);
}

/* Mars depth */

.mars {
    box-shadow:
        inset -6px -5px 10px rgba(0,0,0,.48),
        inset 3px 2px 5px rgba(255,255,255,.16),
        0 7px 18px rgba(0,0,0,.42),
        0 0 13px rgba(198,95,67,.18);
}

/* ---------- CAPABILITY DECK ---------- */

.capabilities {
    transform: translateX(-50%) !important;
    filter: none !important;

    box-shadow:
        0 20px 45px rgba(0,0,0,.40),
        0 0 25px rgba(36,113,205,.08),
        inset 0 1px 0 rgba(255,255,255,.08);
}

/* ---------- REMOVE BLUR FROM MAIN CONTENT ---------- */

.hero h1,
.hero .lead,
.hero-copy,
.capabilities,
.visual {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- MOBILE ---------- */

@media (max-width: 620px) {
    .visual {
        transform: none !important;
        filter: none !important;
    }
}
/* ============================================================
   ASTROSPHERE CONTACT / DEMO
   ============================================================ */

.contact-details {
    width: min(620px, 100%);
    margin: 38px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 22px;
    border: 1px solid rgba(87,181,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    text-align: left;
    transition:
        transform .22s ease,
        border-color .22s ease,
        background .22s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    border-color: rgba(87,181,255,.28);
    background: rgba(255,255,255,.045);
}

.contact-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(63,127,181,.14);
    color: #75add1;
    font-size: 1.1rem;
}

.contact-item > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item strong {
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
}

.contact-item a:not(.btn) {
    color: #aebdcd;
    font-size: .95rem;
    transition: color .2s ease;
}

.contact-item a:not(.btn):hover {
    color: #75add1;
}

.contact-demo-action {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.contact-demo-btn {
    min-width: 190px;
}

@media (max-width: 620px) {

    .contact-details {
        margin-top: 30px;
        gap: 14px;
    }

    .contact-item {
        justify-content: flex-start;
        padding: 15px 18px;
    }

    .contact-demo-action {
        margin-top: 5px;
    }

    .contact-demo-btn {
        width: 100%;
    }
}

/* Educational learning pathways */
.learning-pathways {
    background: linear-gradient(180deg, #071321 0%, #0a1c30 100%);
    color: #fff;
}

.learning-pathways .center p {
    color: #aebdcd;
}

.pathway-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.pathway-card {
    padding: 30px 26px;
    border: 1px solid #4d83aa55;
    border-radius: 18px;
    background: linear-gradient(155deg, #10263b, #071321);
    box-shadow: 0 18px 45px #00000025;
}

.pathway-card.pathway-featured {
    border-color: #65a9df;
    background: linear-gradient(155deg, #153b5b, #0a1b2d);
}

.pathway-level {
    display: inline-block;
    margin-bottom: 14px;
    color: #83c5f0;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .12em;
}

.pathway-card h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.35rem;
}

.pathway-card p {
    color: #b7c5d4;
}

.pathway-card ul {
    margin: 18px 0 0;
    padding-left: 20px;
    color: #dbe5ef;
}

.pathway-card li {
    margin: 9px 0;
}


.pathway-card .pathway-subjects {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #4d83aa55;
    color: #aebfd0;
    font-size: .9rem;
    line-height: 1.65;
}

.pathway-card .pathway-subjects strong {
    color: #83c5f0;
}
.pathway-note {
    max-width: 850px;
    margin: 28px auto 0;
    color: #9eafc1;
    font-size: .88rem;
    text-align: center;
}

.pathway-action {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

@media (max-width: 1100px) {
    .pathway-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pathway-grid {
        grid-template-columns: 1fr;
    }

    .pathway-card {
        padding: 26px;
    }
}

/* ---------- SPACE GALLERY COMPONENT ---------- */
.space-gallery {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 15%, #1558a322, transparent 38%),
        linear-gradient(145deg, #030b16, #071727 60%, #020812);
    color: #fff;
}

.space-gallery-heading {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
    align-items: end;
    margin-bottom: 38px;
}

.space-gallery-heading h2 {
    margin-bottom: 0;
}

.space-gallery-heading > p {
    color: #aebdcd;
    margin: 0 0 4px;
}

.space-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.space-gallery-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #4d83aa55;
    border-radius: 18px;
    background: linear-gradient(160deg, #10263a, #061321);
    box-shadow: 0 18px 45px #00000025;
    transition: transform 180ms ease, border-color 180ms ease;
}

.space-gallery-card:hover {
    transform: translateY(-4px);
    border-color: #75add1;
}

.space-gallery-image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #020711;
}

.space-gallery-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease;
}

.space-gallery-card:hover .space-gallery-image-link img {
    transform: scale(1.035);
}

.space-gallery-copy {
    padding: 22px;
}

.space-gallery-kicker {
    margin: 0 0 9px;
    color: #75add1;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .14em;
}

.space-gallery-copy h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.25;
}

.space-gallery-copy > p:not(.space-gallery-kicker) {
    margin: 0 0 18px;
    color: #b7c5d4;
}

.space-gallery-copy small {
    display: block;
    padding-top: 13px;
    border-top: 1px solid #ffffff18;
    color: #9aabbd;
    font-size: .75rem;
    overflow-wrap: anywhere;
}

.space-gallery-copy small a {
    color: #8fc9f1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.space-gallery-credit {
    margin: 22px 0 0;
    color: #91a2b4;
    font-size: .82rem;
    text-align: center;
}

@media (max-width: 980px) {
    .space-gallery-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .space-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .space-gallery-grid {
        grid-template-columns: 1fr;
    }

    .space-gallery-copy {
        padding: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .space-gallery-card,
    .space-gallery-image-link img {
        transition: none;
    }

    .space-gallery-card:hover,
    .space-gallery-card:hover .space-gallery-image-link img {
        transform: none;
    }
}

/* ============================================================
   ASTROSPHERE LANDING VISUAL REFINEMENT V1
   Typography hierarchy, dimensional surfaces and subtle depth.
   Existing layout and interactive experiences are preserved.
   ============================================================ */

:root {
    --as-text-primary: #f4f8ff;
    --as-text-secondary: #b8c8da;
    --as-accent: #72c5ff;
    --as-card-border: rgba(113, 178, 225, 0.28);
    --as-card-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

/* Consistent, more restrained heading scale */
.hero-copy h1 {
    font-size: clamp(2.45rem, 4.2vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 650;
    text-wrap: balance;
}

main section h2 {
    font-size: clamp(1.85rem, 3.1vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-weight: 650;
    text-wrap: balance;
}

.feature-card h3,
.pathway-card h3,
.space-gallery-copy h3 {
    font-size: clamp(1.15rem, 1.7vw, 1.35rem);
    line-height: 1.35;
    font-weight: 650;
    letter-spacing: -0.012em;
    text-wrap: balance;
}

.hero-copy p,
.hero-copy .lead {
    font-size: clamp(0.98rem, 1.3vw, 1.08rem);
    line-height: 1.75;
    color: var(--as-text-secondary);
    max-width: 60ch;
}

/* Keep copy crisp while adding depth to visual surfaces */
.hero-grid {
    perspective: 1200px;
}

.visual {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Dimensional feature cards */
.feature-card,
.pathway-card,
.space-gallery-card {
    position: relative;
    isolation: isolate;
    border-color: var(--as-card-border);
    box-shadow: var(--as-card-shadow);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition:
        transform 240ms ease,
        border-color 240ms ease,
        box-shadow 240ms ease;
}

.feature-card::before,
.pathway-card::before,
.space-gallery-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(
            135deg,
            rgba(121, 194, 255, 0.075),
            transparent 38%,
            transparent 72%,
            rgba(67, 112, 196, 0.045)
        );
    opacity: 0.85;
    z-index: -1;
}

.feature-card:hover,
.pathway-card:hover,
.space-gallery-card:hover {
    transform: translateY(-5px);
    border-color: rgba(120, 196, 255, 0.68);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.3),
        0 0 24px rgba(50, 135, 218, 0.08);
}

/* Refined imagery without changing card geometry */
.feature-card img,
.pathway-card img,
.space-gallery-image-link img {
    backface-visibility: hidden;
}

.feature-card img,
.pathway-card img {
    transition: transform 300ms ease, filter 300ms ease;
}

.feature-card:hover img,
.pathway-card:hover img {
    transform: scale(1.035);
    filter: saturate(1.08) brightness(1.04);
}

/* Improve small labels and supporting copy */
.eyebrow,
.pathway-card .eyebrow,
.space-gallery-kicker {
    font-weight: 650;
    letter-spacing: 0.12em;
}

.feature-card p,
.pathway-card p,
.space-gallery-copy > p:not(.space-gallery-kicker) {
    line-height: 1.7;
}

/* Smaller screens: retain readability and prevent oversized titles */
@media (max-width: 768px) {
    .hero-copy h1 {
        font-size: clamp(2.05rem, 7vw, 2.65rem);
        line-height: 1.14;
    }

    main section h2 {
        font-size: clamp(1.7rem, 5.5vw, 2rem);
    }

    .feature-card h3,
    .pathway-card h3,
    .space-gallery-copy h3 {
        font-size: 1.18rem;
    }
}

/* Touchscreens should not depend on hover effects */
@media (hover: none) {
    .feature-card:hover,
    .pathway-card:hover,
    .space-gallery-card:hover {
        transform: none;
    }

    .feature-card:hover img,
    .pathway-card:hover img {
        transform: none;
        filter: none;
    }
}

/* Respect accessibility settings */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .pathway-card,
    .space-gallery-card,
    .feature-card img,
    .pathway-card img {
        transition: none !important;
    }

    .feature-card:hover,
    .pathway-card:hover,
    .space-gallery-card:hover,
    .feature-card:hover img,
    .pathway-card:hover img {
        transform: none !important;
        filter: none !important;
    }
}

/* End ASTROSPHERE LANDING VISUAL REFINEMENT V1 */

/* ============================================================
   ASTROSPHERE HERO DEPTH V1
   Enhanced atmosphere, planetary lighting and orbital depth.
   ============================================================ */

.visual {
    isolation: isolate;
    perspective: 1100px;
    perspective-origin: 50% 48%;
}

.visual::before {
    content: "";
    position: absolute;
    inset: 4% 2%;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 52% 48%,
            rgba(28, 99, 172, 0.18) 0%,
            rgba(10, 41, 81, 0.11) 35%,
            transparent 72%);
    filter: blur(12px);
}

.visual .galaxy {
    filter: drop-shadow(0 0 22px rgba(105, 145, 255, 0.22));
    transform-style: preserve-3d;
}

.visual .orbit {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    filter: drop-shadow(0 0 5px rgba(101, 184, 255, 0.2));
}

.visual .earth,
.visual .jupiter,
.visual .mars {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, filter;
}

.visual .earth {
    filter:
        saturate(1.14)
        contrast(1.06)
        drop-shadow(-8px 9px 10px rgba(0, 0, 0, 0.38))
        drop-shadow(0 0 15px rgba(70, 157, 255, 0.24));
}

.visual .jupiter {
    filter:
        saturate(1.08)
        contrast(1.05)
        drop-shadow(-8px 9px 10px rgba(0, 0, 0, 0.38))
        drop-shadow(0 0 12px rgba(239, 175, 113, 0.16));
}

.visual .mars {
    filter:
        saturate(1.12)
        contrast(1.06)
        drop-shadow(-6px 7px 8px rgba(0, 0, 0, 0.4))
        drop-shadow(0 0 10px rgba(255, 111, 82, 0.15));
}

/* Keep the hero atmospheric without overpowering its text. */
.hero {
    isolation: isolate;
}

.hero .stars {
    pointer-events: none;
}

@media (max-width: 768px) {
    .visual {
        perspective: 850px;
    }

    .visual .earth,
    .visual .jupiter,
    .visual .mars {
        will-change: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .visual .earth,
    .visual .jupiter,
    .visual .mars,
    .visual .orbit {
        will-change: auto;
    }
}

/* End ASTROSPHERE HERO DEPTH V1 */

/* ASTROSPHERE TRUE WEBGL HERO V1 */
.hero .visual {
    position: relative;
    overflow: hidden;
    min-width: 0;
}
.hero .hero-3d-canvas {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: pan-y;
}
.hero .hero-3d-canvas:active {
    cursor: grabbing;
}
.hero .visual.has-webgl-scene > .galaxy,
.hero .visual.has-webgl-scene > .orbit,
.hero .visual.has-webgl-scene > .earth,
.hero .visual.has-webgl-scene > .jupiter,
.hero .visual.has-webgl-scene > .mars {
    visibility: hidden;
}
@media (max-width: 620px) {
    .hero .hero-3d-canvas {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero .hero-3d-canvas {
        cursor: default;
    }
}
/* END ASTROSPHERE TRUE WEBGL HERO V1 */

/* ASTROSPHERE PHOTO-LED HERO V1 */
.hero {
    position: relative;
    isolation: isolate;
    background-color: #020711;
    background-image:
        linear-gradient(90deg,
            rgba(2, 8, 20, .97) 0%,
            rgba(2, 8, 20, .83) 38%,
            rgba(2, 8, 20, .30) 72%,
            rgba(2, 8, 20, .18) 100%),
        linear-gradient(0deg, rgba(2, 8, 20, .80), transparent 48%),
        url("/static/images/space-gallery/earth-from-space.jpg");
    background-size: cover;
    background-position: center 42%;
}
.hero .stars,
.hero .sun {
    display: none !important;
}
.hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
}
.hero .visual {
    display: none !important;
}
.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero-copy h1 {
    text-shadow: 0 3px 24px rgba(0, 0, 0, .38);
}
.hero-copy p {
    text-shadow: 0 2px 14px rgba(0, 0, 0, .48);
}
.space-gallery-card img {
    object-fit: cover;
}
@media (max-width: 768px) {
    .hero {
        background-position: 58% center;
        background-image:
            linear-gradient(90deg, rgba(2, 8, 20, .88), rgba(2, 8, 20, .48)),
            linear-gradient(0deg, rgba(2, 8, 20, .82), transparent 70%),
            url("/static/images/space-gallery/earth-from-space.jpg");
    }
}
/* END ASTROSPHERE PHOTO-LED HERO V1 */

/* ASTROSPHERE PHOTO REFINEMENT V2 Ã¢â‚¬â€ 20261020_172920 */

/* Keep the sticky navigation clear of the hero headline. */
.hero {
    min-height: 590px;
    background-position: center 46%;
}

.hero-grid {
    min-height: 470px;
    padding-top: 36px;
    padding-bottom: 105px;
    align-items: center;
}

.hero-copy {
    transform: none;
    max-width: 700px;
}

.hero-copy h1 {
    font-size: clamp(2.35rem, 4.1vw, 3.15rem);
    line-height: 1.12;
    margin: 0 0 22px;
}

.hero-copy .lead {
    margin-top: 0;
    margin-bottom: 12px;
}

/* Real photographs inside the existing feature-card layout. */
.cards article {
    overflow: hidden;
    background: #081626;
    border: 1px solid rgba(113, 178, 225, 0.28);
}

.cards .card {
    height: 170px;
    overflow: hidden;
    background: #030b16;
}

.cards .card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 300ms ease;
}

.cards article:hover .card img {
    transform: scale(1.035);
}

.cards article h3 {
    color: #f1f6fc;
}

.cards article p {
    color: #aebdcd;
}

@media (max-width: 980px) {
    .hero {
        min-height: 660px;
    }

    .hero-grid {
        min-height: 500px;
        padding-top: 45px;
        padding-bottom: 60px;
    }
}

@media (max-width: 620px) {
    .hero {
        min-height: 700px;
    }

    .hero-grid {
        min-height: 0;
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .hero-copy h1 {
        font-size: clamp(2.1rem, 8vw, 2.65rem);
    }

    .cards .card {
        height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cards .card img {
        transition: none;
    }

    .cards article:hover .card img {
        transform: none;
    }
}

/* END ASTROSPHERE PHOTO REFINEMENT V2 */

/* ASTROSPHERE LOWER PAGE COSMIC BACKGROUND V1
   Applies only from Features to the bottom of the landing page.
   The home hero and navigation are intentionally excluded.
*/
#features,
#education,
#learning-pathways,
#space-gallery,
.journey,
#about,
#demo,
footer {
    position: relative;
    isolation: isolate;
    background-color: #030916;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Features: soft nebula glow behind the existing content. */
#features {
    background-image:
        linear-gradient(90deg, rgba(3, 9, 22, .96), rgba(3, 9, 22, .78)),
        url("/static/images/space-gallery/nebula.jpg");
}

/* Education: subtle planetary atmosphere. */
#education {
    background-image:
        linear-gradient(180deg, rgba(3, 9, 22, .91), rgba(3, 9, 22, .96)),
        url("/static/images/space-gallery/solar-system.jpg");
}

/* Learning pathways: retain contrast for grade-level cards. */
#learning-pathways {
    background-image:
        linear-gradient(180deg, rgba(4, 13, 28, .93), rgba(4, 13, 28, .96)),
        url("/static/images/space-gallery/nebula.jpg");
}

/* Gallery keeps the photography visible while preserving card readability. */
#space-gallery {
    background-image:
        linear-gradient(180deg, rgba(3, 9, 22, .86), rgba(3, 9, 22, .92)),
        url("/static/images/space-gallery/solar-system.jpg");
}

/* Journey and About: subdued cosmic texture, not a bright competing image. */
.journey,
#about {
    background-image:
        linear-gradient(180deg, rgba(3, 9, 22, .94), rgba(3, 9, 22, .96)),
        url("/static/images/space-gallery/nebula.jpg");
}

/* Demo and footer: darker finish for contact details and links. */
#demo,
footer {
    background-image:
        linear-gradient(180deg, rgba(3, 10, 24, .96), rgba(2, 7, 17, .98)),
        url("/static/images/space-gallery/solar-system.jpg");
}

/* Keep the existing content above the section backgrounds. */
#features > *,
#education > *,
#learning-pathways > *,
#space-gallery > *,
.journey > *,
#about > *,
#demo > *,
footer > * {
    position: relative;
    z-index: 1;
}

/* Mobile: keep backgrounds subtle and text easy to read. */
@media (max-width: 768px) {
    #features,
    #education,
    #learning-pathways,
    #space-gallery,
    .journey,
    #about,
    #demo,
    footer {
        background-position: center;
        background-size: cover;
    }
}

/* ============================================================
   LANDING COSMIC SCROLL V1
   Scoped to the AstroSphere landing page only.
   ============================================================ */

body.landing-cosmic-scroll {
    position: relative;
    isolation: isolate;
    background: #020711;
}

.landing-cosmic-scroll .cosmic-scroll-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #020711;
}

.landing-cosmic-scroll .cosmic-scroll-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 900ms ease;
    background-color: #020711;
}

.landing-cosmic-scroll[data-cosmic-scene="earth"] .cosmic-earth-scene,
.landing-cosmic-scroll[data-cosmic-scene="stars"] .cosmic-stars-scene,
.landing-cosmic-scroll[data-cosmic-scene="asteroid"] .cosmic-asteroid-scene,
.landing-cosmic-scroll[data-cosmic-scene="saturn"] .cosmic-saturn-scene {
    opacity: 1;
}

/* Earth remains the opening scene, using the existing project image. */
.landing-cosmic-scroll .cosmic-earth-scene {
    background-image:
        linear-gradient(90deg, rgba(2,8,20,.90), rgba(2,8,20,.30)),
        linear-gradient(0deg, #020711 0%, transparent 55%),
        url("/static/images/space-gallery/earth-from-space.jpg");
    background-size: cover;
    background-position: center 46%;
}

/* Deep space and layered starfield. */
.landing-cosmic-scroll .cosmic-stars-scene {
    background-image:
        radial-gradient(circle at 18% 25%, #fff 0 1px, transparent 1.8px),
        radial-gradient(circle at 72% 35%, #b9dcff 0 1px, transparent 2px),
        radial-gradient(circle at 45% 78%, #fff 0 1px, transparent 2px),
        radial-gradient(ellipse at 50% 50%, #102c52 0%, #030916 56%, #01040a 100%);
    background-size: 137px 151px, 211px 193px, 173px 229px, cover;
}

/* A rocky asteroid with a softly lit edge. */
.landing-cosmic-scroll .cosmic-asteroid-scene {
    background:
        radial-gradient(ellipse at 75% 30%, rgba(65,100,148,.22), transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(37,70,112,.15), transparent 42%),
        #020711;
}

.landing-cosmic-scroll .cosmic-asteroid {
    position: absolute;
    width: clamp(150px, 25vw, 330px);
    aspect-ratio: 1;
    left: 68%;
    top: 52%;
    border-radius: 42% 58% 53% 47% / 48% 38% 62% 52%;
    transform: translate(-50%, -50%) rotate(-18deg);
    background:
        radial-gradient(circle at 30% 25%, #a6a09a 0%, #77736e 15%, transparent 17%),
        radial-gradient(circle at 65% 62%, #393b40 0%, #55565a 18%, transparent 20%),
        radial-gradient(circle at 42% 58%, #88827b 0%, #595752 34%, #292c32 70%, #11151c 100%);
    box-shadow: inset -35px -28px 45px #000a,
                inset 12px 9px 22px #ffffff20,
                0 0 55px #7298c022;
}

/* Saturn and its tilted rings. */
.landing-cosmic-scroll .cosmic-saturn-scene {
    background:
        radial-gradient(ellipse at 50% 65%, rgba(45,86,130,.22), transparent 48%),
        radial-gradient(circle at 20% 22%, #fff 0 1px, transparent 2px),
        radial-gradient(circle at 80% 35%, #c5ddff 0 1px, transparent 2px),
        #020711;
    background-size: cover, 157px 171px, 223px 197px, cover;
}

.landing-cosmic-scroll .cosmic-saturn {
    position: absolute;
    width: clamp(180px, 31vw, 390px);
    aspect-ratio: 1;
    left: 68%;
    top: 52%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: repeating-linear-gradient(
        180deg,
        #bba17c 0 9%,
        #e1c79e 10% 17%,
        #8c765f 18% 22%,
        #d7bd93 23% 33%
    );
    box-shadow: inset -35px -18px 45px #0009,
                inset 10px 6px 18px #ffffff28,
                0 0 45px #d4b58a20;
}

.landing-cosmic-scroll .cosmic-saturn span {
    position: absolute;
    left: -30%;
    top: 33%;
    width: 160%;
    height: 35%;
    border: clamp(9px, 2vw, 20px) solid #c6b08b;
    border-left-color: #8f7d65;
    border-right-color: #e2cfaa;
    border-radius: 50%;
    transform: rotate(-18deg);
    box-shadow: 0 0 14px #d9c49b20;
}

.landing-cosmic-scroll .header {
    position: sticky;
    z-index: 20;
}

/* Keep section copy and cards readable while the scene changes behind them. */
.landing-cosmic-scroll main > section,
.landing-cosmic-scroll footer {
    background-color: transparent !important;
    background-image: none !important;
}

.landing-cosmic-scroll #features,
.landing-cosmic-scroll #education,
.landing-cosmic-scroll #learning-pathways,
.landing-cosmic-scroll #space-gallery,
.landing-cosmic-scroll .journey,
.landing-cosmic-scroll #about,
.landing-cosmic-scroll #demo,
.landing-cosmic-scroll footer {
    position: relative;
    isolation: isolate;
}

.landing-cosmic-scroll #features::before,
.landing-cosmic-scroll #education::before,
.landing-cosmic-scroll #learning-pathways::before,
.landing-cosmic-scroll #space-gallery::before,
.landing-cosmic-scroll .journey::before,
.landing-cosmic-scroll #about::before,
.landing-cosmic-scroll #demo::before,
.landing-cosmic-scroll footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(2,7,17,.52), rgba(2,7,17,.72));
}

.landing-cosmic-scroll .hero {
    background: transparent !important;
}

@media (max-width: 620px) {
    .landing-cosmic-scroll .cosmic-asteroid,
    .landing-cosmic-scroll .cosmic-saturn {
        left: 62%;
        top: 48%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-cosmic-scroll .cosmic-scroll-layer {
        transition: none;
    }
}
/* END LANDING COSMIC SCROLL V1 */

/* ASTROSPHERE LEARNING PATHWAYS REFINEMENT V3
   Scoped to the education pathway cards and their anchor target.
*/
#learning-pathways {
    scroll-margin-top: 100px;
}

#learning-pathways .pathway-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
}

#learning-pathways .pathway-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
}

#learning-pathways .pathway-level {
    display: flex;
    align-items: center;
    min-height: 2.8em;
    line-height: 1.4;
    box-sizing: border-box;
}

#learning-pathways .pathway-card h3 {
    min-height: 2.7em;
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
}

#learning-pathways .pathway-card > ul {
    padding-left: 1.2rem;
}

#learning-pathways .pathway-card .pathway-subjects {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #4d83aa55;
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    #learning-pathways .pathway-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }
}

@media (max-width: 640px) {
    #learning-pathways {
        scroll-margin-top: 84px;
    }

    #learning-pathways .pathway-card h3 {
        min-height: 0;
    }
}

/* End ASTROSPHERE LEARNING PATHWAYS REFINEMENT V3 */


/* ASTROSPHERE EDUCATION GRID V4 */
@media (min-width: 1101px) {
    #learning-pathways .pathway-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
        align-items: stretch;
        gap: 22px;
    }

    #learning-pathways .pathway-card {
        height: auto;
        min-height: 0;
    }
}
/* End ASTROSPHERE EDUCATION GRID V4 */

/* ASTROSPHERE WHATSAPP FLOATING BUTTON */
.astrosphere-whatsapp-fab {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 9998;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.astrosphere-whatsapp-fab:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}

.astrosphere-whatsapp-fab:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 4px;
}

.astrosphere-whatsapp-icon {
    width: 34px;
    height: 34px;
    display: block;
}

.astrosphere-whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    padding: 9px 13px;
    border-radius: 8px;
    background: #10243A;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.astrosphere-whatsapp-fab:hover .astrosphere-whatsapp-tooltip,
.astrosphere-whatsapp-fab:focus-visible .astrosphere-whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 700px) {
    .astrosphere-whatsapp-fab {
        right: 16px;
        bottom: 88px;
        width: 54px;
        height: 54px;
    }

    .astrosphere-whatsapp-icon {
        width: 31px;
        height: 31px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .astrosphere-whatsapp-fab,
    .astrosphere-whatsapp-tooltip {
        transition: none;
    }

    .astrosphere-whatsapp-fab:hover {
        transform: none;
    }
}
/* END ASTROSPHERE WHATSAPP FLOATING BUTTON */


/* ASTROSPHERE PUBLIC ACCOUNT ACCESS */
.nav nav .nav-auth-link {
    color: #dbeafe;
    font-weight: 750;
    margin-left: 4px;
}

.nav nav .nav-auth-link:hover {
    color: #ffffff;
}

.nav nav .nav-register-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid #65a9df;
    border-radius: 10px;
    background: linear-gradient(135deg, #427fae, #356b98);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 8px 22px #427fae30;
}

.nav nav .nav-register-link:hover {
    color: #ffffff;
    border-color: #9acfff;
    box-shadow: 0 10px 26px #427fae55;
}

.access-note {
    margin: 15px 0 0;
    max-width: 650px;
    color: #b9c9da;
    font-size: .88rem;
    line-height: 1.6;
}

.access-note a {
    color: #8fcaff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.access-note a:hover {
    color: #ffffff;
}

@media (max-width: 980px) {
    .nav nav .nav-auth-link,
    .nav nav .nav-register-link {
        margin: 0;
        text-align: center;
    }

    .nav nav .nav-register-link {
        width: 100%;
    }
}
/* END ASTROSPHERE PUBLIC ACCOUNT ACCESS */


/* ASTROSPHERE ACCESS NOTE SPACING REFINEMENT V1 */
.access-note {
    margin-bottom: 42px;
    position: relative;
    z-index: 5;
}

@media (max-width: 980px) {
    .access-note {
        margin-bottom: 34px;
    }
}

@media (max-width: 620px) {
    .access-note {
        margin-bottom: 28px;
    }
}
/* END ASTROSPHERE ACCESS NOTE SPACING REFINEMENT V1 */

/* ============================================================
   ASTROSPHERE LANDING CINEMATIC MOTION V3
   Earth image camera drift with fixed lighting overlays
   Landing page only
   ============================================================ */

/* Continuous cinematic camera movement across the Earth surface */
@keyframes astro-earth-camera-drift-v3 {
    0% {
        background-position:
            center center,
            center center,
            38% 44%;
    }
    50% {
        background-position:
            center center,
            center center,
            62% 56%;
    }
    100% {
        background-position:
            center center,
            center center,
            38% 44%;
    }
}

/* Starfield drift */
@keyframes astro-starfield-drift-v3 {
    0% {
        background-position:
            0 0,
            0 0,
            0 0,
            center center;
    }
    50% {
        background-position:
            70px 55px,
            -60px 45px,
            55px -65px,
            center center;
    }
    100% {
        background-position:
            0 0,
            0 0,
            0 0,
            center center;
    }
}

/* Asteroid movement */
@keyframes astro-asteroid-float-v3 {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -26px;
    }
}

/* Saturn movement */
@keyframes astro-saturn-float-v3 {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 20px;
    }
}

/* Earth: keep the lighting gradients static; move only the image layer */
.landing-cosmic-scroll .cosmic-earth-scene {
    animation: astro-earth-camera-drift-v3 40s ease-in-out infinite;
    background-size:
        100% 100%,
        100% 100%,
        135% auto;
    transform: none;
    transform-origin: center center;
    will-change: background-position;
}

/* Stars: stronger visible drift */
.landing-cosmic-scroll .cosmic-stars-scene {
    animation: astro-starfield-drift-v3 50s ease-in-out infinite;
    will-change: background-position;
}

/* Asteroid */
.landing-cosmic-scroll .cosmic-asteroid {
    animation: astro-asteroid-float-v3 12s ease-in-out infinite;
    will-change: translate;
}

/* Saturn */
.landing-cosmic-scroll .cosmic-saturn {
    animation: astro-saturn-float-v3 16s ease-in-out infinite;
    will-change: translate;
}

/* Accessibility: respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .landing-cosmic-scroll .cosmic-earth-scene,
    .landing-cosmic-scroll .cosmic-stars-scene,
    .landing-cosmic-scroll .cosmic-asteroid,
    .landing-cosmic-scroll .cosmic-saturn {
        animation: none !important;
        translate: none !important;
        transform: none !important;
        will-change: auto !important;
    }

    .landing-cosmic-scroll .cosmic-earth-scene {
        background-size: cover !important;
        background-position: center 46% !important;
    }
}

/* END ASTROSPHERE LANDING CINEMATIC MOTION V3 */




/* ============================================================
   ASTRO-PLANETARY-FLOW-V1
   Landing-only scroll-sequenced planetary motion
   ============================================================ */

.landing-cosmic-scroll .astro-planetary-flow {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    contain: layout paint;
}

.landing-cosmic-scroll .astro-flow-planet {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--planet-size, 180px);
    aspect-ratio: 1;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    overflow: hidden;
    will-change: opacity, left, top, transform;
    box-shadow:
        inset -35px -25px 55px rgba(0, 0, 0, .72),
        0 0 35px var(--planet-glow, rgba(100, 160, 255, .12));
}

.landing-cosmic-scroll .astro-flow-planet::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(115deg,
            rgba(255,255,255,.22),
            transparent 35%,
            rgba(0,0,0,.32) 75%,
            rgba(0,0,0,.62));
    pointer-events: none;
}

.landing-cosmic-scroll .astro-flow-planet.mercury {
    --planet-size: clamp(90px, 14vw, 190px);
    --planet-glow: rgba(180, 160, 140, .16);
    background:
        radial-gradient(circle at 32% 28%, #b8b0a3, #777064 42%, #4a453d 72%, #24211e);
}

.landing-cosmic-scroll .astro-flow-planet.venus {
    --planet-size: clamp(120px, 18vw, 240px);
    --planet-glow: rgba(255, 190, 90, .16);
    background:
        repeating-linear-gradient(175deg,
            transparent 0 12px,
            rgba(255,220,160,.14) 13px 18px,
            rgba(150,85,30,.16) 19px 26px),
        radial-gradient(circle at 32% 28%, #ffe0a1, #d39b50 48%, #98602f 78%, #482e1c);
}

.landing-cosmic-scroll .astro-flow-planet.earth {
    --planet-size: clamp(140px, 22vw, 310px);
    --planet-glow: rgba(60, 140, 255, .35);
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,.2), transparent 24%),
        radial-gradient(circle at 65% 55%, #4c9b43 0 10%, transparent 11%),
        radial-gradient(circle at 38% 63%, #58a84d 0 14%, transparent 15%),
        radial-gradient(circle at 48% 40%, #2673b8, #164d82 65%, #09284c);
}

.landing-cosmic-scroll .astro-flow-planet.mars {
    --planet-size: clamp(115px, 17vw, 230px);
    --planet-glow: rgba(255, 95, 45, .18);
    background:
        radial-gradient(circle at 28% 25%, #f0a078, #c65d38 45%, #843c27 78%, #45251b);
}

.landing-cosmic-scroll .astro-flow-planet.jupiter {
    --planet-size: clamp(210px, 34vw, 440px);
    --planet-glow: rgba(220, 170, 115, .16);
    background:
        radial-gradient(ellipse at 65% 38%, rgba(180,70,40,.6), transparent 13%),
        repeating-linear-gradient(0deg,
            #b58d6c 0 10px,
            #e0c4a1 11px 22px,
            #805b43 23px 31px,
            #d3b08c 33px 44px,
            #a17a5c 46px 55px),
        #b58d6c;
}

.landing-cosmic-scroll .astro-flow-planet.saturn {
    --planet-size: clamp(180px, 30vw, 380px);
    --planet-glow: rgba(210, 180, 125, .20);
    background:
        repeating-linear-gradient(0deg,
            #cdb58b 0 8px,
            #a78c65 9px 15px,
            #e3cfaa 16px 24px,
            #8c7658 25px 32px),
        #b9a078;
}

.landing-cosmic-scroll .astro-flow-planet.saturn::before {
    content: "";
    position: absolute;
    width: 170%;
    height: 42%;
    left: -35%;
    top: 31%;
    border: 13px solid rgba(190, 165, 125, .68);
    border-top-color: rgba(230, 205, 165, .72);
    border-bottom-color: rgba(100, 75, 55, .58);
    border-radius: 50%;
    transform: rotate(-18deg);
}

.landing-cosmic-scroll .astro-flow-planet.uranus {
    --planet-size: clamp(140px, 23vw, 300px);
    --planet-glow: rgba(120, 225, 245, .16);
    background:
        radial-gradient(circle at 30% 25%, #d5ffff, #86d9df 38%, #53a9b7 70%, #27627a);
}

.landing-cosmic-scroll .astro-flow-planet.neptune {
    --planet-size: clamp(140px, 23vw, 300px);
    --planet-glow: rgba(70, 100, 255, .24);
    background:
        radial-gradient(circle at 30% 25%, #7498ff, #3159dc 42%, #1a318b 75%, #101b48);
}

.landing-cosmic-scroll .astro-flow-planet.pluto {
    --planet-size: clamp(75px, 12vw, 165px);
    --planet-glow: rgba(200, 170, 150, .12);
    background:
        radial-gradient(circle at 32% 25%, #e0d0bd, #a89683 42%, #716052 72%, #3d342c);
}

/* Mobile tuning */
@media (max-width: 620px) {
    .landing-cosmic-scroll .astro-flow-planet {
        opacity: 0;
    }
}

/* Reduced-motion users still receive the planetary sequence,
   but without animated travel. */
@media (prefers-reduced-motion: reduce) {
    .landing-cosmic-scroll .astro-flow-planet {
        will-change: opacity;
    }
}

/* END ASTRO-PLANETARY-FLOW-V1 */

/* ============================================================
   ASTRO-PLANETARY-FLOW-BRIGHTNESS-V1
   Visibility enhancement for moving planetary sequence
   ============================================================ */

.landing-cosmic-scroll .astro-flow-planet {
    filter: brightness(1.45) saturate(1.30) contrast(1.12);

    box-shadow:
        0 0 24px rgba(130, 185, 255, 0.24),
        0 0 48px rgba(100, 160, 255, 0.14),
        inset -8px -8px 16px rgba(0, 0, 0, 0.16),
        inset 6px 5px 12px rgba(255, 255, 255, 0.22);
}

/* Individual planet atmospheric glow */
.landing-cosmic-scroll .astro-flow-planet.mercury {
    --planet-glow: rgba(220, 200, 175, 0.42);
}

.landing-cosmic-scroll .astro-flow-planet.venus {
    --planet-glow: rgba(255, 195, 105, 0.42);
}

.landing-cosmic-scroll .astro-flow-planet.earth {
    --planet-glow: rgba(65, 155, 255, 0.55);
}

.landing-cosmic-scroll .astro-flow-planet.mars {
    --planet-glow: rgba(255, 110, 65, 0.42);
}

.landing-cosmic-scroll .astro-flow-planet.jupiter {
    --planet-glow: rgba(235, 190, 140, 0.42);
}

.landing-cosmic-scroll .astro-flow-planet.saturn {
    --planet-glow: rgba(235, 205, 150, 0.46);
}

.landing-cosmic-scroll .astro-flow-planet.uranus {
    --planet-glow: rgba(120, 235, 255, 0.44);
}

.landing-cosmic-scroll .astro-flow-planet.neptune {
    --planet-glow: rgba(90, 125, 255, 0.50);
}

.landing-cosmic-scroll .astro-flow-planet.pluto {
    --planet-glow: rgba(220, 195, 175, 0.35);
}

/* END ASTRO-PLANETARY-FLOW-BRIGHTNESS-V1 */

/* ============================================================
   ASTRO-PLANETARY-FLOW-ZINDEX-FIX-V1
   Keep the planetary flow above the opaque page background
   ============================================================ */
.astro-planetary-flow {
    z-index: 0 !important;
}
/* END ASTRO-PLANETARY-FLOW-ZINDEX-FIX-V1 */
