:root {
    --bg: #040807;
    --bg-soft: #07100d;
    --bg-deep: #020504;

    --surface: #0a1210;
    --surface-2: #0d1815;
    --surface-3: #111f1b;

    --accent: #63dfad;
    --accent-bright: #82f2c5;
    --accent-soft: #3bb98b;
    --accent-glow: rgba(99, 223, 173, .18);

    --cyan: #69d7d0;
    --violet: #9a8cff;

    --text-main: #eef8f4;
    --text-soft: #c0d0ca;
    --text-muted: #71827b;
    --text-dim: #4e6059;

    --border: rgba(99, 223, 173, .15);
    --border-strong: rgba(99, 223, 173, .30);
    --border-soft: rgba(255, 255, 255, .065);

    --card-bg:
        linear-gradient(
            145deg,
            rgba(15, 28, 24, .96),
            rgba(6, 12, 10, .98)
        );
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    min-height: 100vh;

    font-family: "Inter", sans-serif;

    color: var(--text-main);

    line-height: 1.6;

    background:
        radial-gradient(
            ellipse 65% 40% at 50% -10%,
            rgba(53, 170, 130, .13),
            transparent 70%
        ),
        radial-gradient(
            ellipse 45% 55% at 100% 45%,
            rgba(71, 197, 181, .055),
            transparent 75%
        ),
        radial-gradient(
            ellipse 45% 55% at 0% 65%,
            rgba(106, 91, 210, .035),
            transparent 75%
        ),
        linear-gradient(
            180deg,
            var(--bg-soft),
            var(--bg)
        );

    overflow-x: hidden;
}


/* =========================================================
   COGNITIVE ATMOSPHERE
========================================================= */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 999;

    opacity: .035;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2363dfad' stroke-opacity='.45'%3E%3Cpath d='M15 48h48l22 23h45l28-31h42'/%3E%3Cpath d='M32 164h51l27-28h49l34-38'/%3E%3Ccircle cx='63' cy='48' r='3' fill='%2363dfad'/%3E%3Ccircle cx='130' cy='71' r='3' fill='%2363dfad'/%3E%3Ccircle cx='181' cy='40' r='3' fill='%2363dfad'/%3E%3Ccircle cx='110' cy='136' r='3' fill='%2363dfad'/%3E%3C/g%3E%3C/svg%3E");

    background-size: 440px 440px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
    position: relative;

    width: 100%;

    min-height: 365px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        55px
        clamp(30px, 7vw, 110px);

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(2, 7, 5, .97) 0%,
            rgba(5, 14, 11, .88) 48%,
            rgba(2, 7, 5, .91) 100%
        ),
        url(
            "https://adel-euai.github.io/asset-hub/banner/cognitive-ai-foundation-banner.png"
        );

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    border-bottom:
        1px solid
        var(--border-soft);
}


/* Cognitive ambient field */

.main-header::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 73% 45%,
            rgba(99, 223, 173, .16),
            transparent 27%
        ),
        radial-gradient(
            circle at 84% 60%,
            rgba(105, 215, 208, .08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            transparent 35%,
            rgba(2, 5, 4, .72)
        );
}


/* Bottom transition */

.main-header::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 0;

    height: 95px;

    pointer-events: none;

    background:
        linear-gradient(
            transparent,
            var(--bg)
        );
}


/* =========================================================
   HEADER CONTENT
========================================================= */

.header-content {
    position: relative;

    z-index: 3;

    flex: 1;

    max-width: 900px;
}


/* =========================================================
   COGNITIVE LABEL
========================================================= */

.header-content::before {
    content: "COGNITIVE INTELLIGENCE SYSTEM";

    display: block;

    margin-bottom: 18px;

    color: var(--accent);

    font-size: .58rem;

    font-weight: 800;

    letter-spacing: .28em;

    text-transform: uppercase;

    opacity: .82;
}


/* =========================================================
   TITLE
========================================================= */

.gradient-text {
    margin: 0;

    display: block;

    white-space: nowrap;

    font-size:
        clamp(
            2rem,
            3.5vw,
            3.15rem
        );

    font-weight: 800;

    letter-spacing: -.055em;

    line-height: 1.05;

    color: var(--text-main);

    text-shadow:
        0 10px 40px
        rgba(0, 0, 0, .5);
}


