/* ============================================================
   EARTH — Shared styles across all landing pages
   ============================================================ */

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

body {
    font-family: 'Inter', sans-serif;
    background: #0a1f1c;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 64px;
}

/* Background mesh */
.bg-mesh {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0,255,157,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0,204,122,0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(0,255,157,0.03) 0%, transparent 60%);
    animation: meshMove 20s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% { transform: translate(0,0) scale(1); }
    25%  { transform: translate(2%,-2%) scale(1.02); }
    50%  { transform: translate(-1%,3%) scale(0.98); }
    75%  { transform: translate(3%,1%) scale(1.01); }
}

/* Particles */
.particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: hidden; }
.particle { position: absolute; width: 2px; height: 2px; background: rgba(0,255,157,0.4); border-radius: 50%; animation: floatUp linear infinite; }
@keyframes floatUp {
    0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-100px) translateX(20px); opacity: 0; }
}

/* ── Navigation ── */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; height: 64px;
    background: rgba(10,31,28,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,255,157,0.1);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px;
    z-index: 1000;
}

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: #fff;
    font-weight: 800; font-size: 16px; letter-spacing: -0.3px;
    flex-shrink: 0;
}
.nav-logo-icon { font-size: 22px; }
.nav-logo-name { color: #fff; }
.nav-logo-wtc { color: rgba(0,255,157,0.6); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-left: 2px; }

.nav-links {
    display: flex; align-items: center; gap: 8px;
    position: absolute; left: 50%; transform: translateX(-50%);
}

.nav-link {
    color: rgba(255,255,255,0.55); text-decoration: none;
    font-size: 14px; font-weight: 500;
    padding: 6px 14px; border-radius: 20px;
    transition: all 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-link.active { color: #00ff9d; background: rgba(0,255,157,0.08); }

.nav-cta {
    background: #00ff9d; color: #0a1f1c;
    text-decoration: none; font-weight: 700; font-size: 14px;
    padding: 9px 22px; border-radius: 30px;
    transition: all 0.2s; flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(0,255,157,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,255,157,0.5); }

/* ── Footer ── */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 48px 32px 40px;
    max-width: 1000px; margin: 0 auto;
}

.footer-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}

.footer-brand .footer-logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 800; color: #fff;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6;
    max-width: 220px;
}

.footer-col h4 {
    font-size: 11px; font-weight: 700; color: rgba(0,255,157,0.7);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}

.footer-col a {
    display: block; color: rgba(255,255,255,0.5); text-decoration: none;
    font-size: 14px; margin-bottom: 8px; transition: color 0.2s;
}
.footer-col a:hover { color: #00ff9d; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: rgba(255,255,255,0.25); flex-wrap: wrap; gap: 12px;
}

.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: #00ff9d; }

/* ── Common section styles ── */
.page-section {
    padding: 80px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-label {
    font-size: 11px; font-weight: 700; color: #00ff9d;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 12px; text-align: center;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800; text-align: center;
    margin-bottom: 16px; color: #fff; line-height: 1.15;
}

.section-subtitle {
    text-align: center; color: rgba(255,255,255,0.6);
    max-width: 560px; margin: 0 auto 48px; font-size: 1rem; line-height: 1.7;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ── Hamburger ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    background: rgba(10,31,28,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,255,157,0.15);
    padding: 12px 16px 16px;
    z-index: 999;
    flex-direction: column;
    gap: 4px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.2s;
}
.nav-mobile-menu a:hover { background: rgba(0,255,157,0.08); color: #fff; }

/* ── Mobile ── */
@media (max-width: 680px) {
    body { padding-top: 56px; }
    .site-nav { padding: 0 16px; height: 56px; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-logo-wtc { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .page-section { padding: 60px 20px; }
}
