/* DiscoForge landing — dark, premium, indie-software vibe */

:root {
  --bg: #0a0716;
  --bg-2: #110a26;
  --bg-3: #1a1233;
  --surface: #181030;
  --line: #2a1f4a;
  --text: #f4f0ff;
  --text-2: #c8bfe0;
  --text-3: #8c83a8;
  --magenta: #ff5cd0;
  --purple: #7a5cff;
  --cyan: #5cffd0;
  --mint: #4ade80;
  --gold: #ffcc5c;
  --grad: linear-gradient(90deg, var(--magenta) 0%, var(--purple) 50%, var(--cyan) 100%);
  --grad-rev: linear-gradient(270deg, var(--magenta) 0%, var(--purple) 50%, var(--cyan) 100%);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-glow: 0 0 60px -10px rgba(255, 92, 208, 0.35);
  --shadow-card: 0 12px 40px -12px rgba(0, 0, 0, 0.6);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(122, 92, 255, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(255, 92, 208, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 10% 60%, rgba(92, 255, 208, 0.08), transparent);
}

code, .mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.92em; }
code {
  background: rgba(255, 92, 208, 0.1);
  color: var(--magenta);
  padding: 2px 6px;
  border-radius: 4px;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--magenta); }

img { max-width: 100%; height: auto; display: block; }

.muted { color: var(--text-3); }
.small { font-size: 0.85rem; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-8);
  background: rgba(10, 7, 22, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark { width: 28px; height: 28px; }
.brand-name { letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-links a {
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--grad);
  color: #0a0716 !important;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-weight: 600;
}
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #0a0716;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  color: #0a0716;
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 0 80px -5px rgba(255, 92, 208, 0.5);
}
.btn-secondary {
  background: rgba(122, 92, 255, 0.12);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  background: rgba(122, 92, 255, 0.2);
  border-color: var(--purple);
  color: var(--text);
  transform: translateY(-2px);
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-20) var(--space-8) var(--space-12);
  max-width: 1280px;
  margin: 0 auto;
}
.hero-content { display: flex; flex-direction: column; gap: var(--space-6); }
.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 500;
}
.badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}
.hero h1 .h1-line {
  display: block;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 56ch;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}
.hero-cta.center { justify-content: center; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-8);
  color: var(--text-3);
  font-size: 0.92rem;
  margin-top: var(--space-2);
}

.hero-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* PROOF STRIP */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-8) var(--space-8);
  background: rgba(24, 16, 48, 0.4);
}
.proof-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat strong {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span {
  color: var(--text-3);
  font-size: 0.88rem;
  margin-top: 2px;
}

/* SECTIONS */
.section {
  padding: var(--space-24) var(--space-8);
}
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: var(--space-3);
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-2);
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--space-16);
}

