:root {
  --bg: #0a0a0c;
  --bg-elevated: #111115;
  --bg-card: #16161a;
  --fg: #e8e6e3;
  --fg-muted: #8a8a8e;
  --accent: #c4f04d;
  --accent-dim: #9cc23a;
  --border: #222228;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.accent { color: var(--accent); }

/* ---- NAV (shared) ---- */
.store-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.store-nav-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.store-nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.store-nav-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.store-nav-link:hover,
.store-nav-link.active { color: var(--fg); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}

.hero-grid {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 40px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 560px;
}

.hero-blur {
  position: absolute;
  top: -120px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(196,240,77,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.manifesto-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.manifesto-block {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.manifesto-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.manifesto-block h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.3;
}

.manifesto-block p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ---- PRODUCTS ---- */
.products {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.products-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.products-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 56px;
}

.niche-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.niche-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.niche-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.niche-icon {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.niche-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.product-types {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg-muted);
  transition: all 0.2s;
}

.product-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- MATH ---- */
.math {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.math-inner {
  max-width: 900px;
  margin: 0 auto;
}

.math-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

.math-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.math-item { text-align: center; }

.math-big {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
}

.math-result .math-big { color: var(--accent); }

.math-small {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 8px;
  font-family: var(--font-display);
}

.math-op {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--fg-muted);
  font-weight: 300;
}

.math-note {
  text-align: center;
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 28px;
}

.closing-text {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 40px;
}

.closing-cta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--bg);
  background: var(--accent);
  padding: 14px 32px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.closing-cta:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .niche-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 80px 24px 60px;
    min-height: 80vh;
  }
  .manifesto, .products, .math, .closing {
    padding: 64px 24px;
  }
  .site-footer {
    padding: 36px 24px;
  }
  .niche-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .math-equation {
    gap: 16px;
  }
  .math-op {
    font-size: 24px;
  }
}