/* ═══════════════════════════════════════════════════
   MNEMONIC — Shared Styles
   Dark theme, neon green accents
═══════════════════════════════════════════════════ */

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

:root {
    --bg:           #080a08;
    --surface:      #0d100d;
    --surface-2:    #121612;
    --accent:       #39ff14;
    --accent-dim:   rgba(57, 255, 20, 0.7);
    --accent-glow:  rgba(57, 255, 20, 0.12);
    --accent-border: rgba(57, 255, 20, 0.18);
    --text:         #e4ede4;
    --text-muted:   #7a8a7a;
    --border:       rgba(57, 255, 20, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.06);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.15;
}

a { text-decoration: none; color: inherit; }

/* ─── NAVIGATION ─── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    padding: 0 2rem;
    background: rgba(8, 10, 8, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem;
}
.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem; font-weight: 700;
    color: var(--text); letter-spacing: -0.03em;
    flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-links {
    display: flex; align-items: center; gap: 0.25rem;
    flex: 1; justify-content: center;
}
.nav-link {
    font-size: 0.88rem; font-weight: 500;
    color: var(--text-muted);
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    font-family: 'Space Grotesk', sans-serif;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--accent); }

.nav-cta { flex-shrink: 0; }

/* Mobile nav toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-mobile-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text-muted); border-radius: 2px;
    transition: 0.3s;
}
.nav-mobile {
    display: none;
    flex-direction: column; gap: 0.25rem;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
    font-size: 0.95rem; font-weight: 500;
    color: var(--text-muted);
    padding: 0.65rem 0.5rem;
    border-radius: 6px;
    transition: color 0.2s;
}
.nav-mobile-link:hover,
.nav-mobile-link.active { color: var(--accent); }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.4rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem; font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: #080a08;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: #4dff2a;
    box-shadow: 0 0 24px rgba(57,255,20,0.3);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent-border);
}
.btn-outline:hover {
    background: var(--accent-glow);
    border-color: rgba(57,255,20,0.35);
}
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border-subtle);
}
.btn-ghost:hover {
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
}
.btn-lg {
    font-size: 0.95rem;
    padding: 0.8rem 1.75rem;
    border-radius: 10px;
}
.btn-full { width: 100%; }

/* ─── PAGE WRAPPER ─── */
.page-top { padding-top: 64px; }

/* ─── PAGE HERO (non-homepage) ─── */
.page-hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(57,255,20,0.05) 0%, transparent 65%);
    pointer-events: none;
}
.page-hero-inner { max-width: 720px; margin: 0 auto; position: relative; }
.page-hero .section-eyebrow { margin-bottom: 1.25rem; }
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: -0.035em;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}
.page-hero p {
    font-size: 1.15rem; color: var(--text-muted);
    line-height: 1.75;
}

/* ─── COMMON SECTION HELPERS ─── */
.section-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.74rem; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 1rem;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.divider {
    max-width: 1200px; margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

/* ─── FOOTER ─── */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.footer-tagline {
    font-size: 0.85rem; color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.6;
    max-width: 240px;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.74rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text); margin-bottom: 0.25rem;
}
.footer-link {
    font-size: 0.86rem; color: var(--text-muted);
    transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* ─── CHECK LIST ─── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.check-list li {
    display: flex; align-items: flex-start; gap: 0.65rem;
    font-size: 0.9rem; color: var(--text-muted); line-height: 1.5;
}
.check-list li::before {
    content: '✓';
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* ─── BADGES ─── */
.badge {
    display: inline-flex; align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    border: 1px solid;
}
.badge-green {
    color: var(--accent);
    background: rgba(57,255,20,0.06);
    border-color: rgba(57,255,20,0.2);
}
.badge-muted {
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    border-color: var(--border-subtle);
}

/* ─── FORM ELEMENTS ─── */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.83rem; font-weight: 500;
    color: var(--text);
    letter-spacing: 0.01em;
}
.form-input, .form-select, .form-textarea {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
    -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: rgba(57,255,20,0.35);
    box-shadow: 0 0 0 3px rgba(57,255,20,0.06);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-mobile-toggle { display: flex; }

    .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    nav { padding: 0 1.25rem; }
    .footer-links { grid-template-columns: 1fr; }
}
