:root {
  --bg: #0a0a0c;
  --bg-elevated: #111115;
  --bg-card: #16161b;
  --fg: #e8e6e3;
  --fg-muted: #8a8a8e;
  --accent: #c4ff00;
  --accent-dim: rgba(196, 255, 0, 0.12);
  --accent-glow: rgba(196, 255, 0, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(196, 255, 0, 0.2);
  --radius: 12px;
  --font: 'Space Grotesk', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-grain {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 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.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  flex: 1.2;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 480px;
}

.hero-visual {
  flex: 0.8;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-stack {
  position: relative;
  width: 280px;
  height: 360px;
}

.card {
  position: absolute;
  width: 260px;
  height: 140px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-1 {
  top: 0;
  left: 0;
  transform: rotate(-4deg);
  z-index: 3;
  border-color: var(--border-accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.card-2 {
  top: 80px;
  left: 30px;
  transform: rotate(2deg);
  z-index: 2;
}

.card-3 {
  top: 160px;
  left: -10px;
  transform: rotate(-1deg);
  z-index: 1;
}

.card-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--fg-muted);
}

.card-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

/* === FEATURES === */
.features {
  padding: 120px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 64px;
}

.features-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.features-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 520px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-accent);
}

.feature-icon {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === PRODUCTS / PRICING === */
.products {
  padding: 120px 48px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.products-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.products-left {
  flex: 1;
  position: sticky;
  top: 120px;
}

.products-left h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.products-left p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 380px;
}

.products-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s ease;
}

.price-tier:hover {
  border-color: rgba(255,255,255,0.12);
}

.tier-highlight {
  border-color: var(--border-accent);
  box-shadow: 0 0 60px var(--accent-glow);
}

.tier-highlight:hover {
  border-color: var(--accent);
}

.tier-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tier-range {
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.tier-highlight .tier-range {
  color: var(--accent);
}

.tier-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: 160px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.closing-content {
  max-width: 680px;
}

.closing h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}

.closing-stat {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.closing-stat span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.3px;
  line-height: 1.5;
}

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

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

.footer-brand {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--accent);
  margin-bottom: 8px;
}

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

.footer-bottom {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

.footer-dot {
  margin: 0 8px;
}

/* === NAV === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

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

.nav-link {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-link-accent {
  color: var(--accent);
  font-weight: 500;
}

.nav-link-accent:hover {
  color: var(--fg);
}

/* Landing page hero CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 14px 28px;
  background: var(--accent);
  color: #0a0a0c;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* === SHOP PAGE === */
.shop-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 48px 80px;
}

.shop-header {
  margin-bottom: 56px;
}

.shop-header h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.shop-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.category-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cat-pill {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

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

.cat-pill.active {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
}

.category-section {
  margin-bottom: 64px;
}

.category-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.3s ease, transform 0.2s ease;
}

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

.product-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
}

.placeholder-icon {
  font-size: 32px;
  color: var(--accent);
  opacity: 0.3;
}

.product-card-top {
  padding: 20px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.product-category-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.product-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.product-card-body {
  flex: 1;
  padding: 0 24px;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.product-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.product-card-footer {
  margin: 0 24px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--border);
}

.product-cta {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

/* === PRODUCT DETAIL === */
.product-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 48px 80px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

.product-breadcrumb a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.product-breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  opacity: 0.3;
}

.product-hero {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.product-hero-left {
  flex: 0.8;
  position: sticky;
  top: 100px;
}

.product-hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 80px var(--accent-glow);
}

.product-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.product-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}

.product-visual-card {
  width: 280px;
  height: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 80px var(--accent-glow);
  position: relative;
  z-index: 1;
}

.product-visual-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--fg-muted);
}

.product-visual-price {
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.product-visual-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
}

.product-visual-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.product-hero-right {
  flex: 1.2;
}

.product-cat-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.product-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.product-full-desc {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
}

.feature-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.product-buy-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.product-price-display {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.btn-buy {
  display: block;
  text-align: center;
  padding: 16px 32px;
  background: var(--accent);
  color: #0a0a0c;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-bottom: 12px;
}

.btn-buy:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.buy-note {
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
}

/* === SUCCESS PAGE === */
.success-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
}

.success-card {
  max-width: 520px;
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin: 0 auto 24px;
}

.success-card h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.success-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.success-divider {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin: 0 auto 20px;
}

.success-note {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.success-note a {
  color: var(--accent);
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--accent-dim);
}

/* === MOBILE === */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 100px 24px 60px;
    min-height: auto;
    gap: 48px;
  }

  .hero-visual {
    width: 100%;
    justify-content: center;
  }

  .card-stack {
    width: 240px;
    height: 300px;
  }

  .card {
    width: 220px;
    height: 120px;
    padding: 20px;
  }

  .card-price {
    font-size: 26px;
  }

  .features {
    padding: 80px 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .products {
    padding: 80px 24px;
  }

  .products-inner {
    flex-direction: column;
    gap: 40px;
  }

  .products-left {
    position: static;
  }

  .closing {
    padding: 80px 24px;
  }

  .site-footer {
    padding: 40px 24px;
  }

  .nav-inner {
    padding: 0 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 13px;
  }

  .shop-main {
    padding: 100px 24px 60px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-main {
    padding: 100px 24px 60px;
  }

  .product-hero {
    flex-direction: column;
    gap: 40px;
  }

  .product-hero-left {
    position: static;
    width: 100%;
  }

  .product-hero-image {
    max-width: 100%;
  }

  .product-hero-visual {
    height: 280px;
  }

  .product-card-image {
    height: 180px;
  }

  .product-visual-card {
    width: 220px;
    height: 250px;
  }

  .product-visual-price {
    font-size: 44px;
  }

  .success-main {
    padding: 100px 24px 60px;
  }
}