:root {
  --bg: #030405; --bg2: #070b0d; --bg3: #0c1315;
  --border: rgba(53,201,143,0.1); --border2: rgba(53,201,143,0.2);
  --text: #d7e9e2; --text2: #7fa89c; --text3: #435851;
  --accent: #35c98f; --accent2: #177052;
  --font-d: Georgia, 'Times New Roman', serif;
  --font-m: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font-m); font-size: 13px; line-height: 1.6; }
body::before {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none; opacity: .6;
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 10%, rgba(53,201,143,.08), transparent 40%),
              radial-gradient(circle at 90% 90%, rgba(138,35,50,.08), transparent 45%),
              radial-gradient(ellipse at 50% 120%, rgba(0,0,0,.75), transparent 45%);
  animation: voidPulse 9s ease-in-out infinite;
}
@keyframes voidPulse { 0%,100%{opacity:.5} 50%{opacity:.85} }
@keyframes titleGlitch {
  0%, 92%, 100% { text-shadow: 0 0 0 transparent; transform: translate(0,0); }
  92.5% { text-shadow: -2px 0 #ff2e5a, 2px 0 #2be7ff; transform: translate(-1px,0); }
  94% { text-shadow: 0 0 0 transparent; transform: translate(0,0); }
  97% { text-shadow: 2px 0 #ff2e5a, -2px 0 #2be7ff; transform: translate(2px,0); }
  98% { text-shadow: 0 0 0 transparent; transform: translate(0,0); }
}

/* NAV */
nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 40px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(14,13,11,.92); backdrop-filter: blur(8px); z-index: 10; }
.nav-logo { font-family: var(--font-d); font-size: 20px; color: var(--accent); }
.nav-links { display: flex; gap: 6px; }
.nav-link { padding: 5px 12px; border: 1px solid var(--border2); border-radius: 20px; color: var(--text2); font-size: 12px; text-decoration: none; transition: all .12s; }
.nav-link:hover { background: var(--bg3); color: var(--text); }
.nav-link.cta { background: var(--accent2); border-color: var(--accent); color: var(--accent); font-weight: 500; }
.nav-link.cta:hover { background: rgba(200,169,110,.25); }

/* HERO */
.hero { max-width: 760px; margin: 0 auto; padding: 90px 40px 60px; text-align: center; position: relative; }
.hero-eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text3); margin-bottom: 20px; }
.hero-title { font-family: var(--font-d); font-size: clamp(42px, 8vw, 72px); color: var(--text); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 18px; animation: titleGlitch 7s infinite; }
.hero-title em { color: var(--accent); font-style: italic; }
.hero-sub { font-size: 15px; color: var(--text2); line-height: 1.7; max-width: 520px; margin: 0 auto 36px; font-weight: 300; }
.hero-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: var(--accent2); border: 1px solid var(--accent); border-radius: 6px; color: var(--accent); font-family: var(--font-m); font-size: 13px; font-weight: 500; text-decoration: none; transition: all .15s; margin-right: 10px; }
.hero-cta:hover { background: rgba(200,169,110,.22); }
.hero-cta.secondary { background: transparent; border-color: var(--border2); color: var(--text2); }
.hero-cta.secondary:hover { background: var(--bg3); color: var(--text); }

/* STATS */
.stats { display: flex; justify-content: center; gap: 0; margin: 60px auto; max-width: 700px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.stat { flex: 1; padding: 24px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-d); font-size: 36px; color: var(--accent); line-height: 1; margin-bottom: 5px; }
.stat-label { font-size: 11px; color: var(--text3); letter-spacing: .07em; text-transform: uppercase; }

/* FEATURES */
.features { max-width: 900px; margin: 0 auto; padding: 20px 40px 80px; }
.section-title { font-family: var(--font-d); font-size: 28px; color: var(--text); text-align: center; margin-bottom: 40px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.feature-icon { font-size: 22px; margin-bottom: 10px; }
.feature-title { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.feature-desc { font-size: 11px; color: var(--text3); line-height: 1.7; }

/* CATEGORIES */
.categories { max-width: 900px; margin: 0 auto; padding: 0 40px 80px; }
.cats-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 32px; }
.cat-pill { padding: 5px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: 11px; color: var(--text2); }

/* PHILOSOPHY */
.philosophy { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 70px 40px; text-align: center; margin: 0 0 80px; }
.philosophy blockquote { font-family: var(--font-d); font-size: clamp(18px,3vw,26px); color: var(--text2); font-style: italic; max-width: 600px; margin: 0 auto 16px; line-height: 1.5; }
.philosophy cite { font-size: 11px; color: var(--text3); letter-spacing: .08em; }

/* INSTALL */
.install { max-width: 680px; margin: 0 auto 90px; padding: 0 40px; text-align: center; }
.code-block { background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 16px 20px; text-align: left; font-size: 12px; color: var(--text2); margin: 24px 0; line-height: 2; }
.code-block span { color: var(--accent2); }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 24px 40px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--text3); }
footer a { color: var(--text3); text-decoration: none; }
footer a:hover { color: var(--text2); }
