/* ============================================================
   PX Sales — Landing
   Design system: Modern Dark (cinematic + glassmorphism)
   Brand: navy #0B1220 · blue #1E6BFF · orange #FF6A00→#FF9A1F
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand primitives */
  --px-navy-900: #060B16;
  --px-navy-800: #0B1220;
  --px-navy-700: #111A2E;
  --px-navy-600: #18233d;
  --px-blue-600: #1E6BFF;
  --px-blue-500: #3B82F6;
  --px-blue-400: #60A5FA;
  --px-orange-600: #FF6A00;
  --px-orange-500: #FF8A1F;
  --px-orange-400: #FFA940;
  --px-green: #25D366;

  /* semantic — dark (default) */
  --bg: #060B16;
  --bg-elev: rgba(255, 255, 255, .045);
  --bg-elev-2: rgba(255, 255, 255, .075);
  --surface: #0B1220;
  --surface-2: #101A2E;
  --fg: #F2F6FF;
  --fg-muted: #9FB0CC;
  --fg-dim: #6D7F9E;
  --border: rgba(255, 255, 255, .10);
  --border-strong: rgba(255, 255, 255, .18);
  --primary: var(--px-blue-600);
  --accent: var(--px-orange-600);
  --ring: rgba(30, 107, 255, .55);
  --shadow-lg: 0 30px 80px -24px rgba(0, 0, 0, .75);
  --shadow-md: 0 16px 40px -18px rgba(0, 0, 0, .65);
  --glass: rgba(11, 18, 32, .62);
  --grid-line: rgba(255, 255, 255, .045);
  --logo-invert: 0;

  /* type */
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.15rem, 3.9vw, 3.5rem);
  --fs-h2: clamp(1.85rem, 4vw, 3rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.4rem);
  --fs-body: clamp(1rem, 1.1vw, 1.075rem);

  /* space */
  --sp-1: .25rem;  --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-6: 1.5rem;  --sp-8: 2rem;   --sp-12: 3rem;  --sp-16: 4rem;
  --sp-24: 6rem;   --sp-32: 8rem;
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px; --r-full: 999px;

  /* motion */
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 160ms; --t-mid: 260ms; --t-slow: 620ms;

  --maxw: 1200px;
  --nav-h: 74px;

  /* product-mock skin accents (overridden per .skin-* below) */
  --skin-accent: var(--px-blue-600);
  --skin-accent-2: var(--px-blue-400);
}

:root[data-theme='light'] {
  --bg: #F6F8FC;
  --bg-elev: rgba(11, 18, 32, .035);
  --bg-elev-2: rgba(11, 18, 32, .06);
  --surface: #FFFFFF;
  --surface-2: #EBF0F8;
  --fg: #0B1220;
  --fg-muted: #4A5A75;
  --fg-dim: #7C8AA3;
  --border: rgba(11, 18, 32, .10);
  --border-strong: rgba(11, 18, 32, .18);
  --shadow-lg: 0 30px 70px -28px rgba(11, 18, 32, .28);
  --shadow-md: 0 14px 36px -18px rgba(11, 18, 32, .22);
  --glass: rgba(255, 255, 255, .72);
  --grid-line: rgba(11, 18, 32, .05);
  --logo-invert: 1;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background var(--t-mid) var(--e-out), color var(--t-mid) var(--e-out);
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.025em; margin: 0; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--px-orange-600); color: #fff; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(4rem, 7vw, 6.5rem) 0; position: relative; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Utility atoms ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .74rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-muted);
  padding: .42rem .85rem .42rem .6rem;
  border: 1px solid var(--border); border-radius: var(--r-full);
  background: var(--bg-elev); backdrop-filter: blur(12px);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--px-green);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.grad-text {
  background: linear-gradient(100deg, var(--px-blue-400), var(--px-blue-600) 42%, var(--px-orange-600) 78%, var(--px-orange-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 220% 100%; animation: gradSlide 9s ease-in-out infinite;
}
@keyframes gradSlide { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); margin: 1rem 0 .9rem; }
.section-head p { color: var(--fg-muted); font-size: 1.06rem; }

/* buttons */
.btn {
  --btn-bg: var(--px-blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .82rem 1.5rem;
  border-radius: var(--r-full); font-weight: 620; font-size: .96rem;
  letter-spacing: -.01em; position: relative; overflow: hidden; isolation: isolate;
  transition: transform var(--t-fast) var(--e-out), box-shadow var(--t-mid) var(--e-out),
              background var(--t-mid) var(--e-out), color var(--t-mid) var(--e-out);
  touch-action: manipulation; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--px-orange-600), var(--px-orange-500));
  box-shadow: 0 12px 30px -10px rgba(255, 106, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(100deg, var(--px-orange-500), var(--px-orange-400));
  transition: opacity var(--t-mid) var(--e-out);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(255, 106, 0, .75); }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  color: var(--fg); border: 1px solid var(--border-strong);
  background: var(--bg-elev); backdrop-filter: blur(14px);
}
.btn-ghost:hover { border-color: var(--px-blue-500); background: var(--bg-elev-2); transform: translateY(-2px); }

