/* ============================================================
   Alovera — alovera.ai
   v5 — brand-matched navy/ivory editorial design
   ============================================================ */

:root {
  --bg: #FBF9F5;
  --bg-2: #FFFFFF;
  --bg-sand: #F2F4F7;
  --bg-deep: #0A1D33;
  --ink: #0F1F33;
  --ink-2: #3A4A5E;
  --muted: #64748B;
  --line: #E2E8F0;
  --accent: #0D3468;
  --accent-deep: #092A52;
  --accent-soft: #E8EFF7;
  --amber: #B97B1E;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15,31,51,.05);
  --shadow: 0 2px 4px rgba(15,31,51,.05), 0 24px 48px -24px rgba(15,31,51,.18);
  --container: 1140px;
}

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

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

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.9rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; }

h1 em, h2 em { font-style: italic; color: var(--accent); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }

.mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; }
.dim { color: var(--muted); }
a { color: inherit; text-decoration: none; }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 46px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(13,52,104,.55);
}
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 14px 32px -12px rgba(13,52,104,.6); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ---------- eyebrow ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-sub { color: var(--muted); margin-top: 18px; font-size: 1.06rem; }

.grain { position: relative; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,249,245,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(15,31,51,.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 22px; width: auto; display: block; }
.footer .brand-logo { height: 30px; }

.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--ink-2); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); border-radius: 2px; transition: width .2s ease; }
.nav-links a:hover { color: var(--accent-deep); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nav-mobile a { padding: 13px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-mobile a.btn { border-bottom: 0; margin-top: 10px; }
.nav-mobile.open { display: flex; }

/* Language selector */
.lang-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
  white-space: nowrap;
}
.lang-wrap svg { flex-shrink: 0; }
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  padding: 0 16px 0 0;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 4L8 1' fill='none' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}
.lang-select:hover { color: var(--accent-deep); }
.lang-wrap-mobile { margin: 12px 0 2px; align-self: flex-start; }

/* ============================================================
   HERO — editorial split + live chat demo
   ============================================================ */
.hero { padding: 100px 0 76px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 76px;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 26px; }
.lead { font-size: 1.16rem; color: var(--ink-2); max-width: 33em; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-facts { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-fact { display: flex; flex-direction: column; }
.hero-fact b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.hero-fact span { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }

/* chat demo panel */
.hero-visual { display: flex; justify-content: center; }
.demo {
  width: min(392px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 4px 8px rgba(15,31,51,.06), 0 48px 96px -40px rgba(13,52,104,.35);
  overflow: hidden;
  position: relative;
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  background: var(--bg-deep);
  color: #EDF2F7;
}
.demo-avatar {
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.demo-avatar svg { width: 22px; height: 22px; }
.demo-head-text { display: flex; flex-direction: column; line-height: 1.3; }
.demo-head-text strong { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: #EDF2F7; }
.demo-status { font-size: 0.7rem; color: #9FC0E8; display: inline-flex; align-items: center; gap: 6px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; display: inline-block; box-shadow: 0 0 0 3px rgba(74,222,128,.18); }
.demo-secure { margin-left: auto; font-size: 0.66rem; color: #8FA6C4; display: inline-flex; align-items: center; gap: 5px; }

.demo-body {
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: var(--bg);
  height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.demo-body::-webkit-scrollbar { width: 6px; }
.demo-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.msg {
  max-width: 88%;
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 0.85rem;
  line-height: 1.55;
  position: relative;
  animation: msg-in .35s ease both;
}
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg p + p { margin-top: 6px; }
.msg-time { display: block; margin-top: 6px; font-size: 0.64rem; color: var(--muted); }
.msg-in {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}
.msg-out {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 5px;
  align-self: flex-end;
}
.msg-out .msg-time { color: rgba(255,255,255,.65); }
.msg-sub { opacity: .85; }
.msg-check { display: inline-block; margin-right: 2px; font-weight: 700; }
.msg-receipt {
  align-self: flex-end;
  background: var(--accent-soft);
  border: 1px solid rgba(13,52,104,.18);
  color: var(--accent-deep);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8rem;
  display: flex;
  gap: 8px;
  align-items: center;
}
.msg-receipt svg { width: 15px; height: 15px; flex-shrink: 0; }

.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 13px 15px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 15px;
  border-bottom-left-radius: 5px;
}
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.demo-chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 18px 14px; background: var(--bg); }
.demo-chip {
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.demo-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ============================================================
   SECTORS MARQUEE
   ============================================================ */
.sectors { padding: 0 0 92px; text-align: center; }
.sectors-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.marquee-track i { color: var(--accent); font-style: normal; font-size: 0.55rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { background: var(--bg-2); border-top: 1px solid var(--line); padding: 112px 0; }
.pain-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pain-list li { background: var(--bg-2); padding: 36px 30px; transition: background .2s ease; }
.pain-list li:hover { background: var(--bg-sand); }
.pain-num { display: block; color: var(--accent); margin-bottom: 18px; }
.pain-list h3 { margin-bottom: 10px; font-size: 1.07rem; }
.pain-list p { font-size: 0.9rem; color: var(--muted); }

/* ============================================================
   PRODUCT / FEATURES
   ============================================================ */
.product { background: var(--bg-sand); padding: 112px 0; }
.product .eyebrow { color: var(--accent); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  overflow: hidden;
}
.feature::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(13,52,104,.25); }
.feature:hover::after { opacity: 1; }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: 0.93rem; color: var(--muted); }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare { padding: 112px 0; }
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--bg-2); min-width: 640px; }
.compare-table th, .compare-table td { text-align: left; padding: 18px 24px; font-size: 0.94rem; }
.compare-table thead th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--bg-sand); }
.compare-table thead th.alovera { color: #fff; background: var(--accent); }
.compare-table tbody td { border-bottom: 1px solid var(--line); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody td.task { font-weight: 600; color: var(--ink); }
.compare-table tbody td.alovera-col { background: rgba(232,239,247,.45); color: var(--accent-deep); font-weight: 500; }
.compare-table td .bad {
  display: inline-flex; align-items: center; gap: 7px; color: var(--muted);
}
.compare-table td .bad::before { content: "✕"; color: #C7CDD6; font-weight: 700; font-size: 0.8rem; }
.compare-table td .good { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-deep); font-weight: 600; }
.compare-table td .good::before {
  content: "";
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D3468' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--bg-deep); color: #EDF2F7; padding: 112px 0; position: relative; overflow: hidden; }
.how .eyebrow { color: #9FC0E8; }
.how .section-sub { color: rgba(237,242,247,.66); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.steps li {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.step-num {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  margin-bottom: 22px;
}
.steps h3 { margin-bottom: 10px; font-size: 1.18rem; }
.steps p { font-size: 0.92rem; color: rgba(237,242,247,.68); }

/* ============================================================
   SECTOR DETAIL CARDS (SEO content)
   ============================================================ */
.sectors-detail { padding: 112px 0; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.sector-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sector-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.sector-card h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 15px; }
.sector-card p { font-size: 0.9rem; color: var(--muted); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--bg-2); border-top: 1px solid var(--line); padding: 112px 0; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.plan {
  background: var(--bg-sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
}
.plan:first-child { border-color: rgba(13,52,104,.4); box-shadow: var(--shadow); position: relative; }
.plan:first-child::before {
  content: "Most popular";
  position: absolute;
  top: -13px; left: 38px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.plan-head-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.plan-head-row h3 { margin-bottom: 0; }
.plan h3 { font-size: 1.32rem; display: flex; align-items: center; gap: 10px; }
.plan-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }
.plan-price { font-size: 2.6rem; font-weight: 500; font-family: var(--font-display); margin-bottom: 4px; }
.cur-sym { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); font-weight: 500; vertical-align: super; margin-right: 4px; }
.plan-price small { font-size: 0.95rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.cur-note { font-size: 0.75rem; color: var(--muted); margin-bottom: 28px; }
.currency-toggle {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.cur-btn {
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  min-height: 32px;
  transition: background .15s ease, color .15s ease;
}
.cur-btn.active { background: var(--accent); color: #fff; }
.plan-list { list-style: none; margin-bottom: 30px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan-list li { position: relative; padding-left: 30px; font-size: 0.94rem; }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D3468' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
}
.plan-addons { background: var(--bg-2); border-color: var(--line); box-shadow: none; }
.addon-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.addon-table td { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.addon-table tr:last-child td { border-bottom: 0; }
.addon-table td:last-child { text-align: right; }
.plan-note { font-size: 0.8rem; color: var(--muted); margin-top: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 112px 0; }
.faq-list { display: flex; flex-direction: column; gap: 13px; }
.faq-list details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-list details[open] { border-color: rgba(13,52,104,.4); box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 23px 27px;
  font-weight: 600;
  font-size: 0.99rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
  transition: transform .2s ease;
}
.plus::before { width: 16px; height: 1.5px; top: 7px; left: 0; }
.plus::after { width: 1.5px; height: 16px; top: 0; left: 7px; }
details[open] .plus::after { transform: scaleY(0); }
.faq-list details p { padding: 0 27px 26px; color: var(--muted); font-size: 0.95rem; max-width: 62ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 112px 0 0; position: relative; overflow: hidden; }
.contact .container-narrow { position: relative; z-index: 1; padding-bottom: 270px; }
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 62px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  box-shadow: var(--shadow);
}
.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 240px;
  pointer-events: none;
  z-index: 0;
}
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  will-change: transform;
  animation: wave-flow 26s linear infinite;
}
.wave-1 { animation-duration: 34s; }
.wave-2 { animation-duration: 24s; animation-direction: reverse; }
.wave-3 { animation-duration: 18s; }
.wave-4 { animation-duration: 30s; animation-direction: reverse; }
.wave-solid { animation: none; }
@keyframes wave-flow {
  0%   { transform: translateX(0) translateY(0); }
  25%  { transform: translateX(-12.5%) translateY(-14px); }
  50%  { transform: translateX(-25%) translateY(-4px); }
  75%  { transform: translateX(-37.5%) translateY(-16px); }
  100% { transform: translateX(-50%) translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .wave { animation: none; } }
.contact-copy .section-sub { margin-top: 16px; }
.contact-form { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-size: 0.78rem; font-weight: 600; margin-top: 14px; letter-spacing: .02em; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,52,104,.12);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: 24px; align-self: flex-start; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }
.form-done h3 { margin-bottom: 6px; }
.honey { position: absolute; left: -9999px; opacity: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-deep); color: rgba(237,242,247,.7); padding: 84px 0 38px; }
.footer .brand-logo { filter: brightness(0) invert(1) opacity(.92); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 58px; }
.footer-tag { margin-top: 16px; font-size: 0.88rem; color: rgba(237,242,247,.5); max-width: 26em; }
.footer-col h4 { color: #EDF2F7; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col address { display: block; font-style: normal; font-size: 0.88rem; margin-bottom: 9px; color: rgba(237,242,247,.7); }
.footer-col a:hover { color: #9FC0E8; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(237,242,247,.38);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 30px;
}
.footer-legal { display: inline-flex; align-items: center; gap: 10px; }
.footer-legal a { color: rgba(237,242,247,.55); }
.footer-legal a:hover { color: #9FC0E8; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid, .contact-card { grid-template-columns: 1fr; gap: 56px; }
  .pain-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 64px 0 56px; }
  .problem, .product, .compare, .how, .sectors-detail, .pricing, .faq { padding: 84px 0; }
  .pain-list { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .contact { padding: 84px 0 0; }
  .contact .container-narrow { padding-bottom: 190px; }
  .contact-card { padding: 38px 26px; gap: 36px; }
  .waves { height: 160px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}


/* ============================================================
   ANSWERS — AEO depth section (2026-08-22)
   ============================================================ */
.answers { background: var(--bg-sand); padding: 112px 0; }
.answers .eyebrow { color: var(--accent); }
.aoa {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  margin-bottom: 26px;
}
.aoa h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 12px; color: var(--ink); }
.aoa p { font-size: 1.02rem; color: var(--ink-2); line-height: 1.65; }
.answers .sector-card a { color: var(--accent); font-weight: 600; text-decoration: none; }
.answers .sector-card a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .answers { padding: 84px 0; }
  .aoa { padding: 26px 22px; }
}