/* Accent on first word */

.gradient-text::first-letter {
    color: var(--accent);
}


/* =========================================================
   TITLE UNDERLINE
========================================================= */

.title-underline {
    position: relative;

    width: 470px;

    max-width: 70%;

    height: 1px;

    margin:
        20px 0
        23px;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            rgba(99, 223, 173, .25),
            transparent
        );

    box-shadow:
        0 0 18px
        rgba(99, 223, 173, .18);
}


/* Small cognitive node */

.title-underline::after {
    content: "";

    position: absolute;

    right: 24%;

    top: 50%;

    width: 5px;
    height: 5px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 12px
        rgba(99, 223, 173, .65);
}


/* =========================================================
   SUBTITLE
========================================================= */

.subtitle {
    width: 100%;

    max-width: 800px;

    margin: 0 !important;

    color: var(--text-soft) !important;

    font-size:
        clamp(
            .9rem,
            1.18vw,
            1.05rem
        );

    font-weight: 400;

    letter-spacing: .018em;

    line-height: 1.85;

    text-align: left;

    opacity: 1 !important;

    text-shadow:
        0 4px 25px
        rgba(0, 0, 0, .7);
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-links {
    position: relative;

    z-index: 4;

    display: flex;

    flex-wrap: wrap;

    gap:
        9px
        26px;

    margin:
        30px 0 0;
}


.nav-links a {
    position: relative;

    color: var(--text-muted) !important;

    text-decoration: none;

    font-size: .67rem;

    font-weight: 700;

    letter-spacing: .13em;

    text-transform: uppercase;

    opacity: 1 !important;

    transition:
        color .25s ease,
        transform .25s ease;
}


.nav-links a::before {
    content: "";

    position: absolute;

    left: -9px;

    top: 50%;

    width: 3px;
    height: 3px;

    transform:
        translateY(-50%)
        scale(0);

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 8px
        var(--accent);

    transition:
        transform .25s ease;
}


.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            transparent
        );

    transition:
        width .3s ease;
}


.nav-links a:hover {
    color: var(--accent-bright) !important;

    transform:
        translateX(2px);
}


.nav-links a:hover::before {
    transform:
        translateY(-50%)
        scale(1);
}


.nav-links a:hover::after {
    width: 100%;
}


/* =========================================================
   LOGOS
========================================================= */

.main-header > .app-logo {
    position: absolute;

    z-index: 5;

    object-fit: contain;

    margin: 0;

    width: 78px;
    height: 78px;

    top: 50%;

    border-radius: 15px;

    opacity: 1 !important;

    transform:
        translateY(-50%);

    transition:
        transform .3s ease,
        filter .3s ease,
        border-color .3s ease;

    filter:
        drop-shadow(
            0 0 16px
            rgba(99, 223, 173, .28)
        );
}


/* Adel */

.main-header > .app-logo:last-of-type {
    right: 135px;

    padding: 8px;

    border:
        1px solid
        rgba(255,255,255,.08);

    background:
        rgba(255,255,255,.025);
}


/* Cognitive */

.main-header > .app-logo:first-of-type {
    right: 40px;

    padding: 7px;

    border:
        1px solid
        rgba(99,223,173,.18);

    background:
        radial-gradient(
            circle,
            rgba(99,223,173,.08),
            rgba(255,255,255,.018)
        );
}


/* Logo hover */

.main-header > .app-logo:hover {
    transform:
        translateY(-50%)
        scale(1.08);

    filter:
        drop-shadow(
            0 0 25px
            rgba(99,223,173,.55)
        );
}


/* =========================================================
   COGNITIVE STATUS LINE
========================================================= */