.btn-blue {
  color: #fff; background: linear-gradient(100deg, var(--px-blue-600), var(--px-blue-500));
  box-shadow: 0 12px 30px -12px rgba(30, 107, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -14px rgba(30, 107, 255, .8); }
.btn-lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-full { width: 100%; }

/* glass card */
.card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--r-lg); backdrop-filter: blur(20px);
  transition: transform var(--t-mid) var(--e-out), border-color var(--t-mid) var(--e-out),
              background var(--t-mid) var(--e-out), box-shadow var(--t-mid) var(--e-out);
}

/* ---------- 4. Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--px-navy-900);
  transition: opacity .7s var(--e-out), visibility .7s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-inner { display: grid; justify-items: center; gap: 1.6rem; padding: 1.5rem; text-align: center; }
.pre-logo {
  width: min(260px, 62vw); filter: drop-shadow(0 20px 50px rgba(30, 107, 255, .35));
  animation: preIn 1.1s var(--e-out) both, preFloat 3.6s ease-in-out 1.1s infinite;
}
@keyframes preIn { from { opacity: 0; transform: translateY(26px) scale(.9); filter: blur(10px); } }
@keyframes preFloat { 50% { transform: translateY(-9px); } }
.pre-bar {
  width: min(240px, 55vw); height: 3px; border-radius: 99px;
  background: rgba(255, 255, 255, .12); overflow: hidden;
}
.pre-bar span {
  display: block; height: 100%; width: 0%; border-radius: 99px;
  background: linear-gradient(90deg, var(--px-blue-600), var(--px-orange-600));
  transition: width .3s var(--e-out);
}
.pre-txt {
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45); font-weight: 600;
}
.pre-glow {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 255, .22), transparent 62%);
  animation: preGlow 4s ease-in-out infinite; pointer-events: none;
}
@keyframes preGlow { 0%, 100% { transform: scale(.85); opacity: .55; } 50% { transform: scale(1.1); opacity: 1; } }

/* ---------- 5. Ambient background ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  transform: translate3d(0, var(--par, 0px), 0); will-change: transform;
}
.aurora i {
  position: absolute; display: block; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.aurora i:nth-child(1) {
  width: 46vw; height: 46vw; left: -10vw; top: -8vw;
  background: radial-gradient(circle, rgba(30, 107, 255, .55), transparent 68%);
  animation: drift1 22s ease-in-out infinite;
}
.aurora i:nth-child(2) {
  width: 40vw; height: 40vw; right: -8vw; top: 22vh;
  background: radial-gradient(circle, rgba(255, 106, 0, .42), transparent 68%);
  animation: drift2 26s ease-in-out infinite;
}
.aurora i:nth-child(3) {
  width: 38vw; height: 38vw; left: 30vw; bottom: -14vw;
  background: radial-gradient(circle, rgba(37, 211, 102, .25), transparent 70%);
  animation: drift3 30s ease-in-out infinite;
}
:root[data-theme='light'] .aurora i { opacity: .32; }
:root[data-theme='light'] .frame {
  box-shadow: 0 34px 70px -26px rgba(11, 18, 32, .38), 0 0 0 1px rgba(11, 18, 32, .07);
}
:root[data-theme='light'] .ui { --bg-elev: rgba(11, 18, 32, .05); --bg-elev-2: rgba(11, 18, 32, .1); --border: rgba(11, 18, 32, .13); }
@keyframes drift1 { 50% { transform: translate3d(9vw, 7vh, 0) scale(1.15); } }
@keyframes drift2 { 50% { transform: translate3d(-8vw, 10vh, 0) scale(1.2); } }
@keyframes drift3 { 50% { transform: translate3d(6vw, -8vh, 0) scale(.9); } }

/* soft vignette instead of the notebook grid */
.vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, transparent 40%, rgba(6, 11, 22, .55) 100%);
}
:root[data-theme='light'] .vignette {
  background: radial-gradient(ellipse 120% 80% at 50% -10%, transparent 45%, rgba(11, 18, 32, .07) 100%);
}

