/* ==========================================================================
   Build Wise — premium marketing site styles (v2)
   Pure CSS. Glassmorphism, layered depth, motion. No framework.
   Brand locked: primary #1E4E8C, accent #F59E0B.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  --primary: #1E4E8C;
  --primary-dark: #163a69;
  --primary-light: #2f64ab;
  --accent: #F59E0B;
  --accent-dark: #d98a06;

  --bg: #F8F9FC;
  --bg-deep: #eef1f8;
  --surface: #FFFFFF;
  --ink: #0e1424;

  --text: #1a2230;
  --text-secondary: #51607a;
  --text-tertiary: #8a97ad;
  --border: #e5e9f0;
  --glass-border: rgba(255, 255, 255, .55);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 30, 54, .06);
  --shadow-sm: 0 2px 8px rgba(16, 30, 54, .07);
  --shadow: 0 10px 30px rgba(16, 30, 54, .10);
  --shadow-lg: 0 28px 70px rgba(16, 30, 54, .18);
  --shadow-glow: 0 20px 60px rgba(30, 78, 140, .28);

  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, system-ui,
    "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .4em; color: var(--text); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---- Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 80px 0; position: relative; }
.section--tight { padding: 48px 0; }
.section__head { text-align: center; max-width: 740px; margin: 0 auto 52px; }
.section__head p { color: var(--text-secondary); font-size: 1.1rem; }
.text-grad {
  background: linear-gradient(100deg, var(--primary) 10%, var(--primary-light) 55%, var(--accent) 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--primary);
  background: rgba(30, 78, 140, .08); padding: 7px 14px; border-radius: var(--radius-full); margin-bottom: 16px;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; line-height: 1; cursor: pointer; overflow: hidden;
  padding: 15px 26px; border-radius: var(--radius-full); border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
/* shine sweep */
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn:hover::after { left: 140%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: var(--shadow-glow); }
.btn-accent { background: var(--accent); color: #2a1c00; box-shadow: var(--shadow); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.btn-block { width: 100%; }

/* ---- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248, 249, 252, .72);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-xs); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 4px 8px rgba(30, 78, 140, .25)); }
.brand b { color: var(--primary); }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--text-secondary); font-weight: 600; padding: 9px 15px; border-radius: var(--radius-full); transition: .2s; }
.nav__links a:not(.btn):hover { color: var(--primary); background: rgba(30, 78, 140, .08); text-decoration: none; }
/* CTA — white text on dark primary background (default + hover). */
.nav__cta .btn-primary { color: #fff; background: var(--primary); box-shadow: var(--shadow); }
.nav__cta .btn-primary:hover { color: #fff; background: var(--primary-dark); box-shadow: var(--shadow-glow); }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .25s; border-radius: 2px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Animated blobs / mesh --------------------------------------------- */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.blob.b1 { width: 460px; height: 460px; background: #2f64ab; top: -160px; left: -120px; animation: float1 18s var(--ease) infinite; }
.blob.b2 { width: 380px; height: 380px; background: var(--accent); top: -80px; right: -100px; opacity: .35; animation: float2 22s var(--ease) infinite; }
.blob.b3 { width: 420px; height: 420px; background: #163a69; bottom: -200px; left: 30%; opacity: .4; animation: float1 26s var(--ease) infinite reverse; }
@keyframes float1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 40px) scale(1.12); } }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 84px 0 96px;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(245, 158, 11, .22), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(47, 100, 171, .55), transparent 60%),
    linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.hero::before { /* faint grid */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .12;
  background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  padding: 8px 15px; border-radius: var(--radius-full); margin-bottom: 22px; backdrop-filter: blur(8px);
}
.hero h1 { color: #fff; margin-bottom: .12em; }
.hero__tagline { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; color: #fff; margin-bottom: .55em; }
.hero__desc { font-size: 1.12rem; color: rgba(255, 255, 255, .92); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600;
  color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: 8px 14px; border-radius: var(--radius-full); backdrop-filter: blur(6px);
}

/* floating hero preview */
.hero__art { display: flex; justify-content: center; position: relative; }
.hero__preview { position: relative; will-change: transform; isolation: isolate; }
.hero__preview .phone { position: relative; z-index: 1; animation: floaty 6s ease-in-out infinite; }
.float-card {
  position: absolute; z-index: 2; background: rgba(255, 255, 255, .94); color: var(--text);
  border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 12px 14px;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px; pointer-events: none;
}
.float-card .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 1rem; }
.float-card small { display: block; color: var(--text-tertiary); font-weight: 600; font-size: .72rem; }
.float-card.fc1 { top: 22px; left: -28px; animation: floaty 5s ease-in-out infinite; }
.float-card.fc2 { bottom: 60px; right: -34px; animation: floaty 7s ease-in-out infinite .5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---- Phone mockup ------------------------------------------------------- */
.phone {
  width: 270px; max-width: 74vw; aspect-ratio: 9 / 19.2; background: #0c1422;
  border-radius: 40px; padding: 12px; box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, .14); flex: none;
}
.phone--lg { width: 300px; }
.phone__screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.phone__bar { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; padding: 18px 16px 16px; }
.phone__bar small { opacity: .82; font-size: .7rem; }
.phone__bar strong { display: block; font-size: 1.05rem; }
.phone__body { padding: 14px; display: grid; gap: 11px; align-content: start; flex: 1; background:
  radial-gradient(120% 60% at 50% 0%, rgba(30, 78, 140, .05), transparent 60%); }
.skeleton { background: #eef1f7; border-radius: 10px; }
.skeleton.kpi { height: 64px; display: grid; place-items: center; color: var(--text-tertiary); font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  background: linear-gradient(135deg, #f3f6fb, #e9eef7); border: 1px solid #e3e9f3; }
.skeleton.kpi b { color: var(--primary); display: block; font-size: .95rem; margin-top: 3px; }
.skeleton.bar { height: 12px; }
.skeleton.bar.w90 { width: 90%; } .skeleton.bar.w70 { width: 70%; } .skeleton.bar.w50 { width: 50%; } .skeleton.bar.w85 { width: 85%; } .skeleton.bar.w60 { width: 60%; }
.phone__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone__pill { background: rgba(245, 158, 11, .16); color: var(--accent-dark); font-weight: 700; font-size: .72rem; padding: 9px 11px; border-radius: 10px; }
.phone__pill.blue { background: rgba(30, 78, 140, .1); color: var(--primary); }
.progress { height: 10px; background: #e9eef7; border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--accent)); }

/* ---- Trust strip -------------------------------------------------------- */
.trust { background: var(--surface); border-block: 1px solid var(--border); }
.trust__row { display: flex; flex-wrap: wrap; gap: 18px 36px; justify-content: center; align-items: center; padding: 26px 0; }
.trust__item { display: inline-flex; align-items: center; gap: 9px; color: var(--text-secondary); font-weight: 600; font-size: .96rem; }
.trust__item b { color: var(--primary); }

/* ---- Feature cards ------------------------------------------------------ */
.grid { display: grid; gap: 22px; }
.features__grid { grid-template-columns: 1fr; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature { position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.feature:hover::before { transform: scaleX(1); }
.feature__icon { width: 56px; height: 56px; border-radius: var(--radius); display: grid; place-items: center; font-size: 1.7rem; background: linear-gradient(135deg, rgba(30, 78, 140, .1), rgba(245, 158, 11, .12)); margin-bottom: 16px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--text-secondary); margin: 0; font-size: .97rem; }

/* ---- Interactive carousel (Option A) ----------------------------------- */
.showcase { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%); overflow: hidden; }
.carousel { position: relative; height: 600px; margin-top: 8px; touch-action: pan-y; }
.carousel__stage { position: relative; height: 520px; }
.carousel__slide {
  position: absolute; top: 0; left: 50%; transition: transform .55s var(--ease), opacity .55s var(--ease), filter .55s var(--ease);
  will-change: transform, opacity; transform: translateX(-50%); }
.carousel__slide .phone { width: 280px; }
.carousel__caption { text-align: center; max-width: 560px; margin: 18px auto 0; min-height: 64px; }
.carousel__caption h3 { margin-bottom: 4px; transition: opacity .3s; }
.carousel__caption p { color: var(--text-secondary); margin: 0; transition: opacity .3s; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.carousel__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--primary); font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-sm); transition: .2s; display: grid; place-items: center; }
.carousel__btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #c3ccdc; cursor: pointer; transition: .25s; }
.carousel__dots button.active { width: 26px; background: var(--accent); }

/* ---- Alternating product sections (Option B) --------------------------- */
.product { padding: 64px 0; }
.product + .product { border-top: 1px solid var(--border); }
.product__grid { display: grid; gap: 40px; align-items: center; }
.product__media { display: flex; justify-content: center; }
.product__glass {
  position: relative; padding: 26px; border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .35));
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px);
}
.product__glass::before { content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 78, 140, .18), transparent 60%); filter: blur(20px); }
.product__num { font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--accent-dark); text-transform: uppercase; }
.product h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 12px; }
.product p { color: var(--text-secondary); font-size: 1.05rem; }
.product__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.product__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-weight: 500; }
.product__list .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(245, 158, 11, .18); color: var(--accent-dark); display: grid; place-items: center; font-size: .8rem; font-weight: 800; }