.main-header .header-content::after {
    content:
        "LOCAL  •  REASONING  •  MEMORY  •  INFERENCE  •  VERIFICATION";

    display: block;

    margin-top: 22px;

    color: var(--text-dim);

    font-size: .53rem;

    font-weight: 700;

    letter-spacing: .2em;

    opacity: .72;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.panel-grid-content {
    position: relative;

    display: flex;

    gap: 22px;

    width: 100%;

    margin: 0 auto;

    padding:
        58px
        clamp(20px, 6vw, 90px);
}


/* Cognitive section separator */

.panel-grid-content::before {
    content: "COGNITIVE ARCHITECTURE";

    position: absolute;

    top: 25px;
    left: clamp(20px, 6vw, 90px);

    color: var(--text-dim);

    font-size: .53rem;

    font-weight: 800;

    letter-spacing: .24em;
}


/* Main panel */

.panel-grid-content .panel-box:first-child {
    flex: 2.5;
}


/* Feature panel */

.panel-grid-content .panel-box:last-child {
    flex: 1;

    min-width: 300px;
}


/* =========================================================
   PANELS
========================================================= */

.panel-box {
    position: relative;

    flex: 1;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    padding:
        26px
        28px
        30px;

    background:
        var(--card-bg);

    border:
        1px solid
        var(--border);

    border-radius: 13px;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, .28);

    backdrop-filter:
        blur(12px);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.panel-box:hover {
    border-color:
        var(--border-strong);

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, .34),
        0 0 35px
        rgba(99, 223, 173, .035);
}


/* Top cognition line */

.panel-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(99,223,173,.55),
            rgba(105,215,208,.25),
            transparent
        );
}


/* Corner signal */

.panel-box::after {
    content: "◆";

    position: absolute;

    top: 17px;
    right: 19px;

    color: var(--accent);

    font-size: 6px;

    opacity: .55;

    text-shadow:
        0 0 10px
        rgba(99,223,173,.6);
}


/* =========================================================
   PANEL TITLE
========================================================= */

.panel-title {
    margin:
        0 0 22px;

    font-size: .78rem;

    font-weight: 800;

    letter-spacing: .22em;

    text-align: left;

    text-transform: uppercase;

    color: var(--text-main);
}


.panel-title::before {
    content: "01";

    margin-right: 10px;

    color: var(--accent);

    font-size: .58rem;

    letter-spacing: .1em;
}


/* =========================================================
   CAROUSEL
========================================================= */

.carousel {
    position: relative;

    width: 100%;

    aspect-ratio: 2.25 / 1;

    margin: 0 auto;

    overflow: hidden;

    background:
        #050908;

    border:
        1px solid
        rgba(99,223,173,.10);

    border-radius: 10px;

    box-shadow:
        inset 0 0 50px
        rgba(0,0,0,.3);
}


.carousel::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(99,223,173,.04),
            transparent 35%,
            rgba(105,215,208,.025)
        );
}


.carousel img {
    width: 100%;
    height: 100%;

    flex-shrink: 0;

    object-fit: cover;
}


.carousel-track {
    display: flex;

    height: 100%;

    transition:
        transform .55s
        cubic-bezier(.2,.8,.2,1);
}


.carousel-track img {
    width: 100%;

    flex-shrink: 0;
}


/* =========================================================
   CAROUSEL BUTTONS
========================================================= */

.nav-btn {
    position: absolute;

    z-index: 3;

    top: 50%;

    width: 40px;
    height: 70px;

    transform:
        translateY(-50%);

    border:
        1px solid
        rgba(99,223,173,.13);

    background:
        rgba(3,9,7,.74);

    color:
        var(--text-soft);

    cursor: pointer;

    font-size: 1rem;

    backdrop-filter:
        blur(10px);

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}


.nav-btn:hover {
    color: var(--accent-bright);

    background:
        rgba(44,105,83,.22);

    border-color:
        rgba(99,223,173,.38);
}


.next {
    right: 0;
}


.prev {
    left: 0;
}


/* =========================================================
   FEATURES
========================================================= */

.features-wrapper {
    position: relative;

    height: 550px;

    overflow: hidden;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 6%,
            black 92%,
            transparent
        );
}


.features-grid {
    height: auto;

    display: flex;

    flex-direction: column;

    gap: 10px;

    animation:
        cognitiveScroll
        34s
        linear
        infinite;
}