/* drifting light specks — the only "texture" left */
.sparks { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
/* dimmer on light backgrounds so they never read as dust */
:root[data-theme='light'] .sparks { opacity: .45; }
.spark {
  position: absolute; border-radius: 50%; opacity: 0;
  animation-name: sparkDrift; animation-timing-function: linear; animation-iteration-count: infinite;
  will-change: transform, opacity;
}
@keyframes sparkDrift {
  0%   { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
  12%  { opacity: var(--peak, .5); }
  85%  { opacity: var(--peak, .5); }
  100% { transform: translate3d(var(--dx, 30px), var(--dy, -180px), 0) scale(1.15); opacity: 0; }
}

/* ---------- 6. Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background var(--t-mid) var(--e-out), border-color var(--t-mid), backdrop-filter var(--t-mid);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--glass); backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: var(--border); box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .8);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo img { height: 30px; width: auto; transition: transform var(--t-mid) var(--e-out); }
.nav-logo:hover img { transform: scale(1.04); }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  padding: .55rem .8rem; border-radius: var(--r-full); font-size: .92rem; font-weight: 520;
  color: var(--fg-muted); position: relative; transition: color var(--t-fast) var(--e-out), background var(--t-fast);
}
.nav-links a:hover { color: var(--fg); background: var(--bg-elev); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--fg);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--e-out);
}
.icon-btn:hover { background: var(--bg-elev-2); border-color: var(--border-strong); }
.icon-btn:active { transform: scale(.93); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-btn .moon { display: none; }
:root[data-theme='light'] .theme-btn .moon { display: block; }
:root[data-theme='light'] .theme-btn .sun { display: none; }
.nav-toggle { display: none; }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 890;
  background: var(--glass); backdrop-filter: blur(26px) saturate(160%);
  padding: 1.5rem 1.25rem 3rem; display: grid; align-content: start; gap: .25rem;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity var(--t-mid) var(--e-out), transform var(--t-mid) var(--e-out), visibility var(--t-mid);
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  padding: 1rem .5rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 620;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 1.5rem; }

/* ---------- 7. Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(1.75rem, 5vw, 3.5rem)) 0 clamp(3rem, 7vw, 6rem); position: relative; }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--fs-hero); margin: 1.35rem 0 1.25rem; font-weight: 750; }
.hero-sub { color: var(--fg-muted); font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-note {
  margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  color: var(--fg-dim); font-size: .87rem;
}
.hero-note span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-note svg { width: 15px; height: 15px; color: var(--px-green); flex: none; }


/* hero visual */
.hero-visual { position: relative; perspective: 1600px; margin-bottom: 42px; }
.mock-stack { position: relative; }
.mock-glow {
  position: absolute; inset: 8% 4% 4%; border-radius: 40px; z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(30, 107, 255, .5), transparent 65%);
  filter: blur(50px);
  animation: glowBreathe 8s ease-in-out infinite;
}
@keyframes glowBreathe {
  0%, 100% { transform: scale(1); opacity: .8; }
  50%      { transform: scale(1.09); opacity: 1; }
}

/* browser frame */
.frame {
  position: relative; z-index: 1; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: rotateY(-6deg) rotateX(3deg) scale(.965);
  transition: transform .9s var(--e-out);
}
.hero-visual:hover .frame { transform: rotateY(-2deg) rotateX(1deg) scale(.985); }
.frame-bar {
  display: flex; align-items: center; gap: .5rem; padding: .65rem .85rem;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.frame-dots i:nth-child(1) { background: #FF5F57; }
.frame-dots i:nth-child(2) { background: #FEBC2E; }
.frame-dots i:nth-child(3) { background: #28C840; }
.frame-url {
  flex: 1; text-align: center; font-size: .7rem; color: var(--fg-dim);
  background: var(--bg-elev); border-radius: 99px; padding: .25rem .6rem;
  max-width: 260px; margin-inline: auto; font-family: ui-monospace, monospace;
}
.frame-body { position: relative; aspect-ratio: 900 / 540; background: var(--surface); overflow: hidden; }

/* floating chips */
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .6rem;
  padding: .7rem .9rem; border-radius: 14px;
  background: var(--glass); backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-md);
  font-size: .8rem; font-weight: 560; white-space: nowrap;
}
.chip b { font-family: var(--font-display); font-size: 1.05rem; display: block; line-height: 1.1; }
.chip small { color: var(--fg-dim); font-size: .7rem; font-weight: 500; }
.chip .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip .ico svg { width: 17px; height: 17px; }
.chip-a { top: 1%; left: -8%; animation: floatY 6s ease-in-out infinite; }
.chip-b { bottom: 18%; right: -7%; animation: floatY 7.5s ease-in-out .8s infinite; }
.chip-c { display: none; }
@keyframes floatY { 50% { transform: translateY(-13px); } }

/* ---------- 7b. Hero theme carousel ---------- */
.ui-track {
  position: absolute; inset: 0; display: flex;
  transition: transform .85s var(--e-out);
}
.ui-slide { position: relative; width: 100%; height: 100%; flex: none; overflow: hidden; background: var(--surface); }

/* colour skins — each one repaints the whole product UI */
.skin { --skin-accent: var(--px-blue-600); --skin-accent-2: var(--px-blue-400); }

.skin-classic {
  --surface: #FFFFFF; --surface-2: #F3F6FC; --fg: #0B1220; --fg-muted: #4A5A75; --fg-dim: #7C8AA3;
  --bg-elev: rgba(11,18,32,.045); --bg-elev-2: rgba(11,18,32,.09);
  --border: rgba(11,18,32,.12); --border-strong: rgba(11,18,32,.2);
  --skin-accent: #1E6BFF; --skin-accent-2: #60A5FA;
}
.skin-midnight {
  --surface: #0B1220; --surface-2: #111A2E; --fg: #F2F6FF; --fg-muted: #9FB0CC; --fg-dim: #6D7F9E;
  --bg-elev: rgba(255,255,255,.05); --bg-elev-2: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.11); --border-strong: rgba(255,255,255,.2);
  --skin-accent: #1E6BFF; --skin-accent-2: #60A5FA;
}
.skin-ocean {
  --surface: #071A3A; --surface-2: #0B2450; --fg: #EAF2FF; --fg-muted: #9DB7E4; --fg-dim: #6E88B8;
  --bg-elev: rgba(96,165,250,.09); --bg-elev-2: rgba(96,165,250,.16);
  --border: rgba(147,197,253,.18); --border-strong: rgba(147,197,253,.3);
  --skin-accent: #0EA5E9; --skin-accent-2: #38BDF8;
}
.skin-sunset {
  --surface: #FFF9F4; --surface-2: #FFEFE2; --fg: #2B1608; --fg-muted: #7A5238; --fg-dim: #A8815F;
  --bg-elev: rgba(255,106,0,.07); --bg-elev-2: rgba(255,106,0,.14);
  --border: rgba(255,106,0,.2); --border-strong: rgba(255,106,0,.34);
  --skin-accent: #FF6A00; --skin-accent-2: #FFA940;
}
.skin-forest {
  --surface: #06231A; --surface-2: #0A3126; --fg: #E9FBF3; --fg-muted: #96C9B4; --fg-dim: #6BA48D;
  --bg-elev: rgba(37,211,102,.09); --bg-elev-2: rgba(37,211,102,.16);
  --border: rgba(37,211,102,.2); --border-strong: rgba(37,211,102,.32);
  --skin-accent: #128C7E; --skin-accent-2: #25D366;
}
.skin-violet {
  --surface: #150E2E; --surface-2: #1E1542; --fg: #F3EEFF; --fg-muted: #B4A6E0; --fg-dim: #8B7CC0;
  --bg-elev: rgba(167,139,250,.1); --bg-elev-2: rgba(167,139,250,.18);
  --border: rgba(167,139,250,.2); --border-strong: rgba(167,139,250,.32);
  --skin-accent: #7C3AED; --skin-accent-2: #A78BFA;
}

/* the browser chrome follows the active skin */
.frame.skin { transition: background .85s var(--e-out), border-color .85s var(--e-out); }
.frame.skin .frame-bar { transition: background .85s var(--e-out), border-color .85s var(--e-out); }

/* swatches */
.skin-picker {
  position: absolute; z-index: 4; left: 50%; bottom: -22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: .45rem; padding: .5rem .7rem;
  border-radius: var(--r-full); background: var(--glass); backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-md);
}
.skin-dot {
  width: 26px; height: 26px; border-radius: 50%; flex: none; position: relative;
  border: 2px solid transparent; background-clip: padding-box;
  transition: transform var(--t-mid) var(--e-out), box-shadow var(--t-mid) var(--e-out);
}
.skin-dot::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; }
.skin-dot::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--fg); opacity: 0; transform: scale(.75);
  transition: opacity var(--t-mid) var(--e-out), transform var(--t-mid) var(--e-out);
}
.skin-dot:hover { transform: scale(1.14); }
.skin-dot.on::after { opacity: 1; transform: scale(1); }
.skin-label {
  padding-left: .3rem; padding-right: .25rem; font-size: .74rem; font-weight: 640;
  white-space: nowrap; color: var(--fg-muted); min-width: 68px;
}

