/* ─── Klyvio — site marketing statique ───────────────────────── */

:root {
  --bg: #080F1A;
  --bg2: #0C1A2A;
  --accent: #00AEEF;
  --accent-dark: #0088CC;
  --accent-dim: rgba(0,174,239,0.08);
  --white: #FFFFFF;
  --gray: #7A9BB8;
  --gray-dim: #2A3F55;
  --border: rgba(0,174,239,0.15);
  --radius: 12px;
  --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}
body { position: relative; }
a { color: inherit; }

.kv { position: relative; }

/* DOT GRID background */
.dotgrid {
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 80%);
}

/* ─── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 18px 48px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: inline-flex; align-items: center;
  height: 56px; text-decoration: none;
}
.logo img {
  height: 100%; width: auto; display: block;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 35%, transparent));
}
.footer .logo { height: 44px; }
.nav-links {
  display: flex; gap: 32px; justify-content: center;
  font-size: 14px;
}
.nav-links a {
  color: var(--gray); text-decoration: none;
  cursor: pointer; transition: color .2s;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover, .nav-links a.on { color: var(--white); }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.btn-nav {
  background: var(--accent); color: #000;
  font-weight: 700; font-size: 13px;
  padding: 10px 22px; border-radius: 6px;
  text-decoration: none; border: none;
  letter-spacing: 0.03em;
  cursor: pointer; font-family: inherit;
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 40%, transparent); }
.nav-burger {
  display: none;
  background: transparent; border: 1px solid var(--gray-dim);
  border-radius: 8px;
  width: 40px; height: 40px;
  flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.nav-burger span {
  display: block; width: 18px; height: 2px;
  background: var(--white); border-radius: 1px;
  transition: transform .25s, opacity .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  padding: 96px 48px 64px;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center;
}
.hero-content { max-width: 620px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  color: var(--accent); font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: kv-pulse 2s infinite;
  box-shadow: 0 0 0 0 var(--accent);
}
@keyframes kv-pulse {
  0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  50% { opacity: 0.5; transform: scale(0.82); }
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800; line-height: 1.08;
  margin: 0 0 24px;
  letter-spacing: -0.025em;
}
.hero h1 .ac { color: var(--accent); }
.hero-lede {
  font-size: 1.1rem; color: var(--gray);
  max-width: 560px; margin: 0 0 32px;
  font-weight: 300; line-height: 1.75;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.btn-p {
  background: var(--accent); color: #000;
  font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 8px;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-family: inherit;
  transition: transform .2s, box-shadow .2s;
}
.btn-p:hover { transform: translateY(-2px); box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-s {
  background: transparent; color: var(--white);
  font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 8px;
  border: 1px solid var(--gray-dim);
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
  transition: border-color .2s, transform .2s;
}
.btn-s:hover { border-color: var(--accent); transform: translateY(-2px); }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat .stat-num {
  font-size: 2.1rem; font-weight: 800;
  color: var(--accent); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .stat-label { font-size: 13px; color: var(--gray); margin-top: 6px; }
.hero-foot { font-size: 12px; color: var(--gray); margin: 18px 0 0; opacity: 0.85; font-weight: 300; }

/* Hero visual: animated agent dashboard */
.hero-visual { position: relative; perspective: 1400px; }
.panel {
  background: linear-gradient(145deg, var(--bg2), color-mix(in srgb, var(--bg2) 80%, var(--accent) 5%));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 30px 80px color-mix(in srgb, var(--accent) 10%, transparent),
              0 0 0 1px color-mix(in srgb, var(--accent) 5%, transparent) inset;
  position: relative; overflow: hidden;
}
.panel::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.panel-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--white);
}
.panel-title .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: kv-pulse 2s infinite;
}
.panel-time {
  font-size: 11px; color: var(--gray); font-variant-numeric: tabular-nums;
  font-family: 'JetBrains Mono', monospace;
}
.feed { display: flex; flex-direction: column; gap: 10px; min-height: 156px; }
.feed-item {
  display: grid; grid-template-columns: 36px 1fr auto;
  gap: 12px; align-items: center;
  padding: 10px 12px; background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 8px;
  animation: kv-slidein .4s ease both;
}
@keyframes kv-slidein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.feed-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent-dim); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 16px;
}
.feed-body .feed-title { font-size: 13px; font-weight: 600; color: var(--white); margin: 0; }
.feed-body .feed-sub { font-size: 11px; color: var(--gray); margin-top: 2px; }
.feed-status {
  font-size: 10px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--accent-dim);
  padding: 4px 8px; border-radius: 4px;
  white-space: nowrap;
}
.feed-status.ok { color: #22c55e; background: rgba(34,197,94,0.12); }
.panel-foot {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.mini-stat { text-align: center; }
.mini-stat .v {
  font-size: 18px; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.mini-stat .l { font-size: 10px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── SECTIONS ────────────────────────────────────────────────── */
.section {
  position: relative; z-index: 1;
  padding: 88px 48px;
  max-width: 1200px; margin: 0 auto;
}
.section-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-tag::before {
  content: ''; width: 22px; height: 1px; background: var(--accent);
}
.section h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.section-lede {
  color: var(--gray); font-size: 1.05rem; max-width: 620px;
  margin: 0 0 48px;
  font-weight: 300;
}
.divider {
  max-width: 1200px; margin: 0 auto;
  border: none; border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.usecases-note {
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
  margin: 0 0 28px;
  max-width: 820px;
}

/* ─── PROBLEMS ────────────────────────────────────────────────── */
.problems {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.p-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .25s, transform .25s, background .25s;
  cursor: default; position: relative; overflow: hidden;
}
.p-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%);
  pointer-events: none; opacity: 0; transition: opacity .25s;
}
.p-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-3px); }
.p-card:hover::before { opacity: 1; }
.p-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-dim); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 20px;
  margin-bottom: 14px;
}
.p-card h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 8px; color: var(--white); }
.p-card p { font-size: 14px; color: var(--gray); line-height: 1.6; margin: 0; }
.p-card .p-metric {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.p-card .p-metric .v {
  font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.p-card .p-metric .l { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* ─── TABS use-cases ──────────────────────────────────────────── */
.tabs {
  display: flex; gap: 0; flex-wrap: wrap;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg2); padding: 6px;
  margin-bottom: 28px;
  width: fit-content;
}
.tabs button {
  background: transparent; color: var(--gray);
  border: none; cursor: pointer;
  padding: 10px 18px; border-radius: 7px;
  font-family: inherit; font-size: 13px; font-weight: 500;
  transition: background .2s, color .2s;
}
.tabs button:hover { color: var(--white); }
.tabs button.on { background: var(--accent); color: #000; font-weight: 700; }

.tab-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 40px; align-items: center;
}
.tab-panel.fading > * { animation: kv-fadein .3s ease; }
@keyframes kv-fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tab-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  min-width: 0; min-height: 260px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 6%, transparent), transparent 60%),
    var(--bg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--accent);
}
.tab-visual::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--accent) 15%, transparent) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.4;
  mask-image: radial-gradient(ellipse, transparent 25%, #000);
  -webkit-mask-image: radial-gradient(ellipse, transparent 25%, #000);
  pointer-events: none;
}
.tab-body h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 10px; }
.tab-body .tb-lede { color: var(--gray); font-size: 15px; margin: 0 0 20px; line-height: 1.65; }
.tab-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 20px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.tab-metrics .tm .v { font-size: 1.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.tab-metrics .tm .l {
  font-size: 11px; color: var(--gray); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ─── PROCESSUS ───────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; position: relative;
}
.steps::before {
  content: ''; position: absolute;
  top: 36px; left: 18%; right: 18%;
  border-top: 1px dashed var(--gray-dim);
  z-index: 0;
}
.step {
  position: relative; z-index: 1; text-align: left;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #000;
  display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 800;
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 40%, transparent);
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.step p { font-size: 14px; color: var(--gray); line-height: 1.6; margin: 0; }
.step-dur {
  margin-top: auto;
  font-size: 11px; font-weight: 700; color: var(--accent);
  background: var(--accent-dim); padding: 6px 12px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.08em;
  align-self: flex-start;
}

/* ─── FORMULES ────────────────────────────────────────────────── */
.pricing {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 24px;
}
.pcard {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative; cursor: pointer;
  transition: transform .25s, border-color .25s;
}
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.pcard.fea {
  border-color: var(--accent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 10%, var(--bg2)), var(--bg2));
  box-shadow: 0 30px 60px color-mix(in srgb, var(--accent) 8%, transparent);
}
.pbadge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent); color: #000;
  font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 20px;
  letter-spacing: 0.06em; white-space: nowrap;
}
.pcard h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.pcard .psub0 { font-size: 13px; color: var(--gray); margin-top: 4px; }
.pprice {
  font-size: 2.4rem; font-weight: 800; color: var(--accent);
  line-height: 1; margin: 20px 0 4px;
}
.psub { font-size: 13px; color: var(--gray); margin-bottom: 20px; }
.pfeat { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pfeat li {
  font-size: 14px; color: var(--gray);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.pfeat li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pcta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin-top: 24px;
  background: transparent; color: var(--white);
  border: 1px solid var(--gray-dim);
  padding: 12px; border-radius: 8px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600;
  text-align: center; text-decoration: none;
  transition: all .2s; box-sizing: border-box;
}
.pcta:hover { border-color: var(--accent); background: var(--accent-dim); }
.pcard.fea .pcta { background: var(--accent); color: #000; border-color: var(--accent); }
.pcard.fea .pcta:hover { opacity: 0.9; }

/* ─── ABOUT ───────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 56px; align-items: center;
}
.about-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
}
.about-photo {
  width: 180px; height: 180px; border-radius: 50%;
  margin: 0 auto 20px; position: relative;
  background: var(--bg); overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 30%, transparent);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-card h3 { font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; }
.about-card .role { font-size: 13px; color: var(--accent); margin-bottom: 20px; font-weight: 500; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.about-tags .tag {
  background: var(--accent-dim); border: 1px solid var(--border);
  color: var(--gray); font-size: 12px;
  padding: 5px 12px; border-radius: 20px;
}
.about-content p {
  color: var(--gray); font-size: 1rem;
  margin: 0 0 18px; font-weight: 300; line-height: 1.8;
}
.about-content p strong { color: var(--white); font-weight: 500; }
.about-content p:first-child {
  color: var(--white); font-size: 1.15rem;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

/* ─── CONTACT ─────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { font-size: 1.4rem; font-weight: 700; margin: 0 0 14px; }
.contact-info > p { color: var(--gray); margin: 0 0 28px; font-weight: 300; }
.contact-cal {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  display: grid; grid-template-columns: 48px 1fr auto;
  gap: 16px; align-items: center;
  margin-bottom: 14px;
  transition: border-color .2s, transform .2s;
  cursor: pointer;
}
.contact-cal:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateY(-2px); }
.cal-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--accent-dim); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 22px;
}
.contact-cal h4 { font-size: 0.98rem; font-weight: 700; margin: 0 0 2px; }
.contact-cal p { font-size: 13px; color: var(--gray); margin: 0; }
.cal-btn {
  background: var(--accent); color: #000;
  font-weight: 700; font-size: 12px;
  padding: 10px 18px; border-radius: 6px;
  border: none; cursor: pointer; white-space: nowrap;
  text-decoration: none; display: inline-block;
  font-family: inherit;
  transition: opacity .2s;
}
.cal-btn:hover { opacity: 0.85; }
.form-note2 { font-size: 13px; color: var(--gray); margin-top: 18px; }

.form-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  position: relative;
}
.form-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 20px; }
.fg { margin-bottom: 14px; }
.fg label {
  display: block; font-size: 12px; color: var(--gray);
  margin-bottom: 6px; font-weight: 500; letter-spacing: 0.02em;
}
.fg input, .fg textarea {
  width: 100%;
  background: var(--bg); border: 1px solid var(--gray-dim);
  border-radius: 8px; padding: 11px 14px;
  color: var(--white); font-family: inherit; font-size: 14px;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.fg input:focus, .fg textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.fg input.err, .fg textarea.err { border-color: #ef4444; }
.fg .errmsg { font-size: 11px; color: #ef4444; margin-top: 4px; }
.fg textarea { min-height: 96px; resize: vertical; }
.btn-form {
  width: 100%;
  background: var(--accent); color: #000;
  font-weight: 700; font-size: 15px;
  padding: 13px; border: none; border-radius: 8px;
  cursor: pointer; font-family: inherit;
  margin-top: 6px; transition: opacity .2s, transform .2s;
}
.btn-form:hover { transform: translateY(-1px); opacity: 0.94; }
[hidden] { display: none !important; }
.form-ok {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--bg2), color-mix(in srgb, var(--accent) 10%, var(--bg2)));
  border: 1px solid var(--accent); border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px; text-align: center;
  animation: kv-fadein .3s ease;
  z-index: 2;
}
.form-ok .ok-ring {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: #000;
  display: grid; place-items: center;
  font-size: 36px; font-weight: 800; margin-bottom: 18px;
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 45%, transparent);
}
.form-ok h4 { font-size: 1.3rem; font-weight: 700; margin: 0 0 6px; }
.form-ok p { color: var(--gray); font-size: 14px; margin: 0; }
.form-note { font-size: 12px; color: var(--gray); text-align: center; margin-top: 14px; }

/* ─── FOOTER ──────────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 20px; align-items: center;
  font-size: 13px; color: var(--gray);
}
.footer-links { display: flex; gap: 20px; justify-self: end; }
.footer-links a { text-decoration: none; transition: color .2s; cursor: pointer; }
.footer-links a:hover { color: var(--accent); }

/* ─── USE-CASE ANIMATIONS ─────────────────────────────────────── */
.uca-wrap {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  overflow: hidden;
  box-sizing: border-box;
}
.uca-svg { width: 100%; height: 100%; max-width: 360px; max-height: 260px; overflow: hidden; }

@keyframes uca-dashscroll { to { stroke-dashoffset: -18; } }
@keyframes uca-step-fill {
  0%,5% { fill-opacity: 0.05; stroke: var(--accent); }
  40%,60% { fill-opacity: 0.35; stroke: var(--accent); }
  100% { fill-opacity: 0.14; }
}
@keyframes uca-nudge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes uca-check-pop {
  0%, 35% { opacity: 0; transform: scale(0.4); }
  45%, 65% { opacity: 1; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(0.9); }
}
@keyframes uca-check-draw {
  0%, 40% { stroke-dashoffset: 40; }
  55%, 100% { stroke-dashoffset: 0; }
}
@keyframes uca-scan {
  0%,100% { transform: translateY(0); opacity: 0; }
  5% { opacity: 0; }
  15% { opacity: 1; }
  50% { transform: translateY(96px); opacity: 0.9; }
  70% { opacity: 0; }
}
@keyframes uca-row-in {
  0%,15% { opacity: 0; }
  25%,100% { opacity: 1; }
}
@keyframes uca-total-pop {
  0%,75% { opacity: 0; transform: scale(0.6); }
  85%,100% { opacity: 1; transform: scale(1); }
}
@keyframes uca-bar-rise {
  0%, 25% { transform: scaleY(0.02); }
  50%, 95% { transform: scaleY(1); }
  100% { transform: scaleY(0.02); }
}
@keyframes uca-trend-draw {
  0%, 50% { stroke-dashoffset: 300; opacity: 1; }
  75%, 95% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 300; opacity: 0; }
}
@keyframes uca-dot-appear {
  0%, 10% { opacity: 0; transform: scale(0.3); }
  20%, 95% { opacity: 1; transform: scale(1); }
  98%, 100% { opacity: 0; transform: scale(0.3); }
}
@keyframes uca-sun-in {
  0%,75% { opacity: 0; transform: scale(0.5); }
  90%,100% { opacity: 1; transform: scale(1); }
}
@keyframes uca-moon-out {
  0%,65% { opacity: 1; }
  85%,100% { opacity: 0; }
}
@keyframes uca-travel-hot {
  0%,8%   { opacity: 0; transform: translate(0,0); }
  14%     { opacity: 1; transform: translate(0,0); }
  45%     { opacity: 1; transform: translate(0,110px); }
  72%     { opacity: 1; transform: translate(-90px,170px); }
  85%,100%{ opacity: 0; transform: translate(-90px,170px); }
}
@keyframes uca-travel-cold {
  0%,8%   { opacity: 0; transform: translate(0,0); }
  14%     { opacity: 1; transform: translate(0,0); }
  45%     { opacity: 1; transform: translate(0,110px); }
  72%     { opacity: 1; transform: translate(90px,170px); }
  85%,100%{ opacity: 0; transform: translate(90px,170px); }
}
@keyframes uca-bucket-land-hot {
  0%,55% { opacity: 0; transform: scale(0.4); }
  65%,100% { opacity: 1; transform: scale(1); }
}
@keyframes uca-typing-dot {
  0%,60%,100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* SUPPORT chat */
.uca-sup-chat {
  width: 100%; max-width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  gap: 6px; padding: 8px 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px; line-height: 1.3;
  overflow: hidden; box-sizing: border-box;
}
.uca-row {
  display: flex; align-items: flex-end; gap: 6px;
  opacity: 0; min-width: 0;
}
.uca-row.client { justify-content: flex-start; }
.uca-row.agent  { justify-content: flex-end; }
.uca-bubble {
  max-width: 85%;
  padding: 6px 10px;
  border-radius: 12px;
  color: #fff; opacity: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}
.uca-row.client .uca-bubble {
  background: color-mix(in srgb, currentColor 10%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-bottom-left-radius: 4px;
  color: inherit;
}
.uca-row.agent .uca-bubble {
  background: color-mix(in srgb, currentColor 22%, transparent);
  border: 1px solid currentColor;
  border-bottom-right-radius: 4px;
  color: inherit;
}
.uca-bubble b { font-weight: 700; }
.uca-typ {
  display: inline-flex; gap: 3px;
  padding: 5px 8px;
  border-radius: 10px;
  background: color-mix(in srgb, currentColor 14%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  align-items: center; opacity: 0;
}
.uca-typ .d { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.4; animation: uca-typing-dot 1s linear infinite; }
.uca-typ .d:nth-child(2) { animation-delay: 0.15s; }
.uca-typ .d:nth-child(3) { animation-delay: 0.30s; }

@keyframes uca-row-show-1 { 0%,2% {opacity:0;transform:translateY(6px);} 5%,93% {opacity:1;transform:translateY(0);} 97%,100% {opacity:0;} }
@keyframes uca-row-show-2 { 0%,21% {opacity:0;transform:translateY(6px);} 24%,93% {opacity:1;transform:translateY(0);} 97%,100% {opacity:0;} }
@keyframes uca-row-show-3 { 0%,43% {opacity:0;transform:translateY(6px);} 46%,93% {opacity:1;transform:translateY(0);} 97%,100% {opacity:0;} }
@keyframes uca-row-show-4 { 0%,65% {opacity:0;transform:translateY(6px);} 68%,93% {opacity:1;transform:translateY(0);} 97%,100% {opacity:0;} }
@keyframes uca-typ-1 { 0%,5% {opacity:0;} 8%,17% {opacity:1;} 19%,100% {opacity:0;} }
@keyframes uca-typ-2 { 0%,24% {opacity:0;} 27%,36% {opacity:1;} 38%,100% {opacity:0;} }
@keyframes uca-typ-3 { 0%,46% {opacity:0;} 49%,58% {opacity:1;} 60%,100% {opacity:0;} }
@keyframes uca-typ-4 { 0%,68% {opacity:0;} 71%,80% {opacity:1;} 82%,100% {opacity:0;} }
@keyframes uca-msg-1 { 0%,18% {opacity:0;transform:translateY(4px);} 22%,93% {opacity:1;transform:translateY(0);} 97%,100% {opacity:0;} }
@keyframes uca-msg-2 { 0%,37% {opacity:0;transform:translateY(4px);} 41%,93% {opacity:1;transform:translateY(0);} 97%,100% {opacity:0;} }
@keyframes uca-msg-3 { 0%,59% {opacity:0;transform:translateY(4px);} 63%,93% {opacity:1;transform:translateY(0);} 97%,100% {opacity:0;} }
@keyframes uca-msg-4 { 0%,81% {opacity:0;transform:translateY(4px);} 85%,93% {opacity:1;transform:translateY(0);} 97%,100% {opacity:0;} }

.uca-sup-chat .r1 { animation: uca-row-show-1 16s infinite; }
.uca-sup-chat .r2 { animation: uca-row-show-2 16s infinite; }
.uca-sup-chat .r3 { animation: uca-row-show-3 16s infinite; }
.uca-sup-chat .r4 { animation: uca-row-show-4 16s infinite; }
.uca-sup-chat .r1 .uca-typ { animation: uca-typ-1 16s infinite; }
.uca-sup-chat .r2 .uca-typ { animation: uca-typ-2 16s infinite; }
.uca-sup-chat .r3 .uca-typ { animation: uca-typ-3 16s infinite; }
.uca-sup-chat .r4 .uca-typ { animation: uca-typ-4 16s infinite; }
.uca-sup-chat .r1 .uca-bubble { animation: uca-msg-1 16s infinite; }
.uca-sup-chat .r2 .uca-bubble { animation: uca-msg-2 16s infinite; }
.uca-sup-chat .r3 .uca-bubble { animation: uca-msg-3 16s infinite; }
.uca-sup-chat .r4 .uca-bubble { animation: uca-msg-4 16s infinite; }

/* SALES */
.uca-sal .pipe { stroke-dasharray: 4 5; animation: uca-dashscroll 2s linear infinite; }
.uca-sal .envelope { animation: uca-nudge 1.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.uca-sal .s1 { animation: uca-step-fill 6s 0.6s infinite; transform-origin: center; transform-box: fill-box; }
.uca-sal .s2 { animation: uca-step-fill 6s 1.8s infinite; transform-origin: center; transform-box: fill-box; }
.uca-sal .s3 { animation: uca-step-fill 6s 3.0s infinite; transform-origin: center; transform-box: fill-box; }
.uca-sal .check { animation: uca-check-pop 6s 3.0s infinite; transform-origin: center; transform-box: fill-box; }
.uca-sal .check-path { stroke-dasharray: 40; animation: uca-check-draw 6s 3.0s infinite; }

/* ADMIN */
.uca-adm .scan { animation: uca-scan 5s linear infinite; transform-box: fill-box; }
.uca-adm .row1 { animation: uca-row-in 5s 0.4s infinite; }
.uca-adm .row2 { animation: uca-row-in 5s 0.8s infinite; }
.uca-adm .row3 { animation: uca-row-in 5s 1.2s infinite; }
.uca-adm .row4 { animation: uca-row-in 5s 1.6s infinite; }
.uca-adm .total { animation: uca-total-pop 5s 2.8s infinite; transform-origin: center; transform-box: fill-box; }

/* REPORTS */
.uca-rep .bar { transform-origin: bottom; transform-box: fill-box; animation: uca-bar-rise 8s infinite; }
.uca-rep .b1 { animation-delay: 0s; }
.uca-rep .b2 { animation-delay: 0.1s; }
.uca-rep .b3 { animation-delay: 0.2s; }
.uca-rep .b4 { animation-delay: 0.3s; }
.uca-rep .b5 { animation-delay: 0.4s; }
.uca-rep .trend { stroke-dasharray: 300; stroke-dashoffset: 300; animation: uca-trend-draw 8s infinite; }
.uca-rep .trend-dot { animation: uca-dot-appear 8s infinite; }
.uca-rep .td1 { animation-delay: 0s; }
.uca-rep .td2 { animation-delay: 0.08s; }
.uca-rep .td3 { animation-delay: 0.16s; }
.uca-rep .td4 { animation-delay: 0.24s; }
.uca-rep .td5 { animation-delay: 0.32s; }
.uca-rep .moon { animation: uca-moon-out 8s infinite; transform-origin: center; transform-box: fill-box; }
.uca-rep .sun  { animation: uca-sun-in 8s infinite; transform-origin: center; transform-box: fill-box; }

/* LEADS */
.uca-led .dot-in { opacity: 0; transform-box: fill-box; }
.uca-led .dot-in.di1 { animation: uca-travel-hot  6s 0.0s infinite; transform-origin: center; }
.uca-led .dot-in.di2 { animation: uca-travel-cold 6s 1.0s infinite; transform-origin: center; }
.uca-led .dot-in.di3 { animation: uca-travel-hot  6s 2.0s infinite; transform-origin: center; }
.uca-led .dot-in.di4 { animation: uca-travel-cold 6s 3.0s infinite; transform-origin: center; }
.uca-led .dot-in.di5 { animation: uca-travel-hot  6s 4.0s infinite; transform-origin: center; }
.uca-led .dot-in.di6 { animation: uca-travel-cold 6s 5.0s infinite; transform-origin: center; }
.uca-led .chute { stroke-dasharray: 4 5; animation: uca-dashscroll 2s linear infinite; }
.uca-led .flame { animation: uca-nudge 1.1s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.uca-led .hot-bucket { animation: uca-bucket-land-hot 6s infinite; transform-origin: center; transform-box: fill-box; }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { padding: 80px 24px 60px; gap: 48px; }
  .section { padding: 80px 24px; }
  .nav { padding: 16px 24px; }
  .problems { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 80px 20px 40px; gap: 32px; }
  .hero-visual { order: 0; }
  .section { padding: 60px 20px; }
  .nav { padding: 14px 20px; grid-template-columns: auto auto 1fr; gap: 12px; }
  .nav-burger { display: flex; }
  .btn-nav { padding: 8px 14px; font-size: 12px; justify-self: end; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 4px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.on { color: var(--accent); }
  .problems { grid-template-columns: 1fr; }
  .tab-panel { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .tab-visual { aspect-ratio: 16 / 10; min-height: 0; max-width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps::before { display: none; }
  .pricing { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; text-align: center; gap: 18px; padding: 32px 24px; }
  .footer .logo { justify-self: center; }
  .footer-links { justify-self: center; }
  .panel-foot { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 640px) {
  .nav { padding: 12px 16px; }
  .btn-nav { padding: 8px 14px; font-size: 12px; }
  .hero { padding: 70px 16px 32px; gap: 28px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); line-height: 1.1; }
  .hero-lede { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn-p, .hero-ctas .btn-s { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { gap: 24px; }
  .stat .stat-num { font-size: 1.6rem; }
  .section { padding: 48px 16px; }
  .section h2 { font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.15; }
  .section-lede { font-size: 0.95rem; }
  .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tabs button { flex: 0 0 auto; white-space: nowrap; padding: 10px 14px; font-size: 12px; }
  .tab-panel { padding: 20px; }
  .tab-metrics { grid-template-columns: 1fr; gap: 10px; }
  .tab-metrics .tm { display: flex; align-items: baseline; gap: 10px; }
  .step { padding: 22px 20px; }
  .pcard { padding: 26px 22px; }
  .about-card { padding: 24px; }
  .about-photo { width: 120px; height: 120px; }
  .panel { padding: 18px; }
  .panel-foot { gap: 8px; }
  .feed-item { grid-template-columns: 32px 1fr auto; padding: 10px; gap: 10px; }
  .feed-body .feed-title { font-size: 12px; }
  .feed-body .feed-sub { font-size: 10px; }
  .contact-cal { grid-template-columns: auto 1fr; gap: 12px; padding: 16px; }
  .contact-cal .cal-btn { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
  .form-card { padding: 24px; }
  .uca-sup-chat { font-size: 11px; padding: 12px; gap: 8px; }
  .uca-svg { max-width: 300px; }
}
