:root {
  --bg: #121214;
  --panel: #1a1a20;
  --edge: #2e2e38;
  --text: #e8e8ee;
  --muted: #9a9aa8;
  --pgm: #d50000;
  --pvw: #00c853;
  --accent: #2979ff;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(213, 0, 0, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(0, 200, 83, 0.08), transparent 50%),
    linear-gradient(180deg, #16161c 0%, var(--bg) 40%, #0e0e12 100%);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.top, main, footer { position: relative; z-index: 1; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--edge);
  background: rgba(18, 18, 20, 0.75);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: inherit; }
.mark {
  width: 1.75rem; height: 1.75rem; border-radius: 0.35rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pgm), #7f0000);
  font-weight: 800; font-size: 0.75rem;
}
.name { font-weight: 800; letter-spacing: 0.04em; }
.name span { color: var(--pgm); }
nav { display: flex; gap: 1rem; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
nav a:hover { color: #fff; }
.nav-cta {
  border: 1px solid var(--edge);
  padding: 0.4rem 0.8rem;
  border-radius: 0.35rem;
  color: #fff !important;
  background: var(--panel);
}

.hero {
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
  max-width: 920px;
  margin: 0 auto;
  animation: rise 0.7s ease-out both;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pvw);
  margin: 0 0 0.75rem;
}
.logo-hero {
  font-family: var(--display);
  font-size: clamp(4.5rem, 16vw, 8rem);
  line-height: 0.9;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.logo-hero span { color: var(--pgm); }
.lede {
  max-width: 34rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 1.75rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.fine { margin-top: 1rem; color: #6e6e7a; font-size: 0.85rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pgm); color: #fff; box-shadow: 0 0 24px rgba(213, 0, 0, 0.35); }
.btn-primary:hover { background: #ff1744; }
.btn-buy { background: transparent; color: #fff; border-color: var(--pvw); }
.btn-buy:hover { background: rgba(0, 200, 83, 0.12); }
.btn-lg { padding: 1rem 1.5rem; font-size: 1.05rem; }

.features, .pricing, .download {
  padding: 4rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid var(--edge);
}
h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin: 0 0 0.5rem;
  letter-spacing: 0.03em;
}
.section-lead { color: var(--muted); margin: 0 0 2rem; max-width: 32rem; }

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.grid li {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 0.5rem;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  animation: rise 0.6s ease-out both;
}
.grid li:nth-child(2) { animation-delay: 0.05s; }
.grid li:nth-child(3) { animation-delay: 0.1s; }
.grid li:nth-child(4) { animation-delay: 0.15s; }
.grid li:nth-child(5) { animation-delay: 0.2s; }
.grid li:nth-child(6) { animation-delay: 0.25s; }
.grid strong { font-size: 1rem; }
.grid span { color: var(--muted); font-size: 0.9rem; line-height: 1.4; }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.plan {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 0.6rem;
  padding: 1.4rem;
}
.plan-pro {
  border-color: rgba(0, 200, 83, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 200, 83, 0.15), 0 20px 50px rgba(0, 0, 0, 0.35);
}
.plan h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.price {
  font-family: var(--display);
  font-size: 3rem;
  margin: 0 0 1rem;
  line-height: 1;
}
.price span { font-size: 1rem; color: var(--muted); font-family: var(--font); font-weight: 600; }
.plan ul { margin: 0 0 1.25rem; padding-left: 1.1rem; color: var(--muted); line-height: 1.7; }
.pay-note { color: var(--muted); font-size: 0.9rem; margin-top: 1.25rem; }

.download { text-align: left; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--edge);
  color: var(--muted);
  font-size: 0.85rem;
}
.brand-mini span { color: var(--pgm); font-weight: 800; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding-top: 3.5rem; }
}
