:root {
    --bg: #0a0f1c;
    --bg-soft: #0f172a;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #2dd4bf;
    --accent-2: #38bdf8;
    --border: rgba(148, 163, 184, 0.12);
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Background ---------- */
.background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
}

.glow-1 {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.55), transparent 70%);
    top: -180px;
    left: -180px;
    animation: float 18s ease-in-out infinite;
}

.glow-2 {
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 70%);
    bottom: -160px;
    right: -120px;
    animation: float 22s ease-in-out infinite reverse;
}

.glow-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.35), transparent 70%);
    top: 45%;
    left: 55%;
    animation: float 26s ease-in-out infinite;
}

.mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40vh;
    background:
        radial-gradient(ellipse at 20% 100%, rgba(45, 212, 191, 0.10), transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(56, 189, 248, 0.10), transparent 60%);
    clip-path: polygon(
        0% 100%, 0% 70%, 8% 55%, 16% 68%, 24% 45%, 32% 62%,
        40% 38%, 50% 58%, 58% 42%, 66% 60%, 74% 40%, 82% 58%,
        90% 48%, 100% 66%, 100% 100%
    );
    opacity: 0.5;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.06); }
    66% { transform: translate(-30px, 30px) scale(0.96); }
}

/* ---------- Header ---------- */
.header {
    position: relative;
    z-index: 2;
    padding: 32px 48px;
    display: flex;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text);
}

.logo-mark {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-accent {
    color: var(--accent);
}

.logo-divider {
    width: 1px;
    height: 22px;
    background: var(--border);
}

.logo-tagline {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---------- Main ---------- */
.main {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 48px;
}

.hero {
    max-width: 860px;
    text-align: center;
    animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(45, 212, 191, 0); }
    100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.hero-title-accent {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 620px;
    margin: 0 auto 48px;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 400;
}

/* ---------- Features ---------- */
.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.feature {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.feature:hover {
    border-color: rgba(45, 212, 191, 0.35);
    background: rgba(45, 212, 191, 0.06);
    transform: translateY(-2px);
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    z-index: 2;
    padding: 28px 48px;
    text-align: center;
}

.footer-text {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .header {
        padding: 24px 24px;
    }

    .main {
        padding: 24px;
    }

    .footer {
        padding: 24px;
    }

    .hero-badge {
        margin-bottom: 28px;
        font-size: 13px;
        padding: 9px 16px;
    }

    .hero-title {
        margin-bottom: 24px;
    }

    .hero-description {
        margin-bottom: 36px;
    }

    .hero-features {
        flex-direction: column;
        align-items: stretch;
    }

    .feature {
        justify-content: center;
    }

    .feature-text {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .glow,
    .pulse-dot,
    .hero {
        animation: none !important;
    }
}
