/* ============================================================
   ShopFront marketing site — z7tech
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b1220;
  --ink-2: #1e293b;
  --slate: #475569;
  --slate-3: #64748b;
  --line: #e6eaf2;
  --bg: #f8fafc;
  --surface: #ffffff;

  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-ink: #0f2a6e;
  --blue-tint: #eff4ff;

  --green: #16a34a;
  --green-tint: #e9f7ee;
  --amber: #b45309;
  --amber-tint: #fdf3e2;
  --red: #dc2626;
  --red-soft: #e15252;
  --violet: #6d43e0;
  --violet-tint: #f0ebfd;

  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05);
  --shadow-md: 0 1px 2px rgba(11, 18, 32, 0.05), 0 10px 28px -8px rgba(11, 18, 32, 0.12);
  --shadow-lg: 0 2px 4px rgba(11, 18, 32, 0.05), 0 24px 60px -16px rgba(11, 18, 32, 0.22);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 68px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
em, strong { font-style: normal; }

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

/* ---------- Typography ---------- */
h1 {
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 750;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 720;
}

h3 { letter-spacing: -0.015em; font-weight: 650; }

.lede {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  color: var(--slate);
  max-width: 34em;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--slate);
  max-width: 40em;
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.35), 0 8px 20px -6px rgba(37, 99, 235, 0.45);
}
.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3), 0 14px 28px -8px rgba(37, 99, 235, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
}
.btn-ghost:hover {
  border-color: #cdd6e4;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-disabled { cursor: default; color: var(--slate-3); }
.btn-disabled:hover { transform: none; box-shadow: none; border-color: var(--line); }

/* Play-store style button */
.btn-play {
  background: var(--ink);
  color: #fff;
  padding: 12px 26px 12px 20px;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.3), 0 10px 24px -8px rgba(11, 18, 32, 0.45);
}
.btn-play:hover {
  background: #1c2536;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(11, 18, 32, 0.25), 0 16px 32px -10px rgba(11, 18, 32, 0.5);
}
.btn-play svg { width: 26px; height: 26px; flex: none; }
.btn-play span { display: flex; flex-direction: column; line-height: 1.15; }
.btn-play small {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-play span { font-size: 1.05rem; font-weight: 650; }
.btn-play-light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11,18,32,.2), 0 12px 28px -10px rgba(11,18,32,.4); }
.btn-play-light:hover { background: #f1f5fb; }
.btn-play-sm { padding: 10px 20px 10px 16px; }
.btn-play-sm svg { width: 22px; height: 22px; }
.btn-play-sm span { font-size: 0.95rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.75);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px -12px rgba(11, 18, 32, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.brand-name {
  font-weight: 720;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-by {
  font-size: 0.72rem;
  font-weight: 550;
  color: var(--slate-3);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 3px 9px;
  margin-left: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--slate);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transition: right 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--ink); }

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52rem 32rem at 82% -8%, rgba(37, 99, 235, 0.1), transparent 62%),
    radial-gradient(40rem 26rem at -12% 30%, rgba(37, 99, 235, 0.06), transparent 60%),
    linear-gradient(180deg, #fdfefe 0%, var(--bg) 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 18, 32, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 32, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(46rem 30rem at 70% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(46rem 30rem at 70% 0%, #000 25%, transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 570;
  color: var(--blue-deep);
  background: var(--blue-tint);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  padding: 7px 15px;
  margin-bottom: 26px;
}
.chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.hero-copy .lede { margin-top: 22px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-meta {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--slate-3);
}

/* ---------- Phone mockups ---------- */
.hero-visual { display: flex; justify-content: center; }

.phone-scene {
  position: relative;
  perspective: 1200px;
}

.phone {
  width: 318px;
  background: #0d1526;
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    var(--shadow-lg);
  position: relative;
}
.phone-hero {
  transform: rotateY(calc(var(--tilt-y, 0) * 1deg)) rotateX(calc(var(--tilt-x, 0) * 1deg));
  transition: transform 0.35s var(--ease);
  transform-style: preserve-3d;
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #0d1526;
  border-radius: 999px;
  z-index: 3;
}

