/* ============================================================
   onlinehotelcheckin lander — design system
   Family DNA: Adviceal family (minirez · maxirez · mixifin · mixipos
   · onlinehotelcheckin). Cool plum-black anchors, teal→cyan→purple
   accent (logo: cyan check), lowercase wordmark, "different horizon" motif.
   Light-predominant: the statement, demo CTA, finale and footer stay
   dark as anchors; the mock / scan / pipeline surfaces stay deep-violet
   so they pop on paper.
   ============================================================ */

:root {
  /* deep teal-black base (teal glows, purple kisses) */
  --bg0: #08181c;
  --bg1: #0e242a;
  --bg2: #143840;
  --ink: #e9faf9;
  --muted: #9dbfc1;
  --line: rgba(53, 212, 218, 0.14);

  /* TEAL ramp (logo) — purple accent anchor; whole site inherits --grad */
  --brand1: #35d4da;  /* light teal — gradient light end / glow / chart dots */
  --brand2: #1bb8c1;  /* teal-cyan core — logo color / primary CTA */
  --brand3: #1bb8c1;  /* purple — gradient anchor / accent ("lil purple all over") */
  --grad: linear-gradient(105deg, var(--brand1), var(--brand2) 55%, var(--brand3));

  --gold: #f5b84b;
  --ok: #34d399;
  --warn: #fb7185;

  /* cool light surfaces */
  --paper: #f5fdfd;
  --paper-tint: #e8f8f9;
  --ink-dark: #0c2327;
  --muted-dark: #587578;
  --line-dark: rgba(12, 35, 39, 0.10);

  /* legibility tokens */
  --accent-ink: #0c7c8a;  /* deep teal for icon strokes, tag text, kickers on light */
  --on-grad: #03282c;     /* near-black teal text ON gradient buttons/pills */

  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-text: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px -28px rgba(2, 14, 16, 0.7);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(27, 184, 193, 0.28); color: #06303a; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; color: var(--ink-dark); }
p { margin: 0; }
button { font-family: inherit; }

.container { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 48px); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- scroll progress ---------------- */
.progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 3px;
  z-index: 60;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------------- buttons & chips ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--grad);
  color: var(--on-grad);
  box-shadow: 0 12px 32px -10px rgba(27, 184, 193, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -10px rgba(27, 184, 193, 0.68); }
.btn--shine::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 44px;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  left: -70px;
  animation: shine 3.8s ease-in-out infinite;
}
@keyframes shine {
  0%, 64% { left: -70px; }
  82%, 100% { left: 130%; }
}
.btn--ghost {
  border-color: var(--line-dark);
  color: var(--ink-dark);
  background: rgba(12, 35, 39, 0.03);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(27, 184, 193, 0.5); transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 14px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-ink);
  border: 1px solid rgba(27, 184, 193, 0.30);
  background: rgba(27, 184, 193, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s;
}
.chip:hover { border-color: rgba(27, 184, 193, 0.6); background: rgba(27, 184, 193, 0.14); }
.chip__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand2);
  box-shadow: 0 0 0 0 rgba(27, 184, 193, 0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(27, 184, 193, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(27, 184, 193, 0); }
  100% { box-shadow: 0 0 0 0 rgba(27, 184, 193, 0); }
}

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.kicker--accent { color: var(--brand3); }