@keyframes cognitiveScroll {

    0% {
        transform:
            translateY(0);
    }

    100% {
        transform:
            translateY(-50%);
    }
}


/* =========================================================
   FEATURE CARD
========================================================= */

.feature-card {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 7px;

    padding:
        17px
        19px;

    background:
        linear-gradient(
            145deg,
            rgba(15,29,25,.92),
            rgba(7,13,11,.98)
        );

    border:
        1px solid
        rgba(99,223,173,.09);

    border-radius: 9px;

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;
}


.feature-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 12px;
    bottom: 12px;

    width: 1px;

    background:
        linear-gradient(
            transparent,
            var(--accent),
            transparent
        );

    opacity: .3;
}


.feature-card:hover {
    transform:
        translateX(5px);

    border-color:
        rgba(99,223,173,.30);

    background:
        linear-gradient(
            145deg,
            rgba(20,39,33,.96),
            rgba(8,15,12,.98)
        );
}


.feature-icon {
    margin: 0;

    color: var(--accent);

    font-size: 1.25rem;

    line-height: 1;

    filter:
        drop-shadow(
            0 0 7px
            rgba(99,223,173,.18)
        );
}


.feature-card h3 {
    margin: 0;

    color: #dcebe5;

    font-size: .87rem;

    font-weight: 700;

    letter-spacing: .025em;
}


.feature-card p {
    margin: 0;

    color: #81938b;

    font-size: .76rem;

    font-weight: 400;

    line-height: 1.65;
}


/* =========================================================
   CTA
========================================================= */

.cta-wrapper {
    position: relative;

    text-align: center;

    margin:
        20px 0 65px;
}


/* Small label */

.cta-wrapper::before {
    content:
        "ENTER THE COGNITIVE ENVIRONMENT";

    display: block;

    margin-bottom: 10px;

    color: var(--text-dim);

    font-size: .5rem;

    font-weight: 800;

    letter-spacing: .25em;
}


.primary-btn {
    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 280px;

    min-height: 52px;

    margin:
        20px 0;

    padding:
        15px
        34px;

    overflow: hidden;

    border:
        1px solid
        rgba(99,223,173,.5);

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #c6ffe8,
            #75ddb3
        );

    color:
        #03110b;

    text-decoration: none;

    font-size: .72rem;

    font-weight: 900;

    letter-spacing: .15em;

    text-transform: uppercase;

    box-shadow:
        0 12px 40px
        rgba(47,175,126,.10);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        filter .3s ease;
}


.primary-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 60%;
    height: 100%;

    transform:
        skewX(-20deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.45),
            transparent
        );

    transition:
        left .6s ease;
}


.primary-btn:hover {
    transform:
        translateY(-4px);

    filter:
        brightness(1.04);

    box-shadow:
        0 18px 50px
        rgba(47,175,126,.20);
}


.primary-btn:hover::before {
    left: 140%;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    position: relative;

    width: 100%;

    margin:
        20px auto 0;

    padding:
        70px
        20px;

    background:
        linear-gradient(
            145deg,
            #07100d,
            #091511
        );

    border-top:
        1px solid
        rgba(99,223,173,.08);

    border-bottom:
        1px solid
        rgba(255,255,255,.035);
}


.contact-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 15%;

    width: 70%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--accent),
            transparent
        );

    opacity: .38;
}


.contact-container {
    max-width: 1100px;

    margin: 0 auto 20px;

    text-align: center;
}


.contact-header {
    margin-bottom: 38px;
}


.contact-title {
    display: inline-block;

    margin:
        0 0 12px;

    font-size:
        clamp(
            1.5rem,
            2.4vw,
            1.9rem
        );

    font-weight: 800;

    letter-spacing: -.035em;

    color: var(--text-main);
}


.contact-title::before {
    content: "COGNITIVE NETWORK";

    display: block;

    margin-bottom: 10px;

    color: var(--accent);

    font-size: .5rem;

    font-weight: 800;

    letter-spacing: .25em;
}


.contact-text {
    max-width: 820px;

    margin: 0 auto;

    color: #899b93;

    font-size: .86rem;

    line-height: 1.85;
}