.screen {
  position: relative;
  background: linear-gradient(180deg, #f6f8fc 0%, #eef2f8 100%);
  border-radius: 37px;
  overflow: hidden;
  padding: 12px 14px 14px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px 0 14px;
  min-height: 26px;
  color: var(--ink);
}
.sb-time { font-size: 0.78rem; font-weight: 650; }
.sb-icons { display: inline-flex; gap: 5px; align-items: center; }
.sb-icons svg { height: 11px; width: auto; }

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 0;
}
.app-title {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.hdr-ic { width: 20px; height: 20px; color: var(--ink-2); }
.hdr-ic:first-child { margin-right: 2px; }
.app-header .hdr-ic + .app-title { margin-right: auto; }

.beta-pill {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--violet);
  background: var(--violet-tint);
  padding: 4px 9px;
  border-radius: 999px;
}

.app-card {
  background: var(--surface);
  border-radius: 15px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.05), 0 6px 16px -8px rgba(11, 18, 32, 0.08);
  padding: 13px;
}

.qa-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 13px 8px;
}
.qa {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 0.62rem;
  font-weight: 550;
  color: var(--slate);
  text-align: center;
}
.qa svg { width: 24px; height: 24px; color: var(--blue); }
.qa-violet svg { color: var(--violet); }
.qa-amber svg { color: #d97706; }
.qa-green svg { color: var(--green); }

.balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.muted-label { font-size: 0.72rem; font-weight: 550; color: var(--slate-3); }
.balance-amt {
  display: block;
  font-size: 1.35rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  margin-top: 3px;
}
.balance-ic { width: 24px; height: 24px; color: var(--slate-3); }

.tile-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.tile {
  border-radius: 15px;
  padding: 12px 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tile span { font-size: 0.72rem; font-weight: 550; opacity: 0.9; }
.tile strong { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; }
.tile-green { background: linear-gradient(135deg, #1ea75a, #178a49); }
.tile-red { background: linear-gradient(135deg, #e05252, #c93b3b); }

.chart-card { padding-bottom: 10px; }
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.chart-range { font-size: 0.68rem; font-weight: 600; color: var(--blue); background: var(--blue-tint); border-radius: 999px; padding: 3px 9px; }
.chart { width: 100%; height: 96px; }
.chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease) 0.4s;
}
.chart-dot {
  opacity: 0;
  transition: opacity 0.4s ease 1.7s;
}
.in-view .chart-line { stroke-dashoffset: 0; }
.in-view .chart-dot { opacity: 1; }
.chart-x {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--slate-3);
  padding: 4px 2px 0;
}

.tabbar {
  margin-top: auto;
  background: var(--surface);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 8px 20px -10px rgba(11, 18, 32, 0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 9px 6px;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.58rem;
  font-weight: 570;
  color: var(--slate-3);
}
.tab svg { width: 19px; height: 19px; }
.tab-active { color: var(--blue); }

/* Floating chips */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  padding: 11px 16px 11px 12px;
  animation: float 7s ease-in-out infinite;
}
.float-chip-1 { top: 118px; left: -172px; }
.float-chip-2 { bottom: 148px; right: -150px; animation-delay: -3.5s; }

.fc-ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.fc-ic svg { width: 18px; height: 18px; }
.fc-green { background: var(--green-tint); color: var(--green); }
.fc-amber { background: var(--amber-tint); color: #d97706; }
.fc-body { display: flex; flex-direction: column; line-height: 1.35; }
.fc-body strong { font-size: 0.8rem; font-weight: 650; }
.fc-body span { font-size: 0.74rem; color: var(--slate-3); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Mini phone (deep dives) ---------- */
.phone-mini { width: 296px; }
.phone-mini .screen { min-height: 560px; }

.search-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border-radius: 999px;
  padding: 10px 15px;
  font-size: 0.78rem;
  color: var(--slate-3);
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.05);
}
.search-pill svg { width: 15px; height: 15px; flex: none; }

.cat-chips {
  display: flex;
  gap: 7px;
  overflow: hidden;
  padding: 1px;
}
.cat {
  font-size: 0.66rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--slate);
  white-space: nowrap;
}
.cat-active { background: var(--blue-tint); color: var(--blue-deep); border-color: rgba(37, 99, 235, 0.25); }

.list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.list-label {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--slate);
  padding-left: 4px;
}

.badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3.5px 8px;
  border-radius: 7px;
  white-space: nowrap;
}
.badge-green { background: var(--green-tint); color: #15803d; }
.badge-amber { background: var(--amber-tint); color: var(--amber); }
.badge-violet { background: var(--violet-tint); color: var(--violet); }
.badge-blue { background: var(--blue-tint); color: var(--blue-deep); }

/* Invoice rows */
.inv-row {
  background: var(--surface);
  border-radius: 13px;
  padding: 11px 13px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.inv-top {
  display: flex;
  align-items: center;
  gap: 7px;
}
.inv-top strong { font-size: 0.82rem; font-weight: 650; letter-spacing: -0.01em; }
.inv-top em { margin-left: auto; font-size: 0.82rem; font-weight: 700; }
.inv-sub {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--slate-3);
}
.pending-amt { color: var(--red-soft); font-weight: 600; }

/* Item rows */
.item-row {
  background: var(--surface);
  border-radius: 13px;
  padding: 11px 13px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04);
  display: flex;
  align-items: center;
  gap: 11px;
}
.item-ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}
.item-ic svg { width: 18px; height: 18px; }
.item-body { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.item-body strong { font-size: 0.8rem; font-weight: 650; }
.item-body span { font-size: 0.66rem; color: var(--slate-3); }
.item-end {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.item-end em { font-size: 0.8rem; font-weight: 700; }

/* Customer screen */
.cust-card {
  display: flex;
  align-items: center;
  gap: 11px;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}
.cust-body { display: flex; flex-direction: column; line-height: 1.4; }
.cust-body strong { font-size: 0.86rem; font-weight: 650; }
.cust-body span { font-size: 0.68rem; color: var(--slate-3); }
.cust-due {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.35;
}
.cust-due em { font-size: 0.92rem; font-weight: 720; color: var(--green); }
.cust-due span { font-size: 0.64rem; font-weight: 600; color: var(--green); opacity: 0.85; }

.txn-row {
  background: var(--surface);
  border-radius: 13px;
  padding: 11px 13px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04);
  display: flex;
  align-items: center;
  gap: 9px;
}
.txn-body { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.txn-body strong { font-size: 0.72rem; font-weight: 640; white-space: nowrap; }
.txn-body span { font-size: 0.62rem; color: var(--slate-3); }
.txn-end {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.4;
}
.txn-end em { font-size: 0.78rem; font-weight: 700; }
.txn-in { font-size: 0.62rem; font-weight: 600; color: var(--green); }
.txn-out { font-size: 0.62rem; font-weight: 600; color: var(--red-soft); }

.cust-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ca-btn {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 11px 0;
}
.ca-pay { border: 1.5px solid rgba(220, 38, 38, 0.5); color: var(--red); background: var(--surface); }
.ca-receive { background: var(--green); color: #fff; box-shadow: 0 6px 14px -6px rgba(22, 163, 74, 0.6); }

.fab {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.65);
}
.fab svg { width: 20px; height: 20px; }

/* ---------- Trust strip ---------- */
.trust {
  padding: 34px 0 10px;
}
.trust-title {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-3);
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-top: 18px;
}
.trust-list li {
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--slate);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 17px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.trust-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--blue-deep);
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tint {
  background:
    radial-gradient(44rem 26rem at 105% 0%, rgba(37, 99, 235, 0.05), transparent 60%),
    linear-gradient(180deg, #f3f6fa, #f8fafc);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 640px; margin-bottom: 56px; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.22);
}

.feature-ic {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.feature-ic svg { width: 23px; height: 23px; }
.feature-card:hover .feature-ic {
  background: var(--blue);
  color: #fff;
  transform: scale(1.05);
}

.feature-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature-card > p { color: var(--slate); font-size: 0.94rem; margin-bottom: 16px; }

.feature-card ul { display: flex; flex-direction: column; gap: 8px; }
.feature-card li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--slate);
}
.feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--blue-tint);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m6.5 12.5 3.6 3.6 7.4-8.2" fill="none" stroke="%232563EB" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: 9px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Deep dives ---------- */
.dive {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: 56px 0;
}
.dive + .dive { border-top: 1px solid var(--line); }

