:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --surface2: #222;
  --border: #38265e;
  --text: #e0e0e0;
  --text-muted: #888;
  --accent: #00e5ff;
  --accent2: #ff4081;
  --accent3: #76ff03;
  --accent4: #ffab00;
  --gradient1: linear-gradient(135deg, #00e5ff, #e040fb);
  --gradient2: linear-gradient(135deg, #ff4081, #ffab00);
  --gradient3: linear-gradient(135deg, #76ff03, #00e5ff);
}

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

body {
  background:
    /* 1. keep the borders fading to pure black */
    radial-gradient(ellipse 85% 80% at 50% 58%,
      rgba(13,13,13,0) 32%,
      rgba(13,13,13,0.50) 64%,
      rgba(13,13,13,0.95) 88%,
      #0d0d0d 100%),
    /* 2. dark red glowing orb — bigger, lower, very faint */
    radial-gradient(circle 85vmin at 50% 62%,
      rgba(190,30,46,0.11) 0%,
      rgba(150,20,34,0.08) 18%,
      rgba(105,14,24,0.05) 38%,
      rgba(60,9,16,0.03) 58%,
      rgba(30,5,10,0.01) 75%,
      rgba(13,13,13,0) 100%),
    /* 3. base */
    #0d0d0d;
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Nav (logo left, boxed links right, full-height dividers) ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { font-weight: 700; font-size: 1.3rem; padding: 18px 24px; letter-spacing: .5px; display: flex; align-items: center; color: var(--text); text-decoration: none; }
.nav-links { display: flex; align-items: stretch; }
.nav-links a {
  display: flex;
  align-items: center;
  padding: 0 28px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .85rem;
  border-left: 1px solid var(--border);
  transition: all .2s;
}
.nav-links a:last-child { border-right: 1px solid var(--border); }
.nav-links a:hover { color: var(--accent); background: rgba(0,229,255,0.08); }
.nav-links a.active { color: var(--accent); background: rgba(0,229,255,0.08); }
@media (max-width: 640px) { .nav-links a { padding: 0 14px; font-size: .8rem; } }

/* ── Compact hero ── */
header.hero {
  position: relative;
  text-align: center;
  padding: 70px 6% 55px;
  overflow: hidden;
}
header.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -30%, rgba(0,229,255,0.14), transparent),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(224,64,251,0.10), transparent),
    radial-gradient(ellipse 60% 50% at 15% 100%, rgba(255,64,129,0.08), transparent);
  pointer-events: none;
}
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  position: relative;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  background: var(--gradient1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  position: relative;
}
.hero .subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.4rem;
  position: relative;
}
.badge-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.8rem;
  position: relative;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  background: var(--surface);
}
.badge.cyan { border-color: var(--accent); color: var(--accent); }
.badge.pink { border-color: var(--accent2); color: var(--accent2); }
.badge.green { border-color: var(--accent3); color: var(--accent3); }
.badge.amber { border-color: var(--accent4); color: var(--accent4); }
.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; position: relative; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #001418;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s, box-shadow .2s;
  border: none;
  cursor: pointer;
  font-size: .95rem;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 18px rgba(0,229,255,0.35); }
.btn.secondary { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn.secondary:hover { background: rgba(0,229,255,0.08); box-shadow: none; }

/* ── Sections ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; }
p { color: var(--text-muted); margin-bottom: 1rem; max-width: 72ch; }
p strong { color: var(--text); }
a.plain { color: var(--accent); }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; margin-bottom: 0; }
.card.cyan-accent .card-icon { background: rgba(0,229,255,0.12); color: var(--accent); }
.card.pink-accent .card-icon { background: rgba(255,64,129,0.12); color: var(--accent2); }
.card.green-accent .card-icon { background: rgba(118,255,3,0.12); color: var(--accent3); }

/* ── Feature list (dot items) ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.feature-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.feature-item .dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 0.5rem; background: var(--accent);
}
.feature-item .dot.pink { background: var(--accent2); }
.feature-item .dot.green { background: var(--accent3); }
.feature-item .dot.amber { background: var(--accent4); }
.feature-item div { font-size: 0.9rem; }
.feature-item div strong { color: var(--text); display: block; margin-bottom: 0.15rem; }
.feature-item div span { color: var(--text-muted); font-size: 0.82rem; }

/* ── Stats row ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin-top: 2.5rem;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
}
.stat .number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat .label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* ── Plugin/purchase card with gradient top bar ── */
.plugin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.plugin-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient1);
}
.price { font-size: 3rem; font-weight: 800; margin: 0.6rem 0 0.2rem; color: var(--text); }
.price span { font-size: 0.95rem; color: var(--text-muted); font-weight: 400; }
.plugin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 0 1.6rem;
}
.plugin-meta .tag {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--surface2);
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
footer strong { color: var(--text); }

/* ── Floating diamond (fixed bottom-right home) ── */
#floating-diamond {
  position: fixed;
  right: 3vw;
  bottom: 4vh;
  width: clamp(120px, 16vw, 230px);
  height: clamp(120px, 16vw, 230px);
  pointer-events: none;
  z-index: 5;
  opacity: .95;
  will-change: transform;
}
@media (max-width: 640px) { #floating-diamond { right: 2vw; bottom: 3vh; width: 110px; height: 110px; opacity: .7; } }