/* =========================================================
   CONTACT CARDS
========================================================= */

.contact-methods {
    display: flex;

    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;
}


.contact-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 250px;

    padding:
        18px
        28px;

    overflow: hidden;

    background:
        rgba(255,255,255,.018);

    border:
        1px solid
        rgba(99,223,173,.09);

    border-radius: 9px;

    text-decoration: none;

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;
}


.contact-card::before {
    content: "↗";

    position: absolute;

    top: 10px;
    right: 13px;

    color: var(--accent);

    font-size: 10px;

    opacity: .45;
}


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

    background:
        rgba(99,223,173,.045);

    border-color:
        rgba(99,223,173,.28);
}


.contact-value {
    color:
        #b9dcd0;

    font-size: .87rem;

    font-weight: 600;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 100%;

    padding:
        38px
        20px
        27px;

    background:
        var(--bg-deep);

    color: var(--text-muted);

    font-size: 11px;

    border-top:
        1px solid
        rgba(255,255,255,.045);
}


.footer-container {
    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;
}


.footer-left {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;
}


.footer-built {
    display: flex;

    align-items: center;

    color: #81918a;

    line-height: 1;

    font-weight: 500;
}


.footer-logo {
    width: 34px;
    height: 34px;

    object-fit: cover;

    border-radius: 6px;

    filter:
        drop-shadow(
            0 0 10px
            rgba(99,223,173,.18)
        );

    transition:
        transform .3s ease,
        filter .3s ease;
}


.footer-logo:hover {
    transform:
        scale(1.07);

    filter:
        drop-shadow(
            0 0 16px
            rgba(99,223,173,.35)
        );
}


.footer-right {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;
}


.footer-right:hover .footer-logo {
    transform:
        scale(1.07);
}


.footer-separator {
    color: #33413b;
}


/* =========================================================
   TRADEMARK
========================================================= */

.tm-mark {
    position: relative;

    top: -7px;
    right: 4px;

    color: #87968f;

    font-size: 14px;

    opacity: .75;
}


/* =========================================================
   LEGACY SUPPORT
========================================================= */

.site-title {
    margin-bottom: 5px;

    color: #ffffff;

    font-size: 2.5rem;
}


.site-title + .title-underline {
    width: 600px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            transparent
        );
}


/* =========================================================
   LOGIN / TERMS
========================================================= */

.terms-modal {
    position: fixed;

    inset: 0;

    z-index: 100;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 24px;
}


.terms-modal.is-open {
    display: flex;
}


.terms-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(1,5,4,.84);

    backdrop-filter:
        blur(14px);

    opacity: 0;

    animation:
        modalFade .22s ease
        forwards;
}


.terms-card {
    position: relative;

    width:
        min(500px,100%);

    padding: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(11,24,19,.98),
            rgba(4,10,8,.99)
        );

    border:
        1px solid
        rgba(99,223,173,.18);

    border-radius: 16px;

    box-shadow:
        0 35px 100px
        rgba(0,0,0,.7),

        0 0 70px
        rgba(99,223,173,.07);

    transform:
        translateY(12px)
        scale(.98);

    opacity: 0;

    animation:
        modalCard
        .28s
        cubic-bezier(.2,.8,.2,1)
        .03s
        forwards;
}


.terms-close {
    position: absolute;

    right: 16px;
    top: 12px;

    border: 0;

    background: none;

    color: #687b73;

    font-size: 26px;

    cursor: pointer;
}


.terms-close:hover {
    color: var(--accent);
}


.terms-kicker {
    color: var(--accent);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .22em;
}


.terms-card h2 {
    margin:
        12px 0 10px;

    color: var(--text-main);

    font-size: 30px;

    letter-spacing: -.04em;
}


.terms-intro {
    margin:
        0 0 22px;

    color: #899b93;

    font-size: 13px;

    line-height: 1.7;
}


.terms-check {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 15px;

    color: #b5c6bf;

    background:
        rgba(99,223,173,.018);

    border:
        1px solid
        rgba(99,223,173,.09);

    border-radius: 10px;

    font-size: 12px;

    line-height: 1.6;

    cursor: pointer;
}


