/* ============================================================
   Softvybe — World-class marketing site design system
   Author: Softvybe
   Structure:
     1.  Design tokens (:root)
     2.  Reset & base
     3.  Typography & helpers
     4.  Layout (container, sections)
     5.  Buttons & pills
     6.  Navbar & mobile menu
     7.  Hero
     8.  Product carousel + app mockups
     9.  Feature cards / bento
     10. Stats
     11. Steps (how it works)
     12. Logos / trust
     13. Testimonials
     14. Pricing
     15. FAQ accordion
     16. CTA band
     17. Forms
     18. Footer
     19. Page header (inner pages)
     20. Reveal animations & utilities
     21. Responsive
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand */
  --brand-700: #4f3fd4;
  --brand-600: #5b4be0;
  --brand-500: #6d5ef6;
  --brand-400: #8b7cf8;
  --brand-300: #b3a8fb;
  --violet:    #a855f7;
  --cyan:      #22d3ee;
  --mint:      #34d399;
  --coral:     #fb7185;

  /* Ink / neutrals */
  --ink-950: #070b18;
  --ink-900: #0b1020;
  --ink-800: #121a30;
  --ink-700: #1c2540;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white: #ffffff;

  /* Semantic surfaces */
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-tint: #f2f1fe;
  --surface: #ffffff;
  --border: #e8eaf3;
  --text: #131a2e;
  --text-soft: #4a5568;
  --text-mut: #6b7488;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #6d5ef6 0%, #a855f7 55%, #22d3ee 120%);
  --grad-brand-soft: linear-gradient(120deg, #7b6cff 0%, #a855f7 100%);
  --grad-mint: linear-gradient(120deg, #34d399 0%, #22d3ee 100%);
  --grad-text: linear-gradient(100deg, #7b6cff 0%, #a855f7 45%, #22d3ee 100%);
  --grad-dark: radial-gradient(1200px 600px at 15% -10%, rgba(109,94,246,.55), transparent 60%),
               radial-gradient(1000px 620px at 100% 0%, rgba(34,211,238,.30), transparent 55%),
               radial-gradient(900px 700px at 60% 120%, rgba(168,85,247,.35), transparent 55%),
               linear-gradient(180deg, #0a0e1f 0%, #0b1020 100%);

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Shadow */
  --sh-xs: 0 1px 2px rgba(16,24,40,.06);
  --sh-sm: 0 2px 8px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
  --sh-md: 0 12px 30px -12px rgba(23,26,63,.18), 0 4px 10px -6px rgba(23,26,63,.10);
  --sh-lg: 0 30px 60px -22px rgba(23,26,63,.30), 0 8px 24px -12px rgba(23,26,63,.16);
  --sh-glow: 0 20px 45px -18px rgba(109,94,246,.55);
  --sh-glow-cyan: 0 20px 45px -18px rgba(34,211,238,.45);

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: .18s;
  --t: .3s;
  --t-slow: .55s;

  /* Layout */
  --container: 1180px;
  --container-wide: 1320px;
  --nav-h: 74px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: rgba(109,94,246,.22); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--slate-900);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { color: var(--text-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-soft); line-height: 1.6; }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand-soft);
}
.eyebrow--center::before { display: none; }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--wide { max-width: var(--container-wide); }
.section { padding-block: clamp(64px, 9vw, 118px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--bg-soft); }
.section--tint {
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(109,94,246,.07), transparent 60%),
    radial-gradient(600px 360px at 0% 100%, rgba(34,211,238,.07), transparent 60%),
    var(--bg-tint);
}
.section-head {
  max-width: 680px;
  margin-bottom: clamp(38px, 5vw, 60px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- 5. Buttons & pills ---------- */
.btn {
  --btn-bg: var(--grad-brand-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: #fff;
  box-shadow: var(--sh-glow);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), filter var(--t) var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 26px 55px -18px rgba(109,94,246,.62); filter: saturate(1.06); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--lg { padding: 18px 34px; font-size: 1.06rem; }
.btn--ghost {
  background: transparent;
  color: var(--brand-600);
  box-shadow: inset 0 0 0 1.6px var(--slate-200);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.6px var(--brand-400); color: var(--brand-700); background: rgba(109,94,246,.05); }
.btn--light {
  background: #fff;
  color: var(--slate-900);
  box-shadow: var(--sh-md);
}
.btn--light:hover { box-shadow: 0 24px 45px -18px rgba(15,23,42,.35); }
.btn--dark { background: var(--ink-900); color: #fff; box-shadow: var(--sh-md); }
.btn--dark:hover { box-shadow: 0 24px 45px -18px rgba(11,16,32,.55); }
.btn--on-dark {
  background: rgba(255,255,255,.08);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}
.btn--on-dark:hover { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand-700);
  background: rgba(109,94,246,.09);
  box-shadow: inset 0 0 0 1px rgba(109,94,246,.16);
}
.pill--mint { color: #0f766e; background: rgba(52,211,153,.14); box-shadow: inset 0 0 0 1px rgba(52,211,153,.28); }
.pill--dark { color: #d9dcff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--brand-600);
  transition: gap var(--t) var(--ease), color var(--t) var(--ease);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--t) var(--ease); }
.link-arrow:hover { gap: .7rem; color: var(--brand-700); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 6. Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), backdrop-filter var(--t);
}
.nav__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(16,24,40,.06), 0 10px 30px -20px rgba(16,24,40,.25);
}

/* Inner pages: nav overlays a dark page header, so use light text
   until the user scrolls (when the white glass background appears). */
.nav--overlay:not(.scrolled) .brand span { color: #fff; }
.nav--overlay:not(.scrolled) .brand b { color: var(--brand-300); }
.nav--overlay:not(.scrolled) .nav__link { color: rgba(255,255,255,.86); }
.nav--overlay:not(.scrolled) .nav__link:hover { color: #fff; background: rgba(255,255,255,.14); }
.nav--overlay:not(.scrolled) .nav__link.active { color: #fff; }
.nav--overlay:not(.scrolled) .nav__link.active::after { background: #fff; }
.nav--overlay:not(.scrolled) .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.6px rgba(255,255,255,.42); }
.nav--overlay:not(.scrolled) .btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.6px #fff; }
.nav--overlay:not(.scrolled) .nav__toggle { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.nav--overlay:not(.scrolled) .nav__toggle span,
.nav--overlay:not(.scrolled) .nav__toggle span::before,
.nav--overlay:not(.scrolled) .nav__toggle span::after { background: #fff; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; color: var(--slate-900); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand b { font-weight: 700; color: var(--brand-600); }
.footer__brand .brand b, .mobile-menu .brand b { color: var(--brand-300); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 10px 15px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: .97rem;
  color: var(--slate-700);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav__link:hover { color: var(--brand-700); background: rgba(109,94,246,.07); }
.nav__link.active { color: var(--brand-700); }
.nav__link.active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--grad-brand-soft);
}
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta { padding: 12px 20px; font-size: .95rem; }

/* has-dropdown */
.nav__item { position: relative; }
.nav__dd {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 320px;
  padding: 12px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
}
.nav__item:hover .nav__dd,
.nav__item:focus-within .nav__dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd__link { display: flex; gap: 13px; align-items: flex-start; padding: 12px; border-radius: var(--r-md); transition: background var(--t) var(--ease); }
.dd__link:hover { background: var(--bg-soft); }
.dd__ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.dd__ic svg { width: 22px; height: 22px; }
.dd__ic--invoice { background: linear-gradient(135deg, #6d5ef6, #a855f7); }
.dd__ic--build { background: linear-gradient(135deg, #22d3ee, #34d399); }
.dd__t { font-weight: 600; color: var(--slate-900); font-size: .97rem; }
.dd__d { font-size: .84rem; color: var(--text-mut); line-height: 1.45; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1.5px var(--slate-200);
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--slate-800);
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(4px); }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: rotate(45deg); }
body.menu-open .nav__toggle span::after { transform: rotate(-45deg) translateY(-1px); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
  padding: 26px 24px 40px;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu a.m-link {
  padding: 16px 6px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--slate-800);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a.m-link.active { color: var(--brand-600); }
.mobile-menu .btn { margin-top: 22px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(60px, 9vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(760px 480px at 88% -6%, rgba(109,94,246,.13), transparent 60%),
    radial-gradient(680px 460px at -4% 8%, rgba(34,211,238,.11), transparent 58%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero h1 { margin: 20px 0 22px; }
.hero .lead { max-width: 560px; }
.hero__cta { margin-top: 34px; }
.hero__trust { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.hero__trust .t-item { display: flex; align-items: center; gap: 10px; }
.hero__trust .t-num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--slate-900); }
.hero__trust .t-lbl { font-size: .84rem; color: var(--text-mut); line-height: 1.25; }
.hero__trust .divider { width: 1px; height: 34px; background: var(--border); }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 500; color: var(--slate-700);
  background: #fff; box-shadow: var(--sh-sm); border: 1px solid var(--border);
}
.chip svg { width: 16px; height: 16px; color: var(--mint); }

/* floating accent blobs */
.hero__blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5; z-index: 0; pointer-events: none; }
.hero__blob--1 { width: 340px; height: 340px; background: radial-gradient(circle, rgba(168,85,247,.55), transparent 70%); top: -60px; right: -40px; }
.hero__blob--2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(34,211,238,.5), transparent 70%); bottom: -80px; left: 30%; }

/* ---------- 8. Product carousel ---------- */
.showcase { position: relative; z-index: 2; }
.carousel {
  position: relative;
  border-radius: var(--r-2xl);
}
.carousel__track { position: relative; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  pointer-events: none;
}
.slide.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.slide__inner { position: relative; }

/* device / app frame */
.appframe {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.appframe::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(109,94,246,.5), rgba(34,211,238,.35), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.appframe__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--border);
}
.appframe__dots { display: flex; gap: 6px; }
.appframe__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.appframe__dots i:nth-child(1){ background:#ff5f57; }
.appframe__dots i:nth-child(2){ background:#febc2e; }
.appframe__dots i:nth-child(3){ background:#28c840; }
.appframe__url {
  margin-left: 8px; flex: 1;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: .76rem; color: var(--text-mut);
  padding: 6px 14px;
  display: flex; align-items: center; gap: 7px;
  max-width: 320px;
}
.appframe__url svg { width: 13px; height: 13px; color: var(--mint); }
.appframe__body { display: grid; grid-template-columns: 66px 1fr; min-height: 340px; }

/* app sidebar */
.appside { background: linear-gradient(180deg, var(--ink-900), var(--ink-800)); padding: 16px 12px; display: flex; flex-direction: column; gap: 14px; }
.appside__logo { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand-soft); display: grid; place-items: center; }
.appside__logo svg { width: 18px; height: 18px; color: #fff; }
.appside__nav { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.appside__nav i { width: 40px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.appside__nav i svg { width: 17px; height: 17px; color: rgba(255,255,255,.5); }
.appside__nav i.on { background: rgba(255,255,255,.13); }
.appside__nav i.on svg { color: #fff; }

/* app main */
.appmain { padding: 18px 20px; background: var(--bg-soft); }
.appmain__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.appmain__title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--slate-900); }
.appmain__title small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--text-mut); }
.appmain__cta { font-size: .74rem; font-weight: 600; color: #fff; background: var(--grad-brand-soft); padding: 7px 13px; border-radius: var(--r-pill); }

.appstats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.appstat { background: #fff; border: 1px solid var(--border); border-radius: 13px; padding: 11px 12px; }
.appstat .k { font-size: .62rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-mut); font-weight: 600; }
.appstat .v { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--slate-900); margin-top: 3px; }
.appstat .c { font-size: .64rem; font-weight: 600; margin-top: 2px; }
.appstat .c.up { color: #0d9f6e; }
.appstat .c.down { color: var(--coral); }

.appcard { background: #fff; border: 1px solid var(--border); border-radius: 13px; padding: 13px 14px; }
.appcard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.appcard__head b { font-size: .78rem; color: var(--slate-800); font-family: var(--font-display); }
.appcard__head span { font-size: .68rem; color: var(--text-mut); }

/* mini chart */
.chart { display: flex; align-items: flex-end; gap: 7px; height: 74px; }
.chart .bar { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--brand-400), var(--brand-500)); opacity: .9; }
.chart .bar.alt { background: linear-gradient(180deg, var(--cyan), #0ea5b7); }

/* invoice rows */
.rows { display: flex; flex-direction: column; gap: 8px; }
.row {
  display: grid;
  grid-template-columns: 26px 1fr auto auto;
  gap: 10px; align-items: center;
  font-size: .74rem;
}
.row__ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(109,94,246,.1); color: var(--brand-600); font-weight: 700; font-size: .68rem; }
.row__ic.b { background: rgba(34,211,238,.14); color: #0e93a5; }
.row__ic.g { background: rgba(52,211,153,.16); color: #0d9f6e; }
.row__main b { display: block; color: var(--slate-800); font-weight: 600; }
.row__main span { color: var(--text-mut); font-size: .68rem; }
.row__amt { font-weight: 700; color: var(--slate-900); font-family: var(--font-display); }
.tag { font-size: .64rem; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); }
.tag.paid { color: #0d9f6e; background: rgba(52,211,153,.14); }
.tag.due { color: #b45309; background: rgba(245,158,11,.14); }
.tag.stock { color: #0e93a5; background: rgba(34,211,238,.14); }

/* floating mini cards on showcase */
.float {
  position: absolute;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
  padding: 12px 15px;
  display: flex; align-items: center; gap: 11px;
  z-index: 5;
  animation: floaty 5.5s var(--ease) infinite;
}
.float svg { width: 20px; height: 20px; }
.float .f-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float .f-t { font-size: .72rem; color: var(--text-mut); font-weight: 500; }
.float .f-v { font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--slate-900); }
.float--tl { top: 6%; left: -34px; animation-delay: -1s; }
.float--br { bottom: 8%; right: -30px; }
.f-ic--mint { background: rgba(52,211,153,.15); color: #0d9f6e; }
.f-ic--brand { background: rgba(109,94,246,.13); color: var(--brand-600); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* carousel controls */
.carousel__ctrl {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 26px;
}
.carousel__dots { display: flex; gap: 9px; }
.cdot {
  width: 9px; height: 9px; border-radius: var(--r-pill);
  background: var(--slate-300);
  transition: width var(--t) var(--ease), background var(--t) var(--ease);
}
.cdot.is-active { width: 30px; background: var(--grad-brand-soft); }
.carousel__arrows { display: flex; gap: 8px; }
.carr {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; box-shadow: var(--sh-sm);
  border: 1px solid var(--border);
  color: var(--slate-700);
  transition: transform var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.carr:hover { color: var(--brand-600); transform: translateY(-1px); box-shadow: var(--sh-md); }
.carr svg { width: 18px; height: 18px; }

/* product-focused slide copy (used on inner sections) */
.slide-copy .pill { margin-bottom: 16px; }
.slide-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.slide-copy ul { margin: 18px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.slide-copy li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-soft); }
.slide-copy li svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 2px; }

/* ---------- 9. Feature cards / bento ---------- */
.features-grid { grid-template-columns: repeat(3, 1fr); }
.feat {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  overflow: hidden;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.feat__ic {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: rgba(109,94,246,.1); color: var(--brand-600);
  margin-bottom: 20px;
  transition: transform var(--t) var(--ease);
}
.feat:hover .feat__ic { transform: scale(1.06) rotate(-3deg); }
.feat__ic svg { width: 26px; height: 26px; }
.feat__ic--cyan { background: rgba(34,211,238,.13); color: #0e93a5; }
.feat__ic--mint { background: rgba(52,211,153,.14); color: #0d9f6e; }
.feat__ic--violet { background: rgba(168,85,247,.13); color: #9333ea; }
.feat__ic--coral { background: rgba(251,113,133,.14); color: #e11d63; }
.feat h3 { font-size: 1.2rem; margin-bottom: 9px; }
.feat p { font-size: .96rem; }

/* bento */
.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); }
.bento .b-cell {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px;
  display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.bento .b-cell:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.b-cell--wide { grid-column: span 2; }
.b-cell--tall { grid-row: span 2; }
.b-cell--dark {
  background: var(--grad-dark);
  color: #fff;
  border-color: transparent;
}
.b-cell--dark h3 { color: #fff; }
.b-cell--dark p { color: rgba(255,255,255,.72); }

/* ---------- 10. Stats ---------- */
.stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--r-lg);
}
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1; letter-spacing: -.03em; }
.stat__num .gradient-text { display: inline; }
.stat__lbl { margin-top: 10px; color: var(--text-mut); font-weight: 500; font-size: .95rem; }
.stats--dark .stat__lbl { color: rgba(255,255,255,.66); }
.stats--dark .stat__num { color: #fff; }

/* ---------- 11. Steps ---------- */
.steps { grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); }
.step__n {
  counter-increment: step;
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: #fff; background: var(--grad-brand-soft);
  box-shadow: var(--sh-glow);
  margin-bottom: 18px;
}
.step__n::before { content: "0" counter(step); }
.step h3 { font-size: 1.16rem; margin-bottom: 9px; }
.step p { font-size: .95rem; }
.step__line { position: absolute; top: 52px; right: -13px; width: 26px; color: var(--slate-300); z-index: 1; }
.step:last-child .step__line { display: none; }

/* ---------- 12. Logos / trust marquee ---------- */
.trustbar { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.trustbar p { font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 48px; }
.logos span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: var(--slate-400); letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: 9px;
  filter: grayscale(1); opacity: .7;
  transition: opacity var(--t) var(--ease), filter var(--t) var(--ease);
}
.logos span:hover { opacity: 1; filter: none; }
.logos svg { width: 24px; height: 24px; }

/* ---------- 13. Testimonials ---------- */
.tgrid { grid-template-columns: repeat(3, 1fr); }
.tcard {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.tcard__stars { display: flex; gap: 3px; color: #f59e0b; }
.tcard__stars svg { width: 18px; height: 18px; }
.tcard blockquote { font-size: 1.03rem; color: var(--slate-700); line-height: 1.6; }
.tcard__who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.tcard__ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.02rem; flex: none; }
.tcard__who b { display: block; color: var(--slate-900); font-size: .96rem; }
.tcard__who span { font-size: .84rem; color: var(--text-mut); }
.av1 { background: linear-gradient(135deg,#6d5ef6,#a855f7); }
.av2 { background: linear-gradient(135deg,#22d3ee,#34d399); }
.av3 { background: linear-gradient(135deg,#fb7185,#f59e0b); }
.av4 { background: linear-gradient(135deg,#8b7cf8,#22d3ee); }

/* ---------- 14. Pricing ---------- */
.pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price {
  position: relative;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.price:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.price--featured {
  background: var(--grad-dark); color: #fff;
  border-color: transparent;
  box-shadow: var(--sh-lg);
}
.price--featured h3, .price--featured .price__amt { color: #fff; }
.price--featured p, .price--featured .price__per { color: rgba(255,255,255,.7); }
.price--featured .price__feat li { color: rgba(255,255,255,.85); }
.price__badge {
  position: absolute; top: 18px; right: 18px;
  font-size: .72rem; font-weight: 700; padding: 6px 13px;
  border-radius: var(--r-pill); color: #fff;
  background: var(--grad-mint);
}
.price h3 { font-size: 1.3rem; }
.price > p { font-size: .92rem; margin-top: 6px; }
.price__amt { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -.03em; margin-top: 20px; color: var(--slate-900); }
.price__per { font-size: .9rem; font-weight: 500; color: var(--text-mut); }
.price__feat { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.price__feat li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text-soft); }
.price__feat li svg { width: 19px; height: 19px; color: var(--mint); flex: none; margin-top: 2px; }
.price--featured .price__feat li svg { color: var(--cyan); }
.price .btn { margin-top: auto; width: 100%; }

/* ---------- 15. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: box-shadow var(--t) var(--ease), border-color var(--t); }
.faq__item.open { box-shadow: var(--sh-md); border-color: var(--brand-300); }
.faq__q {
  width: 100%; text-align: left;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--slate-900);
}
.faq__q .ico { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(109,94,246,.1); color: var(--brand-600); transition: transform var(--t) var(--ease), background var(--t); }
.faq__q .ico svg { width: 15px; height: 15px; }
.faq__item.open .faq__q .ico { transform: rotate(45deg); background: var(--grad-brand-soft); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t-slow) var(--ease); }
.faq__a-inner { padding: 0 24px 24px; color: var(--text-soft); }

/* ---------- 16. CTA band ---------- */
.cta {
  position: relative;
  border-radius: var(--r-2xl);
  padding: clamp(44px, 6vw, 74px);
  background: var(--grad-dark);
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.cta::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 20% 20%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(500px 260px at 85% 90%, rgba(34,211,238,.18), transparent 60%);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.cta p { color: rgba(255,255,255,.76); max-width: 560px; margin: 16px auto 0; font-size: 1.1rem; }
.cta .btn-row { justify-content: center; margin-top: 32px; }
.cta__note { margin-top: 20px; font-size: .86rem; color: rgba(255,255,255,.6); }

/* ---------- 17. Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--slate-800); }
.field label .req { color: var(--coral); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1.5px solid var(--slate-200);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(109,94,246,.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__note { font-size: .84rem; color: var(--text-mut); }
.form__ok {
  display: none;
  align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: var(--r-md);
  background: rgba(52,211,153,.12);
  color: #0d7a56; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(52,211,153,.3);
}
.form__ok.show { display: flex; }
.form__ok svg { width: 20px; height: 20px; }
.form__err {
  display: none;
  align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: var(--r-md);
  background: rgba(251,113,133,.12);
  color: #b4233c; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(251,113,133,.35);
}
.form__err.show { display: flex; }
.form__err svg { width: 20px; height: 20px; flex: none; }

/* ---------- 18. Footer ---------- */
.footer {
  background: var(--ink-950);
  color: rgba(255,255,255,.72);
  padding-top: clamp(56px, 7vw, 88px);
}
.footer a { transition: color var(--t) var(--ease); }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 40px 32px;
  padding-bottom: 54px;
}
.footer__brand .brand { color: #fff; margin-bottom: 18px; }
.footer__brand p { color: rgba(255,255,255,.6); max-width: 300px; font-size: .95rem; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t);
}
.footer__social a:hover { background: var(--grad-brand-soft); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__col h4 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: rgba(255,255,255,.62); font-size: .94rem; }
.footer__badge { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 6px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer__bottom p { color: rgba(255,255,255,.5); font-size: .88rem; }
.footer__bottom .links { display: flex; gap: 22px; }
.footer__bottom .links a { color: rgba(255,255,255,.55); font-size: .88rem; }

/* newsletter */
.newsletter { display: flex; gap: 10px; margin-top: 18px; max-width: 340px; }
.newsletter input {
  flex: 1; padding: 12px 15px; border-radius: var(--r-md);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: .92rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter input:focus { outline: none; border-color: var(--brand-400); }
.newsletter button {
  width: 46px; height: 46px; border-radius: var(--r-md); flex: none;
  background: var(--grad-brand-soft); color: #fff;
  display: grid; place-items: center;
  transition: transform var(--t) var(--ease);
}
.newsletter button:hover { transform: translateY(-2px); }
.newsletter button svg { width: 18px; height: 18px; }

/* ---------- 19. Page header (inner pages) ---------- */
.pagehead {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(52px, 7vw, 84px));
  padding-bottom: clamp(46px, 6vw, 70px);
  background: var(--grad-dark);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.pagehead::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 10%, rgba(34,211,238,.2), transparent 60%);
  pointer-events: none;
}
.pagehead > .container { position: relative; z-index: 1; }
.pagehead h1 { color: #fff; margin: 16px 0 0; }
.pagehead p { color: rgba(255,255,255,.76); max-width: 620px; margin: 18px auto 0; font-size: 1.12rem; }
.pagehead .eyebrow { color: #c8c0ff; }
.pagehead .eyebrow::before { background: rgba(255,255,255,.6); }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; }

/* split feature rows (product deep-dive) */
.splitrow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.splitrow--rev .splitrow__media { order: -1; }
.splitrow__media { position: relative; }
.splitrow h2 { margin: 14px 0 16px; }
.splitrow ul { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.splitrow li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); }
.splitrow li svg { width: 21px; height: 21px; color: var(--mint); flex: none; margin-top: 3px; }
.splitrow li b { color: var(--slate-800); }

/* value cards (about) */
.values { grid-template-columns: repeat(3,1fr); }
.value { padding: 30px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); }
.value__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand-soft); color: #fff; margin-bottom: 18px; box-shadow: var(--sh-glow); }
.value__ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.15rem; margin-bottom: 9px; }
.value p { font-size: .95rem; }

/* team */
.team { grid-template-columns: repeat(3,1fr); max-width: 920px; margin-inline: auto; }
.member { text-align: center; }
.member__ph { aspect-ratio: 1; border-radius: var(--r-lg); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: #fff; margin-bottom: 16px; box-shadow: var(--sh-md); }
.member b { display: block; color: var(--slate-900); font-size: 1.05rem; }
.member span { color: var(--text-mut); font-size: .88rem; }

/* contact info cards */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px,5vw,58px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.cinfo { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); transition: transform var(--t) var(--ease), box-shadow var(--t); }
.cinfo:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.cinfo__ic { width: 48px; height: 48px; border-radius: 13px; flex: none; display: grid; place-items: center; background: rgba(109,94,246,.1); color: var(--brand-600); }
.cinfo__ic svg { width: 22px; height: 22px; }
.cinfo b { display: block; color: var(--slate-900); font-size: 1.02rem; margin-bottom: 3px; }
.cinfo p, .cinfo a { color: var(--text-soft); font-size: .95rem; }
.cinfo a:hover { color: var(--brand-600); }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(26px,4vw,40px); box-shadow: var(--sh-md); }

/* comparison table */
.compare { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: .95rem; }
.compare thead th { background: var(--bg-soft); font-family: var(--font-display); color: var(--slate-900); }
.compare tbody td:first-child { font-weight: 600; color: var(--slate-800); }
.compare td svg { width: 20px; height: 20px; }
.compare .yes { color: var(--mint); }
.compare .no { color: var(--slate-300); }
.compare tr:last-child td { border-bottom: none; }

/* ---------- 20. Reveal animations & utilities ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

.center { text-align: center; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 44px; }
.hide { display: none !important; }
.text-mut { color: var(--text-mut); }
.maxw-sm { max-width: 540px; }
.divider-soft { height: 1px; background: var(--border); border: 0; }

/* skip link */
.skip {
  position: absolute; left: 14px; top: -60px;
  background: #fff; color: var(--brand-700);
  padding: 10px 18px; border-radius: var(--r-md);
  z-index: 200; box-shadow: var(--sh-md); font-weight: 600;
  transition: top var(--t) var(--ease);
}
.skip:focus { top: 14px; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav__inner { gap: 12px; }
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__actions { gap: 10px; }
  .nav__toggle { display: flex; flex: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .showcase { order: 2; margin-top: 20px; }
  .hero .lead { max-width: none; }
  .float--tl { left: 8px; }
  .float--br { right: 8px; }
  .splitrow, .splitrow--rev .splitrow__media { grid-template-columns: 1fr; order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .features-grid, .steps, .tgrid, .pricing, .values, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .step__line { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__trust .divider { display: none; }
  .appframe__body { grid-template-columns: 54px 1fr; }
  .appstats { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 600px) {
  /* Phones: keep only the brand + menu (hamburger) button in the top bar,
     so the menu button is always visible. The CTA lives inside the menu. */
  .nav__actions .btn { display: none; }
}
@media (max-width: 520px) {
  .container { padding-inline: 18px; }
  .bento, .team { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .cta .btn-row .btn { width: auto; }
  .appstats { grid-template-columns: 1fr 1fr; }
  .appstat:nth-child(3) { display: none; }
  .float { padding: 9px 12px; }
  .float .f-ic { width: 32px; height: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .float { animation: none; }
}
