/* ============================================================
   NetMistri — Main Stylesheet
   ============================================================ */

/* ── TOKENS ── */
:root {
  --bg:         #0B1120;
  --surface:    #111827;
  --surface-2:  #1a2235;
  --border:     #1e2d45;
  --cyan:       #00D4FF;
  --cyan-dim:   rgba(0,212,255,.12);
  --amber:      #FFAA00;
  --green:      #00C875;
  --red:        #FF4D6A;
  --text:       #F0F6FF;
  --muted:      #7a8fa8;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,.4);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  font-display: swap;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
header {
  background: rgba(11,17,32,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
}
.hamburger { display: none; background: none; border: none; }
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1100px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.25rem; color: var(--text);
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, #0070f3, var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--muted); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--cyan); color: #000 !important;
  padding: 8px 18px; border-radius: 8px; font-weight: 700 !important; font-size: .85rem !important;
}
.nav-cta:hover { opacity: .88; }
.nav-close-item { display: none; }

/* ── HERO ── */
.hero {
  padding: 96px 24px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,212,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.status-bar {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 16px; font-size: .82rem;
  color: var(--muted); margin-bottom: 28px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,200,117,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(0,200,117,0); }
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero h1 span { color: var(--cyan); }
.hero-sub {
  color: var(--muted); font-size: 1.1rem;
  max-width: 580px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); text-decoration: none; }
.btn-primary { background: var(--cyan); color: #000; }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.hero-pills {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 44px;
}
.pill {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 14px; font-size: .8rem; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-cyan { background: var(--cyan); }
.dot-amber { background: var(--amber); }
.dot-green { background: var(--green); }
.dot-red   { background: var(--red); }

/* ── AD SLOT ── */
.ad-slot {
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius); padding: 20px; text-align: center;
  color: var(--muted); font-size: .8rem; margin: 32px auto;
  max-width: 728px; min-height: 90px; display: flex;
  align-items: center; justify-content: center;
}

/* ── SECTION ── */
.section { padding: 72px 0; }
.section-label {
  display: inline-block; background: var(--cyan-dim); color: var(--cyan);
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 10px;
}
.section-header p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ── ISSUE CARDS GRID ── */
.issues-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.issue-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px; transition: border-color .2s, transform .2s;
  cursor: pointer; display: block;
}
.issue-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.issue-card-icon { font-size: 28px; margin-bottom: 14px; }
.issue-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.issue-card p { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.issue-card-link { color: var(--cyan); font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* ── DIAGNOSTIC ── */
.diag {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px; margin-bottom: 28px; text-align: center;
}
.diag h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.diag > p { color: var(--muted); margin-bottom: 24px; }
.diag-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px;
  margin-bottom: 0;
}
.diag-btn {
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); border-radius: 10px; padding: 14px 12px;
  cursor: pointer; font-size: .85rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: border-color .2s, background .2s; font-family: 'Inter', sans-serif;
}
.diag-btn:hover { border-color: var(--cyan); }
.diag-btn.active { background: var(--cyan-dim); border-color: rgba(0,212,255,.4); color: var(--cyan); }
.diag-result {
  margin-top: 20px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px; text-align: left; display: none;
}
.diag-result h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; margin-bottom: 10px; color: var(--cyan); }
.diag-result ul { padding-left: 18px; color: var(--muted); font-size: .88rem; }
.diag-result ul li { margin-bottom: 6px; }
.diag-result a { font-weight: 600; }

/* ── CHECKLIST ── */
.guide {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; margin-bottom: 28px;
}
.guide-head {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 28px; border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.guide-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  flex-shrink: 0;
}
.gi-cyan   { background: rgba(0,212,255,.1);  border: 1px solid rgba(0,212,255,.2); }
.gi-amber  { background: rgba(255,170,0,.1);  border: 1px solid rgba(255,170,0,.2); }
.gi-green  { background: rgba(0,200,117,.1);  border: 1px solid rgba(0,200,117,.2); }
.gi-purple { background: rgba(160,90,255,.1); border: 1px solid rgba(160,90,255,.2); }
.gi-red    { background: rgba(255,77,106,.1); border: 1px solid rgba(255,77,106,.2); }
.gi-blue   { background: rgba(80,130,255,.1); border: 1px solid rgba(80,130,255,.2); }
.gi-teal   { background: rgba(0,200,180,.1);  border: 1px solid rgba(0,200,180,.2); }
.gi-lime   { background: rgba(130,210,0,.1);  border: 1px solid rgba(130,210,0,.2); }

.guide-head-text h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; }
.guide-head-text p  { color: var(--muted); font-size: .88rem; margin-top: 3px; }
.guide-body { padding: 28px; }