/* ---------------- nav ---------------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(245, 253, 253, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 32px; height: 32px; object-fit: contain; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__links { display: flex; gap: 18px; margin-inline: auto; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-dark);
  white-space: nowrap;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--ink-dark); }
.nav__cta { display: flex; gap: 12px; align-items: center; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted-dark);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__phone:hover { color: var(--accent-ink); }
.nav__login { gap: 7px; }
.nav__login svg { opacity: 0.85; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav__burger span { width: 22px; height: 2px; background: var(--ink-dark); border-radius: 2px; transition: 0.25s; }
.nav__sheet { display: none; }

@media (max-width: 1080px) {
  .nav__phone { display: none; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__sheet {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 24px 24px;
    background: rgba(245, 253, 253, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav.is-open .nav__sheet { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav.is-open { background: rgba(245, 253, 253, 0.98); }
  .nav__sheet a { padding: 12px 4px; font-weight: 600; color: var(--ink-dark); border-bottom: 1px solid var(--line-dark); }
  .nav__sheet .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 95% 75% at 50% -12%, #d6f4f5 0%, transparent 62%),
    linear-gradient(180deg, #e9fbfb 0%, var(--paper) 72%);
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite alternate;
  will-change: transform;
}
.aurora--1 { width: 640px; height: 460px; background: rgba(53, 212, 218, 0.34); top: -180px; left: -120px; }
.aurora--2 { width: 720px; height: 520px; background: rgba(124, 58, 237, 0.22); top: -120px; right: -200px; animation-delay: -5s; }
.aurora--3 { width: 460px; height: 380px; background: rgba(27, 184, 193, 0.2); bottom: -160px; left: 32%; animation-delay: -9s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(46px, 28px, 0) scale(1.09); }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(12, 35, 39, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 35, 39, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 35%, transparent 78%);
}
.hero__horizon {
  position: absolute;
  inset-inline: -10%;
  bottom: -2px;
  height: 220px;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(27, 184, 193, 0.16), transparent 70%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 800;
  margin: 26px 0 22px;
}
.hero__sub { font-size: 17.5px; color: var(--muted-dark); max-width: 54ch; }
.hero__sub strong { color: var(--ink-dark); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .btn--ghost {
  color: var(--ink-dark);
  border-color: rgba(12, 35, 39, 0.16);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 30px -20px rgba(12, 35, 39, 0.32);
}
.hero .btn--ghost:hover {
  border-color: rgba(27, 184, 193, 0.55);
  background: rgba(255, 255, 255, 0.9);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
}
.hero__trust li {
  font-size: 13.5px;
  color: var(--muted-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__trust li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
  flex: none;
}

/* ---------------- dashboard mockup (deep-violet surface) ---------------- */
.hero__visual { position: relative; perspective: 1400px; }
.mock {
  background: linear-gradient(160deg, #0e242a 0%, #08181c 96%);
  border: 1px solid rgba(53, 212, 218, 0.18);
  border-radius: 20px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
  color: var(--ink);
}
.mock__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 12, 14, 0.5);
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; opacity: 0.85; flex: none; }
.mock__url {
  margin-inline: auto;
  font-size: 12px;
  color: var(--muted);
  background: rgba(53, 212, 218, 0.08);
  padding: 4px 22px;
  border-radius: 8px;
  letter-spacing: 0.01em;
}
.mock__body { display: grid; grid-template-columns: 160px 1fr; min-height: 430px; }
.mock__side {
  border-right: 1px solid var(--line);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(3, 12, 14, 0.32);
}
.mock__sidebrand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 2px 10px 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mock__sideitem {
  font-size: 12px;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.mock__sideitem:hover { background: rgba(53, 212, 218, 0.07); color: var(--ink); }
.mock__sideitem.is-active {
  background: rgba(27, 184, 193, 0.18);
  color: #c8f3f5;
  font-weight: 600;
}
.mock__sideitem--ai { display: flex; align-items: center; gap: 7px; }
.mock__sideitem--ai span {
  font-size: 9px;
  font-weight: 700;
  background: var(--grad);
  color: var(--on-grad);
  border-radius: 5px;
  padding: 1px 5px;
}
.mock__main { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.mock__head { display: flex; justify-content: space-between; align-items: center; }
.mock__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.mock__subtitle { font-size: 11px; color: var(--muted); }
.mock__pills { display: flex; gap: 4px; background: rgba(53, 212, 218, 0.08); border-radius: 999px; padding: 3px; }
.mock__pills span { font-size: 11px; padding: 4px 11px; border-radius: 999px; color: var(--muted); }
.mock__pills .is-on { background: rgba(27, 184, 193, 0.26); color: #c8f3f5; font-weight: 600; }

.mock__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi {
  background: rgba(53, 212, 218, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  transition: border-color 0.25s, transform 0.25s;
}
.kpi:hover { border-color: rgba(27, 184, 193, 0.4); transform: translateY(-2px); }
.kpi__label { font-size: 10.5px; color: var(--muted); letter-spacing: 0.02em; }
.kpi__value { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi__value--warn { color: var(--warn); }
.kpi__value--ok { color: var(--ok); }
.kpi__delta { font-size: 10px; color: var(--muted); }
.kpi__delta--up { color: var(--ok); }
.kpi__delta--warn { color: var(--warn); }

.mock__chartcard {
  background: rgba(53, 212, 218, 0.05);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px 8px;
}
.mock__chartcard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}
.mock__legend {
  display: flex;
  gap: 14px;
  font-size: 9.5px;
  color: var(--muted);
  margin-bottom: 4px;
}
.mock__legend span { display: inline-flex; align-items: center; gap: 5px; }
.lg { display: inline-block; border-radius: 99px; }
.lg--line { width: 14px; height: 3px; background: var(--grad); }
.lg--card { width: 8px; height: 8px; background: var(--gold); border-radius: 3px; }
.lg--in { width: 8px; height: 8px; background: var(--ok); border-radius: 3px; }
.mock__toggle { display: flex; gap: 4px; background: rgba(53, 212, 218, 0.08); border-radius: 999px; padding: 3px; }
.mock__toggle button {
  font-family: var(--font-text);
  font-size: 10.5px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 3px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}
.mock__toggle button.is-on { background: var(--grad); color: var(--on-grad); font-weight: 700; }
#flowChart { width: 100%; height: 122px; }
.mock__xlabels { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--muted); padding: 4px 2px 0; }

.cbar {
  transform-origin: bottom;
  transform: scaleY(0);
  transform-box: fill-box;
  transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
.cbar.in { transform: scaleY(1); }

.mock__row2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.mock__barcard, .mock__agingcard {
  background: rgba(53, 212, 218, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  min-width: 0;
}
.mock__barcard-title { font-size: 11px; font-weight: 600; display: block; margin-bottom: 9px; }
.mock__barcard-title em { color: var(--muted); font-style: normal; font-weight: 400; }

/* mini-bars */
.catbars { display: flex; align-items: flex-end; gap: 8px; height: 76px; }
.catbars .cat { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; height: 100%; min-width: 0; }
.catbars .cat i {
  width: 100%;
  border-radius: 5px 5px 2px 2px;
  transform-origin: bottom;
  animation: barup 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.catbars .cat span { font-size: 9px; color: var(--muted); white-space: nowrap; }
@keyframes barup { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* donut */
.donutwrap { display: flex; align-items: center; gap: 12px; }
.donut { width: 86px; height: 86px; flex: none; transform: rotate(-90deg); }
.donut__bg { fill: none; stroke: rgba(53, 212, 218, 0.12); stroke-width: 17; }
.donut circle { fill: none; stroke-width: 17; }
.donut__legend { display: flex; flex-direction: column; gap: 4px; font-size: 9.5px; color: var(--muted); min-width: 0; }
.donut__legend div { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.donut__legend i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.donut__legend b { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }

/* floating cards */
.float {
  position: absolute;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(13, 36, 42, 0.92);
  border: 1px solid rgba(53, 212, 218, 0.26);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 20px 48px -18px rgba(2, 14, 16, 0.85);
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: var(--ink);
  animation: floaty 6s ease-in-out infinite;
}
.float strong { display: block; font-size: 12.5px; margin-bottom: 1px; }
.float p { color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.float p span { color: var(--brand1); font-weight: 600; }
.float__icon {
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}
.float__icon--ai { background: rgba(27, 184, 193, 0.2); color: var(--brand1); }
.float__icon--ok { background: rgba(52, 211, 153, 0.18); color: var(--ok); }
.float--order { top: -26px; right: -14px; max-width: 285px; animation-delay: -2s; }
.float--folio { bottom: 86px; left: -34px; max-width: 270px; }
.float--kds {
  bottom: -18px;
  right: 36px;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  border-color: rgba(53, 212, 218, 0.45);
  color: #d9f6f7;
  animation-delay: -4s;
}
.float--kds b { color: var(--brand1); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 660px; }
  .float--order { right: 0; }
  .float--folio { left: -8px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 130px; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .mock__cards { grid-template-columns: repeat(2, 1fr); }
  .mock__row2 { grid-template-columns: 1fr; }
  .float--order, .float--folio { display: none; }
  .float--kds { right: 12px; }
}

/* ---------------- marquee (dark hairline band) ---------------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg0);
  overflow: hidden;
  padding: 16px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: rgba(200, 243, 245, 0.78);
  white-space: nowrap;
}
.marquee__track i { color: rgba(53, 212, 218, 0.42); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- statement / aile (dark anchor) ---------------- */
.statement {
  padding: 110px 0;
  text-align: center;
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 70% at 50% 110%, rgba(124, 58, 237, 0.16), transparent 70%),
    var(--bg0);
}
.statement[id] { scroll-margin-top: 88px; }
.statement__quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 24ch;
  margin-inline: auto;
  background: linear-gradient(100deg, #fff 30%, #c6f2f4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.statement__sub { color: var(--muted); max-width: 62ch; margin: 22px auto 0; font-size: 16.5px; }
.statement__sub strong { color: var(--ink); }
.statement__family {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}
.statement__family-break { flex-basis: 100%; height: 0; }
.statement__family span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  color: var(--muted);
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  transition: border-color 0.25s, transform 0.25s;
}
.statement__family span:hover { border-color: rgba(27, 184, 193, 0.45); transform: translateY(-2px); }
.statement__family em { font-family: var(--font-text); font-style: normal; font-weight: 400; font-size: 12.5px; color: rgba(200, 243, 245, 0.7); }
.statement__family .is-hot {
  color: var(--on-grad);
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 14px 36px -14px rgba(27, 184, 193, 0.6);
}
.statement__family .is-hot em { color: rgba(3, 40, 44, 0.72); }

/* ---------------- sections ---------------- */
.section { padding: 110px 0; position: relative; }
.section[id] { scroll-margin-top: 88px; }
.section--light { background: var(--paper); color: var(--ink-dark); }
.section--light p { color: var(--muted-dark); }
.section--tint { background: var(--paper-tint); }

.section__head { max-width: 680px; margin-bottom: 58px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 18px; }
.section__head p { font-size: 17px; color: var(--muted-dark); }

/* ---------------- features ---------------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s;
  overflow: hidden;
}
.fcard::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.28s;
}
.fcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px -24px rgba(12, 35, 39, 0.25);
  border-color: rgba(27, 184, 193, 0.4);
}
.fcard:hover::before { opacity: 1; }
.fcard__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(53, 212, 218, 0.18), rgba(124, 58, 237, 0.16));
  margin-bottom: 18px;
  transition: transform 0.28s;
}
.fcard:hover .fcard__icon { transform: scale(1.08) rotate(-4deg); }
.fcard__icon svg {
  width: 23px; height: 23px;
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fcard h3 { font-size: 18.5px; margin-bottom: 10px; }
.fcard p { font-size: 14px; line-height: 1.6; color: var(--muted-dark); }
.fcard p strong { color: var(--ink-dark); }
.fcard__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.fcard__tags span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-ink);
  background: rgba(27, 184, 193, 0.12);
  border-radius: 999px;
  padding: 4px 11px;
}
@media (max-width: 1040px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------------- spotlights ---------------- */
.spotlight__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.spotlight__inner--flip { grid-template-columns: 1.05fr 1fr; }
.spotlight__inner--flip .spotlight__copy { order: -1; }
.spotlight__copy h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-bottom: 18px; }
.spotlight__copy > p { font-size: 16.5px; color: var(--muted-dark); }
.spotlight__copy > p strong { color: var(--ink-dark); }
.spotlight__hint { margin-top: 22px; font-size: 14px; color: var(--muted-dark); }
kbd {
  font-family: var(--font-text);
  font-size: 12px;
  background: rgba(12, 35, 39, 0.06);
  border: 1px solid var(--line-dark);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--ink-dark);
}

.ticklist { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.ticklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--muted-dark);
}
.ticklist li strong { color: var(--ink-dark); }
.ticklist li::before {
  content: '✓';
  flex: none;
  width: 21px; height: 21px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: rgba(27, 184, 193, 0.16);
  color: var(--accent-ink);
  margin-top: 2px;
}
.spotlight__copy .btn { margin-top: 10px; }

@media (max-width: 960px) {
  .spotlight__inner, .spotlight__inner--flip { grid-template-columns: 1fr; gap: 44px; }
  .spotlight__inner--flip .spotlight__copy { order: 0; }
}

/* big chart (deep-violet surface) */
.bigchart {
  background: linear-gradient(160deg, #0e242a 0%, #08181c 96%);
  border: 1px solid rgba(53, 212, 218, 0.18);
  border-radius: 20px;
  padding: 22px 22px 14px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.bigchart__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.bigchart__legend { display: flex; gap: 16px; color: var(--muted); font-weight: 500; font-size: 11.5px; }
.bigchart__legend span { display: inline-flex; align-items: center; gap: 6px; }
#bigChart { width: 100%; height: 230px; }
.bigchart__foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding: 8px 4px 0; }

/* peak-hour heatmap */
.heatwrap { margin-top: 40px; }
.heat {
  max-width: 880px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 16px 20px 18px;
  box-shadow: 0 22px 50px -32px rgba(12, 35, 39, 0.3);
}
.heat__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 16px;
}
.heat__head em { color: var(--muted-dark); font-style: normal; font-weight: 400; }
.heat__legend { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; color: var(--muted-dark); }
.heat__legend i { width: 13px; height: 13px; border-radius: 3px; }
.heat__legend i:nth-of-type(1) { background: rgba(27, 184, 193, 0.18); }
.heat__legend i:nth-of-type(2) { background: rgba(27, 184, 193, 0.42); }
.heat__legend i:nth-of-type(3) { background: rgba(27, 184, 193, 0.68); }
.heat__legend i:nth-of-type(4) { background: rgba(27, 184, 193, 0.95); }
.heat__grid { display: grid; grid-template-columns: 32px repeat(12, 1fr); grid-template-rows: auto repeat(7, 28px); gap: 4px; }
.heat__hlabel { font-size: 9.5px; color: var(--muted-dark); text-align: center; align-self: center; }
.heat__dlabel { font-size: 10.5px; color: var(--muted-dark); font-weight: 600; align-self: center; }
.heat__cell {
  border-radius: 4px;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.heat.in .heat__cell { opacity: 1; transform: none; }
@media (max-width: 560px) {
  .heat__grid { gap: 3px; grid-template-columns: 24px repeat(12, 1fr); grid-template-rows: auto repeat(7, 20px); }
  .heat__hlabel { font-size: 8px; }
  .heat__hlabel.is-odd { display: none; }
}

/* ---------------- guest mobile check-in demo ---------------- */
.checkin-demo { display: grid; grid-template-columns: 196px 1fr; gap: 22px; align-items: center; }
.phone { display: flex; flex-direction: column; align-items: center; }
.phone__bezel {
  position: relative;
  width: 196px;
  aspect-ratio: 9 / 18;
  background: #071519;
  border: 7px solid #143840;
  border-radius: 32px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(53, 212, 218, 0.1);
  padding: 22px 12px 14px;
  overflow: hidden;
}
.phone__cam {
  position: absolute;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 46px; height: 6px;
  border-radius: 4px;
  background: #000;
}
.phone__screen { height: 100%; display: flex; flex-direction: column; color: var(--ink); }
.phone__head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.phone__head span { color: var(--brand1); }
.phone__list { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.phone__item { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); padding: 7px 9px; border-radius: 8px; background: rgba(53, 212, 218, 0.05); border: 1px solid var(--line); }
.phone__item b { color: var(--ink); font-weight: 600; }
.phone__item.is-pick { border-color: rgba(27, 184, 193, 0.5); background: rgba(27, 184, 193, 0.14); color: #c8f3f5; }
.phone__scanbox {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px dashed rgba(53, 212, 218, 0.4);
  border-radius: 12px;
  margin: 4px 0;
  position: relative;
  overflow: hidden;
}
.phone__scanbox .doc { width: 80%; height: 54px; border-radius: 7px; background: rgba(53, 212, 218, 0.12); border: 1px solid var(--line); }
.phone__scanbox .scanline { position: absolute; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand1), transparent); box-shadow: 0 0 12px 2px rgba(53, 212, 218, 0.7); animation: phonescan 1.8s ease-in-out infinite; }
@keyframes phonescan { 0%, 100% { top: 30%; } 50% { top: 64%; } }
.phone__scanbox span { font-size: 10.5px; color: var(--muted); }
.phone__total { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); }
.phone__cta { margin-top: 10px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; background: var(--grad); color: var(--on-grad); border-radius: 9px; padding: 9px; }
.phone__done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.phone__check { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: rgba(52, 211, 153, 0.16); color: var(--ok); border: 1px solid rgba(52, 211, 153, 0.4); }
.phone__done strong { font-size: 13.5px; }
.phone__done span { font-size: 11px; color: var(--muted); }
.phone__dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.phone__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(53, 212, 218, 0.3); transition: 0.3s; }
.phone__dots i.is-on { background: var(--brand2); width: 18px; border-radius: 4px; }

.arrivals { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.arrivals__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink-dark); }
.arrivals__live { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2.4s infinite; }
.arrivals__item { background: #fff; border: 1px solid var(--line-dark); border-radius: 14px; padding: 14px 16px; box-shadow: 0 16px 40px -28px rgba(12, 35, 39, 0.28); transition: border-color 0.3s; }
.arrivals__item.is-muted { opacity: 0.62; }
.arrivals__item[hidden] { display: none; }
.arrivals__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.arrivals__row strong { font-family: var(--font-display); font-size: 14.5px; color: var(--ink-dark); }
.arrivals__item p { font-size: 12.5px; color: var(--muted-dark); }
.cibadge { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 4px 11px; white-space: nowrap; background: rgba(53, 212, 218, 0.18); color: var(--accent-ink); transition: background 0.3s, color 0.3s; }
.cibadge--wait { background: rgba(245, 184, 75, 0.22); color: #a16207; }
.cibadge--sent { background: rgba(27, 184, 193, 0.16); color: var(--accent-ink); }
.cibadge--prep { background: rgba(27, 184, 193, 0.22); color: var(--brand3); }
.cibadge--done { background: rgba(52, 211, 153, 0.16); color: #059669; }
@media (max-width: 560px) {
  .checkin-demo { grid-template-columns: 1fr; justify-items: center; gap: 26px; }
  .arrivals { width: 100%; }
}

/* ---------------- check-in pipeline (deep-violet surface) ---------------- */
.pipe {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: linear-gradient(160deg, #0e242a 0%, #0a1f24 96%);
  border: 1px solid rgba(53, 212, 218, 0.16);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.pipe__lane { background: rgba(53, 212, 218, 0.04); border: 1px solid rgba(53, 212, 218, 0.1); border-radius: 12px; padding: 9px 8px; min-height: 256px; }
.pipe__lanehead { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.01em; color: var(--muted); padding: 2px 4px 9px; }
.pipe__lanehead span { font-size: 10px; background: rgba(53, 212, 218, 0.12); color: var(--ink); border-radius: 999px; padding: 1px 7px; min-width: 18px; text-align: center; }
.pipe__cards { display: flex; flex-direction: column; gap: 8px; }
.pipe__ticket {
  background: rgba(53, 212, 218, 0.07);
  border: 1px solid rgba(53, 212, 218, 0.14);
  border-radius: 10px;
  padding: 9px 10px;
  animation: pipein 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.1) both;
}
.pipe__tickethead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.pipe__tickethead strong { font-family: var(--font-display); font-size: 12.5px; }
.pipe__timer { font-size: 10.5px; font-variant-numeric: tabular-nums; color: var(--muted); background: rgba(3, 12, 14, 0.4); border-radius: 6px; padding: 1px 6px; }
.pipe__ticket ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pipe__ticket li { font-size: 10.5px; color: var(--muted); }
.pipe__ticket.is-ready { border-color: rgba(52, 211, 153, 0.55); background: rgba(52, 211, 153, 0.1); animation: pipeflash 0.7s ease; }
.pipe__ticket.is-ready .pipe__timer { color: var(--ok); }
@keyframes pipein { from { opacity: 0; transform: translateY(-9px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes pipeflash { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); } 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }
@media (max-width: 600px) {
  .pipe { grid-template-columns: repeat(2, 1fr); }
  .pipe__lane { min-height: 150px; }
}

/* ---------------- ID / passport OCR scan ---------------- */
.scan { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 16px; align-items: stretch; }
.scan__doc {
  position: relative;
  background: linear-gradient(160deg, #0e242a 0%, #08181c 96%);
  border: 1px solid rgba(53, 212, 218, 0.22);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.scan__doctop { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--brand1); margin-bottom: 12px; }
.scan__doctop em { font-style: normal; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.scan__id { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: start; }
.scan__photo { width: 54px; height: 66px; border-radius: 8px; background: linear-gradient(135deg, rgba(53, 212, 218, 0.3), rgba(124, 58, 237, 0.2)); border: 1px solid var(--line); display: grid; place-items: center; color: rgba(255, 255, 255, 0.5); }
.scan__photo svg { width: 30px; height: 30px; }
.scan__idlines { display: flex; flex-direction: column; gap: 6px; }
.scan__idline { height: 8px; border-radius: 4px; background: rgba(53, 212, 218, 0.16); }
.scan__idline.s1 { width: 80%; } .scan__idline.s2 { width: 60%; } .scan__idline.s3 { width: 72%; } .scan__idline.s4 { width: 45%; }
.scan__mrz { margin-top: 14px; padding: 9px 10px; border-radius: 8px; background: rgba(3, 12, 14, 0.45); border: 1px solid var(--line); font-family: 'Courier New', monospace; font-size: 9.5px; letter-spacing: 1px; color: rgba(200, 243, 245, 0.85); word-break: break-all; line-height: 1.5; }
.scan__line { position: absolute; left: 8px; right: 8px; top: 6%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand1), transparent); box-shadow: 0 0 18px 3px rgba(53, 212, 218, 0.7); opacity: 0; }
.scan__doc.is-scanning .scan__line { animation: scanmove 1.5s cubic-bezier(0.4, 0, 0.4, 1); }
@keyframes scanmove { 0% { top: 5%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 94%; opacity: 0; } }

.scan__out { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-dark); border-radius: 16px; padding: 16px 18px; box-shadow: 0 16px 40px -28px rgba(12, 35, 39, 0.28); }
.scan__outhead { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink-dark); margin-bottom: 6px; }
.scan__outhead span { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; background: var(--grad); color: var(--on-grad); border-radius: 6px; padding: 2px 8px; }
.scan__field { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-dark); font-size: 12.5px; }
.scan__field:last-of-type { border-bottom: 0; }
.scan__field > span { color: var(--muted-dark); }
.scan__field b { color: var(--ink-dark); font-weight: 600; opacity: 0; transform: translateY(5px); transition: opacity 0.4s ease, transform 0.4s ease; text-align: right; }
.scan__field.is-filled b { opacity: 1; transform: none; }
.scan__toasts { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.scan__toast {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  color: #059669;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-radius: 10px;
  padding: 8px 11px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.scan__toast.is-shown { opacity: 1; transform: none; }
.scan__count { grid-column: 1 / -1; text-align: center; margin-top: 4px; font-size: 14px; color: var(--muted-dark); }
.scan__count b { color: var(--accent-ink); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .scan { grid-template-columns: 1fr; } }

/* ---------------- KBS / completion summary card ---------------- */
.summary { background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 22px 50px -30px rgba(12, 35, 39, 0.3); }
.summary__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.summary__head strong { font-family: var(--font-display); font-size: 16px; }
.summary__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); background: rgba(27, 184, 193, 0.12); border-radius: 999px; padding: 4px 11px; }
.summary__rows { display: flex; flex-direction: column; gap: 9px; }
.summary__row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted-dark); }
.summary__row span { display: inline-flex; align-items: center; gap: 8px; }
.summary__row b { color: var(--ink-dark); font-variant-numeric: tabular-nums; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot--a { background: var(--brand2); }
.dot--b { background: var(--brand1); }
.dot--c { background: var(--gold); }
.dot--d { background: var(--ok); }
.summary__row--total { margin-top: 4px; padding-top: 11px; border-top: 1px solid var(--line-dark); font-size: 14.5px; font-weight: 700; color: var(--ink-dark); }
.summary__ok {
  display: flex; justify-content: space-between; align-items: center;
  margin: 14px 0;
  font-size: 13px; font-weight: 700;
  color: #059669;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-radius: 10px;
  padding: 10px 13px;
}
.summary__subt { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 10px; }
.bar { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bar label { font-size: 12px; width: 70px; flex: none; color: var(--muted-dark); }
.bar__track { flex: 1; height: 8px; border-radius: 4px; background: rgba(12, 35, 39, 0.08); overflow: hidden; }
.bar__track i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; transition: width 1s cubic-bezier(0.3, 0.7, 0.3, 1); }
.spotlight__visual.in .bar__track i { width: var(--w); }
.bar em { font-size: 10.5px; font-style: normal; width: 38px; flex: none; text-align: right; color: var(--muted-dark); }
.checks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.checks li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted-dark); }
.checks li::before { content: '✓'; width: 17px; height: 17px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 800; background: rgba(52, 211, 153, 0.16); color: #059669; }

/* ---------------- segments (illustrated) ---------------- */
.segs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.segs .seg:nth-child(1),
.segs .seg:nth-child(2) { grid-column: span 3; }
.segs .seg:nth-child(3),
.segs .seg:nth-child(4),
.segs .seg:nth-child(5) { grid-column: span 2; }
.seg {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px -28px rgba(12, 35, 39, 0.22);
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}
.seg:hover {
  transform: translateY(-7px);
  border-color: rgba(27, 184, 193, 0.45);
  box-shadow: 0 30px 60px -26px rgba(12, 35, 39, 0.3);
}
.seg__photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(53, 212, 218, 0.22), rgba(124, 58, 237, 0.25));
}
@media (min-width: 901px) {
  .segs .seg:nth-child(1) .seg__photo,
  .segs .seg:nth-child(2) .seg__photo { aspect-ratio: 12 / 5; }
}
.seg__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 0.5s ease;
}
.seg:hover .seg__photo img { transform: scale(1.06); }
.seg.img-fail .seg__photo img { display: none; }
.seg.img-fail .seg__photo { display: grid; place-items: center; }
.seg.img-fail .seg__photo::after { content: '✦'; font-size: 38px; color: rgba(233, 250, 249, 0.7); }
.seg__body { padding: 22px 22px 24px; }
.seg__body h3 { font-size: 18px; margin-bottom: 9px; }
.seg__body p { font-size: 13.5px; color: var(--muted-dark); line-height: 1.6; }
.seg__body .fcard__tags { margin-top: 14px; }
@media (max-width: 900px) {
  .segs { grid-template-columns: repeat(2, 1fr); }
  .segs .seg:nth-child(1),
  .segs .seg:nth-child(2),
  .segs .seg:nth-child(3),
  .segs .seg:nth-child(4),
  .segs .seg:nth-child(5) { grid-column: auto; }
}
@media (max-width: 560px) { .segs { grid-template-columns: 1fr; } }

