/*
 * HuntrIQ — marketing / landing page styles
 */

/* All marketing styles are scoped to .mkt-page to avoid bleeding into the app layout */

.mkt-page *, .mkt-page *::before, .mkt-page *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --mkt-bg:        #060d1a;
  --mkt-bg-soft:   #080f1c;
  --mkt-surface:   #0d1526;
  --mkt-surface-2: #131e32;
  --mkt-border:    #1a2d45;
  --mkt-border-2:  #2a3a55;
  --mkt-accent:    #5b5cf6;
  --mkt-accent-hover: #4c4def;
  --mkt-accent-soft: #312e81;
  --mkt-accent-text: #a5b4fc;
  --mkt-text:      #f1f5f9;
  --mkt-text-muted: #94a3b8;
  --mkt-text-dim:  #64748b;
  --mkt-text-faint: #374151;
  --mkt-green:     #4ade80;
  --mkt-green-bg:  #052e16;
  --mkt-green-border: #14532d;
  --mkt-blue:      #60a5fa;
  --mkt-blue-bg:   #1e3a5f;
  --radius:        8px;
  --radius-lg:     12px;
}

.mkt-page { scroll-behavior: smooth; }

.mkt-page {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background: var(--mkt-bg);
  color: var(--mkt-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ── */
.mkt-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mkt-accent);
  font-weight: 600;
  opacity: 0.75;
  margin-bottom: 18px;
}

.mkt-section-tag {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--mkt-text-dim);
  font-weight: 700;
  margin-bottom: 14px;
}

.mkt-h1 {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.0;
  color: #ffffff;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.mkt-h2 {
  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.mkt-subtext {
  font-size: 16px;
  color: var(--mkt-text-muted);
  line-height: 1.7;
  max-width: 520px;
}

.mkt-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mkt-border) 30%, var(--mkt-border) 70%, transparent);
  margin: 0 48px;
}

/* ── NAV ── */
.mkt-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  border-bottom: 1px solid rgba(26, 45, 69, 0.6);
  position: sticky;
  top: 0;
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.mkt-nav-logo {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
  text-decoration: none;
}

.mkt-nav-logo span { color: var(--mkt-accent); }

.mkt-beta-pill {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--mkt-accent-text);
  background: rgba(91, 92, 246, 0.12);
  border: 1px solid rgba(91, 92, 246, 0.28);
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1;
  vertical-align: middle;
  margin-left: 8px;
}

.mkt-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.mkt-nav-links a {
  font-size: 14px;
  color: var(--mkt-text-dim);
  text-decoration: none;
  transition: color 0.15s;
}

.mkt-nav-links a:hover { color: var(--mkt-text-muted); }

