/* SPUR landing first pass: navigation + hero only.
   No custom SVG artwork. Preview visuals are simple CSS surfaces. */

:root {
    --spur-cream: #FAF7F2;
    --spur-navy: #0F172A;
    --spur-slate: #1E293B;
    --spur-coral: #EF4444;
    --spur-crimson: #DC2626;
    --spur-yellow: #FACC15;
    --spur-ink: #09090B;
    --spur-muted: #57534E;
    --spur-line: #E7E1D8;
    --spur-display: "Bricolage Grotesque", "Outfit", ui-rounded, system-ui, sans-serif;
    --spur-body: "Outfit", system-ui, sans-serif;
}

body.spur-landing {
    background: var(--spur-cream);
    color: var(--spur-ink);
    font-family: var(--spur-body);
}

body.spur-landing .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgb(15 23 42 / .08) !important;
    background: rgb(250 247 242 / .94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.spur-landing .site-header a,
body.spur-landing .site-header .brand-name-text,
body.spur-landing .site-header [style*="brand-header-text"] {
    color: var(--spur-navy) !important;
}

body.spur-landing .site-header .brand-primary {
    background: var(--spur-coral) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: .55rem 1.15rem !important;
    font-weight: 700 !important;
    box-shadow: none;
}

body.spur-landing .site-header .brand-primary:hover {
    background: var(--spur-crimson) !important;
}

body.spur-landing .site-footer {
    background: var(--spur-navy);
    color: #CBD5E1;
    border-top: 0 !important;
}

.spur-hero-only {
    position: relative;
    min-height: calc(100vh - 5rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 5% 8%, rgb(239 68 68 / .1), transparent 25rem),
        radial-gradient(circle at 92% 18%, rgb(250 204 21 / .12), transparent 22rem),
        var(--spur-cream);
}

.spur-hero-only__section {
    position: relative;
    display: grid;
    align-items: center;
    min-height: calc(100vh - 5rem);
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.spur-hero-only__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    width: min(72rem, calc(100% - 2.4rem));
    margin-inline: auto;
}

.spur-hero-only__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.spur-hero-only__orb--coral {
    width: 22rem;
    height: 22rem;
    top: -10rem;
    left: -7rem;
    background: rgb(239 68 68 / .16);
}

.spur-hero-only__orb--gold {
    width: 18rem;
    height: 18rem;
    right: -5rem;
    bottom: 5rem;
    background: rgb(250 204 21 / .16);
}

.spur-hero-only__badge {
    display: inline-flex;
    margin: 0 0 1.2rem;
    padding: .42rem .9rem;
    border-radius: 999px;
    background: rgb(239 68 68 / .11);
    color: var(--spur-crimson);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.spur-hero-only h1 {
    max-width: 42rem;
    margin: 0 0 1.2rem;
    font-family: var(--spur-display);
    font-size: clamp(2.5rem, 5.5vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .99;
}

.spur-hero-only h1 span {
    display: block;
    color: var(--spur-coral);
}

.spur-hero-only__lead {
    max-width: 37rem;
    margin: 0;
    color: var(--spur-muted);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.7;
}

.spur-hero-only__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.7rem 0 1.35rem;
}

.spur-hero-only__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: .75rem 1.45rem;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s ease, background .18s ease;
}

.spur-hero-only__button:hover {
    transform: translateY(-2px) scale(1.02);
}

.spur-hero-only__button--primary {
    background: var(--spur-coral);
    color: #fff;
    box-shadow: 0 12px 25px rgb(239 68 68 / .28);
}

.spur-hero-only__button--primary:hover {
    background: var(--spur-crimson);
}

.spur-hero-only__button--outline {
    border: 1px solid #D6D3D1;
    background: #fff;
    color: var(--spur-ink);
}

.spur-hero-only__button--outline:hover {
    border-color: var(--spur-coral);
    color: var(--spur-crimson);
}

.spur-hero-only__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem 1.25rem;
    margin: 0;
    padding: 0;
    color: var(--spur-muted);
    font-size: .84rem;
    font-weight: 600;
    list-style: none;
}

.spur-hero-only__metrics li {
    position: relative;
    padding-left: .9rem;
}

.spur-hero-only__metrics li::before {
    position: absolute;
    top: .45rem;
    left: 0;
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: var(--spur-yellow);
    content: "";
}

/* Dark preview card */
.spur-hero-only__feature {
    position: relative;
}

.spur-hero-only__feature-glow {
    position: absolute;
    inset: -14%;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(250 204 21 / .32), transparent 68%);
    filter: blur(18px);
    animation: spur-hero-glow 5s ease-in-out infinite;
}