/* ---------------- guest-journey messages (deep-violet surface) ---------------- */
.chat {
  background: linear-gradient(160deg, #0e242a 0%, #08181c 96%);
  border: 1px solid rgba(53, 212, 218, 0.2);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  color: var(--ink);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 12, 14, 0.4);
}
.chat__status {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.4s infinite;
}
.chat__live { margin-left: auto; font-size: 10.5px; color: var(--muted); letter-spacing: 0.02em; }
.chat__badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--grad);
  color: var(--on-grad);
  border-radius: 6px;
  padding: 2px 8px;
}
.chat__body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  justify-content: flex-end;
}
.msg {
  max-width: 85%;
  font-size: 13.5px;
  line-height: 1.55;
  padding: 11px 15px;
  border-radius: 15px;
  animation: msgin 0.35s ease both;
}
@keyframes msgin {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.msg--user {
  align-self: flex-end;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #d7f7ea;
  border-bottom-right-radius: 5px;
}
.msg--ai {
  align-self: flex-start;
  background: rgba(53, 212, 218, 0.1);
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 5px;
}
.msg--ai b { color: var(--brand1); }
.msg__meta { display: block; font-size: 9.5px; color: var(--muted); margin-top: 5px; letter-spacing: 0.02em; }
.msg--typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.msg--typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1.1s infinite;
}
.msg--typing i:nth-child(2) { animation-delay: 0.18s; }
.msg--typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 14px;
}
.chat__chips button {
  font-size: 11.5px;
  font-weight: 600;
  color: #c8f3f5;
  background: rgba(27, 184, 193, 0.1);
  border: 1px solid rgba(27, 184, 193, 0.3);
  border-radius: 999px;
  padding: 6px 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.chat__chips button:hover { background: rgba(27, 184, 193, 0.18); transform: translateY(-1px); }
.chat__input {
  margin: 0 20px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(3, 12, 14, 0.5);
  padding: 12px 16px;
  font-size: 13.5px;
  color: rgba(140, 180, 182, 0.6);
  display: flex;
  align-items: center;
}
.chat__caret {
  width: 1.5px;
  height: 16px;
  background: var(--brand1);
  margin-left: 6px;
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* ---------------- timeline / gün akışı ---------------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tl {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 18px 44px -30px rgba(12, 35, 39, 0.2);
  transition: border-color 0.25s, transform 0.25s;
}
.tl:hover { border-color: rgba(27, 184, 193, 0.45); transform: translateY(-4px); }
.tl__time {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--on-grad);
  background: var(--grad);
  border-radius: 7px;
  padding: 3px 9px;
  margin-bottom: 14px;
}
.tl h3 { font-size: 17px; margin-bottom: 8px; }
.tl p { font-size: 14px; color: var(--muted-dark); }
@media (max-width: 960px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }

/* ---------------- stats ---------------- */
.stats { padding: 84px 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.stat {
  position: relative;
  min-height: 154px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #eefafb 100%);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  box-shadow: 0 18px 46px -32px rgba(12, 35, 39, 0.5);
}
.stat::before {
  content: '';
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--grad);
  border-radius: 999px;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: var(--ink-dark);
}
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted-dark); }
@media (max-width: 960px) { .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
}