/* ---- Why / value -------------------------------------------------------- */
.why__grid { grid-template-columns: 1fr; }
.why__item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-xs); transition: transform .25s var(--ease), box-shadow .3s; }
.why__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.why__check { flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: 0 6px 14px rgba(245, 158, 11, .35); }
.why__item h3 { font-size: 1.05rem; margin-bottom: 2px; }
.why__item p { margin: 0; color: var(--text-secondary); font-size: .95rem; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq__item.open { box-shadow: var(--shadow); border-color: rgba(30, 78, 140, .25); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-size: 1.06rem; font-weight: 700; color: var(--text); padding: 19px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q .chev { transition: transform .3s var(--ease); flex: none; color: var(--primary); font-size: 1.3rem; }
.faq__item.open .faq__q .chev { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { margin: 0; padding: 0 22px 20px; color: var(--text-secondary); }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-xl); padding: 64px 28px; text-align: center; box-shadow: var(--shadow-lg);
  background: radial-gradient(700px 300px at 80% -20%, rgba(245, 158, 11, .35), transparent 60%), linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 560px; margin: 0 auto 26px; }

/* ---- Contact ------------------------------------------------------------ */
.contact__grid { grid-template-columns: 1fr; gap: 24px; }
.contact-card { text-align: center; }
.contact-card .feature__icon { margin: 0 auto 14px; }
.contact-card a { font-weight: 700; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea { width: 100%; padding: 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font: inherit; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(30, 78, 140, .1); }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: .85rem; color: var(--text-tertiary); margin-top: 4px; }
.form__status { margin-top: 12px; font-weight: 600; min-height: 1.2em; }
.form__status.ok { color: #1c8c4a; }
.form__status.err { color: #c0392b; }

/* ---- Legal pages -------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0; background: radial-gradient(700px 300px at 80% -20%, rgba(245, 158, 11, .25), transparent 60%), linear-gradient(160deg, var(--primary), var(--primary-dark)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: rgba(255, 255, 255, .88); margin: 8px 0 0; }
.legal { max-width: 840px; margin-inline: auto; }
.legal .card { padding: 30px; }
.legal h2 { font-size: 1.3rem; margin-top: 28px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin-top: 18px; }
.legal p, .legal li { color: var(--text-secondary); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal .updated { color: var(--text-tertiary); font-size: .9rem; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #c4cdde; padding: 56px 0 28px; margin-top: 24px; }
.site-footer a { color: #c4cdde; }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; gap: 30px; grid-template-columns: 1fr; margin-bottom: 30px; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; font-size: 1.18rem; }
.footer__brand .logo { width: 34px; height: 34px; }
.footer__about { color: #9aa6bd; max-width: 380px; margin-top: 12px; }
.footer__col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; color: #8896af; font-size: .88rem; }

/* ---- Reveal / stagger --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--left.in, .reveal--right.in { transform: none; }

/* ---- Responsive --------------------------------------------------------- */
@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .hero { padding: 110px 0 120px; }
  .section { padding: 100px 0; }
  .product__grid { grid-template-columns: 1fr 1fr; }
  .product--rev .product__media { order: 2; }
}
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 22px 26px; gap: 4px;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s var(--ease); visibility: hidden; }
  .nav__links.open { transform: translateY(0); visibility: visible; }
  .nav__links a { padding: 13px 14px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__toggle { display: block; }
  .float-card.fc1 { left: -8px; } .float-card.fc2 { right: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .why__item:hover { transform: none; }
  .carousel__slide { transition: none; }
}
