/* WebHound — Landing Page Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --accent: #f59e0b;
  --success: #10b981;
  --radius: 10px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}
.logo {
  font-size: 20px; font-weight: 700; color: var(--text);
  text-decoration: none;
}
.nav-link {
  color: var(--text-muted); text-decoration: none;
  font-weight: 500; font-size: 14px;
  transition: color .15s;
}
.nav-link:hover { color: var(--text); }
.nav-link.cta {
  background: var(--primary); color: white !important;
  padding: 8px 18px; border-radius: var(--radius);
}
.nav-link.cta:hover { background: var(--primary-dark); }

/* ── Hero ── */
.hero {
  padding: 80px 0 96px; text-align: center;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}
.hero h1 {
  font-size: 52px; font-weight: 800; line-height: 1.15;
  letter-spacing: -1px; color: var(--text);
}
.hero h1 span { color: var(--primary); }
.hero .sub {
  font-size: 18px; color: var(--text-muted);
  max-width: 600px; margin: 20px auto 32px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-bottom: 32px; }
.hero-stats {
  display: flex; gap: 28px; justify-content: center;
  font-size: 14px; color: var(--text-muted); flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 14px 28px;
  border-radius: var(--radius); font-weight: 600; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: white; color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-alt); }

/* ── Features ── */
.features { padding: 80px 0; }
.features h2 {
  font-size: 36px; font-weight: 700; text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--text-muted);
  max-width: 550px; margin: 0 auto 48px; font-size: 16px;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature {
  padding: 28px; border: 1px solid var(--border);
  border-radius: var(--radius); background: white;
  transition: box-shadow .15s, transform .15s;
}
.feature:hover { box-shadow: 0 10px 30px rgba(0,0,0,.06); transform: translateY(-2px); }
.feat-icon { font-size: 32px; margin-bottom: 12px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.feature p { color: var(--text-muted); font-size: 14px; }

/* ── Demo ── */
.demo { padding: 80px 0; background: var(--bg-alt); }
.demo h2 {
  font-size: 36px; font-weight: 700; text-align: center;
  margin-bottom: 12px;
}
.demo-form {
  max-width: 520px; margin: 32px auto 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.demo-form input {
  padding: 14px 18px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 15px;
  font-family: inherit;
}
.demo-form input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.demo-form button { padding: 16px; font-size: 16px; }
.demo-result {
  max-width: 520px; margin: 0 auto;
  padding: 16px; border-radius: var(--radius);
  font-size: 14px; display: none;
}
.demo-result.show { display: block; }
.demo-result.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.demo-result.error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.code-block {
  background: #1e293b; color: #e2e8f0;
  padding: 20px; border-radius: var(--radius);
  font-size: 13px; overflow-x: auto;
  max-width: 520px; margin: 0 auto;
  font-family: 'SF Mono', Consolas, 'Liberation Mono', monospace;
}
.code-block code { white-space: pre; }

/* ── Pricing ── */
.pricing { padding: 80px 0; }
.pricing h2 {
  font-size: 36px; font-weight: 700; text-align: center;
  margin-bottom: 48px;
}
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; max-width: 880px; margin: 0 auto;
}
.price-card {
  padding: 32px 28px; border: 1px solid var(--border);
  border-radius: var(--radius); background: white;
  position: relative; text-align: left;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(37,99,235,.15);
  transform: translateY(-4px);
}
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; font-size: 12px;
  padding: 4px 14px; border-radius: 20px; font-weight: 600;
}
.price-card h3 { font-size: 20px; margin-bottom: 8px; }
.price { font-size: 40px; font-weight: 800; margin-bottom: 4px; }
.price span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.price-card li { padding: 6px 0; font-size: 14px; color: var(--text-muted); }

/* ── Footer ── */
.footer {
  padding: 40px 0; text-align: center;
  border-top: 1px solid var(--border);
}
.footer p { font-size: 14px; }
.footer .legal { color: var(--text-muted); margin-top: 8px; font-size: 12px; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .hero { padding: 48px 0 64px; }
  .features, .demo, .pricing { padding: 56px 0; }
  .features h2, .demo h2, .pricing h2 { font-size: 28px; }
  .price-card.featured { transform: none; }
  .nav-inner { gap: 16px; }
  .nav-link:not(.cta) { display: none; }
}