/* ---------------- integration constellation ---------------- */
.constel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 5 / 3;
}
.constel__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.constel__svg line.base { stroke: rgba(12, 35, 39, 0.13); stroke-width: 1.4; opacity: 0; transition: opacity 0.8s ease; }
.constel.in .constel__svg line.base { opacity: 1; }
.constel__pulse { opacity: 0; }
.constel__node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-dark);
  white-space: nowrap;
  box-shadow: 0 12px 30px -18px rgba(12, 35, 39, 0.32);
}
.constel__node--hub {
  background: var(--grad);
  color: var(--on-grad);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 24px;
  box-shadow: 0 18px 44px -14px rgba(27, 184, 193, 0.6);
  z-index: 2;
}
.constel__note { max-width: 720px; margin: 36px auto 0; text-align: center; font-size: 14px; color: var(--muted-dark); }
@media (max-width: 720px) {
  .constel { aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .constel__svg { display: none; }
  .constel__node { position: static; transform: none; }
  .constel__node--hub { order: -1; width: 100%; text-align: center; }
}

/* ---------------- seçim kriterleri ---------------- */
.seo-compare .section__head { max-width: 780px; }
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.compare-note { max-width: 860px; margin: 28px auto 0; text-align: center; font-size: 13px; color: var(--muted-dark); }
@media (max-width: 960px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---------------- saha senaryoları ---------------- */
.scns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scn {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  overflow: hidden;
  box-shadow: 0 18px 44px -30px rgba(12, 35, 39, 0.2);
  transition: transform 0.28s ease, border-color 0.28s, box-shadow 0.28s;
}
.scn::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--grad); }
.scn:hover { transform: translateY(-5px); border-color: rgba(27, 184, 193, 0.4); box-shadow: 0 28px 56px -28px rgba(12, 35, 39, 0.28); }
.scn__tag { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent-ink); margin-bottom: 10px; }
.scn p { font-size: 14.5px; color: var(--muted-dark); line-height: 1.65; }
.scns__note { text-align: center; font-size: 12.5px; color: var(--muted-dark); margin-top: 32px; }
@media (max-width: 880px) { .scns { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------------- demo CTA (dark anchor) ---------------- */
.demo {
  position: relative;
  padding: 124px 0;
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 42% at 50% -5%, rgba(27, 184, 193, 0.18), transparent 68%),
    linear-gradient(180deg, #0c2026 0%, #0a1f24 100%);
}
.demo[id] { scroll-margin-top: 88px; }
.demo__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 40% at 84% 82%, rgba(124, 58, 237, 0.14), transparent 70%);
  pointer-events: none;
}
.demo .container { position: relative; }
.demo .section__head h2 { color: var(--ink); font-size: clamp(32px, 4.4vw, 52px); }
.demo .section__head p { color: var(--muted); }
.demo .kicker, .demo .kicker--accent { color: var(--brand1); }
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 940px;
  margin: 8px auto 0;
}
.how__step { text-align: center; padding: 0 12px; }
.how__step b {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(27, 184, 193, 0.5);
  color: var(--brand1);
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 14px;
}
.how__step h3 { font-size: 16.5px; margin-bottom: 8px; color: var(--ink); }
.how__step p { font-size: 13.5px; color: var(--muted); }
.demo__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 48px; }
.demo .btn--ghost { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, 0.04); }
.demo .btn--ghost:hover { border-color: rgba(27, 184, 193, 0.55); background: rgba(255, 255, 255, 0.07); }
.demo__note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 30px; }
@media (max-width: 720px) { .how { grid-template-columns: 1fr; gap: 30px; } }