.spur-hero-only__card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgb(250 204 21 / .6);
    border-radius: 1.75rem;
    background: #0B1220;
    box-shadow: 0 28px 65px rgb(15 23 42 / .3);
    color: #fff;
    animation: spur-hero-float 6s ease-in-out infinite;
}

.spur-hero-only__card-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1.1rem;
    color: var(--spur-yellow);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.spur-hero-only__chapter {
    flex: 0 0 auto;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: var(--spur-coral);
    color: #fff;
    letter-spacing: .05em;
}

.spur-hero-only__preview {
    position: relative;
    height: 14rem;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 70% 32%, rgb(250 204 21 / .17), transparent 18%),
        linear-gradient(180deg, #172B68 0%, #10203E 62%, #0B1220 100%);
}

.spur-hero-only__preview::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 36%, rgb(255 255 255 / .035) 36.5% 37%, transparent 37.5%),
        linear-gradient(72deg, transparent 0 56%, rgb(255 255 255 / .025) 56.5% 57%, transparent 57.5%),
        radial-gradient(ellipse at 50% 100%, rgb(148 163 184 / .16), transparent 52%);
    content: "";
    opacity: .9;
}

.spur-hero-only__preview::after {
    position: absolute;
    right: -10%;
    bottom: 4%;
    left: -10%;
    height: 18%;
    border-top: 1px solid rgb(226 232 240 / .17);
    border-radius: 50%;
    background: linear-gradient(90deg, transparent, rgb(148 163 184 / .09), transparent);
    content: "";
    transform: rotate(-2deg);
}

.spur-hero-only__moon {
    position: absolute;
    z-index: 1;
    top: 10%;
    left: 57%;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 48% 45%, #FEF08A 0 7%, rgb(250 204 21 / .72) 18%, rgb(250 204 21 / .18) 44%, transparent 72%);
    animation: spur-hero-pulse 4s ease-in-out infinite;
}

