:root {
    --background: #102a46;
    --foreground: #f5f8ff;
    --muted: #c1d1e3;
    --accent: #80caff;
    --accent-light: #d8edff;
    --line: rgba(211, 232, 255, 0.22);

    --font-body: "DM Sans", sans-serif;
    --font-heading: "Manrope", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 90% 8%, #345b86 0%, transparent 37%),
        radial-gradient(ellipse at 48% 100%, #1b3b61 0%, transparent 50%),
        linear-gradient(125deg, #10243c 0%, #173b60 55%, #102b48 100%);
    color: var(--foreground);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

/* Background lighting */

.background-glow {
    position: fixed;
    z-index: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.13;
}

.glow-one {
    top: 10%;
    right: 12%;
    background: #76c7ff;
}

.glow-two {
    bottom: 0;
    left: 25%;
    background: #398de0;
}

/* Header */

.navbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 7.5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    animation: fade-down 0.8s ease both;
}

.brand {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    line-height: 1;
}

.brand-description {
    color: #d0e0f1;
    font-size: 0.57rem;
    line-height: 1.6;
    letter-spacing: 0.11em;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d4e5f7;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.14em;
}

.status-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #8bd5ff;
    box-shadow: 0 0 16px #76caff;
    animation: pulse 2.5s ease-in-out infinite;
}

/* Hero layout */

.hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    flex: 1;
    width: 100%;
    max-width: 1600px;
    min-height: 620px;
    margin: 0 auto;
    padding: 65px 7.5% 90px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    animation: fade-up 0.9s 0.1s ease both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    color: #9cdbff;
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.eyebrow-line {
    width: 42px;
    height: 1px;
    background: #8bd4ff;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.6rem, 6.1vw, 6.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.075em;
}

.headline-accent {
    display: block;
    background: linear-gradient(
        100deg,
        #74b9ee,
        #a5dfff 75%,
        #c2e9ff
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 480px;
    margin-top: 28px;
    color: #d0ddec;
    font-size: 1rem;
    line-height: 1.95;
}

.hero-actions {
    margin-top: 38px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 58px;
    padding: 0 25px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 15px;
    background: linear-gradient(115deg, #c5e5ff, #f5faff);
    color: #153452;
    font-size: 0.87rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(4, 17, 34, 0.12);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.primary-button:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 12px 36px rgba(126, 200, 255, 0.22);
}

.primary-button:focus-visible {
    outline: 2px solid white;
    outline-offset: 5px;
}

.button-arrow {
    font-size: 1.2rem;
    transition: transform 0.25s ease;
}

.primary-button:hover .button-arrow {
    transform: translate(3px, -3px);
}

.coming-soon {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
}

.coming-soon-line {
    width: 42px;
    height: 1px;
    background: #88cfff;
}

.coming-soon p {
    color: #b9d2eb;
    font-size: 0.82rem;
}

/* Orbital artwork */

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    justify-self: end;
    width: 100%;
    max-width: 510px;
    aspect-ratio: 1;
    animation: fade-in 1.2s 0.25s ease both;
}

.orbit {
    position: absolute;
    width: 76%;
    height: 76%;
    border: 1px solid rgba(124, 193, 255, 0.52);
    border-radius: 50%;
}

.orbit-one {
    transform: rotate(-32deg) scaleX(1.12);
    animation: orbit-spin 28s linear infinite;
}

.orbit-two {
    width: 92%;
    height: 46%;
    border-color: rgba(120, 195, 255, 0.52);
    transform: rotate(-28deg);
    animation: orbit-spin 32s linear infinite reverse;
}

.orbit-three {
    width: 46%;
    height: 94%;
    border-color: rgba(156, 212, 255, 0.4);
    transform: rotate(12deg);
    animation: orbit-spin 38s linear infinite;
}

.orbit-point {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, white, #62baff 70%);
    box-shadow: 0 0 18px rgba(105, 192, 255, 0.8);
}

.point-one {
    top: 6%;
    right: 13%;
}

.point-two {
    top: 3%;
    left: 21%;
}

.point-three {
    bottom: 5%;
    right: 18%;
}

.visual-core {
    position: relative;
    display: grid;
    place-items: center;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(179, 221, 255, 0.18);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(113, 179, 232, 0.12) 0%,
        rgba(65, 125, 185, 0.06) 45%,
        transparent 75%
    );
    box-shadow:
        0 0 70px rgba(80, 165, 255, 0.12),
        inset 0 0 50px rgba(115, 190, 255, 0.05);
}

.visual-core svg {
    width: 150px;
    height: 150px;
    color: #e6f5ff;
    filter: drop-shadow(0 0 10px rgba(130, 207, 255, 0.3));
}

.visual-caption {
    position: absolute;
    right: 0;
    bottom: 9%;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #c1e3ff;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.17em;
}

.caption-line {
    width: 42px;
    height: 1px;
    background: #8bd4ff;
}

/* Page index */

.hero-index {
    position: absolute;
    bottom: 30px;
    left: 7.5%;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #c0d9f0;
    font-size: 0.7rem;
}

.hero-index span:first-child {
    color: white;
}

.index-divider {
    width: 48px;
    height: 1px;
    background: #8abce8;
}

/* Footer */

.footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 7.5%;
    border-top: 1px solid var(--line);
}