/* ---------------- FAQ ---------------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 0 26px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq__item[open] { border-color: rgba(27, 184, 193, 0.45); box-shadow: 0 16px 38px -24px rgba(12, 35, 39, 0.25); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink-dark);
  padding: 21px 36px 21px 0;
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent-ink);
  transition: transform 0.25s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 0 24px; font-size: 15px; color: var(--muted-dark); }
.faq__item p strong { color: var(--ink-dark); }

/* ---------------- finale (dark anchor) ---------------- */
.finale {
  position: relative;
  text-align: center;
  padding: 130px 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 65% at 50% 115%, rgba(27, 184, 193, 0.2), transparent 72%),
    radial-gradient(ellipse 45% 50% at 15% 0%, rgba(124, 58, 237, 0.14), transparent 70%),
    var(--bg0);
  overflow: hidden;
}
.finale h2 { color: #fff; font-size: clamp(36px, 5vw, 60px); font-weight: 800; margin-bottom: 18px; }
.finale p { color: var(--muted); font-size: 17px; }
.finale__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.finale .btn--ghost { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, 0.04); }
.finale .btn--ghost:hover { border-color: rgba(27, 184, 193, 0.55); background: rgba(255, 255, 255, 0.07); }

/* ---------------- footer (near-black) ---------------- */
.footer {
  background: #061417;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 72px 0 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 44px;
}
.footer__brandcol p { font-size: 14px; color: var(--muted); margin-top: 18px; max-width: 34ch; }
.footer__brandcol p a { color: var(--brand1); font-weight: 600; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.footer__social a:hover { border-color: rgba(27, 184, 193, 0.55); background: rgba(27, 184, 193, 0.08); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; fill: var(--muted); }
.footer__social a:hover svg { fill: var(--brand1); }
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 11px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--brand1); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(53, 212, 218, 0.1);
  font-size: 12.5px;
  color: rgba(140, 180, 182, 0.7);
}
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------------- reveal animations ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
/* stagger inside grids */
.features .fcard:nth-child(4n + 2), .segs .seg:nth-child(4n + 2), .timeline .tl:nth-child(3n + 2),
.scns .scn:nth-child(2), .compare-grid .fcard:nth-child(3n + 2), .stats .stat:nth-child(3n + 2) { transition-delay: 0.08s; }
.features .fcard:nth-child(4n + 3), .segs .seg:nth-child(4n + 3), .timeline .tl:nth-child(3n),
.scns .scn:nth-child(3), .compare-grid .fcard:nth-child(3n), .stats .stat:nth-child(3n) { transition-delay: 0.16s; }
.features .fcard:nth-child(4n), .segs .seg:nth-child(4n) { transition-delay: 0.24s; }

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

