/* ─── Reset & Base ─────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0f;
    --surface: #12121a;
    --text: #e4e4ef;
    --text-dim: #7a7a8e;
    --accent-1: #6ee7b7;
    /* emerald */
    --accent-2: #3b82f6;
    /* blue    */
    --accent-3: #a78bfa;
    /* violet  */
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Animated Grid Background ────────────────── */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(110, 231, 183, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 231, 183, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-drift 20s linear infinite;
    z-index: 0;
}

@keyframes grid-drift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

/* ─── Glow Orbs ───────────────────────────────── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-1);
    top: -10%;
    left: -8%;
    animation: float-1 14s ease-in-out infinite alternate;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: var(--accent-2);
    bottom: -12%;
    right: -6%;
    animation: float-2 18s ease-in-out infinite alternate;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-3);
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    animation: float-3 16s ease-in-out infinite alternate;
}

@keyframes float-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(80px, 60px) scale(1.15);
    }
}

@keyframes float-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-70px, -50px) scale(1.1);
    }
}

@keyframes float-3 {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-40%, -60%) scale(1.2);
    }
}

/* ─── Particle Canvas ─────────────────────────── */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ─── Hero ────────────────────────────────────── */
.hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 2rem;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    animation: fade-in-up 1s ease-out both;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Logo Mark ───────────────────────────────── */
.logo-mark {
    width: 72px;
    height: 72px;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(110, 231, 183, 0.25));
}

@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 12px rgba(110, 231, 183, 0.2));
    }

    100% {
        filter: drop-shadow(0 0 28px rgba(59, 130, 246, 0.35));
    }
}

/* ─── Title ───────────────────────────────────── */
.title {
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.title-text {
    background: linear-gradient(135deg, #6ee7b7 0%, #c4f5e2 18%, #ffffff 40%, #ffffff 60%, #d4c8fb 82%, #a78bfa 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ─── Tagline ─────────────────────────────────── */
.tagline {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 300;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    max-width: 480px;
}

/* ─── CTA Button ──────────────────────────────── */
.cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
    padding: 0.85rem 2rem;
    border: 1px solid rgba(110, 231, 183, 0.25);
    border-radius: 999px;
    background: rgba(110, 231, 183, 0.06);
    color: var(--accent-1);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.cta:hover {
    background: rgba(110, 231, 183, 0.12);
    border-color: rgba(110, 231, 183, 0.45);
    box-shadow:
        0 0 24px rgba(110, 231, 183, 0.12),
        inset 0 0 24px rgba(110, 231, 183, 0.04);
    transform: translateY(-2px);
}

.cta:active {
    transform: translateY(0);
}

.cta-arrow {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* ─── Footer ──────────────────────────────────── */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    animation: fade-in-up 1s ease-out 0.4s both;
}

.footer-sep {
    opacity: 0.4;
}

/* ─── Responsive ──────────────────────────────── */
@media (max-width: 640px) {
    .logo-mark {
        width: 56px;
        height: 56px;
    }

    .cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .orb-1 {
        width: 300px;
        height: 300px;
    }

    .orb-2 {
        width: 280px;
        height: 280px;
    }

    .orb-3 {
        width: 220px;
        height: 220px;
    }
}

/* ─── Reduced Motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}