/* ==============================
   KnockHQ Landing Page Styles
   ============================== */

:root {
  --bg: #0A0A0C;
  --surface: #111117;
  --surface2: #18181F;
  --surface3: #1F1F28;
  --amber: #F5A623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --amber-glow: rgba(245, 166, 35, 0.08);
  --text: #F0EDE6;
  --text-muted: #9A9590;
  --text-dim: #5C5853;
  --border: #232329;
  --border-light: #2E2E36;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 60px;
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.navbar-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--amber);
  color: #0A0A0C;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.navbar-cta:hover { background: #e8961e; }

/* ---- HERO ---- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 48px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-eyebrow {
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--amber-dim);
  border: 1px solid var(--amber);
  color: var(--amber);
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
}
.stat-label { font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.02em; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ---- PROMPT SHELL ---- */
.prompt-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 0 80px rgba(245,166,35,0.06), 0 40px 80px rgba(0,0,0,0.5);
}

.prompt-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface2);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.prompt-icon { flex-shrink: 0; }

.prompt-input-text {
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: 'Figtree', sans-serif;
}

.prompt-btn {
  flex-shrink: 0;
  background: var(--amber);
  color: #0A0A0C;
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
}

/* ---- LEAD CARDS ---- */
.cards-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-card {
  background: var(--surface2);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px 18px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.lead-card:hover {
  transform: translateX(4px);
  border-color: var(--amber-dim);
}

.lead-card--featured {
  background: var(--surface3);
  border-color: rgba(245,166,35,0.3);
  box-shadow: 0 0 24px rgba(245,166,35,0.08);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.card-badge {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--amber);
  color: #0A0A0C;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-badge--warm { background: var(--amber-dim); color: var(--amber); border: 1px solid var(--amber); }

.card-score {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
}

.card-addr {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.4;
}

.card-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.card-reason {
  font-size: 0.72rem;
  color: var(--amber);
  font-style: italic;
}

.results-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.results-count {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
}

.results-time {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ---- SHARED SECTION STYLES ---- */
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ---- PROMPT EXAMPLES ---- */
.section-prompt {
  position: relative;
  z-index: 1;
  padding: 80px 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.prompt-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.example-chip {
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: 'Figtree', sans-serif;
  transition: all 0.2s ease;
  cursor: default;
}

.example-chip:hover {
  border-color: var(--amber-dim);
  color: var(--text);
  background: var(--surface2);
}

/* ---- HOW IT WORKS ---- */
.section-steps {
  position: relative;
  z-index: 1;
  padding: 80px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-header {
  max-width: 1400px;
  margin: 0 auto 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover::before { opacity: 1; }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--border-light);
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.step-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- LEAD QUALITY ---- */
.section-quality {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.quality-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.qf-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.qf-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qf-item > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qf-item strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.qf-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Score ring visual */
.quality-visual {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.score-ring {
  text-align: center;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.score-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, var(--amber) 0%, transparent 0%, transparent 15%, var(--amber) 15%, var(--amber) 94%, transparent 94%);
  opacity: 0.12;
  border-radius: 24px;
}

.ring-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.ring-big {
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.04em;
  line-height: 1;
}

.ring-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.signal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.signal.active { color: var(--text); }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  flex-shrink: 0;
}

.signal.active .dot { background: var(--amber); box-shadow: 0 0 8px rgba(245,166,35,0.5); }

/* ---- VERTICALS ---- */
.section-verticals {
  position: relative;
  z-index: 1;
  padding: 80px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.vertical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.vertical-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.vertical-card:hover {
  border-color: rgba(245,166,35,0.4);
  transform: translateY(-4px);
}

.vertical-icon {
  margin-bottom: 20px;
}

.vertical-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.vertical-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.vertical-tags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vertical-tags li {
  font-size: 0.78rem;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vertical-tags li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- MANIFESTO ---- */
.section-manifesto {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  padding-left: 28px;
  border-left: 3px solid var(--amber);
  max-width: 760px;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 20px;
}

.manifesto-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  max-width: 680px;
}

.cta-statement {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* ---- FOOTER ---- */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .vertical-grid { grid-template-columns: 1fr; }
  .section-quality { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 80px 24px 60px; }
  .hero-headline { font-size: 2.8rem; }
  .section-prompt, .section-steps, .section-verticals, .section-manifesto { padding: 60px 24px; }
  .section-quality { padding: 60px 24px; }
  .navbar { padding: 0 24px; }
  .footer { padding: 32px 24px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .ring-big { font-size: 4rem; }
  .section-title { font-size: 1.8rem; }
}