.terms-check input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.checkmark {
    width: 18px;
    height: 18px;

    flex:
        0 0 18px;

    margin-top: 1px;

    position: relative;

    border:
        1px solid
        #455951;

    border-radius: 5px;
}


.terms-check input:checked + .checkmark {
    background:
        var(--accent);

    border-color:
        var(--accent);

    box-shadow:
        0 0 15px
        rgba(99,223,173,.18);
}


.terms-check input:checked + .checkmark::after {
    content: "✓";

    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    color: #03110b;

    font-size: 12px;

    font-weight: 900;
}


.terms-check a {
    color: var(--accent);

    text-decoration: none;
}


.terms-check a:hover {
    text-decoration: underline;
}


.terms-continue {
    width: 100%;

    margin-top: 14px;

    padding: 14px 18px;

    border:
        1px solid
        rgba(99,223,173,.25);

    border-radius: 9px;

    background:
        var(--accent);

    color: #03110b;

    font-size: 10px;

    font-weight: 850;

    letter-spacing: .11em;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.terms-continue span {
    margin-left: 10px;

    font-size: 15px;
}


.terms-continue:disabled {
    cursor: not-allowed;

    opacity: .32;

    filter: grayscale(1);
}


.terms-continue:not(:disabled):hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 15px 40px
        rgba(99,223,173,.16);
}


.terms-footnote {
    margin:
        14px 2px 0;

    color: #596c64;

    font-size: 9px;

    line-height: 1.55;
}


body.modal-lock {
    overflow: hidden;
}


/* =========================================================
   LOGIN MODAL
========================================================= */

.login-modal {
    position: fixed;

    inset: 0;

    z-index: 110;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 24px;
}


.login-modal.is-open {
    display: flex;
}


.login-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(1,5,4,.87);

    backdrop-filter:
        blur(14px);
}


.login-card {
    position: relative;

    width:
        min(430px,100%);

    padding: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(11,24,19,.99),
            rgba(4,10,8,.99)
        );

    border:
        1px solid
        rgba(99,223,173,.18);

    border-radius: 16px;

    box-shadow:
        0 35px 100px
        rgba(0,0,0,.72),

        0 0 65px
        rgba(99,223,173,.06);
}


.login-close {
    position: absolute;

    right: 16px;
    top: 12px;

    border: 0;

    background: none;

    color: #687b73;

    font-size: 26px;

    cursor: pointer;
}


.login-close:hover {
    color: var(--accent);
}


.login-card h2 {
    margin:
        12px 0 10px;

    color: var(--text-main);

    font-size: 30px;

    letter-spacing: -.04em;
}


.login-intro {
    margin:
        0 0 24px;

    color: #899b93;

    font-size: 13px;

    line-height: 1.7;
}