/* symptom box */
.symptom {
  background: rgba(255,170,0,.07); border: 1px solid rgba(255,170,0,.25);
  border-radius: 10px; padding: 16px 20px; margin-bottom: 26px;
}
.symptom h4 { color: var(--amber); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.symptom ul { color: #c8a060; padding-left: 16px; font-size: .88rem; }
.symptom ul li { margin-bottom: 4px; }

/* OS tabs */
.tabs { display: flex; gap: 6px; margin-bottom: 20px; }
.tab-btn {
  padding: 7px 18px; border-radius: 8px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font-weight: 600;
  font-size: .85rem; cursor: pointer; transition: all .15s; font-family: 'Inter', sans-serif;
}
.tab-btn.active { background: var(--cyan-dim); color: var(--cyan); border-color: rgba(0,212,255,.35); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* steps */
.steps { list-style: none; }
.step { display: flex; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cyan-dim); border: 1px solid rgba(0,212,255,.3);
  color: var(--cyan); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; flex-shrink: 0; margin-top: 2px;
  font-family: 'Space Grotesk', sans-serif;
}
.step-body h4 { font-size: .97rem; font-weight: 700; margin-bottom: 6px; font-family: 'Space Grotesk', sans-serif; }
.step-body p  { color: var(--muted); font-size: .88rem; }
.step-body code {
  font-family: 'JetBrains Mono', monospace; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 5px; padding: 2px 7px; font-size: .82rem;
}

/* terminal block */
.term {
  background: #060d18; border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px; margin-top: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: .82rem;
  line-height: 1.8; overflow-x: auto;
}
.term .c { color: #3d5470; }
.term .k { color: var(--cyan); }

/* info / warn callouts */
.callout {
  border-radius: 10px; padding: 14px 18px; margin-top: 18px;
  display: flex; gap: 12px; align-items: flex-start; font-size: .88rem;
}
.callout-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.callout p { margin: 0; }
.callout-tip  { background: rgba(0,200,117,.07); border: 1px solid rgba(0,200,117,.25); color: #6ee7b7; }
.callout-warn { background: rgba(255,77,106,.07); border: 1px solid rgba(255,77,106,.25); color: #fca5a5; }

/* ── GUIDE PAGE LAYOUT ── */
.content-wrap {
  display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start;
}
.sidebar-ad {
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius); min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .8rem; text-align: center; padding: 16px;
  position: sticky; top: 80px;
}
.breadcrumbs {
  font-size: .85rem; color: var(--muted); margin-bottom: 20px;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs .sep { margin: 0 6px; }
.guide-page-header { text-align: center; margin-bottom: 40px; }
.guide-page-header .section-label { margin-bottom: 14px; }
.guide-page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 12px;
}
.guide-page-header p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}

.checklist { list-style: none; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--border); font-size: .9rem;
}
.checklist li:last-child { border-bottom: none; }
.chk { color: var(--green); font-size: 16px; flex-shrink: 0; margin-top: 2px; }

/* ── FAQ ── */
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 10px; overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: none; border: none;
  font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 600;
  color: var(--text); cursor: pointer; text-align: left; gap: 16px; transition: background .15s;
}
.faq-q:hover { background: var(--surface-2); }
.faq-chevron { color: var(--muted); transition: transform .25s; flex-shrink: 0; font-size: 14px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: .9rem; line-height: 1.75; }

/* ── PROFESSIONAL HELP CARD ── */
.pro-help {
  background: linear-gradient(135deg, #0a1628 0%, #16213a 50%, #0a1628 100%);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 16px; padding: 36px; display: flex; gap: 28px;
  align-items: center; flex-wrap: wrap; margin-bottom: 24px;
}
.pro-help-icon {
  width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0;
  background: var(--cyan-dim); border: 1px solid rgba(0,212,255,.3);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.pro-help-text { flex: 1; min-width: 220px; }
.pro-help-text h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.pro-help-text p { color: var(--muted); font-size: .92rem; }
.pro-help .btn { flex-shrink: 0; }

.pro-help-price {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px;
}
.price-badge {
  background: var(--cyan-dim); color: var(--cyan); border: 1px solid rgba(0,212,255,.35);
  font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
}
.price-note {
  color: var(--green); font-size: .8rem; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.price-note::before {
  content: '✓'; display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: #042b1c;
  font-size: 10px; font-weight: 700;
}

/* ── HELP REQUEST FORM ── */
.help-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; max-width: 720px; margin: 0 auto;
}
.help-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
.help-form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.help-form-row .help-form-field { margin-bottom: 0; }
.help-form-field label {
  font-size: .85rem; font-weight: 600; color: var(--text);
}
.help-form-field input,
.help-form-field select,
.help-form-field textarea {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-size: .9rem;
  font-family: 'Inter', sans-serif; width: 100%; resize: vertical;
}
.help-form-field input::placeholder,
.help-form-field textarea::placeholder { color: var(--muted); }
.help-form-field select { cursor: pointer; }
.help-form .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ── CTA BANNER ── */
.cta {
  background: linear-gradient(135deg, #0a1628 0%, #0d2044 50%, #091830 100%);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 20px; padding: 56px 40px; text-align: center; margin: 40px 0;
}
.cta h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.9rem; font-weight: 700; margin-bottom: 12px; }
.cta p  { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.app-chips { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 20px; font-size: .88rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.waitlist-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.waitlist-form input {
  padding: 12px 18px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-size: .9rem;
  width: 280px; max-width: 100%; font-family: 'Inter', sans-serif;
}
.waitlist-form input::placeholder { color: var(--muted); }
.success-msg { margin-top: 14px; color: var(--green); font-weight: 600; display: none; }

/* ── FOOTER ── */
footer {
  background: #070d1a; border-top: 1px solid var(--border);
  padding: 52px 24px 28px; color: var(--muted);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1100px; margin: 0 auto 40px;
}
.footer-brand .logo { color: var(--text); margin-bottom: 12px; }
.footer-brand p { font-size: .88rem; line-height: 1.65; }
.footer-col h4 { color: var(--text); font-weight: 600; margin-bottom: 14px; font-size: .9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--muted); font-size: .88rem; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; flex-wrap: wrap; gap: 12px;
}



/* Ensure all tap targets are at least 44px tall */
.btn, .diag-btn, .faq-q, .nav-links a, .issue-card-link {
  min-height: 44px;
}

/* STATS STRIP */
    .stats {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
      max-width: 880px; margin: 0 auto;
    }
    .stat {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 14px; padding: 22px 16px; text-align: center;
    }
    .stat .num {
      font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--cyan);
    }
    .stat .lbl { color: var(--muted); font-size: .82rem; margin-top: 4px; }

   

    /* PROJECT CARDS */
    .project {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 16px; overflow: hidden; margin-bottom: 24px;
    }
    .project-head {
      display: flex; align-items: flex-start; gap: 18px;
      padding: 26px 28px; border-bottom: 1px solid var(--border);
      background: var(--surface-2); flex-wrap: wrap;
    }
    .project-icon {
      width: 52px; height: 52px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center; font-size: 24px;
      flex-shrink: 0;
    }
    .pi-cyan   { background: rgba(0,212,255,.1);  border: 1px solid rgba(0,212,255,.2); }
    .pi-amber  { background: rgba(255,170,0,.1);  border: 1px solid rgba(255,170,0,.2); }
    .pi-green  { background: rgba(0,200,117,.1);  border: 1px solid rgba(0,200,117,.2); }
    .pi-purple { background: rgba(160,90,255,.1); border: 1px solid rgba(160,90,255,.2); }
    .pi-red    { background: rgba(255,77,106,.1); border: 1px solid rgba(255,77,106,.2); }
    .pi-blue   { background: rgba(80,130,255,.1); border: 1px solid rgba(80,130,255,.2); }

    .project-head-text { flex: 1; min-width: 200px; }
    .project-head-text h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
    .project-head-text .client { color: var(--cyan); font-size: .85rem; font-weight: 600; }
    .tags { display: flex; gap: 8px; flex-wrap: wrap; }
    .tag {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 100px; padding: 5px 12px; font-size: .76rem; color: var(--muted);
      font-family: 'JetBrains Mono', monospace;
    }
    .project-body { padding: 26px 28px; }
    .project-body h4 {
      font-family: 'Space Grotesk', sans-serif; font-size: .82rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px;
    }
    .project-body p { color: var(--text); font-size: .95rem; margin-bottom: 18px; }
    .project-body p:last-child { margin-bottom: 0; }
    .results { list-style: none; display: grid; gap: 10px; }
    .results li {
      display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted);
    }
    .results li .chk { color: var(--green); flex-shrink: 0; margin-top: 2px; }

    /* CTA */
    .cta {
      background: linear-gradient(135deg, #0a1628 0%, #0d2044 50%, #091830 100%);
      border: 1px solid rgba(0,212,255,.2);
      border-radius: 20px; padding: 56px 40px; text-align: center; margin: 40px 0;
    }
    .cta h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.9rem; font-weight: 700; margin-bottom: 12px; }
    .cta p  { color: var(--muted); max-width: 540px; margin: 0 auto 28px; }
    .contact-grid {
      display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    }
    .contact-chip {
      background: var(--surface-2); border: 1px solid var(--border);
      border-radius: 10px; padding: 14px 24px; font-size: .92rem; font-weight: 600;
      display: flex; align-items: center; gap: 10px; color: var(--text);
    }
    .contact-chip:hover { border-color: var(--cyan); text-decoration: none; }

    /* LEAD FORM */
    .lead-form { display: flex; flex-direction: column; gap: 12px; max-width: 560px; margin: 0 auto; }
    .form-row { display: flex; gap: 12px; flex-wrap: wrap; }
    .form-row > * { flex: 1; min-width: 200px; }
    .lead-form input,
    .lead-form select,
    .lead-form textarea {
      padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border);
      background: var(--surface-2); color: var(--text); font-size: .9rem;
      font-family: 'Inter', sans-serif; width: 100%;
    }
    .lead-form input::placeholder,
    .lead-form textarea::placeholder { color: var(--muted); }
    .lead-form textarea { resize: vertical; }
    .lead-form select { cursor: pointer; }
    .lead-form select option { background: var(--surface-2); color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta { padding: 36px 20px; }
  .nav-close-item { display: none; }
  .nav-links.open .nav-close-item { display: block; }
  .pro-help { text-align: center; justify-content: center; }
  .pro-help-text { text-align: center; }
  .pro-help-price { justify-content: center; }
  .help-form-row { grid-template-columns: 1fr; }
  .help-form { padding: 22px; }
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar-ad { display: none; }
  .guide-head { flex-direction: column; align-items: flex-start; }
  .guide-body { padding: 20px; }

  /* Mobile nav — hamburger */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11,17,32,.97);
    backdrop-filter: blur(16px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    gap: 32px;
    font-size: 1.2rem;
    list-style: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; color: var(--text); }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 10000;
    position: relative;
  }
  .hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .25s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .diag-grid { grid-template-columns: 1fr 1fr; }

  /* Waitlist form stacks vertically */
  .waitlist-form { flex-direction: column; align-items: center; }
  .waitlist-form input { width: 100%; }
  .waitlist-form .btn { width: 100%; justify-content: center; }

  /* Hero pills wrap cleanly */
  .hero-pills { gap: 8px; }
  .pill { font-size: .75rem; padding: 5px 10px; }

  /* Prevent code blocks from stretching page */
  .term { font-size: .75rem; word-break: break-all; }

  /* Tabs scrollable if many */
  .tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tab-btn { white-space: nowrap; }
}

