/* ============================================================
   HOVORA boost-sales landing - design system
   Theme: locked dark. Accent: brand emerald #34d399.
   Type: Unbounded (display) + Onest (text), self-hosted.
   Radius rule: buttons pill, cards 16px, inputs 10px.
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #101418;
  --bg-raise: #161c22;
  --bg-tile: #1b232b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef3f6;
  --text-dim: #a3b0bc;
  --text-faint: #6d7a86;
  --accent: #34d399;
  --accent-strong: #4ee6ad;
  --accent-ink: #06281a;
  --accent-soft: rgba(52, 211, 153, 0.12);
  --danger: #f87171;
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-text: "Onest", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-card: 16px;
  --radius-input: 10px;
  --section-y: clamp(4rem, 3rem + 4vw, 7.5rem);
  --z-nav: 50;
  --z-menu: 60;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

svg { fill: currentColor; }

a { color: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- typography ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }

h1 {
  font-size: clamp(1.75rem, 1.05rem + 2.6vw, 3rem);
  line-height: 1.12;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.5rem);
  line-height: 1.15;
  text-wrap: balance;
}

h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.3; }

.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--text-dim); max-width: 34em; }

.dim { color: var(--text-dim); }

.accent { color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.num {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); }

.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(16, 20, 24, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo svg { width: 22px; height: 22px; }
.logo b { color: var(--accent); font-weight: 600; }

.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
}

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

.nav .btn { padding: 0.6rem 1.25rem; font-size: 0.92rem; }

.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
}
.nav-burger svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-links, .nav .btn-primary { display: none; }
  .nav-burger { display: block; }
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 68px 0 auto 0;
    background: var(--bg-raise);
    border-bottom: 1px solid var(--line);
    padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    gap: 1.1rem;
    z-index: var(--z-menu);
  }
}

/* ---------- hero ---------- */

.hero { padding-block: clamp(2.5rem, 5vh, 5rem) var(--section-y); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-copy .lead { margin-top: 1.4rem; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }

.hero-visual { position: relative; }

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(3, 12, 8, 0.55);
}

.wave-badge {
  position: absolute;
  left: clamp(-0.75rem, -2vw, -1.5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(16, 20, 24, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.wave { display: flex; align-items: center; gap: 3px; height: 18px; }

.wave i {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  height: 30%;
  animation: wave 1.1s var(--ease) infinite;
}

.wave i:nth-child(2) { animation-delay: 0.15s; }
.wave i:nth-child(3) { animation-delay: 0.3s; }
.wave i:nth-child(4) { animation-delay: 0.45s; }
.wave i:nth-child(5) { animation-delay: 0.6s; }

@keyframes wave {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
}

/* ---------- stat strip ---------- */

.stats {
  border-block: 1px solid var(--line);
  background: var(--bg-raise);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: 2.4rem;
}

.stat .num { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); color: var(--accent); display: block; }
.stat span { font-size: 0.95rem; color: var(--text-dim); }

@media (max-width: 860px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- sections ---------- */

.section { padding-block: var(--section-y); }
.section-head { max-width: 42em; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head p { margin-top: 1rem; color: var(--text-dim); max-width: 36em; }

.section-alt { background: var(--bg-raise); border-block: 1px solid var(--line); }

/* ---------- channels bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}

.tile {
  position: relative;
  overflow: hidden;
  background: var(--bg-tile);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.tile:hover { border-color: rgba(52, 211, 153, 0.45); transform: translateY(-3px); }

.tile-lg { grid-column: span 7; min-height: 360px; justify-content: flex-end; }
.tile-md { grid-column: span 5; }
.tile-sm { grid-column: span 5; }

.tile-lg .tile-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.tile-lg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 20, 24, 0) 30%, rgba(16, 20, 24, 0.92) 82%);
}

.tile-lg > :not(.tile-bg) { position: relative; z-index: 1; }

.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.tile-icon svg { width: 24px; height: 24px; }

.tile h3 { font-family: var(--font-text); font-weight: 700; font-size: 1.2rem; }
.tile p { color: var(--text-dim); font-size: 0.98rem; }

.tile-accent { background: linear-gradient(150deg, rgba(52, 211, 153, 0.14), rgba(52, 211, 153, 0.03) 60%), var(--bg-tile); }

@media (max-width: 860px) {
  .tile-lg, .tile-md, .tile-sm { grid-column: span 12; }
  .tile-lg { min-height: 300px; }
}

/* ---------- transcript ---------- */

.talk {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.talk-feed { display: flex; flex-direction: column; gap: 0.9rem; }

.msg {
  max-width: 92%;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-card);
  font-size: 1rem;
  line-height: 1.55;
}

.msg-client {
  align-self: flex-start;
  background: var(--bg-tile);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.msg-ai {
  align-self: flex-end;
  background: var(--accent-soft);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-bottom-right-radius: 4px;
}

.msg b { display: block; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.3rem; }
.msg-client b { color: var(--text-faint); }
.msg-ai b { color: var(--accent); }

.talk-note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1.4rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.talk-note svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }

@media (max-width: 900px) {
  .talk { grid-template-columns: 1fr; }
}

/* ---------- capabilities ---------- */

.caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.cap-group {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.5rem;
}

.cap-group header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.cap-group header svg { width: 26px; height: 26px; color: var(--accent); }
.cap-group h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }

.cap-group ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.cap-group li {
  color: var(--text-dim);
  padding-left: 1.4rem;
  position: relative;
  font-size: 1rem;
}

.cap-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.75;
}

@media (max-width: 760px) {
  .caps { grid-template-columns: 1fr; }
}

/* ---------- verticals ---------- */

.verts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.vert {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 290px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
  padding: 1.6rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.vert:hover { border-color: rgba(52, 211, 153, 0.5); transform: translateY(-4px); }

.vert img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.vert:hover img { transform: scale(1.04); }

.vert::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 20, 24, 0.05) 25%, rgba(16, 20, 24, 0.93) 80%);
}

