/* ----------- Navigation ----------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 50;
    transition: background var(--dur-mid) var(--ease-soft),
                backdrop-filter var(--dur-mid) var(--ease-soft),
                border-color var(--dur-mid) var(--ease-soft);
    border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
    background: rgba(7, 7, 22, 0.72);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--border);
}

.nav__inner {
    max-width: var(--container);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav__logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--grad-primary);
    box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.6);
    position: relative;
}
.nav__logo-mark::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 4px;
    background: var(--bg-base);
    opacity: 0.85;
}

.nav__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.nav__logo-text strong {
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}
.nav__logo-text em {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.nav__links {
    display: flex;
    gap: var(--space-md);
    margin-left: auto;
}
.nav__links a {
    color: var(--text-secondary);
    font-size: 0.92rem;
    padding: 0.5rem 0.25rem;
    position: relative;
    transition: color var(--dur-fast) var(--ease-out);
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 2px;
    height: 1px;
    background: var(--grad-primary);
    transition: right var(--dur-mid) var(--ease-out);
}
.nav__links a:hover::after { right: 0; }

.nav__cta {
    padding: 0.6rem 1.15rem;
    border-radius: var(--radius-pill);
    background: var(--grad-primary);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 500;
    box-shadow: 0 8px 24px -10px rgba(236, 72, 153, 0.55);
    transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}
.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px -10px rgba(236, 72, 153, 0.7);
}

.nav__burger {
    display: none;
    width: 38px; height: 38px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav__burger span {
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    transition: transform var(--dur-fast), opacity var(--dur-fast);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ----------- Hero ----------- */
.hero {
    min-height: 100vh;
    padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-lg) var(--space-xl);
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    margin-bottom: var(--space-md);
}
.hero__eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 12px var(--ok);
}

.hero__title {
    margin-bottom: var(--space-md);
}

.hero__sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: var(--space-lg);
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    max-width: 540px;
}
.hero__stats li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.hero__stats strong {
    font-size: 1.55rem;
    font-weight: 600;
    background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.hero__stats span {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.hero__scene {
    position: relative;
    height: 540px;
    perspective: 1400px;
    transform-style: preserve-3d;
}

.scene__layer {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform var(--dur-slow) var(--ease-soft);
    will-change: transform;
}

.scene__ring {
    position: absolute;
    width: 460px; height: 460px;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 100px 30px rgba(99, 102, 241, 0.18) inset;
}
.scene__ring::after {
    content: "";
    position: absolute;
    inset: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 65%);
}

.hero__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 38px;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}
.hero__scroll span {
    width: 2px; height: 7px;
    background: var(--text-secondary);
    border-radius: 1px;
    animation: scrollDot 1.8s var(--ease-soft) infinite;
}

/* ----------- Section base ----------- */
.section {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
}

.section__head {
    max-width: 760px;
    margin-bottom: var(--space-xl);
}

.section__head--split {
    max-width: none;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-xl);
    align-items: end;
}

.section__kicker {
    display: inline-block;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}
.section__kicker::before {
    content: "— ";
    color: var(--grad-b);
}

.section__title {
    margin-bottom: var(--space-md);
}

.section__lede {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 620px;
}
.section__lede--right { margin-left: auto; }

/* ----------- Features (Platform) ----------- */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

/* ----------- Solutions ----------- */
.solutions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

/* ----------- Why grid ----------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

/* ----------- About ----------- */
.about {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.about__copy p {
    margin-bottom: 1.1rem;
    max-width: 600px;
}

.about__facts {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}
.about__facts > div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.about__facts b {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}
.about__facts span {
    font-size: 0.98rem;
    color: var(--text-primary);
}

/* ----------- CTA ----------- */
.section--cta {
    padding-bottom: var(--space-2xl);
}

.cta {
    background:
        linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.08) 60%, rgba(34, 211, 238, 0.06)),
        var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: var(--grad-primary);
    opacity: 0.18;
    z-index: -1;
    filter: blur(40px);
}

.cta__head {
    max-width: 720px;
    margin-bottom: var(--space-xl);
}

.cta__panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

/* ----------- Footer ----------- */
.footer {
    border-top: 1px solid var(--border);
    background: rgba(7, 7, 22, 0.6);
    padding: var(--space-xl) var(--space-lg) var(--space-md);
    position: relative;
    z-index: 1;
}

.footer__inner {
    max-width: var(--container);
    margin: 0 auto;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-lg);
}
.footer__brand div { display: flex; flex-direction: column; gap: 0.15rem; }
.footer__brand strong { font-size: 1rem; color: var(--text-primary); }
.footer__brand em {
    font-style: normal;
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}
.footer__cols h5 {
    margin-bottom: var(--space-sm);
}
.footer__cols a, .footer__cols span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.55;
    transition: color var(--dur-fast);
}
.footer__cols a:hover { color: var(--text-primary); }

.footer__bar {
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}