/* ---------- 8. Product UI mock (shared) ---------- */
.ui {
  position: absolute; top: 0; left: 0; width: 900px; height: 540px;
  display: flex; font-size: 11px; opacity: 0; pointer-events: none;
  transform-origin: top left; transition: opacity .55s var(--e-out);
}
.ui.active { opacity: 1; }
.ui-side {
  width: 176px; flex: none; padding: 14px 11px; border-right: 1px solid var(--border);
  background: var(--surface-2); display: flex; flex-direction: column; gap: 5px;
}
.ui-side .ui-logo { height: 16px; width: auto; align-self: flex-start; margin: 4px 6px 14px; }
.ui-nav {
  display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 8px;
  color: var(--fg-muted); font-size: 10px; font-weight: 550;
}
.ui-nav i { width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: .55; flex: none; }
.ui-nav.on { background: linear-gradient(100deg, var(--skin-accent), var(--skin-accent-2)); color: #fff; box-shadow: 0 6px 16px -8px var(--skin-accent); }
.ui-nav.on i { opacity: 1; }
.ui-main { flex: 1; padding: 14px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.ui-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.ui-sub { color: var(--fg-dim); font-size: 9.5px; }

.ui-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.ui-kpi { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 8px; }
.ui-kpi small { display: block; font-size: 7.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-dim); }
.ui-kpi b { font-family: var(--font-display); font-size: 15px; display: block; margin-top: 2px; }
.ui-kpi.blue b { color: var(--skin-accent-2); }
.ui-kpi.orange b { color: var(--px-orange-500); }

.ui-bars { display: grid; gap: 6px; margin-top: 2px; }
.ui-bar-row { display: grid; grid-template-columns: 58px 1fr 26px; align-items: center; gap: 6px; font-size: 8.5px; color: var(--fg-muted); }
.ui-bar { height: 7px; border-radius: 99px; background: var(--bg-elev-2); overflow: hidden; }
.ui-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--skin-accent), var(--skin-accent-2)); width: 0; transition: width 1.2s var(--e-out); }
.ui.active .ui-bar span { width: var(--w, 60%); }
.ui-bar.o span { background: linear-gradient(90deg, var(--px-orange-600), var(--px-orange-400)); }
.ui-bar.g span { background: linear-gradient(90deg, #16a34a, var(--px-green)); }

/* chat list mock */
.ui-chatlist { display: grid; gap: 7px; overflow: hidden; align-content: start; }
.ui-chat { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-elev); }
.ui-chat.hot { border-color: rgba(255, 106, 0, .45); background: rgba(255, 106, 0, .07); }
.ui-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; color: #fff; }
.ui-chat b { font-size: 9.5px; display: block; }
.ui-chat p { font-size: 8.5px; color: var(--fg-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-badge { font-size: 8px; font-weight: 700; color: #fff; background: var(--skin-accent); border-radius: 99px; padding: 1px 6px; }
.ui-tag { font-size: 7px; font-weight: 700; letter-spacing: .06em; padding: 1px 5px; border-radius: 4px; background: rgba(255, 106, 0, .18); color: var(--px-orange-500); text-transform: uppercase; }

/* whatsapp bubbles mock */
.ui-thread { flex: 1; display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; padding: 4px; }
.bubble { max-width: 76%; padding: 7px 9px; border-radius: 12px; font-size: 9.5px; line-height: 1.45; box-shadow: var(--shadow-md); }
.bubble.in { align-self: flex-start; background: var(--bg-elev-2); border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: linear-gradient(100deg, #128C7E, var(--px-green)); color: #fff; border-bottom-right-radius: 4px; }
.bubble .who { display: block; font-size: 7.5px; opacity: .75; margin-bottom: 2px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

/* kanban mock */
.ui-kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; flex: 1; }
.ui-col { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 6px; display: grid; gap: 5px; align-content: start; }
.ui-col > b { font-size: 8px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-dim); }
.ui-lead { background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 6px; font-size: 9px; font-weight: 560; color: var(--fg); }
.ui-lead i { display: block; height: 3px; width: 60%; border-radius: 9px; background: var(--bg-elev-2); margin-top: 4px; }
.ui-lead.acc { border-left: 2px solid var(--px-orange-600); }

/* ---------- 9. Marquee / trust ---------- */
.trust {
  border-block: 1px solid var(--border); background: var(--bg-elev);
  padding: 1.6rem 0; overflow: hidden; position: relative;
}
/* light sweeping along the top edge */
.trust::before {
  content: ''; position: absolute; top: -1px; left: 0; height: 1px; width: 32%;
  background: linear-gradient(90deg, transparent, var(--px-blue-500), var(--px-orange-500), transparent);
  animation: edgeSweep 7s var(--e-io) infinite;
}
@keyframes edgeSweep {
  0%   { transform: translateX(-110%); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(420%); opacity: 0; }
}
.marquee { display: flex; gap: 3rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: .6rem; color: var(--fg-muted);
  font-size: .92rem; font-weight: 560; white-space: nowrap;
}
.marquee-item svg { width: 19px; height: 19px; color: var(--px-blue-500); flex: none; }

/* ---------- 10. Problem / solution ---------- */
.split { display: grid; gap: 1.25rem; }
.pane { padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--r-lg); border: 1px solid var(--border); }
.pane h3 { font-size: var(--fs-h3); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.pane h3 svg { width: 22px; height: 22px; }
.pane ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.pane li { display: flex; gap: .7rem; font-size: .96rem; color: var(--fg-muted); }
.pane li svg { width: 18px; height: 18px; flex: none; margin-top: .25rem; }
.pane.bad { background: rgba(220, 38, 38, .05); border-color: rgba(220, 38, 38, .22); }
.pane.bad h3 svg, .pane.bad li svg { color: #F87171; }
.pane.good { background: rgba(37, 211, 102, .06); border-color: rgba(37, 211, 102, .26); }
.pane.good h3 svg, .pane.good li svg { color: var(--px-green); }

/* ---------- 11. Bento features ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.bento .card { padding: clamp(1.4rem, 2.6vw, 2rem); position: relative; overflow: hidden; }
.bento .card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(30, 107, 255, .16), transparent 60%);
  transition: opacity var(--t-mid) var(--e-out); pointer-events: none;
}
.bento .card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.bento .card:hover::before { opacity: 1; }
.f-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 1.1rem; color: #fff; box-shadow: var(--shadow-md);
  background: linear-gradient(140deg, var(--px-blue-600), var(--px-blue-500));
}
.f-ico.orange { background: linear-gradient(140deg, var(--px-orange-600), var(--px-orange-400)); }
.f-ico.green { background: linear-gradient(140deg, #128C7E, var(--px-green)); }
.f-ico.navy { background: linear-gradient(140deg, #4338CA, #6366F1); }
.f-ico svg { width: 23px; height: 23px; }
/* icons breathe on their own, lift a bit on hover */
.bento .card .f-ico { animation: icoFloat 5.5s ease-in-out infinite; }
.bento .card:nth-child(2n) .f-ico { animation-delay: -1.4s; }
.bento .card:nth-child(3n) .f-ico { animation-delay: -2.8s; }
.bento .card:hover .f-ico { animation-play-state: paused; transform: translateY(-4px) rotate(-4deg) scale(1.06); }
.f-ico { transition: transform var(--t-mid) var(--e-out); }
@keyframes icoFloat { 50% { transform: translateY(-6px); } }
.bento h3 { font-size: 1.16rem; margin-bottom: .5rem; }
.bento p { color: var(--fg-muted); font-size: .95rem; }
.bento .tagline { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.pill { font-size: .72rem; font-weight: 600; padding: .28rem .6rem; border-radius: 99px; background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--fg-muted); }

/* ---------- 12. AI control panel ---------- */
.ai-wrap { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.ai-panel { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-xl); border: 1px solid var(--border-strong); background: var(--glass); backdrop-filter: blur(24px); box-shadow: var(--shadow-lg); }
.ai-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1.1rem; }
.ai-panel-head b { font-family: var(--font-display); font-size: 1.02rem; }
.ai-state { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--px-green); display: inline-flex; align-items: center; gap: .4rem; }
.ai-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ai-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.ai-row:last-of-type { border-bottom: 0; }
.ai-row .lbl { font-size: .93rem; font-weight: 560; }
.ai-row .lbl small { display: block; color: var(--fg-dim); font-weight: 400; font-size: .78rem; }
.switch { position: relative; width: 50px; height: 29px; border-radius: 99px; background: var(--bg-elev-2); border: 1px solid var(--border-strong); flex: none; transition: background var(--t-mid) var(--e-out); }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--fg-dim); transition: transform var(--t-mid) var(--e-out), background var(--t-mid); }
.switch[aria-checked='true'] { background: linear-gradient(100deg, var(--px-blue-600), var(--px-blue-500)); border-color: transparent; }
.switch[aria-checked='true']::after { transform: translateX(21px); background: #fff; }
.ai-out { margin-top: 1.2rem; padding: 1rem; border-radius: var(--r-md); background: var(--bg-elev); border: 1px dashed var(--border-strong); font-size: .88rem; color: var(--fg-muted); min-height: 76px; display: flex; gap: .7rem; }
.ai-out svg { width: 18px; height: 18px; color: var(--px-blue-500); flex: none; margin-top: .15rem; }
.ai-feats { display: grid; gap: 1rem; margin-top: 1.8rem; }
.ai-feat { display: flex; gap: .9rem; }
.ai-feat .n { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .85rem; background: var(--bg-elev-2); border: 1px solid var(--border); flex: none; color: var(--px-blue-400); }
.ai-feat b { display: block; font-size: .98rem; }
.ai-feat p { color: var(--fg-muted); font-size: .9rem; }

/* ---------- 13. Showcase carousel ---------- */
.show-tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.show-tab {
  padding: .6rem 1.1rem; border-radius: 99px; font-size: .88rem; font-weight: 570;
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--fg-muted);
  transition: all var(--t-mid) var(--e-out); min-height: 44px;
}
.show-tab:hover { color: var(--fg); border-color: var(--border-strong); }
.show-tab.on { background: linear-gradient(100deg, var(--px-blue-600), var(--px-blue-500)); color: #fff; border-color: transparent; box-shadow: 0 12px 26px -14px rgba(30, 107, 255, .9); }
.show-stage { position: relative; }
.show-stage .frame { transform: none; }
.show-stage .frame-body { aspect-ratio: 16 / 9.6; }
.show-cap { text-align: center; margin-top: 1.4rem; color: var(--fg-muted); font-size: .95rem; min-height: 3em; }
.show-cap b { color: var(--fg); font-family: var(--font-display); display: block; font-size: 1.05rem; margin-bottom: .2rem; }
.show-prog { display: flex; gap: .4rem; justify-content: center; margin-top: 1.2rem; }
.show-prog i { width: 34px; height: 4px; border-radius: 99px; background: var(--bg-elev-2); overflow: hidden; position: relative; }
.show-prog i.on::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--px-blue-600), var(--px-orange-600)); transform-origin: left; animation: progFill 6.5s linear forwards; }
@keyframes progFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- 14. Steps ---------- */
.steps { display: grid; gap: 1rem; counter-reset: s; }
.step { position: relative; padding: 1.6rem 1.4rem 1.6rem; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg-elev); overflow: hidden; }
.step::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--px-blue-600), var(--px-orange-600)); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--e-out); }
.step.in::after { transform: scaleY(1); }
.step .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 750; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--border-strong); margin-bottom: .6rem; }
.step h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.step p { color: var(--fg-muted); font-size: .93rem; }

