:root {
    --background: #07070d;
    --surface: #0d0d16;
    --surface-soft: rgba(255, 255, 255, 0.035);

    --text-primary: #ffffff;
    --text-secondary: #b9b9c8;
    --text-muted: #858596;

    --accent-pink: #e05cff;
    --accent-purple: #b44dff;
    --accent-violet: #7b4dff;
    --accent-blue: #4d5bff;

    --border-soft: rgba(255, 255, 255, 0.07);
    --border-subtle: rgba(255, 255, 255, 0.045);

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    --space-4xl: 128px;

    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --container-width: 1200px;
    --header-height: 88px;
    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    background: var(--background);
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--background);
    color: var(--text-primary);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 12%, rgba(180, 77, 255, 0.035), transparent 30%),
        radial-gradient(circle at 88% 80%, rgba(77, 91, 255, 0.035), transparent 32%);
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(7, 7, 13, 0.42);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(7, 7, 13, 0.84);
    border-bottom-color: var(--border-soft);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
}

.navbar {
    width: min(100% - 48px, var(--container-width));
    min-height: var(--header-height);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    width: 142px;
    height: auto;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.015);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.nav-button:hover {
    transform: translateY(-1px);
    border-color: rgba(180, 77, 255, 0.7);
    background: rgba(180, 77, 255, 0.055);
    box-shadow: 0 0 24px rgba(180, 77, 255, 0.16);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    padding: calc(var(--header-height) + 72px) 24px 56px;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.hero-base-glow,
.hero-mouse-glow,
.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-base-glow {
    background:
        radial-gradient(
            620px circle at 50% 36%,
            rgba(180, 77, 255, 0.15),
            rgba(123, 77, 255, 0.065) 42%,
            transparent 73%
        );
}

.hero-mouse-glow {
    --mouse-x: 50%;
    --mouse-y: 50%;
    background:
        radial-gradient(
            320px circle at var(--mouse-x) var(--mouse-y),
            rgba(224, 92, 255, 0.075),
            rgba(77, 91, 255, 0.026) 43%,
            transparent 74%
        );
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: opacity;
}

.hero.is-pointer-active .hero-mouse-glow {
    opacity: 1;
}

.hero-grid {
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 42%, black, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 42%, black, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, 1200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo {
    width: min(360px, 70vw);
    height: auto;
    margin-bottom: 52px;
    filter:
        drop-shadow(0 0 18px rgba(224, 92, 255, 0.12))
        drop-shadow(0 0 42px rgba(123, 77, 255, 0.1));
}

.hero h1 {
    max-width: 1180px;
    margin-bottom: 24px;
    font-size: clamp(2.55rem, 4.65vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    font-weight: 700;
    text-wrap: balance;
}

.hero h1 span:last-child {
    white-space: nowrap;
}

.gradient-text {
    background: linear-gradient(
        90deg,
        var(--accent-pink) 0%,
        var(--accent-purple) 42%,
        var(--accent-violet) 72%,
        var(--accent-blue) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 690px;
    margin-bottom: 34px;
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 1.65vw, 1.3rem);
    line-height: 1.55;
    text-wrap: balance;
}

.beta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 224px;
    min-height: 56px;
    padding: 14px 28px;
    border: 1px solid rgba(190, 78, 255, 0.82);
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.014));
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    box-shadow:
        0 0 0 1px rgba(123, 77, 255, 0.1),
        0 0 24px rgba(176, 82, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.beta-button .arrow {
    font-size: 1.35rem;
    line-height: 1;
    transition: transform var(--transition);
}

.beta-button:hover {
    transform: translateY(-3px);
    border-color: var(--accent-pink);
    background: linear-gradient(180deg, rgba(180, 77, 255, 0.11), rgba(255, 255, 255, 0.018));
    box-shadow:
        0 0 0 1px rgba(123, 77, 255, 0.18),
        0 0 36px rgba(176, 82, 255, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.beta-button:hover .arrow {
    transform: translateX(5px);
}

.scroll-indicator {
    width: 28px;
    height: 46px;
    margin-top: 42px;
    display: flex;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-pill);
    text-decoration: none;
    opacity: 0;
    animation: heroFadeIn 0.8s ease 0.8s forwards;
    transition: border-color var(--transition);
}

.scroll-indicator:hover {
    border-color: rgba(180, 77, 255, 0.55);
}

.scroll-indicator span {
    width: 4px;
    height: 4px;
    margin-top: 10px;
    border-radius: 50%;
    background: var(--accent-purple);
    box-shadow: 0 0 12px rgba(180, 77, 255, 0.75);
    animation: scrollDot 1.8s ease-in-out infinite;
}

/* Intro section */
.visibility-section {
    position: relative;
    padding: var(--space-4xl) 24px;
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, #080810 0%, #0a0a13 100%);
}

.section-container {
    width: min(100%, var(--container-width));
    margin-inline: auto;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--accent-purple);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.visibility-section h2,
.beta-panel h2 {
    max-width: 780px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.statement-grid {
    margin-top: var(--space-2xl);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.statement-card {
    min-height: 280px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 15% 10%, rgba(180, 77, 255, 0.075), transparent 42%),
        var(--surface-soft);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.statement-card:hover {
    transform: translateY(-5px);
    border-color: rgba(180, 77, 255, 0.28);
}

.statement-number {
    margin-bottom: auto;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

.statement-card h3 {
    margin-bottom: 14px;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.statement-card p {
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Beta */
.beta-section {
    padding: var(--space-4xl) 24px;
    background: var(--background);
}

.beta-panel {
    width: min(100%, 980px);
    margin-inline: auto;
    padding: clamp(40px, 7vw, 88px) clamp(24px, 7vw, 80px);
    text-align: center;
    border: 1px solid rgba(180, 77, 255, 0.18);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 50% 0%, rgba(180, 77, 255, 0.13), transparent 52%),
        rgba(255, 255, 255, 0.025);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.beta-panel .eyebrow,
.beta-panel h2 {
    margin-inline: auto;
}

.beta-panel > p:not(.eyebrow) {
    max-width: 650px;
    margin: 22px auto 34px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Footer */
.site-footer {
    width: min(100% - 48px, var(--container-width));
    margin-inline: auto;
    padding: 36px 0 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.86rem;
}

.footer-logo {
    width: 120px;
    opacity: 0.82;
}

/* Intro animation */
.hero-logo,
.hero h1,
.hero-description,
.hero > .hero-content > .beta-button {
    opacity: 0;
    transform: translateY(18px);
    animation: heroFadeIn 0.8s ease forwards;
}

.hero-logo { animation-delay: 0.08s; }
.hero h1 { animation-delay: 0.22s; }
.hero-description { animation-delay: 0.36s; }
.hero > .hero-content > .beta-button { animation-delay: 0.5s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    25%, 75% {
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .statement-grid {
        grid-template-columns: 1fr;
    }

    .statement-card {
        min-height: 230px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 76px;
    }

    .navbar {
        width: min(100% - 32px, var(--container-width));
    }

    .nav-logo {
        width: 124px;
    }

    .nav-button {
        min-height: 40px;
        padding: 9px 16px;
        font-size: 0.86rem;
    }

    .hero {
        min-height: 100svh;
        padding: calc(var(--header-height) + 48px) 18px 38px;
    }

    .hero-logo {
        width: min(300px, 76vw);
        margin-bottom: 38px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 10.2vw, 3.7rem);
        line-height: 1.02;
    }

    .hero h1 span {
        display: block;
    }

    .hero h1 span:last-child {
        white-space: normal;
    }

    .hero-description {
        max-width: 560px;
        font-size: 1rem;
        line-height: 1.6;
    }

    .scroll-indicator {
        margin-top: 34px;
    }

    .visibility-section,
    .beta-section {
        padding-block: var(--space-3xl);
    }

    .statement-card {
        padding: 26px;
    }

    .site-footer {
        width: min(100% - 32px, var(--container-width));
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .nav-button {
        padding-inline: 14px;
    }

    .hero-logo {
        width: min(270px, 80vw);
    }

    .beta-button {
        width: min(100%, 280px);
    }
}

@media (hover: none), (pointer: coarse) {
    .hero-mouse-glow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
.gradient-text {
    background: linear-gradient(
        90deg,
        #E05CFF,
        #B44DFF,
        #7B4DFF,
        #4D5BFF
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}