.vert > div { position: relative; z-index: 1; }

.vert h3 { font-family: var(--font-text); font-weight: 700; font-size: 1.25rem; }
.vert p { color: var(--text-dim); font-size: 0.95rem; margin-top: 0.35rem; max-width: 30em; }

.vert-go {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.9rem;
}

.vert-go svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.vert:hover .vert-go svg { transform: translateX(4px); }

@media (max-width: 760px) {
  .verts { grid-template-columns: 1fr; }
  .vert { min-height: 240px; }
}

/* ---------- economics ---------- */

.econ {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.calc {
  background: var(--bg-tile);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.calc label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.calc label output { color: var(--text); font-weight: 700; white-space: nowrap; }

.calc input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.calc-result {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.4rem;
  margin-top: 0.4rem;
}

.calc-result .num { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem); color: var(--accent); }
.calc-result p { font-size: 0.92rem; color: var(--text-dim); margin-top: 0.5rem; }
.calc-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 1rem; }

.compare { display: flex; flex-direction: column; gap: 0; margin-top: 1.8rem; }

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  padding-block: 0.85rem;
  font-size: 0.98rem;
  align-items: center;
}

.compare-row + .compare-row { border-top: 1px solid var(--line); }

.compare-head { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }
.compare-row .c-label { color: var(--text-dim); }
.compare-row .c-h { color: var(--accent); font-weight: 600; }

@media (max-width: 900px) {
  .econ { grid-template-columns: 1fr; }
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}

.step { position: relative; padding-top: 1.4rem; border-top: 1px solid var(--line-strong); }

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.step p { color: var(--text-dim); font-size: 1rem; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- faq ---------- */

.faq { max-width: 46em; }

.faq details {
  border-top: 1px solid var(--line);
  padding-block: 1.1rem;
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--text-faint); transition: transform 0.3s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); color: var(--accent); }

.faq details p { margin-top: 0.8rem; color: var(--text-dim); max-width: 42em; }

/* ---------- final cta / form ---------- */

.cta-final {
  background:
    radial-gradient(90% 130% at 85% 0%, rgba(52, 211, 153, 0.14), transparent 55%),
    var(--bg-raise);
  border-top: 1px solid var(--line);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.lead-form {
  background: var(--bg-tile);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.field { display: flex; flex-direction: column; gap: 0.45rem; }

.field label { font-size: 0.92rem; font-weight: 600; }

.field input, .field select {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-input);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s;
  width: 100%;
}

.field input::placeholder { color: var(--text-faint); }

.field input:focus, .field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.field .err { display: none; color: var(--danger); font-size: 0.85rem; }
.field.invalid input { border-color: var(--danger); }
.field.invalid .err { display: block; }

.form-note { font-size: 0.82rem; color: var(--text-faint); }

.form-ok {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-ok svg { width: 44px; height: 44px; color: var(--accent); margin-inline: auto; margin-bottom: 1rem; }

.form-alt { margin-top: 1.4rem; font-size: 0.95rem; color: var(--text-dim); }
.form-alt a { color: var(--accent); font-weight: 600; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding-block: 2.2rem;
  font-size: 0.92rem;
  color: var(--text-faint);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

.foot-inner a { color: var(--text-dim); text-decoration: none; }
.foot-inner a:hover { color: var(--accent); }

/* ---------- reveal motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wave i { animation: none; height: 60%; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