.spur-hero-only__mountain {
    position: absolute;
    z-index: 2;
    bottom: -3%;
    width: 78%;
    height: 78%;
    clip-path: polygon(0 100%, 0 64%, 15% 42%, 29% 58%, 45% 18%, 61% 54%, 75% 31%, 89% 59%, 100% 42%, 100% 100%);
    background: linear-gradient(180deg, #36547A, #1D3557);
    filter: drop-shadow(0 -8px 12px rgb(15 23 42 / .1));
    animation: spur-hero-landscape 10s ease-in-out infinite;
}

.spur-hero-only__mountain--back {
    z-index: 1;
    left: -18%;
    height: 64%;
    opacity: .58;
    background: linear-gradient(180deg, #55739A, #29476C);
    animation-delay: -3s;
}

.spur-hero-only__mountain--middle {
    left: 12%;
    width: 78%;
    height: 87%;
    background: linear-gradient(180deg, #203A5D, #101C32);
}

.spur-hero-only__mountain--front {
    right: -20%;
    width: 72%;
    height: 57%;
    background: linear-gradient(180deg, #405776, #263A55);
}

.spur-hero-only__mist {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    height: 33%;
    background:
        linear-gradient(transparent, rgb(226 232 240 / .22)),
        linear-gradient(90deg, transparent, rgb(226 232 240 / .08), transparent);
    filter: blur(1px);
}

.spur-hero-only__star {
    position: absolute;
    z-index: 4;
    width: .3rem;
    height: .3rem;
    border-radius: 50%;
    background: #FEF3C7;
    box-shadow: 0 0 8px #FEF3C7;
    animation: spur-hero-twinkle 3s ease-in-out infinite;
}

.spur-hero-only__star--one { top: 28%; left: 22%; }
.spur-hero-only__star--two { top: 42%; left: 49%; animation-delay: .8s; }
.spur-hero-only__star--three { top: 20%; right: 19%; animation-delay: 1.5s; }

/* Simple CSS cube placeholder, deliberately not an SVG illustration */
.spur-hero-only__cube-panel {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.15rem .75rem;
    border: 0;
    border-top: 1px solid rgb(255 255 255 / .08);
    background: #111C31;
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.spur-hero-only__cube-panel:hover .spur-hero-only__cube {
    transform: rotateX(-12deg) rotateY(28deg) translateY(-4px);
}

.spur-hero-only__cube {
    --cube-size: 4.15rem;
    position: relative;
    flex: 0 0 var(--cube-size);
    width: var(--cube-size);
    height: var(--cube-size);
    transform-style: preserve-3d;
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
    animation: spur-hero-cube 8s ease-in-out infinite;
}

.spur-hero-only__cube-face,
.spur-hero-only__cube-core {
    position: absolute;
}

.spur-hero-only__cube-face {
    inset: 0;
    border: 1px solid rgb(250 204 21 / .72);
    box-shadow: inset 0 0 18px rgb(0 0 0 / .24);
    backface-visibility: hidden;
}

.spur-hero-only__cube-face--front {
    background: linear-gradient(145deg, #A89376, #62523E 55%, #30291F);
    transform: translateZ(calc(var(--cube-size) / 2));
}

.spur-hero-only__cube-face--right {
    background: linear-gradient(145deg, #78654B, #3A3023);
    transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2));
}

.spur-hero-only__cube-face--top {
    background: linear-gradient(145deg, #C4B08B, #806C4D);
    transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2));
}

.spur-hero-only__cube-face--front::before,
.spur-hero-only__cube-face--front::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(118deg, transparent 46%, rgb(250 204 21 / .8) 48%, transparent 50%),
        linear-gradient(12deg, transparent 48%, rgb(250 204 21 / .55) 50%, transparent 52%);
    content: "";
    opacity: .75;
}

.spur-hero-only__cube-face--front::after {
    background: radial-gradient(circle at 50% 52%, rgb(250 204 21 / .3), transparent 48%);
    animation: spur-hero-pulse 2.3s ease-in-out infinite;
}

.spur-hero-only__cube-core {
    inset: 30%;
    z-index: 2;
    border-radius: 12%;
    background:
        linear-gradient(135deg, #FFF7B2, #FACC15 48%, #B7791F);
    clip-path: polygon(50% 0, 100% 30%, 78% 100%, 22% 100%, 0 30%);
    transform: translateZ(calc(var(--cube-size) * .56));
    box-shadow: 0 0 22px 8px rgb(250 204 21 / .25);
    animation: spur-hero-pulse 2.3s ease-in-out infinite;
}

.spur-hero-only__cube-copy {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.spur-hero-only__cube-copy strong {
    color: var(--spur-yellow);
    font-family: var(--spur-display);
    font-size: 1.05rem;
}

.spur-hero-only__cube-copy em {
    color: #CBD5E1;
    font-size: .8rem;
    font-style: normal;
}

.spur-hero-only__hint {
    margin: 0;
    padding: 0 1.15rem 1.1rem;
    color: #94A3B8;
    font-size: .75rem;
}

.spur-hero-only__cube-panel.is-awakened .spur-hero-only__cube {
    animation: spur-hero-awaken .75s cubic-bezier(.34, 1.56, .64, 1) both;
}

.spur-hero-only__cube-panel.is-awakened .spur-hero-only__cube-core {
    box-shadow: 0 0 22px 8px rgb(250 204 21 / .55);
}

@keyframes spur-hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes spur-hero-glow {
    0%, 100% { opacity: .68; }
    50% { opacity: 1; }
}

@keyframes spur-hero-pulse {
    0%, 100% { opacity: .75; }
    50% { opacity: 1; }
}

@keyframes spur-hero-cube {
    0%, 100% { transform: rotateX(-15deg) rotateY(-22deg); }
    50% { transform: rotateX(10deg) rotateY(26deg); }
}

@keyframes spur-hero-awaken {
    0% { transform: scale(1) rotateX(-15deg) rotateY(-22deg); }
    55% { transform: scale(1.2) rotateX(-15deg) rotateY(180deg); }
    100% { transform: scale(1.08) rotateX(-15deg) rotateY(360deg); }
}

@keyframes spur-hero-twinkle {
    0%, 100% { opacity: .35; transform: scale(.7); }
    50% { opacity: 1; transform: scale(1.2); }
}

@media (max-width: 900px) {
    .spur-hero-only__container {
        grid-template-columns: 1fr;
        max-width: 42rem;
    }

    .spur-hero-only__feature {
        max-width: 38rem;
    }
}

@media (max-width: 600px) {
    .spur-hero-only__section {
        padding: 2.8rem 0 4rem;
    }

    .spur-hero-only__container {
        width: min(100% - 1.4rem, 42rem);
    }

    .spur-hero-only__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .spur-hero-only__card-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spur-hero-only__feature-glow,
    .spur-hero-only__card,
    .spur-hero-only__moon,
    .spur-hero-only__star,
    .spur-hero-only__cube,
    .spur-hero-only__cube-core,
    .spur-hero-only__button {
        animation: none;
        transition: none;
    }
}
