@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-deep: #0a0e27;
    --bg-mid: #0c1030;
    --ice: #a8d8ea;
    --ice-strong: #7bc3e8;
    --text: #e8e8e8;
}

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    background: var(--bg-deep);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ---- Background ---- */

#bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
    pointer-events: none;
}

/* ---- Nav ---- */

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(10, 14, 39, 0.75);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(168, 216, 234, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-wordmark {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-decoration: none;
}

.nav-link {
    color: var(--ice);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:focus {
    outline: 2px solid var(--ice);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    nav {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-wordmark {
        font-size: 1rem;
    }
}

/* ---- Main / Hero ---- */

main {
    position: relative;
    z-index: 10;
}

.hero {
    padding: 10vh 2rem 6vh;
    text-align: center;
    max-width: 100%;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.05rem;
    color: #c0c0c8;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

@media (max-width: 480px) {
    .hero {
        padding: 8vh 1.5rem 4vh;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ---- Cards ---- */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 5rem auto 4rem;
    padding: 0 2rem;
}

.card {
    background: rgba(168, 216, 234, 0.04);
    border: 1px solid rgba(168, 216, 234, 0.12);
    border-radius: 8px;
    padding: 40px 35px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(4px);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 216, 234, 0.25);
    background: rgba(168, 216, 234, 0.06);
}

.card-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #8db5d4;
    margin-bottom: 1.2rem;
    display: block;
}

.card-text {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #d0d0d8;
    font-weight: 400;
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 1.5rem;
        margin: 3.5rem auto 3rem;
    }

    .card {
        padding: 28px 22px;
    }

    .card-label {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .card-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ---- CTA ---- */

.cta-section {
    text-align: center;
    padding: 5rem 2rem 7rem;
    max-width: 100%;
}

.signal-status {
    font-weight: 600;
    color: var(--ice);
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.signal-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--ice) 0%, var(--ice-strong) 100%);
    color: var(--bg-deep);
    padding: 1.1rem 3rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.08em;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.signal-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(168, 216, 234, 0.35);
}

.signal-cta:focus {
    outline: 2px solid var(--ice);
    outline-offset: 2px;
}

.signal-sub {
    color: #888892;
    font-size: 0.85rem;
    margin-top: 1.8rem;
    letter-spacing: 0.02em;
}

@media (max-width: 480px) {
    .cta-section {
        padding: 3.5rem 1.5rem 4.5rem;
    }

    .signal-cta {
        padding: 0.95rem 2.5rem;
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