/* ---------------- mobile compaction ---------------- */
@media (max-width: 640px) {
  html { scroll-padding-top: 66px; }
  .container, .container--narrow { width: calc(100% - 40px); max-width: var(--maxw); }

  .section { padding: 72px 0; }
  .section[id], .statement[id], .demo[id] { scroll-margin-top: 66px; }
  .section__head { margin-bottom: 36px; }
  .section__head h2 { margin-bottom: 14px; }
  .section__head p { font-size: 15.5px; line-height: 1.55; }

  .statement { padding: 72px 0; }
  .statement__quote { font-size: 24px; }
  .statement__sub { margin-top: 18px; font-size: 15.5px; line-height: 1.55; }
  .statement__family { margin-top: 28px; }

  .spotlight__inner, .spotlight__inner--flip { gap: 34px; }
  .spotlight__copy h2 { font-size: clamp(26px, 8vw, 34px); margin-bottom: 14px; }
  .spotlight__copy > p { font-size: 15.5px; line-height: 1.55; }
  .ticklist { margin: 18px 0; gap: 10px; }

  .nav__inner { height: 58px; gap: 14px; }
  .brand { gap: 8px; }
  .brand__mark { width: 28px; height: 28px; }
  .brand__word { font-size: 16px; }
  .nav__burger { padding: 6px; }
  .nav__burger span { width: 20px; }
  .nav__sheet { padding: 8px 16px 18px; }

  .hero { padding: 88px 0 46px; }
  .hero__inner { gap: 28px; }
  .hero__copy, .hero__visual { min-width: 0; }
  .hero__visual { max-width: 380px; margin-inline: auto; }
  .chip--hero { max-width: 100%; gap: 7px; padding: 8px 12px; font-size: 12.5px; }
  .hero__title { margin: 18px 0 14px; font-size: 36px; }
  .hero__sub { font-size: 15.5px; line-height: 1.55; }
  .hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .hero__actions .btn { width: 100%; flex: none; min-width: 0; justify-content: center; padding: 13px 12px; font-size: 14px; }
  .hero__trust { gap: 7px 14px; margin-top: 20px; }
  .hero__trust li { font-size: 12.5px; }

  .mock { border-radius: 16px; max-height: 340px; overflow: hidden; }
  .mock__chrome { padding: 9px 12px; }
  .mock__body { min-height: 0; }
  .mock__main { gap: 10px; padding: 13px 12px 14px; }
  .mock__head { align-items: flex-start; gap: 10px; }
  .mock__pills span:last-child { display: none; }
  .mock__cards { gap: 8px; }
  .kpi { border-radius: 10px; padding: 8px 9px; }
  .mock__legend { display: none; }
  .mock__chartcard-head { flex-wrap: wrap; gap: 8px; }
  #flowChart { height: 82px; }
  .mock__row2 { display: none; }

  .bigchart { border-radius: 16px; padding: 16px 14px 12px; }
  .bigchart__legend { gap: 10px; font-size: 10.5px; }
  #bigChart { height: 168px; }
  .bigchart__foot { font-size: 10.5px; }

  .chat { min-height: 360px; border-radius: 16px; }
  .chat__body { padding: 16px; }
  .chat__chips { padding: 0 16px 12px; }
  .chat__input { margin: 0 16px 16px; }

  .demo { padding: 84px 0; }
  .demo__actions { gap: 10px; }
  .demo__actions .btn { width: 100%; justify-content: center; }
  .finale { padding: 92px 0; }
  .finale__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .finale__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 32px; }
}
