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

:root {
    --forest:      #2E4034;
    --green:       #4B7F52;
    --light-green: #6aaa73;
    --parchment:   #f0e9d6;
    --gold:        #f5c518;
    --gold-dim:    #c49b10;
    --white:       #ffffff;
    --off-white:   #f7f4ee;
    --text:        #1a2a1e;
    --muted:       #6b7c6e;
    --border:      #d6ccbb;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--parchment);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo img {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    object-fit: contain;
}
.nav-logo span {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--forest);
    display: none;
}
@media (min-width: 480px) { .nav-logo span { display: inline; } }
.nav-cta {
    background: var(--green);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--forest); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
    background: var(--forest);
    color: var(--white);
    padding: 80px 24px 96px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(75,127,82,0.35) 0%, transparent 70%);
    pointer-events: none;
}
.hero-eyebrow {
    display: inline-block;
    background: var(--gold);
    color: var(--forest);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
}
.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    max-width: 820px;
    margin: 0 auto 24px;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold);
}
.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.78);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    background: var(--gold);
    color: var(--forest);
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 18px rgba(245,197,24,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,197,24,0.4); }
.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 1rem;
    padding: 13px 28px;
    border-radius: 100px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }

/* ── LIVE COUNTER ── */
.counter-strip {
    background: var(--green);
    padding: 28px 24px;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.counter-item {
    flex: 1;
    min-width: 140px;
    max-width: 220px;
    text-align: center;
    padding: 12px 20px;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.counter-item:last-child { border-right: none; }
.counter-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
    display: block;
}
.counter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── SECTIONS ── */
section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--forest);
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 560px;
}

/* ── HOW IT WORKS ── */
.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2px;
    margin-top: 52px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.how-step {
    background: var(--white);
    padding: 36px 28px;
    position: relative;
}
.step-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 16px;
}
.step-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.step-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--forest);
    margin-bottom: 10px;
}
.step-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── FEATURES GRID ── */
.features-bg { background: var(--forest); color: var(--white); }
.features-bg .section-eyebrow { color: var(--gold); }
.features-bg .section-title { color: var(--white); }
.features-bg .section-sub { color: rgba(255,255,255,0.65); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 48px;
}
.feature-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 28px 24px;
    transition: background 0.2s, transform 0.2s;
}
.feature-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }
.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.feature-desc { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ── XP SHOWCASE ── */
.xp-showcase {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.xp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}
@media (max-width: 700px) {
    .xp-layout { grid-template-columns: 1fr; gap: 32px; }
}
.xp-card {
    background: var(--forest);
    border-radius: 20px;
    padding: 32px;
    color: var(--white);
}
.xp-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
}
.xp-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.level-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #e8a800);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(245,197,24,0.4);
}
.level-num { font-size: 1.5rem; font-weight: 900; color: var(--forest); line-height: 1; }
.level-text { font-size: 0.5rem; font-weight: 700; color: var(--forest); letter-spacing: 0.08em; text-transform: uppercase; }
.xp-bar-wrap {
    background: rgba(255,255,255,0.12);
    border-radius: 100px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}
.xp-bar-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--gold), var(--light-green));
    width: 62%;
    transition: width 1s ease;
}
.xp-progress-text {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
}
.xp-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.xp-badge-pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 5px 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
}
.xp-list { list-style: none; }
.xp-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.xp-list li:last-child { border-bottom: none; }
.xp-list-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.xp-list-title { font-size: 0.95rem; font-weight: 700; color: var(--forest); margin-bottom: 3px; }
.xp-list-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ── PLATFORM ── */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 48px;
}
.platform-card {
    border-radius: 16px;
    padding: 32px 28px;
    border: 2px solid var(--border);
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.platform-card.active {
    border-color: var(--green);
    background: linear-gradient(135deg, #f0f7f1 0%, var(--white) 100%);
}
.platform-card.soon {
    border-color: var(--border);
    opacity: 0.85;
}
.platform-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.badge-live { background: #e8f5e9; color: var(--green); }
.badge-testing { background: #fff8e1; color: #b8860b; }
.badge-soon { background: #f0f0f0; color: var(--muted); }
.platform-icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.platform-title { font-size: 1.15rem; font-weight: 800; color: var(--forest); margin-bottom: 8px; }
.platform-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.platform-cta {
    display: inline-block;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.15s;
}
.platform-cta:hover { transform: translateY(-1px); }
.cta-green { background: var(--green); color: var(--white); }
.cta-outline { border: 2px solid var(--border); color: var(--muted); cursor: default; }

/* ── SQUADS ── */
.squads-bg { background: var(--parchment); }
.squad-mockup {
    background: var(--forest);
    border-radius: 20px;
    padding: 28px;
    color: var(--white);
    margin-top: 48px;
}
.squad-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.squad-callsign {
    background: var(--green);
    color: var(--white);
    font-weight: 900;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.05em;
}
.squad-name { font-size: 1.2rem; font-weight: 800; }
.squad-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.squad-stat {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}
.squad-stat-val { font-size: 1.4rem; font-weight: 900; color: var(--gold); display: block; }
.squad-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.squad-members { display: flex; flex-direction: column; gap: 10px; }
.squad-member {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
}
.member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.member-name { font-size: 0.9rem; font-weight: 600; flex: 1; }
.member-role {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
    padding: 3px 8px;
    border-radius: 100px;
}
.member-xp { font-size: 0.78rem; color: var(--gold); font-weight: 700; }

/* ── INVESTOR ── */
.investor-bg {
    background: var(--green);
    color: var(--white);
    text-align: center;
}
.investor-bg .section-eyebrow { color: rgba(255,255,255,0.6); }
.investor-bg .section-title { color: var(--white); }
.investor-bg .section-sub {
    color: rgba(255,255,255,0.78);
    max-width: 640px;
    margin: 0 auto 36px;
}
.btn-white {
    background: var(--white);
    color: var(--forest);
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ── ANDROID BETA ── */
.android-bg {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.beta-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    margin: 32px auto 0;
}
.beta-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 100px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
    text-align: center;
}
.beta-input:focus { border-color: var(--green); }
.btn-green-full {
    width: 100%;
    padding: 14px;
    background: var(--green);
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s, transform 0.15s;
}
.btn-green-full:hover { background: var(--forest); transform: translateY(-1px); }

/* ── MAILING LIST ── */
.mail-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 32px auto 0;
}
@media (min-width: 560px) {
    .mail-form { flex-direction: row; }
    .mail-form input { flex: 1; }
    .mail-form button { flex-shrink: 0; }
}
.mail-input {
    padding: 13px 18px;
    border: 2px solid var(--border);
    border-radius: 100px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}
.mail-input:focus { border-color: var(--green); }
.btn-green-pill {
    padding: 13px 26px;
    background: var(--green);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-green-pill:hover { background: var(--forest); }
.form-msg { font-size: 0.88rem; color: var(--muted); margin-top: 8px; text-align: center; height: 20px; }

/* ── FOOTER ── */
footer {
    background: var(--forest);
    color: rgba(255,255,255,0.65);
    padding: 40px 24px;
    text-align: center;
}
footer a { color: rgba(255,255,255,0.8); text-decoration: underline; }
footer a:hover { color: var(--white); }
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-logo { font-size: 1.3rem; font-weight: 900; color: var(--white); margin-bottom: 16px; }
.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 0.88rem;
}
.footer-copy { font-size: 0.82rem; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
