@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  --green:     #2d8a42;
  --green-mid: #3aa352;
  --green-lt:  #5bc470;
  --lime:      #7CFC00;
  --lime-dk:   #5bc400;
  --bg:        #1a1a1a;
  --bg2:       #222222;
  --surface:   #242424;
  --surface2:  #2e2e2e;
  --border:    #383838;
  --text:      #e8ede8;
  --gray:      #9aa09a;
  --dark:      #111111;
  --shadow:    0 2px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(20,20,20,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: 'DM Serif Display', serif; font-size: 22px; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.nav-logo span { color: var(--lime); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--lime); }
.nav-cta { background: var(--green) !important; color: white !important; padding: 9px 20px; border-radius: 8px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--green-mid) !important; }
.nav-signin { border: 1.5px solid var(--border) !important; border-radius: 8px; padding: 8px 16px; color: var(--gray) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 99px; transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: #1e1e1e; border-bottom: 1px solid var(--border); padding: 20px 5%; flex-direction: column; gap: 16px; z-index: 99; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 16px; font-weight: 500; color: var(--text); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--border); }

/* FOOTER */
footer { background: #111; color: rgba(255,255,255,0.4); padding: 56px 5% 32px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { font-family: 'DM Serif Display', serif; font-size: 24px; color: white; margin-bottom: 10px; }
.footer-logo span { color: var(--lime); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; max-width: 220px; }
.footer-col h4 { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase; font-family: 'Roboto Mono', monospace; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; }

/* BUTTONS */
.btn-primary { background: var(--green); color: white; padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-secondary { color: var(--text); padding: 13px 24px; border-radius: 10px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1.5px solid var(--border); background: var(--surface); transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-secondary:hover { border-color: var(--green); }

/* TYPOGRAPHY */
h1 { font-family: 'DM Serif Display', serif; font-size: clamp(36px,5vw,60px); line-height: 1.08; color: #fff; letter-spacing: -0.02em; margin-bottom: 20px; }
h2 { font-family: 'DM Serif Display', serif; font-size: clamp(28px,4vw,44px); color: #fff; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
h3 { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--text); margin-bottom: 10px; }
h1 em, h2 em { font-style: italic; color: var(--lime); }
.section-tag { font-family: 'Roboto Mono', monospace; font-size: 11px; font-weight: 500; color: var(--lime-dk); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.lead { font-size: 18px; line-height: 1.65; color: var(--gray); max-width: 600px; }

/* SECTIONS */
section { padding: 88px 5%; background: var(--bg); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.page-hero { padding-top: 128px; padding-bottom: 64px; background: var(--bg2); }

/* CARDS */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px 24px; transition: all 0.2s; }
.card:hover { border-color: var(--green-lt); box-shadow: var(--shadow); transform: translateY(-2px); }

/* AUTH MODAL */
.auth-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(6px); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.auth-overlay.open { display: flex; }
@keyframes authIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
