/* public/style.css — DEBUG_Assist landing page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #07101E;
  --bg-mid:      #0C1828;
  --surface:     #0F1E30;
  --surface-2:   #162640;
  --border:      #1E3554;
  --border-h:    #2A4A72;
  --cyan:        #00D4FF;
  --cyan-h:      #00BCDF;
  --cyan-glow:   rgba(0, 212, 255, 0.18);
  --green:       #22FF7A;
  --green-h:     #00E060;
  --green-glow:  rgba(34, 255, 122, 0.16);
  --text:        #E8F0FF;
  --text-2:      #B8CCEA;
  --muted:       #5A7A9A;
  --code-bg:     #040A14;
  --red:         #FF5C6A;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── Navigation ──────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(7, 16, 30, 0.92);
  backdrop-filter: blur(16px);
  z-index: 100;
  height: 80px;
  overflow: visible;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img {
  height: 160px;
  width: auto;
  position: relative;
  z-index: 101;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }

/* ── Buttons ─────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0099CC 100%);
  color: #07101E;
  border: none;
  border-radius: 8px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s, box-shadow .15s;
  display: inline-block;
  box-shadow: 0 0 20px rgba(0,212,255,0.25);
}
.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 32px rgba(0,212,255,0.4);
}
.btn-nav {
  background: linear-gradient(135deg, var(--cyan) 0%, #0099CC 100%);
  color: #07101E !important;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity .15s;
}
.btn-nav:hover { opacity: 0.85; }
.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-h);
  border-radius: 8px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── Hero ────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 64px 80px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34,255,122,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,255,122,0.08);
  border: 1px solid rgba(34,255,122,0.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--green);
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--text);
}
.hero h1 .accent-cyan  { color: var(--cyan); }
.hero h1 .accent-green { color: var(--green); }
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-btns { display: flex; gap: 12px; align-items: center; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-trust span { display: flex; align-items: center; gap: 5px; }
.hero-trust .check { color: var(--green); font-weight: 700; }

/* ── Code block ──────────────────────────── */
.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  box-shadow: 0 0 60px rgba(0,212,255,0.08), 0 24px 48px rgba(0,0,0,0.6);
  position: relative;
  z-index: 1;
}
.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(14, 28, 50, 0.8);
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.red    { background: #ff5f57; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green  { background: #28c840; }
.code-filename { color: var(--muted); font-size: 12px; margin-left: 8px; }
.code-body { padding: 20px 24px; line-height: 1.9; }
.c-comment { color: #3D7A5A; }
.c-keyword { color: #00D4FF; }
.c-string  { color: #22FF7A; }
.c-num     { color: #79DFFF; }
.c-key     { color: #B3FFDC; }
.c-accent  { color: #00D4FF; }
.c-badge {
  display: inline-block;
  background: rgba(255,92,106,0.15);
  color: var(--red);
  border: 1px solid rgba(255,92,106,0.3);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 8px;
}
.c-badge.green {
  background: rgba(34,255,122,0.1);
  color: var(--green);
  border-color: rgba(34,255,122,0.3);
}

/* ── Stats bar ───────────────────────────── */
.stats-wrap { max-width: 1200px; margin: 0 auto; padding: 0 64px 80px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.stat { background: var(--surface); padding: 32px 24px; text-align: center; }
.stat-num   {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ── Features ────────────────────────────── */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 64px;
  border-top: 1px solid var(--border);
}
.section-label {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 14px;
}
.features h2, .pricing h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: var(--text);
}
.section-sub {
  text-align: center;
  color: var(--text-2);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.6;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: var(--cyan);
  background: var(--surface-2);
  box-shadow: 0 0 24px rgba(0,212,255,0.06);
}
.feature-icon {
  width: 42px;
  height: 42px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.feature-card p  { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ── Pricing ─────────────────────────────── */
.pricing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 64px;
  border-top: 1px solid var(--border);
}
.pricing h2 { margin-bottom: 48px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  transition: border-color .2s;
}
.pricing-card:hover { border-color: var(--border-h); }
.pricing-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(0,212,255,0.05) 0%, var(--surface) 100%);
  box-shadow: 0 0 40px rgba(0,212,255,0.1);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), #0099CC);
  color: #07101E;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name  {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 10px;
}
.plan-price { font-size: 42px; font-weight: 800; margin-bottom: 4px; color: var(--text); }
.plan-price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.plan-limit {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; }
.btn-plan-primary {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--cyan), #0099CC);
  color: #07101E;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}
.btn-plan-primary:hover { opacity: 0.85; }
.btn-plan-outline {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-h);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  text-decoration: none;
}
.btn-plan-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── CTA section ─────────────────────────── */
.cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 64px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-section h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.cta-section p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 36px;
}
.cta-btns { display: flex; gap: 12px; justify-content: center; }

/* ── Footer ──────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 64px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}
footer .footer-links { display: flex; gap: 24px; }
footer .footer-links a { color: var(--muted); transition: color .15s; }
footer .footer-links a:hover { color: var(--cyan); }
footer .footer-copy { color: var(--muted); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .nav-logo-img { height: 36px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 56px 20px 40px;
    gap: 40px;
  }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 15px; }

  .stats-wrap { padding: 0 20px 48px; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .features h2, .pricing h2 { font-size: 28px; }

  .pricing { padding: 60px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }

  .cta-section { padding: 60px 20px; }
  .cta-section h2 { font-size: 28px; }
  .cta-btns { flex-direction: column; align-items: center; }

  footer { padding: 28px 20px; flex-direction: column; gap: 16px; text-align: center; }
  footer .footer-links { justify-content: center; flex-wrap: wrap; }
}