.footer p {
    color: #b9cee3;
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.footer-tagline {
    text-align: right;
    letter-spacing: 0.04em !important;
}

/* Animations */

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

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

@keyframes fade-in {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.55;
    }
}

@keyframes orbit-spin {
    from {
        rotate: 0deg;
    }
    to {
        rotate: 360deg;
    }
}

/* Tablet */

@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr 0.8fr;
        padding-right: 5%;
        padding-left: 6%;
    }

    h1 {
        font-size: clamp(3.3rem, 6vw, 5rem);
    }

    .hero-visual {
        max-width: 390px;
    }

    .visual-core {
        width: 145px;
        height: 145px;
    }

    .visual-core svg {
        width: 125px;
        height: 125px;
    }

    .brand-symbol {
        width: 56px;
        height: 56px;
    }

    .brand-name {
        font-size: 1.5rem;
    }
}

/* Mobile */

@media (max-width: 680px) {
    .navbar {
        align-items: flex-start;
        padding: 23px 6%;
    }

    .brand {
        gap: 10px;
    }

    .brand-symbol {
        width: 43px;
        height: 43px;
    }

    .brand-name {
        font-size: 1.15rem;
        letter-spacing: 0.2em;
    }

    .brand-description {
        font-size: 0.43rem;
    }

    .nav-status {
        max-width: 125px;
        gap: 8px;
        font-size: 0.49rem;
        line-height: 1.6;
        letter-spacing: 0.06em;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 15px;
        min-height: auto;
        padding: 68px 7% 95px;
    }

    .eyebrow {
        gap: 12px;
        margin-bottom: 24px;
        font-size: 0.59rem;
        letter-spacing: 0.14em;
    }

    .eyebrow-line {
        width: 28px;
    }

    h1 {
        font-size: clamp(3.35rem, 12vw, 5rem);
    }

    .hero-description {
        margin-top: 23px;
        font-size: 0.94rem;
        line-height: 1.85;
    }

    .hero-actions {
        margin-top: 29px;
    }

    .primary-button {
        min-height: 54px;
        gap: 15px;
        padding: 0 19px;
        border-radius: 12px;
        font-size: 0.8rem;
    }

    .coming-soon {
        gap: 12px;
        margin-top: 30px;
    }

    .coming-soon-line {
        width: 28px;
    }

    .coming-soon p {
        font-size: 0.76rem;
    }

    .hero-visual {
        width: min(100%, 340px);
        max-width: 340px;
        justify-self: center;
        margin: 5px auto 0;
    }

    .visual-core {
        width: 125px;
        height: 125px;
    }

    .visual-core svg {
        width: 105px;
        height: 105px;
    }

    .visual-caption {
        right: 0;
        bottom: 7%;
        gap: 8px;
        font-size: 0.52rem;
    }

    .caption-line {
        width: 24px;
    }

    .hero-index {
        bottom: 28px;
        left: 7%;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 23px 7%;
    }

    .footer p {
        font-size: 0.55rem;
    }

    .footer-tagline {
        text-align: left;
    }
}

/* Small phones */

@media (max-width: 380px) {
    .nav-status {
        max-width: 105px;
        font-size: 0.44rem;
    }

    .brand-symbol {
        width: 36px;
        height: 36px;
    }

    .brand-name {
        font-size: 1rem;
    }

    h1 {
        font-size: 3.05rem;
    }

    .hero {
        padding-top: 55px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}