/* ---------- 15. Stats ---------- */
.stats { display: grid; gap: 1rem; }
.stat { text-align: center; padding: 1.8rem 1rem; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg-elev); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.1rem, 4.6vw, 3.1rem); font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--fg-muted); font-size: .9rem; }
.stat:nth-child(1) b { color: var(--px-blue-500); }
.stat:nth-child(2) b { color: var(--px-orange-500); }
.stat:nth-child(3) b { color: var(--px-green); }

/* ---------- 16. Pricing ---------- */
.bill-toggle { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem; border-radius: 99px; border: 1px solid var(--border); background: var(--bg-elev); margin: 0 auto 2.5rem; }
.bill-toggle button { padding: .55rem 1.1rem; border-radius: 99px; font-size: .87rem; font-weight: 600; color: var(--fg-muted); min-height: 44px; transition: all var(--t-mid) var(--e-out); }
.bill-toggle button.on { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-md); }
.bill-toggle .save { font-size: .68rem; font-weight: 700; color: var(--px-green); background: rgba(37, 211, 102, .14); padding: .1rem .4rem; border-radius: 5px; margin-left: .35rem; }

.prices { display: grid; gap: 1.25rem; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--r-xl);
  border: 1px solid var(--border); background: var(--bg-elev); backdrop-filter: blur(18px);
  transition: transform var(--t-mid) var(--e-out), border-color var(--t-mid), box-shadow var(--t-mid);
}
.price:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.price.featured {
  border-color: transparent; background: var(--surface);
  box-shadow: var(--shadow-lg), 0 0 0 1.5px var(--px-orange-600);
}
.price.featured::before {
  content: ''; position: absolute; inset: -30% -12% auto; height: 60%; z-index: -1;
  background: radial-gradient(ellipse, rgba(255, 106, 0, .28), transparent 68%); filter: blur(38px);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(100deg, var(--px-orange-600), var(--px-orange-400)); color: #fff;
  font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .95rem; border-radius: 99px; box-shadow: 0 10px 24px -10px rgba(255, 106, 0, .9); white-space: nowrap;
}
.price h3 { font-size: 1.3rem; }
.price .desc { color: var(--fg-muted); font-size: .9rem; margin-top: .35rem; min-height: 2.7em; }
.price .amount { display: flex; align-items: baseline; gap: .35rem; margin: 1.35rem 0 .3rem; font-family: var(--font-display); }
.price .amount .cur { font-size: 1.05rem; font-weight: 600; color: var(--fg-muted); }
.price .amount .val { font-size: clamp(2.1rem, 4.5vw, 2.7rem); font-weight: 750; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.price .amount .per { font-size: .88rem; color: var(--fg-dim); font-family: var(--font-body); }
.price .meta { font-size: .8rem; color: var(--fg-dim); }
.price ul { list-style: none; margin: 1.5rem 0 1.8rem; padding: 0; display: grid; gap: .7rem; }
.price li { display: flex; gap: .6rem; font-size: .92rem; color: var(--fg-muted); }
.price li svg { width: 17px; height: 17px; flex: none; margin-top: .25rem; color: var(--px-green); }
.price li.off { opacity: .45; }
.price li.off svg { color: var(--fg-dim); }
.price li b { color: var(--fg); font-weight: 620; }
.price .btn { margin-top: auto; }
.price-foot { text-align: center; color: var(--fg-dim); font-size: .86rem; margin-top: 2rem; }

/* ---------- 17. Testimonials ---------- */
.quotes { display: grid; gap: 1rem; }
.quote { padding: 1.6rem; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg-elev); }
.quote .stars { display: flex; gap: 2px; margin-bottom: .9rem; color: var(--px-orange-500); }
.quote .stars svg { width: 15px; height: 15px; }
.quote p { font-size: .96rem; color: var(--fg); }
.quote footer { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: .9rem; flex: none; }
.quote .who b { display: block; font-size: .9rem; }
.quote .who span { color: var(--fg-dim); font-size: .8rem; }

