/* ============================================================
   FT App - Field Service Tracker · landing page
   Design language: light, airy, floating cards over a dot globe
   ============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e1420;
  --body: #5b6472;
  --line: #e6e9f2;
  --bg: #ffffff;
  --bg-soft: #f3f5fb;
  --blue: #5f74f0;
  --blue-deep: #4a5fe3;
  --blue-soft: #e4e9ff;
  --accent: #1d6ff2;
  --pink: #ff2456;
  --amber: #f7b731;
  --green: #1ec07c;
  --red: #ff5a5a;
  --radius: 26px;
  --shadow-card: 0 18px 40px -18px rgba(20, 30, 60, .22), 0 4px 14px -6px rgba(20, 30, 60, .10);
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  transition: transform .25s cubic-bezier(.2,.7,.3,1.4), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.96); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(14,20,32,.55); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(14,20,32,.55); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 13px 30px; font-size: 15px; }
.btn-sm { padding: 8px 18px; font-size: 13px; width: max-content; }
.btn-cta-outline { border: 1.5px solid rgba(255,255,255,.9); color: #fff; }
.btn-cta-outline:hover { background: #fff; color: var(--blue-deep); transform: translateY(-2px); }

/* ---------- store badges ---------- */
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #0b0d12; color: #fff; border-radius: 12px;
  padding: 9px 18px 10px; text-align: left;
  transition: transform .25s cubic-bezier(.2,.7,.3,1.3), box-shadow .25s;
}
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(11,13,18,.55); }
.store-badge:active { transform: scale(.96); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge i {
  display: block; font-style: normal; font-size: 9px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; opacity: .8; line-height: 1;
}
.store-badge b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(255,255,255,.85); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 34px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; background: var(--bg-soft); padding: 5px; border-radius: 999px; }
.nav-links a { padding: 7px 16px; font-size: 13.5px; font-weight: 500; color: var(--body); border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: #fff; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 28px 22px; background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-menu a { padding: 12px 6px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { border: 0; margin-top: 12px; }
.mobile-menu.open { display: flex; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 150px 20px 0;
  text-align: center;
  overflow: clip;
  background:
    radial-gradient(60% 40% at 50% 0%, #eef2ff 0%, transparent 70%),
    linear-gradient(#fff, #fff);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--body);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(30,192,124,.18); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .4; } }

.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 800;
}
.hero-sub { margin-top: 22px; color: var(--body); font-size: clamp(15px, 1.6vw, 17.5px); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.hero-stage {
  position: relative; height: clamp(380px, 48vw, 620px);
  max-width: 1200px; margin: 10px auto 0;
}
.globe-canvas { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); width: min(920px, 110vw); height: auto; aspect-ratio: 3/2; }
.orbit { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); width: min(920px, 110vw); height: auto; color: #b9c2dd; }
.orbit-1 { opacity: .7; animation: spin-slow 46s linear infinite; transform-origin: 50% 60%; }
.orbit-2 { opacity: .55; }
.orbit-3 { opacity: .7; animation: spin-slow 30s linear infinite reverse; transform-origin: 50% 60%; }
@keyframes spin-slow { to { transform: translateX(-50%) rotate(4deg); } }

/* floating cards - shared */
.float-card {
  position: absolute; z-index: 3;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-card);
  padding: 14px 18px; text-align: left;
  animation: floaty 6s ease-in-out infinite;
  will-change: transform;
}
.float-card i { display: block; font-style: normal; font-size: 11px; color: var(--body); font-weight: 500; }
.float-card b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.float-card ul { display: grid; gap: 12px; }
.float-card li { display: flex; gap: 10px; align-items: center; }
.float-card li b { font-size: 12.5px; display: block; }
.float-card li i { font-size: 10.5px; }
.fc-ico {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
}
.fc-ico svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ico-amber { background: var(--amber); }
.ico-blue { background: var(--blue); }

@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.fc-checklist { left: 8%; top: 16%; animation-delay: -1s; }
.fc-online { left: 4%; bottom: 26%; animation-delay: -3s; padding: 12px 16px; }
.fc-online b { font-size: 22px; }
.pulse-row { display: flex; gap: 5px; margin-top: 6px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-soft); animation: pdot 1.6s infinite; }
.pulse-dot:nth-child(2) { animation-delay: .2s; }
.pulse-dot:nth-child(3) { animation-delay: .4s; }
.pulse-dot:nth-child(4) { animation-delay: .6s; }
@keyframes pdot { 50% { background: var(--accent); transform: translateY(-3px); } }

.fc-profit { left: 50%; bottom: 6%; transform: translateX(-50%); animation-delay: -2s; min-width: 230px; }
.fc-profit-head { display: flex; gap: 10px; align-items: center; }
.fc-profit-head b { font-size: 19px; }
.fc-profit-sub { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.fc-profit-sub b { font-size: 13px; }
.spark { width: 80px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2; }
.chip { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.chip-green { background: #dbf7ec; color: #0d9d63; }
.chip-red { background: #ffe3e3; color: #d33; }
.chip-blue { background: var(--blue-soft); color: var(--blue-deep); }

.fc-bars { right: 7%; top: 12%; animation-delay: -4s; }
.bars { display: flex; gap: 8px; align-items: flex-end; height: 56px; margin-top: 8px; }
.bars span {
  position: relative; width: 14px; height: var(--h); border-radius: 5px;
  background: linear-gradient(180deg, #ffd66e, var(--amber));
  transform-origin: bottom; animation: grow-bar 1s cubic-bezier(.2,.8,.3,1.2) both;
}
.bars span:nth-child(2) { animation-delay: .12s; }
.bars span:nth-child(3) { animation-delay: .24s; }
.bars span:nth-child(4) { animation-delay: .36s; }
@keyframes grow-bar { from { transform: scaleY(0); } }
.bars b { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--body); }

.fc-proof { right: 4%; bottom: 32%; animation-delay: -2.6s; display: flex; gap: 10px; align-items: center; }
.fc-proof-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.fc-proof-ic svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; }

/* ---------- marquee ---------- */
.marquee-wrap { position: relative; padding: 60px 0 60px; overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; padding: 6px 0; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.m-logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 19px; color: #23293a; letter-spacing: -.02em;
  white-space: nowrap;
}
.m-logo svg { width: 21px; height: 21px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- generic section ---------- */
.section { padding: 90px 20px; max-width: 1200px; margin: 0 auto; }
.section-chip {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--body);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
}
.section-chip + .section-title { margin-top: 16px; }
.stats .section-chip, .features .section-chip, .showcase .section-chip,
.reviews .section-chip, .faq .section-chip { display: block; width: max-content; margin-left: auto; margin-right: auto; }
.section-title {
  font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08;
  text-align: center;
}
.section-sub { text-align: center; color: var(--body); margin-top: 14px; font-size: 16px; }

/* ---------- job lifecycle flow ---------- */
.hero-flow { position: relative; z-index: 4; margin: 34px 0 42px; }
.flow-main {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 960px; margin: 26px auto 0;
}
.flow-line {
  position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, #c4cfee 0 9px, transparent 9px 16px);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s cubic-bezier(.6,0,.2,1) .15s;
}
.flow-main.in .flow-line { transform: none; }
.flow-line::after {
  content: ""; position: absolute; top: -4px; left: calc(var(--dx, 0%) - 5px); width: 10px; height: 10px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 5px rgba(29,111,242,.16), 0 0 14px rgba(29,111,242,.5);
  transition: left var(--tr, 1.05s) cubic-bezier(.45,0,.55,1), top var(--tr, 1.05s) cubic-bezier(.45,0,.55,1);
}
.flow-arrow {
  position: absolute; top: 21px; width: 13px; height: 13px;
  border-right: 2px solid #9fb0dd; border-top: 2px solid #9fb0dd;
  transform: translateX(-50%) rotate(45deg); z-index: 1;
}
.flow-node { position: relative; text-align: center; padding: 0 12px; }
.flow-ic {
  width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 16px;
  display: grid; place-items: center; position: relative; z-index: 2;
  box-shadow: 0 14px 28px -12px rgba(20,30,60,.35);
  transform: scale(0);
  transition: transform .55s cubic-bezier(.2,.8,.3,1.4) var(--d, 0s);
}
.flow-main.in .flow-ic { transform: scale(1); }
.flow-ic svg { width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.f-blue  { background: linear-gradient(135deg, #6d80f2, #4a5fe3); }
.f-amber { background: linear-gradient(135deg, #ffce54, #f0932b); }
.f-cyan  { background: linear-gradient(135deg, #3ec6ff, #1d6ff2); }
.f-green { background: linear-gradient(135deg, #34d99a, #12a76b); }
.flow-txt b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.flow-txt i { font-style: normal; font-size: 12.5px; color: var(--body); }
.flow-sub {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 30px; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: 11.5px; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-card); white-space: nowrap;
}
.flow-sub svg { width: 13px; height: 13px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow-sub { transition: background .35s, color .35s, border-color .35s, box-shadow .35s; }
.flow-sub .dtick { display: none; width: 15px; height: 15px; stroke: #fff; stroke-width: 2.6; }
.flow-sub.done { background: #12a76b; border-color: #12a76b; color: #fff; box-shadow: 0 8px 18px -8px rgba(18,167,107,.65); }
.flow-sub.done .fic { display: none; }
.flow-sub.done .dtick { display: inline-block; }

/* orbiting glow dot around node icon */
.orbit-dot {
  position: absolute; top: 28px; left: 50%; width: 84px; height: 84px;
  margin: -42px 0 0 -42px; border-radius: 50%;
  opacity: 0; pointer-events: none;
}
.orbit-dot::before {
  content: ""; position: absolute; top: -6px; left: 50%; margin-left: -5px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px #fff, 0 0 12px 3px rgba(29,111,242,.65), 0 0 26px 6px rgba(29,111,242,.35);
}
.orbit-dot::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  border: 2px dashed rgba(29,111,242,.35);
}
.flow-node.orbiting .orbit-dot { opacity: 1; animation: orbitspin 1s cubic-bezier(.45,.05,.55,.95) 1 forwards; }
.flow-node.orbiting .flow-ic { box-shadow: 0 0 0 6px rgba(29,111,242,.16), 0 0 26px rgba(29,111,242,.45); transition: box-shadow .3s; }
@keyframes orbitspin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
.flow-sub::before {
  content: ""; position: absolute; bottom: calc(100% + 10px); left: 50%; width: 3px; height: 22px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 1.5px, #a8b6e2 1.5px, transparent 1.6px);
  background-size: 3px 7px; background-repeat: repeat-y;
}
.flow-sub::after {
  content: ""; position: absolute; bottom: calc(100% + 4px); left: 50%;
  width: 0; height: 0; transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 7px solid #8fa3d8;
}

/* ---------- stats ---------- */
.stats { padding-top: 44px; }
.stats-grid {
  display: grid; grid-template-columns: 1.6fr 1.2fr 1fr; gap: 22px; margin-top: 54px;
}
.stat-card { border-radius: var(--radius); padding: 34px; position: relative; overflow: hidden; }
.stat-wide { background: #dbe4f7; display: flex; gap: 20px; align-items: center; }
.stat-wide-copy { position: relative; z-index: 3; }
.stat-num { font-size: clamp(40px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.035em; display: block; }
.stat-wide p { color: #3c4457; font-size: 13.5px; margin: 12px 0 20px; max-width: 250px; }
.stat-visual { position: relative; flex: 1; min-height: 170px; z-index: 1; }
.cloud-globe {
  position: absolute; right: -50px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #fff 0 9%, transparent 10%),
    radial-gradient(circle at 62% 24%, #fff 0 7%, transparent 8%),
    radial-gradient(circle at 55% 58%, #fff 0 8%, transparent 9%),
    radial-gradient(circle at 30% 66%, #fff 0 6%, transparent 7%),
    radial-gradient(circle at 45% 45%, #f4f7ff, #cfd9f5 72%);
  box-shadow: inset -18px -22px 50px rgba(90,110,190,.28), 0 20px 40px -20px rgba(60,80,160,.4);
  animation: floaty 7s ease-in-out infinite;
}
.chip-float {
  position: absolute; z-index: 4; background: #fff; border-radius: 999px; padding: 6px 13px;
  font-size: 11px; font-weight: 700; box-shadow: var(--shadow-card);
  animation: floaty 6s ease-in-out infinite; white-space: nowrap;
}
.cf-1 { right: 36%; top: 0; animation-delay: -1s; }
.cf-2 { right: 2%; top: 40%; animation-delay: -3s; }
.cf-3 { right: 34%; top: 78%; animation-delay: -2s; }

.stat-blue {
  background: linear-gradient(150deg, #6d80f2, #4a5fe3); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  overflow: hidden;
}
.stat-blue::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(90px 90px at 85% 15%, rgba(255,255,255,.22), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 34px, rgba(255,255,255,.06) 34px 35px);
}
.stat-blue > * { position: relative; }
.stat-blue p { font-size: 13px; color: rgba(255,255,255,.85); max-width: 190px; }
.avatar-stack { display: flex; }
.avatar-stack img { border: 2.5px solid #fff; border-radius: 50%; margin-left: -12px; background: #fff; }
.avatar-stack img:first-child { margin-left: 0; }

.stat-plain { background: var(--bg-soft); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.stat-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; }
.stat-ico svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.stat-plain i { font-style: normal; font-size: 12px; color: var(--body); font-weight: 500; }
.stat-plain .stat-num { font-size: clamp(34px, 3.6vw, 46px); }

/* ---------- how it works ---------- */
.how { max-width: none; background: var(--bg-soft); border-radius: 40px; margin: 20px; padding: 80px 20px 90px; }
.how-head { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.how-head .section-title { text-align: left; }
.how-nav { display: flex; gap: 12px; }
.how-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; display: grid; place-items: center;
  transition: transform .2s, background .2s, color .2s;
}
.how-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.how-arrow:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.how-arrow:disabled { opacity: .35; pointer-events: none; }

.how-carousel { max-width: 1200px; margin: 44px auto 0; overflow: hidden; }
.how-track {
  display: flex; gap: 24px;
  transition: transform .65s cubic-bezier(.65,0,.2,1);
  will-change: transform;
}
.how-card {
  flex: 0 0 min(560px, 86vw);
  background: #fff; border-radius: var(--radius); padding: 34px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch;
  box-shadow: 0 1px 0 var(--line);
}
.how-card h3 { font-size: clamp(22px, 2.4vw, 29px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.how-card-top { display: flex; flex-direction: column; gap: 16px; }
.how-card-top p { font-size: 13.5px; color: var(--body); }
.how-card-top .btn { margin-top: auto; }
.how-visual { display: grid; place-items: center; }
.hv-panel {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; box-shadow: var(--shadow-card);
  display: grid; gap: 9px; font-size: 12.5px;
  animation: floaty 7s ease-in-out infinite;
}
.hv-panel b { font-size: 14.5px; letter-spacing: -.01em; }
.hv-panel i { font-style: normal; color: var(--body); font-size: 11.5px; }
.hv-tag { width: max-content; font-size: 10.5px; font-weight: 700; background: var(--amber); color: #fff; padding: 3px 10px; border-radius: 999px; }
.hv-row { display: flex; justify-content: space-between; align-items: center; color: var(--body); font-size: 11.5px; border-top: 1px dashed var(--line); padding-top: 8px; }
.hv-assign { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.hv-meter { height: 8px; border-radius: 5px; background: var(--bg-soft); overflow: hidden; }
.hv-meter span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent), var(--blue)); }
.hv-photos { display: flex; gap: 6px; }
.hv-photos span {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, #cfe0ff, #8fa8f5);
  position: relative;
}
.hv-photos span::after {
  content: ""; position: absolute; inset: 8px;
  border: 1.6px solid rgba(255,255,255,.9); border-radius: 4px;
}
.hv-photos em { width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.feature {
  border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  background: #fff;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.f-ico {
  width: 42px; height: 42px; border-radius: 13px; background: var(--blue-soft);
  display: grid; place-items: center; margin-bottom: 16px;
}
.f-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--blue-deep); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 16px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 7px; }
.feature p { font-size: 13px; color: var(--body); }

/* ---------- industries ---------- */
.indu .section-chip { display: block; width: max-content; margin-left: auto; margin-right: auto; }
.indu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.indu-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  background: #fff; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.indu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: transparent; }
.indu-card .f-ico { margin-bottom: 14px; }
.indu-card h3 { font-size: 15px; font-weight: 700; letter-spacing: -.015em; }
.indu-card p { font-size: 12.5px; color: var(--body); margin-top: 6px; }

/* ---------- AI / agentic demo ---------- */
.ai-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.ai-points { margin-top: 26px; display: grid; gap: 12px; }
.ai-points li { display: flex; gap: 11px; align-items: center; font-weight: 600; font-size: 14px; }
.ai-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(29,111,242,.14); flex: none; }

.ai-demo {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; min-height: 380px;
  display: flex; align-items: center;
}
.ai-stage { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.ai-prompt {
  align-self: flex-end; max-width: 88%;
  background: var(--ink); color: #fff;
  border-radius: 20px 20px 5px 20px; padding: 14px 18px;
  font-size: 13.5px; font-weight: 500; line-height: 1.5;
  display: flex; gap: 10px; align-items: flex-start;
  box-shadow: 0 14px 30px -14px rgba(14,20,32,.45);
}
.ai-prompt p { display: inline; }
.ai-mic {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.14); display: grid; place-items: center;
  transition: background .3s;
}
.ai-mic svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-mic.live { background: var(--pink); animation: micpulse 1.4s ease-out infinite; }
@keyframes micpulse { 0% { box-shadow: 0 0 0 0 rgba(255,36,86,.45); } 100% { box-shadow: 0 0 0 11px rgba(255,36,86,0); } }
.ai-caret { flex: none; width: 2px; height: 15px; background: #8ea0ff; margin-top: 3px; animation: blink 1s step-end infinite; }

.ai-think {
  display: flex; gap: 5px; align-items: center; align-self: flex-start;
  font-size: 12.5px; color: var(--body); font-weight: 500;
  opacity: 0; transition: opacity .3s;
}
.ai-think em { font-style: normal; margin-left: 4px; }
.ai-think span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pdot 1.1s infinite; }
.ai-think span:nth-child(2) { animation-delay: .18s; }
.ai-think span:nth-child(3) { animation-delay: .36s; }

.ai-job {
  background: #fff; border-radius: 18px; padding: 16px 18px;
  box-shadow: var(--shadow-card); display: grid; gap: 9px; font-size: 12.5px;
  opacity: 0; transform: translateY(14px) scale(.96);
  transition: opacity .45s, transform .5s cubic-bezier(.2,.8,.3,1.15);
}
.ai-job.show { opacity: 1; transform: none; }
.ai-job-head { display: flex; justify-content: space-between; align-items: center; }
.ai-job-head b { font-size: 11.5px; color: var(--body); font-weight: 600; }
.ai-job > b { font-size: 14.5px; letter-spacing: -.01em; }

.ai-follow {
  align-self: flex-start; display: flex; gap: 8px; align-items: center;
  background: #dbf7ec; color: #0d9d63;
  font-size: 12px; font-weight: 700; padding: 8px 15px; border-radius: 999px;
  opacity: 0; transform: translateY(8px); transition: .4s;
}
.ai-follow.show { opacity: 1; transform: none; }
.ai-follow svg { width: 13px; height: 13px; fill: none; stroke: #0d9d63; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- network ---------- */
.network { position: relative; text-align: center; padding-top: 60px; }
.network-stage { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.network .globe-canvas { width: min(700px, 100vw); bottom: -40%; }
.globe-soft { opacity: .5; }
.net-chip { display: flex; gap: 10px; align-items: center; }
.n-chip-1 { left: 12%; top: 46%; transform: rotate(-6deg); animation-delay: -2s; }
.n-chip-2 { right: 10%; top: 10%; transform: rotate(4deg); animation-delay: -4s; }
.network-title {
  position: relative; z-index: 2;
  font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.032em; line-height: 1.1;
}

/* ---------- showcase ---------- */
.phone-strip {
  display: flex; gap: 26px; margin-top: 54px;
  overflow-x: auto; padding: 10px 4px 26px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.phone-strip::-webkit-scrollbar { display: none; }
.phone { flex: 0 0 218px; scroll-snap-align: center; text-align: center; }
.phone-frame {
  border-radius: 30px; overflow: hidden; background: #fff;
  border: 7px solid #141a26; box-shadow: var(--shadow-card);
  transition: transform .35s cubic-bezier(.2,.7,.3,1.3);
}
.phone:hover .phone-frame { transform: translateY(-10px) rotate(-1.2deg); }
.phone-frame img { width: 100%; height: auto; aspect-ratio: 1080/2340; object-fit: cover; object-position: top; }
.phone figcaption { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--body); }

/* ---------- reviews / fan ---------- */
.reviews { text-align: center; }
.fan { position: relative; height: 300px; margin-top: 30px; }
.fan-card {
  position: absolute; left: 50%; top: 0; width: 178px;
  transform: translateX(-50%);
  transition: transform .7s cubic-bezier(.5,0,.2,1), filter .5s;
}
.fan-card img { border-radius: 22px; box-shadow: var(--shadow-card); width: 100%; height: 220px; object-fit: cover; }
.fan-card[data-side="-2"] { transform: translateX(-50%) translateX(-390px) translateY(34px) rotate(-12deg); }
.fan-card[data-side="-1"] { transform: translateX(-50%) translateX(-200px) translateY(14px) rotate(-6deg); }
.fan-card[data-side="1"]  { transform: translateX(-50%) translateX(200px) translateY(14px) rotate(6deg); }
.fan-card[data-side="2"]  { transform: translateX(-50%) translateX(390px) translateY(34px) rotate(12deg); }
.fan-card:not(.fan-active) { filter: saturate(.85) brightness(.97); }
.fan-active { z-index: 3; }
.fan-active img { outline: 3px solid var(--amber); outline-offset: 4px; }
.fan-name {
  position: absolute; left: 50%; top: 176px; width: 178px; transform: translateX(-50%); z-index: 4;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.55); pointer-events: none; text-align: center;
}
.fan-name b { display: block; font-size: 14px; }
.fan-name i { font-style: normal; font-size: 11px; opacity: .85; }
.quote { max-width: 480px; margin: 26px auto 0; }
.quote p { font-size: clamp(16px, 2vw, 19px); font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.fan-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.fan-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: .3s; }
.fan-dots button.on { background: var(--ink); transform: scale(1.3); }

/* ---------- pricing ---------- */
.pricing .section-chip { display: block; width: max-content; margin-left: auto; margin-right: auto; }
.price-toggle {
  display: flex; gap: 4px; width: max-content; margin: 36px auto 0;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px;
}
.pt-btn {
  display: flex; gap: 9px; align-items: center;
  padding: 9px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--body); transition: background .25s, color .25s;
}
.pt-btn.on { background: var(--ink); color: #fff; box-shadow: 0 8px 18px -8px rgba(14,20,32,.5); }
.pt-save { font-size: 10px; font-weight: 800; background: #dbf7ec; color: #0d9d63; padding: 3px 9px; border-radius: 999px; }
.pt-btn.on .pt-save { background: rgba(255,255,255,.2); color: #fff; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 62px; align-items: stretch; }
.price-card {
  position: relative; border: 1px solid var(--line); border-radius: 24px;
  padding: 30px 26px; background: #fff;
  display: flex; flex-direction: column; gap: 13px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.pc-name { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.pc-seats { font-size: 12.5px; color: var(--body); margin-top: -7px; }
.pc-price { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.pc-per { font-size: 13.5px; font-weight: 600; color: var(--body); transition: opacity .18s; }
.pc-amt { display: inline-block; transition: opacity .18s, transform .18s; }
.pc-amt.swap, .pc-per.swap { opacity: 0; transform: translateY(7px); }
.pc-list { display: grid; gap: 9px; margin: 4px 0 8px; }
.pc-list li { font-size: 13px; color: var(--body); display: flex; gap: 9px; align-items: flex-start; }
.pc-list li::before { content: "\2713"; color: var(--green); font-weight: 800; font-size: 12px; margin-top: 1px; }
.price-card .btn { margin-top: auto; width: 100%; }

.pc-popular { background: linear-gradient(155deg, #6d80f2, #4a5fe3); border: 0; color: #fff; }
.pc-popular .pc-seats, .pc-popular .pc-per { color: rgba(255,255,255,.8); }
.pc-popular .pc-list li { color: rgba(255,255,255,.92); }
.pc-popular .pc-list li::before { color: #aef0d6; }
.pc-btn { background: #fff !important; color: var(--ink); }
.pc-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(0,0,0,.4); }
.pc-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #fff; font-size: 11px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(240,147,43,.7);
}
.pricing-note { text-align: center; font-size: 12.5px; color: var(--body); margin-top: 32px; }
.pricing-note a { color: var(--accent); font-weight: 600; }
@media (min-width: 1021px) { .pc-popular { transform: scale(1.04); } .pc-popular:hover { transform: scale(1.04) translateY(-6px); } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: #c9d2f5; box-shadow: var(--shadow-card); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 19px 24px; font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink);
  transform: translate(-50%,-50%); transition: transform .3s;
}
.faq-plus::before { width: 11px; height: 1.8px; }
.faq-plus::after { width: 1.8px; height: 11px; }
.faq-item[open] .faq-plus::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-body { padding: 0 24px; overflow: hidden; }
.faq-body p { padding-bottom: 20px; color: var(--body); font-size: 14px; max-width: 620px; }

/* ---------- CTA ---------- */
.cta { padding-bottom: 110px; }
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #7d8df4, #5567ee 60%, #4a5fe3);
  border-radius: 34px; padding: 90px 30px 100px; text-align: center; color: #fff;
}
.cta-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-rings circle { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1.4; }
.cta-chip {
  position: relative; display: inline-block; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  padding: 6px 15px; border-radius: 999px; margin-bottom: 22px;
}
.cta-card h2 { position: relative; font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.032em; line-height: 1.1; }
.cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta-note-line { position: relative; margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.75); }
.cta-chip-a { left: 12%; top: 18%; transform: rotate(-7deg); color: var(--ink); }
.cta-chip-a b { color: var(--green); font-size: 19px; }
.cta-note { right: 9%; top: 14%; transform: rotate(6deg); color: var(--ink); padding: 12px 15px; }
.cta-note ul { gap: 9px; }
.cta-code { left: 13%; bottom: 14%; transform: rotate(4deg); color: #dbe4ff; background: #2e3a8f; padding: 14px 18px; }
.cta-code pre { font-size: 11.5px; line-height: 1.7; font-family: 'SFMono-Regular', Consolas, monospace; }
.cta-code em { color: #ffd66e; font-style: normal; }
.cta-chip-b { right: 12%; bottom: 16%; transform: rotate(-5deg); color: var(--ink); display: flex; gap: 10px; align-items: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 20px 0; position: relative; overflow: hidden; }
.footer-links { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding-top: 36px; position: relative; z-index: 4; }
.fl-col { display: flex; gap: 26px; font-size: 13.5px; font-weight: 600; }
.fl-col a { color: var(--body); transition: color .2s; }
.fl-col a:hover { color: var(--ink); }
.footer-stage { position: relative; height: 300px; margin-top: 10px; }
.globe-faint { opacity: .4; bottom: -55%; }
.foot-chip-a { left: 22%; top: 24%; transform: rotate(-5deg); }
.foot-chip-b { right: 20%; top: 36%; transform: rotate(5deg); }
.socials { position: absolute; left: 50%; top: 34%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 12px; z-index: 4; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-card); display: grid; place-items: center;
  transition: transform .25s, background .25s;
}
.socials a:hover { transform: translateY(-3px); background: var(--ink); }
.socials svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.socials a:hover svg { stroke: #fff; }
.socials a:first-child svg { fill: var(--ink); stroke: none; }
.socials a:first-child:hover svg { fill: #fff; }
.footer-addr {
  position: relative; z-index: 4; font-style: normal;
  text-align: center; font-size: 12px; color: var(--body); line-height: 1.8;
  padding: 8px 0 0;
}
.footer-addr a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.copyright { position: relative; z-index: 4; text-align: center; font-size: 12.5px; color: var(--body); padding: 10px 0 26px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-wide { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .indu-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .fc-checklist { left: 1%; }
  .fc-bars { right: 1%; }
  .fan-card[data-side="-2"] { transform: translateX(-50%) translateX(-300px) translateY(34px) rotate(-12deg); }
  .fan-card[data-side="-1"] { transform: translateX(-50%) translateX(-160px) translateY(14px) rotate(-6deg); }
  .fan-card[data-side="1"]  { transform: translateX(-50%) translateX(160px) translateY(14px) rotate(6deg); }
  .fan-card[data-side="2"]  { transform: translateX(-50%) translateX(300px) translateY(34px) rotate(12deg); }
}
@media (max-width: 760px) {
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(30px, 9.2vw, 44px); }
  .hero h1 br, .br-desktop { display: none; }
  .fc-checklist { display: none; }
  .fc-online { left: -2%; bottom: 34%; }
  .fc-proof { right: -2%; }
  .fc-bars { top: 4%; right: -2%; }
  .fc-profit { min-width: 200px; }
  .stats-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .indu-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; gap: 36px; }
  .ai-demo { padding: 24px 18px; min-height: 340px; }
  .how-card { grid-template-columns: 1fr; flex-basis: 88vw; }
  .how-visual { order: -1; }
  .fan { height: 270px; }
  .fan-card { width: 150px; }
  .fan-card img { height: 190px; }
  .fan-name { top: 158px; }
  .fan-card[data-side="-2"] { transform: translateX(-50%) translateX(-190px) translateY(40px) rotate(-12deg); }
  .fan-card[data-side="-1"] { transform: translateX(-50%) translateX(-105px) translateY(18px) rotate(-7deg); }
  .fan-card[data-side="1"]  { transform: translateX(-50%) translateX(105px) translateY(18px) rotate(7deg); }
  .fan-card[data-side="2"]  { transform: translateX(-50%) translateX(190px) translateY(40px) rotate(12deg); }
  .cta-note, .cta-code { display: none; }
  .cta-chip-a { left: 4%; top: 8%; }
  .cta-chip-b { right: 4%; bottom: 8%; }
  .footer-links { flex-direction: column; gap: 18px; }
  .fl-col { flex-wrap: wrap; justify-content: center; gap: 18px; }
  .n-chip-1 { left: 2%; top: 55%; }
  .n-chip-2 { right: 2%; top: 8%; }

  /* lifecycle → vertical timeline */
  .flow-main { grid-template-columns: 1fr; gap: 34px; max-width: 340px; }
  .flow-line {
    left: 27px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, #c4cfee 0 9px, transparent 9px 16px);
    transform: scaleY(0); transform-origin: top;
  }
  .flow-main.in .flow-line { transform: none; }
  .flow-line::after { left: -4px; top: calc(var(--dy, 0%) - 5px); }
  .orbit-dot { left: 28px; }
  .flow-arrow { display: none; }
  .flow-node {
    display: grid; grid-template-columns: 56px 1fr; column-gap: 18px;
    align-items: center; text-align: left; padding: 0;
  }
  .flow-ic { margin: 0; }
  .flow-sub { margin-top: 0; grid-column: 2; grid-row: 2; justify-self: start; }
  .flow-sub::before {
    bottom: auto; top: 50%; left: -43px; width: 30px; height: 3px;
    background: radial-gradient(circle at 1.5px 50%, #a8b6e2 1.5px, transparent 1.6px);
    background-size: 7px 3px; background-repeat: repeat-x;
    transform: translateY(-50%);
  }
  .flow-sub::after {
    top: 50%; bottom: auto; left: -11px; width: 0; height: 0;
    border: none; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
    border-left: 7px solid #8fa3d8;
    transform: translateY(-50%);
  }
  .flow-node { row-gap: 12px; }
  .how-card { flex-basis: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
