/* Howler landing — dark, corporate, indigo-accented. Matches voice.nfinitmonkeys.com/admin palette. */

:root {
  --bg: #0b1020;
  --bg-2: #0f172a;
  --panel: #141b2f;
  --panel-2: #1e293b;
  --border: #253046;
  --text: #e2e8f0;
  --text-strong: #f8fafc;
  --muted: #94a3b8;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.35);
  --ok: #22c55e;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --radius: 10px;
  --radius-sm: 6px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(99, 102, 241, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 30% at 80% 20%, rgba(129, 140, 248, 0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--accent-light); text-decoration: none; transition: color 120ms ease; }
a:hover { color: var(--text-strong); }

.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; }
.accent { color: var(--accent-light); }

/* ---------- Top nav ---------- */
header.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  background: rgba(11, 16, 32, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37, 48, 70, 0.6);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.brand:hover { color: var(--text-strong); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text-strong); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 150ms ease;
  font-family: inherit;
  letter-spacing: -0.005em;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 0 0 0 var(--accent-glow), 0 4px 12px -2px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
  background: var(--accent-light);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px var(--accent-glow), 0 8px 20px -2px rgba(99, 102, 241, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent-light);
  color: var(--text-strong);
  background: rgba(99, 102, 241, 0.06);
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 56px) 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--text-strong);
}
.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 560px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.cta-row.center { justify-content: center; }
.trust-line {
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 0;
  letter-spacing: 0.01em;
}

/* Hero status card — echoes the admin dashboard's info cards */
.hero-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
}
.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(37, 48, 70, 0.7);
}
.hero-card-row:last-child { border-bottom: none; }
.hero-card-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-card-value { color: var(--text-strong); font-weight: 500; }
.hero-card-value.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; }

.pulse {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--ok);
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Features ---------- */
.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px clamp(20px, 5vw, 56px);
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 0 0 14px;
}
.section-lede {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 28px;
  transition: transform 150ms ease, border-color 150ms ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.35);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-light);
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.feature p .mono { color: var(--text); }

/* ---------- Contact / Lead form ---------- */
.contact {
  padding: 80px clamp(20px, 5vw, 56px);
}
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 0 0 14px;
}

.lead-form {
  text-align: left;
  margin: 32px auto 16px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.lead-form label {
  display: block;
  margin-bottom: 16px;
}
.lead-form label span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 6px;
}
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  background: rgba(11, 16, 32, 0.7);
  color: var(--text-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.lead-form textarea {
  resize: vertical;
  min-height: 72px;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(148, 163, 184, 0.55); }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.lead-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(37, 48, 70, 0.6);
}

.form-status {
  margin: 14px 0 0;
  font-size: 13px;
  min-height: 1.2em;
}
.form-status.success { color: var(--ok); }
.form-status.error { color: #fca5a5; }

.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 18px auto 0;
  max-width: 560px;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 36px clamp(20px, 5vw, 56px);
  background: rgba(11, 16, 32, 0.6);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text-strong); }
.footer-legal { font-size: 12px; color: var(--muted); }

@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