/* ---------- 18. FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-elev); overflow: hidden; transition: border-color var(--t-mid); }
.faq-item.open { border-color: var(--border-strong); background: var(--bg-elev-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.25rem; text-align: left; font-weight: 600; font-size: 1rem; min-height: 56px;
}
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--fg-dim); transition: transform var(--t-mid) var(--e-out), color var(--t-mid); }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--px-orange-500); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--e-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.25rem 1.3rem; color: var(--fg-muted); font-size: .94rem; }

/* ---------- 19. Final CTA ---------- */
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--r-xl); border: 1px solid var(--border-strong);
  background: linear-gradient(150deg, var(--px-navy-800), var(--px-navy-900));
  box-shadow: var(--shadow-lg);
}
:root[data-theme='light'] .cta-box { background: linear-gradient(150deg, #0B1220, #111A2E); }
.cta-box * { position: relative; z-index: 1; color: #fff; }
.cta-box::before {
  content: ''; position: absolute; z-index: 0; inset: -70%; border-radius: 50%; filter: blur(40px);
  background: radial-gradient(ellipse at 30% 25%, rgba(30, 107, 255, .5), transparent 52%),
              radial-gradient(ellipse at 74% 68%, rgba(255, 106, 0, .42), transparent 52%);
  animation: ctaSpin 22s linear infinite;
}
@keyframes ctaSpin { to { transform: rotate(360deg) scale(1.1); } }
.cta-box h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.cta-box p { color: rgba(255, 255, 255, .72); max-width: 56ch; margin: 0 auto 2rem; }
.cta-box .hero-cta { justify-content: center; }
.cta-logo { width: 148px; margin: 0 auto 1.75rem; opacity: .95; }

/* ---------- 20. Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; background: var(--bg-elev); }
.foot-grid { display: grid; gap: 2.5rem; }
.foot-brand img { height: 32px; width: auto; margin-bottom: 1rem; }
.foot-brand p { color: var(--fg-muted); font-size: .92rem; max-width: 34ch; }
.foot-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.foot-col h4 { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.foot-col a { color: var(--fg-muted); font-size: .92rem; transition: color var(--t-fast); }
.foot-col a:hover { color: var(--px-orange-500); }
.foot-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  color: var(--fg-dim); font-size: .84rem;
}

/* floating whatsapp */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, #128C7E, var(--px-green)); color: #fff;
  box-shadow: 0 16px 34px -12px rgba(37, 211, 102, .8);
  transform: translateY(90px); opacity: 0;
  transition: transform var(--t-slow) var(--e-out), opacity var(--t-slow) var(--e-out), box-shadow var(--t-mid);
}
.wa-fab.show { transform: none; opacity: 1; }
.wa-fab:hover { box-shadow: 0 20px 42px -12px rgba(37, 211, 102, .95); }
.wa-fab svg { width: 27px; height: 27px; }
.wa-fab::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--px-green);
  animation: waRing 2.6s ease-out infinite;
}
@keyframes waRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.65); opacity: 0; } }