.login-card label {
    display: block;

    margin-bottom: 16px;

    color: #899b93;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.login-input {
    display: block;

    width: 100%;

    margin-top: 8px;

    padding: 13px 14px;

    box-sizing: border-box;

    outline: none;

    background:
        #050b08;

    color:
        #eef8f4;

    border:
        1px solid
        rgba(99,223,173,.10);

    border-radius: 8px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.login-input:focus {
    border-color:
        rgba(99,223,173,.5);

    box-shadow:
        0 0 0 3px
        rgba(99,223,173,.05);
}


.login-error {
    min-height: 18px;

    margin:
        4px 0 8px;

    color:
        #ff7d7d;

    font-size: 11px;
}


.login-card .terms-continue {
    margin-top: 4px;
}


/* =========================================================
   MODAL ANIMATIONS
========================================================= */

@keyframes modalFade {

    to {
        opacity: 1;
    }
}


@keyframes modalCard {

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .main-header {
        min-height: 330px;

        padding:
            45px
            35px;
    }


    .panel-grid-content {
        flex-direction: column;

        padding:
            55px
            25px
            35px;
    }


    .panel-grid-content .panel-box:first-child,
    .panel-grid-content .panel-box:last-child {
        flex: 1;

        min-width: 100%;
    }


    .features-wrapper {
        height: auto;

        mask-image: none;
    }


    .features-grid {
        animation: none;
    }


    .features-grid .feature-card:nth-child(n+6) {
        display: none;
    }


    .main-header > .app-logo {
        width: 62px;
        height: 62px;
    }


    .main-header > .app-logo:first-of-type {
        right: 28px;
    }


    .main-header > .app-logo:last-of-type {
        right: 100px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .main-header {
        min-height: auto;

        display: block;

        padding:
            42px
            24px
            105px;
    }


    .header-content {
        width: 100%;

        max-width: none;

        text-align: left;
    }


    .header-content::before {
        font-size: .5rem;

        letter-spacing: .19em;
    }


    .gradient-text {
        white-space: normal;

        font-size:
            clamp(
                1.75rem,
                7vw,
                2.35rem
            );

        line-height: 1.1;
    }


    .title-underline {
        width: 75%;

        max-width: none;

        margin:
            17px 0
            20px;
    }


    .subtitle {
        font-size: 13px;

        line-height: 1.75;
    }


    .nav-links {
        gap:
            10px
            19px;

        margin-top: 25px;
    }


    .nav-links a {
        font-size: .59rem;
    }


    .main-header .header-content::after {
        font-size: .43rem;

        line-height: 2;

        letter-spacing: .12em;
    }


    .main-header > .app-logo {
        top: auto;

        bottom: 30px;

        width: 48px;
        height: 48px;

        transform: none;
    }


    .main-header > .app-logo:hover {
        transform:
            scale(1.07);
    }


    .main-header > .app-logo:first-of-type {
        right: 25px;
    }


    .main-header > .app-logo:last-of-type {
        right: 84px;
    }


    .panel-grid-content {
        padding:
            50px
            15px
            25px;

        gap: 15px;
    }


    .panel-grid-content::before {
        left: 15px;

        font-size: .48rem;
    }


    .panel-box {
        padding:
            21px
            19px
            22px;
    }


    .panel-title {
        font-size: .7rem;
    }


    .carousel {
        aspect-ratio: 1.55 / 1;
    }


    .feature-card {
        padding:
            15px
            16px;
    }


    .contact-section {
        padding:
            55px
            15px;
    }


    .contact-card {
        width: 90%;

        min-width: 0;
    }


    .footer-container {
        flex-direction: column;

        gap: 20px;

        text-align: center;
    }


    .footer-left,
    .footer-right {
        justify-content: center;

        flex-wrap: wrap;
    }


    .primary-btn {
        width: 100%;

        max-width: 290px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .main-header {
        padding:
            35px
            17px
            100px;
    }


    .header-content::before {
        margin-bottom: 14px;

        font-size: .43rem;
    }


    .gradient-text {
        font-size:
            1.55rem;

        letter-spacing:
            -.04em;
    }


    .title-underline {
        width: 82%;

        margin:
            15px 0
            17px;
    }


    .subtitle {
        font-size: 12px;
    }


    .nav-links {
        gap:
            9px
            14px;
    }


    .nav-links a {
        font-size: .54rem;
    }


    .main-header .header-content::after {
        font-size: .38rem;

        letter-spacing: .08em;
    }


    .main-header > .app-logo {
        width: 42px;
        height: 42px;

        bottom: 27px;
    }


    .main-header > .app-logo:first-of-type {
        right: 17px;
    }


    .main-header > .app-logo:last-of-type {
        right: 68px;
    }


    .panel-grid-content {
        padding:
            47px
            12px
            20px;
    }


    .panel-box {
        padding:
            19px
            16px;
    }


    .panel-title {
        font-size: .64rem;

        letter-spacing: .17em;
    }


    .carousel {
        aspect-ratio:
            1.25 / 1;
    }


    .nav-btn {
        width: 31px;

        height: 52px;

        font-size: .85rem;
    }


    .contact-title {
        font-size:
            1.4rem;
    }


    .contact-text {
        font-size:
            .78rem;
    }


    .terms-card,
    .login-card {
        padding:
            28px
            22px;
    }


    .terms-card h2,
    .login-card h2 {
        font-size: 25px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }
}