/* ============================================================
   Mosquito Finder — Official Website
   Dark / tactical theme matching the app aesthetic
   ============================================================ */

:root {
  --bg:           #060d08;
  --surface:      #0d1a0f;
  --surface-2:    #122016;
  --border:       #1c3020;
  --green:        #3ddc84;
  --green-dim:    #2aaa5f;
  --green-glow:   rgba(61, 220, 132, 0.18);
  --red:          #ff4d4d;
  --text:         #ddeedd;
  --text-muted:   #6e9a76;
  --text-faint:   #3a5a3e;
  --font-sans:    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-mono:    "SF Mono", "Fira Mono", "Consolas", "Monaco", monospace;
  --radius:       12px;
  --radius-sm:    8px;
  --max-w:        900px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 13, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; opacity: .8; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .5px;
}
.nav-links a:hover { color: var(--green); text-decoration: none; }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(61,220,132,.09) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 8px;
}
.hero h1 span { color: var(--green); }
.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.65;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #050e07;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: var(--radius);
  transition: opacity .15s, transform .15s;
  box-shadow: 0 0 32px rgba(61,220,132,.25);
}
.hero-cta:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }
.hero-cta svg { width: 22px; height: 22px; }
.hero-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  letter-spacing: .5px;
}

/* ── FEATURES ── */
.section { padding: 72px 0; }
.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: var(--green-dim);
  box-shadow: 0 0 20px var(--green-glow);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.step-content p { font-size: 15px; color: var(--text-muted); }

/* ── PRIVACY BADGE ── */
.privacy-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 56px 0;
}
.privacy-strip .icon { font-size: 36px; }
.privacy-strip h3 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.privacy-strip p { font-size: 14px; color: var(--text-muted); }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a { font-size: 13px; color: var(--text-muted); }
.footer-links a:hover { color: var(--green); text-decoration: none; }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: .5px;
}

/* ── PROSE (privacy / support pages) ── */
.prose { max-width: 680px; margin: 0 auto; }
.prose h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 6px;
}
.prose .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 1px;
  margin-bottom: 48px;
}
.prose h2 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.prose h3 { font-size: 16px; font-weight: 600; color: var(--green); margin: 28px 0 8px; }
.prose p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 16px; }
.prose li { font-size: 15px; color: var(--text-muted); margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose a { color: var(--green); }
.prose .lang-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  margin: 32px 0 20px;
}

/* ── SUPPORT cards ── */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-q {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.faq-a { font-size: 14px; color: var(--text-muted); }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 48px;
  text-align: center;
}
.contact-card h3 { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--green-dim);
  color: var(--green);
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background .15s;
}
.btn-outline:hover { background: var(--green-glow); text-decoration: none; }

/* ── SCAN LINE animation ── */
@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
.scan-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: .03;
}
.scan-overlay::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(61,220,132,.6), transparent);
  animation: scanline 6s linear infinite;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 72px 24px 64px; }
  .privacy-strip { grid-template-columns: 1fr; }
  .privacy-strip .icon { display: none; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
}