/* ---------- 21. Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--e-out), transform .7s var(--e-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal='left'] { transform: translateX(-34px); }
.js [data-reveal='right'] { transform: translateX(34px); }
.js [data-reveal='zoom'] { transform: scale(.94); }
.js [data-reveal='left'].in, .js [data-reveal='right'].in, .js [data-reveal='zoom'].in { transform: none; }

/* scroll progress */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; z-index: 950; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--px-blue-600), var(--px-orange-600)); }

/* ---------- 22. Responsive ---------- */
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .prices { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .price.featured { transform: scale(1.045); }
  .price.featured:hover { transform: scale(1.045) translateY(-6px); }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.12fr 1fr; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento .span-2 { grid-column: span 2; }
  .ai-wrap { grid-template-columns: 1.05fr 1fr; }
}
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .hero-visual { margin-top: 1rem; }
  .frame { transform: none; }
  .chip-a { left: -2%; top: 4%; }
  .chip-b { right: -2%; }
  .chip-c { display: none; }
}
@media (max-width: 620px) {
  #navCta { display: none; }
}
@media (max-width: 560px) {
  .chip { font-size: .72rem; padding: .55rem .7rem; }
  .chip b { font-size: .92rem; }
  .chip .ico { width: 28px; height: 28px; }
  .chip-a { left: -1%; top: 2%; }
  .chip-b { display: none; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .frame { transform: none !important; }
}