/* ── EXIT-INTENT FEEDBACK WIDGET ── */
.feedback-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.feedback-overlay.visible {
  opacity: 1; pointer-events: all;
}
.feedback-modal {
  position: fixed; z-index: 9999;
  bottom: -100%; left: 50%; transform: translateX(-50%);
  width: min(480px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transition: bottom .35s cubic-bezier(.34,1.56,.64,1);
}
.feedback-modal.visible { bottom: 32px; }
.feedback-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: var(--muted);
  font-size: 20px; cursor: pointer; line-height: 1;
  padding: 4px 8px; border-radius: 6px; transition: color .15s;
}
.feedback-close:hover { color: var(--text); }
.feedback-emoji-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.feedback-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem; font-weight: 700; margin-bottom: 6px;
}
.feedback-sub { color: var(--muted); font-size: .88rem; margin-bottom: 22px; }
.feedback-emojis {
  display: flex; gap: 10px; justify-content: center; margin-bottom: 22px;
}
.feedback-emoji-btn {
  width: 52px; height: 52px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface-2);
  font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, transform .15s, background .15s;
  flex-direction: column; gap: 2px;
}
.feedback-emoji-btn span.label {
  font-size: .6rem; color: var(--muted); font-family: 'Inter', sans-serif;
  font-weight: 600; letter-spacing: .04em;
}
.feedback-emoji-btn:hover,
.feedback-emoji-btn.selected {
  border-color: var(--cyan); background: var(--cyan-dim);
  transform: translateY(-2px);
}
.feedback-textarea {
  width: 100%; padding: 12px 14px;
  border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text);
  font-size: .9rem; font-family: 'Inter', sans-serif;
  resize: none; margin-bottom: 14px;
  transition: border-color .2s; line-height: 1.6;
}
.feedback-textarea:focus { outline: none; border-color: rgba(0,212,255,.4); }
.feedback-textarea::placeholder { color: var(--muted); }
.feedback-submit {
  width: 100%; justify-content: center;
}
.feedback-success {
  text-align: center; padding: 12px 0 4px;
  display: none;
}
.feedback-success .fs-icon { font-size: 40px; margin-bottom: 10px; }
.feedback-success p {
  color: var(--muted); font-size: .9rem; margin-top: 6px;
}
.feedback-success strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem; color: var(--text); display: block;
}
 
@media (max-width: 480px) {
  .feedback-modal { padding: 24px 18px 20px; }
  .feedback-emoji-btn { width: 46px; height: 46px; font-size: 20px; }
}
