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

:root {
    --bg-deep: #05130f;
    --bg-deep-2: #071a2b;
    --green: #34d399;
    --green-bright: #22c55e;
    --blue: #38bdf8;
    --blue-deep: #3b82f6;
    --text-main: #f1fef9;
    --text-muted: rgba(224, 250, 240, 0.72);
    --card-bg: rgba(255, 255, 255, 0.045);
    --card-border: rgba(255, 255, 255, 0.09);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 15% 0%, #0b2a24 0%, var(--bg-deep) 45%, var(--bg-deep-2) 100%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    display: block;
}

.page {
    position: relative;
    z-index: 2;
}

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

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5vw;
    background: rgba(5, 19, 15, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.logo {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.logo .dash {
    color: var(--blue);
}

.logo .eco {
    background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo .tld {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    margin-left: 2px;
}

.nav-link {
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bg-deep);
    background: linear-gradient(90deg, var(--green-bright), var(--blue));
    padding: 10px 22px;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 0 rgba(52, 211, 153, 0);
}

.nav-link:hover,
.nav-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(56, 189, 248, 0.35);
    outline: none;
}

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

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

.hero {
    position: relative;
    z-index: 2;
    padding: 14vh 6vw 10vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.12;
    max-width: 920px;
    text-wrap: balance;
    background: linear-gradient(100deg, var(--text-main) 30%, var(--green) 65%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.hero p {
    margin-top: 28px;
    max-width: 680px;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.6;
}

.hero .badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 6px 16px;
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(52, 211, 153, 0.08);
}

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

.cards-section {
    position: relative;
    z-index: 2;
    padding: 4vh 6vw 10vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 40px 35px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(52, 211, 153, 0.45);
    box-shadow: 0 20px 45px rgba(4, 20, 16, 0.45);
}

.card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, var(--green), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    color: var(--bg-deep);
}

.card h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

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

.cta {
    position: relative;
    z-index: 2;
    padding: 8vh 6vw 16vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.signal-status {
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
}

.signal-cta {
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--bg-deep);
    background: linear-gradient(90deg, var(--green-bright), var(--blue));
    padding: 18px 44px;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
}

.signal-cta:hover,
.signal-cta:focus-visible {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(52, 211, 153, 0.4);
    outline: none;
}

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

.signal-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---- Footer ---- */
/* Footer markup itself is injected via SSI and shouldn't be edited per-domain -
   only spacing, background, and contrast live here so it stays readable over
   the fixed canvas animation. */

footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px 6vw 24px;
    color: var(--text-muted);
    font-size: 0.82rem;
    background: rgba(5, 19, 15, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

footer div {
    margin: 4px 0;
}

footer a {
    color: var(--green);
}

@media (max-width: 480px) {
    nav {
        padding: 14px 5vw;
    }

    .logo {
        font-size: 1.05rem;
    }

    .nav-link {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .hero {
        padding: 12vh 6vw 8vh;
    }

    .cards-section {
        padding: 3vh 6vw 8vh;
        gap: 18px;
    }

    .card {
        padding: 30px 24px;
    }

    .signal-cta {
        padding: 15px 32px;
        width: 100%;
    }

    .cta {
        padding: 6vh 6vw 12vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
