/* ===== DESIGN TOKENS ===== */
:root {
    --bg: #07070d;
    --bg-elevated: #0e0e18;
    --bg-card: #111120;
    --surface: #16162a;
    --border: rgba(45, 123, 255, 0.12);
    --border-hover: rgba(45, 123, 255, 0.3);

    --text: #eaeaef;
    --text-muted: #8888a0;
    --text-dim: #55556a;

    --accent: #2d7bff;
    --accent-light: #00b4ff;
    --accent-glow: rgba(45, 123, 255, 0.4);
    --accent-glow-strong: rgba(0, 180, 255, 0.6);

    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

code {
    font-family: 'DM Mono', 'Fira Code', monospace;
    background: var(--surface);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent-light);
}

/* ===== NOISE OVERLAY ===== */
.noise {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTION COMMON ===== */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 48px;
    color: var(--text);
}

.text-glow {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    box-shadow:
        0 0 20px var(--accent-glow),
        0 0 60px rgba(0, 180, 255, 0.15);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 30px var(--accent-glow-strong),
        0 0 80px rgba(0, 180, 255, 0.25);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    color: var(--accent-light);
    border: 1.5px solid var(--border-hover);
    box-shadow: 0 0 15px rgba(45, 123, 255, 0.08);
}

.btn--outline:hover {
    background: rgba(45, 123, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-2px);
}

.btn--large {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 14px;
}

.btn__icon {
    flex-shrink: 0;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    filter: blur(80px);
    opacity: 0.4;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { opacity: 0.3; transform: translate(-50%, -55%) scale(0.9); }
    100% { opacity: 0.5; transform: translate(-50%, -55%) scale(1.1); }
}

.hero__content {
    position: relative;
    z-index: 2;
    animation: hero-in 1s var(--ease-out) both;
}

@keyframes hero-in {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero__logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 0;
    border-radius: 24px;
    filter: drop-shadow(0 0 40px var(--accent-glow-strong));
    animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero__label {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 32px;
    opacity: 0.8;
}

.hero__tagline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero__accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light), #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll span {
    display: block;
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--accent-light), transparent);
    border-radius: 2px;
    animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
    0% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.5); }
    100% { opacity: 1; transform: scaleY(1); }
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
    position: relative;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about__text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about__text strong {
    color: var(--text);
}

.about__visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about__card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s var(--ease-out);
}

.about__card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 30px rgba(45, 123, 255, 0.08);
    transform: translateX(4px);
}

.about__card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(45, 123, 255, 0.15), rgba(0, 180, 255, 0.08));
    color: var(--accent-light);
}

.about__card-label {
    font-weight: 600;
    font-size: 1rem;
}

/* ===== STEPS ===== */
.steps {
    padding: 120px 0;
    position: relative;
    background: var(--bg-elevated);
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.steps__timeline {
    position: relative;
    max-width: 640px;
}

.steps__line {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-light), transparent);
    opacity: 0.3;
}

.steps__item {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 32px 0;
    position: relative;
}

.steps__number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-light);
    background: var(--bg);
    border: 1.5px solid var(--border-hover);
    border-radius: 16px;
    position: relative;
    z-index: 2;
    transition: all 0.3s var(--ease-out);
}

.steps__item:hover .steps__number {
    box-shadow: 0 0 25px var(--accent-glow);
    border-color: var(--accent);
}

.steps__body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.steps__body p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== FEATURES ===== */
.features {
    padding: 120px 0;
    position: relative;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(45, 123, 255, 0.08);
}

.feature-card__glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    opacity: 0;
    transition: opacity 0.4s;
    filter: blur(40px);
}

.feature-card:hover .feature-card__glow {
    opacity: 0.3;
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(45, 123, 255, 0.12), rgba(0, 180, 255, 0.06));
    color: var(--accent-light);
    margin-bottom: 24px;
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ===== CTA ===== */
.cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta__glow {
    position: absolute;
    width: 800px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    opacity: 0.2;
}

.cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
}

.cta__badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #07070d;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta__desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 36px;
}

.cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__logo {
    border-radius: 10px;
}

.footer__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--accent-light);
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps__line {
        left: 24px;
    }

    .steps__number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .steps__item {
        gap: 20px;
        padding: 24px 0;
    }

    .cta__content {
        padding: 40px 24px;
        border-radius: 20px;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero__logo {
        width: 150px;
        height: 150px;
    }

    .hero__tagline {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
    }

    .hero__glow {
        width: 350px;
        height: 350px;
    }

    .section-title {
        margin-bottom: 36px;
    }

    .about,
    .steps,
    .features,
    .cta {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .btn--large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .cta__actions {
        flex-direction: column;
        align-items: center;
    }
}