/* COMPARE (problem section) */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.compare-card {
  padding: var(--space-8);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(24, 16, 48, 0.5);
}
.compare-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.compare-card li {
  font-size: 0.98rem;
  color: var(--text-2);
  padding-left: var(--space-6);
  position: relative;
}
.compare-bad li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #ff7a92;
  font-weight: 600;
}
.compare-good li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 600;
}
.compare-good li.filler::before { content: ""; }
.compare-card li.filler { opacity: 0; }
.compare-card li strong {
  color: var(--text);
  font-weight: 600;
}
.compare-good li strong { color: var(--mint); }
.compare-bad li strong { color: #ff7a92; }
.compare-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.compare-good { border-color: rgba(74, 222, 128, 0.35); background: rgba(74, 222, 128, 0.06); }
.compare-bad { border-color: rgba(255, 122, 146, 0.25); }

/* PRODUCT SHOT */
.product-section { background: rgba(17, 10, 38, 0.4); }
.product-shot {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--space-8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature {
  padding: var(--space-8);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(24, 16, 48, 0.4);
  transition: all 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: var(--shadow-card);
}
.feature-icon {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--grad);
  color: #0a0716;
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.feature h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}
.feature p { color: var(--text-2); font-size: 0.95rem; line-height: 1.55; }

/* TESTIMONIALS */
.testimonials { background: rgba(17, 10, 38, 0.4); }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.quotes blockquote {
  padding: var(--space-6);
  border-radius: var(--r-lg);
  background: rgba(24, 16, 48, 0.6);
  border-left: 3px solid var(--magenta);
}
.quotes blockquote:nth-child(2) { border-left-color: var(--purple); }
.quotes blockquote:nth-child(3) { border-left-color: var(--cyan); }
.quotes p { font-size: 1.05rem; color: var(--text); line-height: 1.5; margin-bottom: var(--space-3); font-style: italic; }
.quotes cite { font-style: normal; color: var(--text-3); font-size: 0.88rem; }

/* TIERS */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}
.tier {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(24, 16, 48, 0.5);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.tier:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
}
.tier-featured {
  border: 1px solid var(--magenta);
  background: linear-gradient(180deg, rgba(255, 92, 208, 0.08), rgba(122, 92, 255, 0.05));
  box-shadow: 0 0 60px -20px rgba(255, 92, 208, 0.5);
  transform: scale(1.03);
}
.tier-featured:hover {
  transform: scale(1.03) translateY(-4px);
  border-color: var(--magenta);
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #0a0716;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier-badge-soon {
  background: rgba(255, 255, 255, 0.08);
  color: #cfc8e6;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-tier.btn-disabled {
  background: rgba(255, 255, 255, 0.05);
  color: #b8b0d0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
}
.btn-tier.btn-disabled:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.tier-head { margin-bottom: var(--space-6); }
.tier-head h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}
.tier-price {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}
.tier-price .dollar {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 2px;
  color: var(--text-3);
  font-weight: 500;
}
.tier-sub { color: var(--text-3); font-size: 0.95rem; }
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}
.tier-features li {
  font-size: 0.95rem;
  color: var(--text-2);
}
.tier-features li.muted { color: var(--text-3); opacity: 0.6; }
.btn-tier {
  width: 100%;
  background: rgba(122, 92, 255, 0.12);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-tier:hover {
  background: rgba(122, 92, 255, 0.25);
  border-color: var(--purple);
  color: var(--text);
}
.btn-tier.btn-primary {
  background: var(--grad);
  color: #0a0716;
  border-color: transparent;
}
.btn-tier.btn-primary:hover {
  color: #0a0716;
  filter: brightness(1.1);
}

.tier-footnote {
  margin-top: var(--space-12);
  padding: var(--space-6);
  border-radius: var(--r-md);
  background: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.2);
  text-align: center;
}
.tier-footnote p { color: var(--text-2); }
.tier-footnote p + p { margin-top: var(--space-3); }
.tier-footnote code {
  background: rgba(255, 204, 92, 0.15);
  color: var(--gold);
}

/* FAQ */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(24, 16, 48, 0.4);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--purple); }
.faq summary {
  padding: var(--space-4) var(--space-6);
  cursor: pointer;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: var(--space-12);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
  color: var(--magenta);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-2);
  line-height: 1.6;
}

/* FINAL CTA */
.final-cta { text-align: center; }
.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.cta-lead {
  color: var(--text-2);
  font-size: 1.1rem;
  margin-bottom: var(--space-8);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: var(--space-12) var(--space-8);
  background: rgba(10, 7, 22, 0.6);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--text);
}
.footer-brand .brand-mark { width: 24px; height: 24px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
}
.footer-links a { color: var(--text-2); font-size: 0.95rem; }
.footer-fine {
  text-align: center;
  color: var(--text-3);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 60ch;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: var(--space-12) var(--space-6); gap: var(--space-8); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: var(--space-16) var(--space-6); }
  .compare { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .tier-featured { transform: none; }
  .tier-featured:hover { transform: translateY(-4px); }
  .nav { padding: var(--space-3) var(--space-4); }
  .nav-links { gap: var(--space-3); font-size: 0.88rem; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .lead { font-size: 1rem; }
  .footer-links { flex-direction: column; align-items: center; gap: var(--space-3); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