.mkt-nav-cta {
  background: var(--mkt-accent);
  color: #fff;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.mkt-nav-cta:hover { background: var(--mkt-accent-hover); }

/* ── HERO ── */
.mkt-hero {
  text-align: center;
  padding: 72px 24px 32px;
  max-width: 780px;
  margin: 0 auto;
}

.mkt-hero-sub {
  font-size: 17px;
  color: var(--mkt-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.mkt-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.mkt-cta-primary {
  background: var(--mkt-accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.mkt-cta-primary:hover { background: var(--mkt-accent-hover); }

.mkt-cta-secondary {
  border: 1px solid var(--mkt-border);
  color: var(--mkt-text-muted);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.mkt-cta-secondary:hover {
  border-color: var(--mkt-border-2);
  color: var(--mkt-text);
}

/* button_to wraps in a form — strip form chrome so it looks like the anchor */
.mkt-cta-demo {
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.mkt-cta-demo:hover {
  text-decoration: none;
}

/* Resets for button_to used on primary-styled buttons (nav cta, cta-primary) */
.btn-reset {
  cursor: pointer;
  font-family: inherit;
  border: none;
}

/* ── BROWSER / WORKSPACE MOCKUP ── */
.mkt-browser-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.mkt-browser-frame {
  background: var(--mkt-surface-2);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid var(--mkt-border-2);
  border-bottom: none;
  overflow: hidden;
  box-shadow: 0 -4px 60px rgba(91, 92, 246, 0.08), 0 -2px 20px rgba(0, 0, 0, 0.5);
}

.mkt-browser-bar {
  background: #111827;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--mkt-surface);
}

.mkt-browser-dots { display: flex; gap: 5px; }
.mkt-dot { width: 10px; height: 10px; border-radius: 50%; opacity: 0.5; }
.mkt-dot-r { background: #ef4444; }
.mkt-dot-y { background: #f59e0b; }
.mkt-dot-g { background: #22c55e; }

.mkt-address-bar {
  flex: 1;
  background: var(--mkt-surface-2);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--mkt-text-faint);
  text-align: center;
  font-family: ui-monospace, monospace;
}

.mkt-browser-shot { display: block; width: 100%; height: auto; }

/* ── SECTIONS ── */
.mkt-section {
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.mkt-section-dark {
  padding: 80px 48px;
  background: var(--mkt-bg-soft);
}

.mkt-section-dark-inner { max-width: 1100px; margin: 0 auto; }

/* ── PROBLEM ── */
.mkt-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.mkt-pain-card {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 10px;
  padding: 24px 20px;
}

.mkt-pain-icon { width: 28px; height: 28px; color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.mkt-pain-icon svg { width: 28px; height: 28px; display: block; }
.mkt-pain-title { font-size: 15px; font-weight: 700; color: var(--mkt-text); margin-bottom: 8px; }
.mkt-pain-text { font-size: 13px; color: var(--mkt-text-dim); line-height: 1.65; }

/* ── SOLUTION ── */
.mkt-sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.mkt-sol-card {
  padding: 24px 20px;
  border-radius: 10px;
  border: 1px solid var(--mkt-border);
  background: var(--mkt-surface);
}

.mkt-sol-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--mkt-accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.mkt-sol-title { font-size: 16px; font-weight: 700; color: var(--mkt-text); margin-bottom: 8px; }
.mkt-sol-text { font-size: 13px; color: var(--mkt-text-dim); line-height: 1.65; }

/* ── ANSWERS ── */
.mkt-answers-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.mkt-answers-card-wrap { display: flex; justify-content: center; }

.mkt-answers-card {
  display: block;
  max-width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--mkt-border-2);
  box-shadow: 0 4px 60px rgba(91, 92, 246, 0.08), 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ── COMMUNICATIONS ── */
.mkt-comms-forwarding {
  margin-top: 28px;
  text-align: center;
}

.mkt-comms-forwarding-label {
  font-size: 11px;
  color: var(--mkt-text-dim);
  margin-bottom: 8px;
}

.mkt-forwarding-address {
  display: inline-block;
  background: #0b1322;
  border: 1px solid var(--mkt-border);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--mkt-accent);
  font-family: ui-monospace, "Cascadia Code", monospace;
}

/* ── HOW IT WORKS ── */
.mkt-hiw-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
  justify-content: center;
}

.mkt-hiw-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.mkt-hiw-connector {
  flex-shrink: 0;
  width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  position: relative;
}

.mkt-hiw-connector::before {
  content: "";
  width: 100%;
  height: 1px;
  background: var(--mkt-border);
}

.mkt-hiw-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mkt-accent);
}

.mkt-hiw-num { font-size: 28px; font-weight: 700; color: var(--mkt-border); margin-bottom: 10px; }
.mkt-hiw-title { font-size: 13px; font-weight: 700; color: var(--mkt-text); margin-bottom: 6px; }
.mkt-hiw-desc { font-size: 12px; color: var(--mkt-text-dim); line-height: 1.6; }

/* ── TRUST ── */
.mkt-trust {
  text-align: center;
  padding: 80px 48px;
  max-width: 800px;
  margin: 0 auto;
}

.mkt-trust-points {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.mkt-trust-point {
  font-size: 14px;
  color: var(--mkt-text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mkt-trust-dot {
  width: 6px; height: 6px;
  background: var(--mkt-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── PHILOSOPHY / QUOTE ── */
.mkt-philosophy {
  padding: 96px 48px;
  background: var(--mkt-bg-soft);
  text-align: center;
  border-top: 1px solid var(--mkt-border);
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-philosophy-inner {
  max-width: 640px;
  margin: 0 auto;
}

.mkt-philosophy-quote {
  font-size: clamp(22px, 3vw, 30px);
  font-style: italic;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.mkt-philosophy-attr {
  font-size: 12px;
  color: var(--mkt-text-dim);
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.mkt-philosophy-text {
  font-size: 16px;
  color: var(--mkt-text-muted);
  line-height: 1.8;
}

.mkt-philosophy-text p + p {
  margin-top: 1em;
}

/* Quote closes the section — space above, attribution below */
.mkt-philosophy-text .mkt-philosophy-quote {
  margin-top: 2em;
  margin-bottom: 10px;
}

.mkt-philosophy-text .mkt-philosophy-attr {
  margin-bottom: 0;
}

.mkt-philosophy-link {
  color: var(--mkt-accent-text);
  font-weight: 600;
  text-decoration: none;
}

.mkt-philosophy-link:hover { text-decoration: underline; }

/* ── MID-PAGE DEMO CTA ── */
.mkt-demo-mid {
  text-align: center;
  padding: 48px 24px;
  background: var(--mkt-bg);
}

.mkt-demo-mid-text {
  font-size: 17px;
  color: var(--mkt-text-muted);
  margin-bottom: 20px;
}

/* ── FINAL CTA ── */
.mkt-final-cta {
  text-align: center;
  padding: 80px 48px;
  background: var(--mkt-bg);
  border-top: 1px solid #0f1d30;
}

.mkt-final-sub {
  font-size: 16px;
  color: var(--mkt-text-dim);
  margin-bottom: 32px;
  margin-top: 12px;
}

/* ── FOOTER ── */
.mkt-footer {
  text-align: center;
  padding: 24px 48px;
  border-top: 1px solid #0f1d30;
  font-size: 12px;
  color: #2d4060;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mkt-footer a { color: #2d4060; text-decoration: none; }
.mkt-footer a:hover { color: var(--mkt-text-dim); }
.mkt-footer-brand { color: var(--mkt-accent); opacity: 0.6; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .mkt-nav { padding: 14px 24px; }
  .mkt-nav-links { display: none; }
  .mkt-section, .mkt-section-dark { padding: 60px 24px; }
  .mkt-pain-grid, .mkt-sol-grid { grid-template-columns: 1fr 1fr; }
  .mkt-sol-grid { grid-template-columns: 1fr; }
  .mkt-answers-layout { grid-template-columns: 1fr; gap: 32px; }
  .mkt-hiw-flow { flex-direction: column; align-items: center; }
  .mkt-hiw-step { padding: 0; }
  .mkt-hiw-connector { width: 1px; height: 32px; padding: 0; }
  .mkt-hiw-connector::before { width: 1px; height: 100%; }
  .mkt-browser-wrap { padding: 0 16px; }
}

@media (max-width: 600px) {
  .mkt-h1 { letter-spacing: -1.5px; }
  .mkt-pain-grid { grid-template-columns: 1fr; }
  .mkt-trust-points { gap: 20px; }
}

/* ── Legal pages (privacy, terms) ──────────────────────────────── */
.mkt-legal-wrap {
  min-height: calc(100vh - 120px);
  padding: 120px 24px 80px;
}

.mkt-legal {
  max-width: 720px;
  margin: 0 auto;
  color: var(--mkt-text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.mkt-legal h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.mkt-legal-meta {
  font-size: 13px;
  color: var(--mkt-text-dim);
  margin-bottom: 40px;
}

.mkt-legal h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 12px;
}

.mkt-legal h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--mkt-text);
  margin-top: 24px;
  margin-bottom: 8px;
}

.mkt-legal p { margin-bottom: 16px; }

.mkt-legal ul {
  margin: 0 0 16px 20px;
  list-style: disc;
}

.mkt-legal ul li { margin-bottom: 6px; }

.mkt-legal a {
  color: var(--mkt-accent-text);
  text-decoration: none;
}

.mkt-legal a:hover { text-decoration: underline; }

.mkt-legal code {
  font-size: 13px;
  background: var(--mkt-surface-2);
  border: 1px solid var(--mkt-border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--mkt-text);
}

.mkt-legal strong { color: var(--mkt-text); }

.mkt-legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14px;
}

.mkt-legal-table th {
  text-align: left;
  padding: 8px 12px;
  background: var(--mkt-surface);
  color: var(--mkt-text);
  font-weight: 600;
  border: 1px solid var(--mkt-border);
}

.mkt-legal-table td {
  padding: 8px 12px;
  border: 1px solid var(--mkt-border);
  vertical-align: top;
}

@media (max-width: 640px) {
  .mkt-legal-table { font-size: 13px; }
  .mkt-legal-table th, .mkt-legal-table td { padding: 6px 8px; }
}

/* ── Manifesto ("Why HuntrIQ") — editorial, not reference ──────── */
.mkt-manifesto-wrap {
  min-height: calc(100vh - 120px);
  padding: 120px 24px 100px;
}

.mkt-manifesto {
  max-width: 600px;
  margin: 0 auto;
  color: var(--mkt-text-muted);
  font-size: 17px;
  line-height: 1.85;
}

.mkt-manifesto h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 32px;
}

.mkt-manifesto-lede {
  font-size: clamp(20px, 2.6vw, 24px);
  color: var(--mkt-text);
  line-height: 1.55;
  margin-bottom: 40px;
}

.mkt-manifesto h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin-top: 72px;
  margin-bottom: 20px;
}

.mkt-manifesto p { margin-bottom: 22px; }

.mkt-manifesto .mkt-philosophy-quote {
  margin-top: 48px;
  margin-bottom: 10px;
  text-align: left;
}

.mkt-manifesto .mkt-philosophy-attr {
  margin-bottom: 0;
}

.mkt-manifesto-beliefs {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.mkt-manifesto-beliefs li {
  font-size: 19px;
  font-weight: 600;
  color: var(--mkt-text);
  padding: 14px 0;
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-manifesto-beliefs li:first-child { border-top: 1px solid var(--mkt-border); }

.mkt-manifesto-cta {
  margin-top: 56px;
  text-align: center;
}

@media (max-width: 640px) {
  .mkt-manifesto-wrap { padding: 100px 20px 80px; }
  .mkt-manifesto { font-size: 16px; }
}