.dive-visual { display: flex; justify-content: center; }
.dive-flip .dive-copy { order: 2; }
.dive-flip .dive-visual { order: 1; }

.dive-copy h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.dive-copy > p { color: var(--slate); max-width: 30em; }

.dive-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dive-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 550;
  font-size: 0.95rem;
}
.dive-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--blue-tint);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m6.5 12.5 3.6 3.6 7.4-8.2" fill="none" stroke="%231D4ED8" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.price-featured {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.07), var(--shadow-md);
  position: relative;
}

.price-plan {
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 10px;
}
.save-tag {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: #15803d;
  background: var(--green-tint);
  border-radius: 999px;
  padding: 3px 10px;
}

.price-amt {
  font-size: 2.5rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-per { font-size: 0.85rem; font-weight: 500; color: var(--slate-3); letter-spacing: 0; }

.price-note {
  color: var(--slate);
  font-size: 0.92rem;
  margin-top: 10px;
  min-height: 3em;
}

.price-list {
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.price-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue-tint);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m6.5 12.5 3.6 3.6 7.4-8.2" fill="none" stroke="%231D4ED8" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.price-tag {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 14px;
}

/* ---------- Roadmap ---------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.roadmap-grid li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 20px 56px;
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.roadmap-grid li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25);
}
.roadmap-grid li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 8px;
  background: var(--blue-tint);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14" stroke="%232563EB" stroke-width="2.6" stroke-linecap="round"/></svg>');
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.open {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
  font-weight: 620;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.faq-q svg {
  width: 18px; height: 18px;
  flex: none;
  color: var(--slate-3);
  transition: transform 0.35s var(--ease), color 0.35s ease;
}
.faq-item.open .faq-q svg {
  transform: rotate(45deg);
  color: var(--blue);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a p {
  padding: 0 24px 22px;
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 58ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 104px 0;
  background:
    radial-gradient(50rem 26rem at 85% -20%, rgba(96, 145, 255, 0.35), transparent 60%),
    radial-gradient(40rem 22rem at 0% 110%, rgba(37, 99, 235, 0.4), transparent 55%),
    linear-gradient(140deg, #0d1b3e 0%, #12275c 55%, #163487 100%);
  color: #fff;
}
.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-inner h2 { letter-spacing: -0.03em; }
.cta-inner p {
  margin: 18px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  max-width: 34em;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  color: var(--slate);
  font-size: 0.92rem;
  max-width: 26em;
}
.footer-head {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-3);
  margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-col a:not(.btn) {
  font-size: 0.92rem;
  color: var(--slate);
  transition: color 0.2s ease;
}
.footer-col a:not(.btn):hover { color: var(--blue-deep); }

.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--slate-3);
}
.footer-base p { margin: 0; }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--nav-h) + 64px) 0 96px; }
.legal h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.legal-meta {
  color: var(--slate-3);
  font-size: 0.9rem;
  margin-bottom: 44px;
}
.legal p {
  color: var(--slate);
  margin-bottom: 16px;
  max-width: 68ch;
}
.legal p strong { color: var(--ink); }
.legal h2 {
  font-size: 1.3rem;
  margin: 44px 0 14px;
}
.legal ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--slate);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 66ch;
}
.legal a {
  color: var(--blue-deep);
  font-weight: 550;
}
.legal a:hover { text-decoration: underline; }
.footer-base a:hover { color: var(--blue-deep); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .float-chip-1 { left: -76px; }
  .float-chip-2 { right: -60px; }
}

@media (max-width: 920px) {
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-actions { justify-content: center; }

  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .dive { grid-template-columns: 1fr; gap: 44px; padding: 48px 0; }
  .dive-flip .dive-copy { order: 1; }
  .dive-flip .dive-visual { order: 2; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 20px;
    box-shadow: 0 24px 40px -20px rgba(11, 18, 32, 0.18);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav-links.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 4px; font-size: 1rem; }
  .nav-links a::after { display: none; }

  /* Legal pages have no menu toggle — keep their links inline */
  .legal-nav-links {
    position: static;
    flex-direction: row;
    gap: 16px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-left: auto;
  }
  .legal-nav-links a { padding: 6px 0; font-size: 0.9rem; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-inner { gap: 16px; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .brand-by { display: none; }
}

@media (max-width: 560px) {
  .container { width: min(1160px, 100% - 40px); }
  .legal-nav-links { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { flex-direction: column; }

  .float-chip-1 { left: -8px; top: 64px; }
  .float-chip-2 { right: -8px; bottom: 96px; }
  .float-chip { padding: 9px 13px 9px 10px; }
  .fc-body strong { font-size: 0.74rem; }
  .fc-body span { font-size: 0.68rem; }

  .phone { width: 288px; }
  .phone-mini { width: 276px; }
  .screen { min-height: 580px; }
  .phone-mini .screen { min-height: 540px; }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dasharray: none; stroke-dashoffset: 0; }
  .chart-dot { opacity: 1; }
  .phone-hero { transform: none !important; }
}
