/* ==========================================================================
   MyPOSgpt — Landing Page
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --primary: #0B5ED7;
  --secondary: #5B5BD6;
  --accent: #00C2FF;
  --purple: #7A5FFF;
  --dark: #081B35;
  --dark-2: #0d2547;
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --bg-tint: #EEF3FB;
  --ink: #0A1A2F;
  --ink-2: #2A3A55;
  --ink-3: #6A7A94;
  --line: rgba(11, 26, 47, 0.08);
  --line-2: rgba(11, 26, 47, 0.14);
  --grad: linear-gradient(135deg, #0B5ED7 0%, #00C2FF 100%);
  --grad-2: linear-gradient(135deg, #5B5BD6 0%, #00C2FF 60%, #7A5FFF 100%);
  --grad-3: linear-gradient(135deg, #00C2FF 0%, #7A5FFF 100%);
  --shadow-sm: 0 2px 6px rgba(11, 26, 47, 0.06);
  --shadow: 0 12px 40px rgba(11, 26, 47, 0.09);
  --shadow-lg: 0 30px 80px rgba(11, 26, 47, 0.14);
  --shadow-glow: 0 20px 60px rgba(11, 94, 215, 0.25);
  --radius: 20px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: 'Inter', 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-2 {
  background: linear-gradient(135deg, #7cd6ff 0%, #7A5FFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Section shell ---------- */
section {
  position: relative;
  padding: 120px 5vw;
  overflow-x: clip;
}
.section-head {
  max-width: 880px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.dark { color: #fff; }
.section-head.dark .section-title { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--bg-tint);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.ai-eyebrow {
  background: rgba(0, 194, 255, 0.10);
  color: #7cd6ff;
  border: 1px solid rgba(0, 194, 255, 0.25);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 20px;
}
.section-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-3);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity .2s;
}
.cursor-dot { width: 6px; height: 6px; background: var(--primary); }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgba(11, 94, 215, 0.35); transition: transform .15s ease-out, width .2s, height .2s; }
.cursor-ring.hover { width: 60px; height: 60px; background: rgba(11, 94, 215, 0.08); border-color: rgba(11, 94, 215, 0.5); }
@media (hover: none), (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 5vw;
  transition: all .3s cubic-bezier(.2,.7,.2,1);
  background: transparent;
}
.nav.scrolled {
  padding: 12px 5vw;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(11, 26, 47, 0.04);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.logo-mark { display: inline-flex; }
.logo-text { color: var(--ink); }
.logo-accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width .3s cubic-bezier(.2,.7,.2,1);
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 24px; }

.nav-burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
  overflow: hidden;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 94, 215, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11, 94, 215, 0.42); }
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #00C2FF, #0B5ED7);
  opacity: 0;
  transition: opacity .3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-ghost {
  background: rgba(11, 26, 47, 0.04);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(11, 26, 47, 0.08); transform: translateY(-2px); }
.btn-ghost-dark {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-glow {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.5), 0 20px 40px rgba(11, 94, 215, 0.5);
  animation: btnGlow 2.4s ease-in-out infinite;
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.55), 0 20px 40px rgba(11, 94, 215, 0.55); }
  50% { box-shadow: 0 0 0 14px rgba(0, 194, 255, 0), 0 24px 56px rgba(11, 94, 215, 0.7); }
}
.btn-glow:hover { transform: translateY(-2px); }
/* Ripple */
.btn-ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: scale(0);
  animation: rip .6s linear;
  pointer-events: none;
}
@keyframes rip { to { transform: scale(4); opacity: 0; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding: 140px 5vw 80px;
  background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
  overflow: hidden;
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11, 26, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 26, 47, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  animation: blob 18s ease-in-out infinite;
}
.blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, #7A5FFF, transparent 60%); top: -120px; right: -120px; }
.blob-2 { width: 460px; height: 460px; background: radial-gradient(circle, #00C2FF, transparent 60%); top: 40%; left: -160px; animation-delay: -6s; }
.blob-3 { width: 380px; height: 380px; background: radial-gradient(circle, #0B5ED7, transparent 60%); bottom: -140px; right: 20%; animation-delay: -12s; }
@keyframes blob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: center;
  z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(11, 94, 215, 0.08);
  color: var(--primary);
  border: 1px solid rgba(11, 94, 215, 0.15);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(0, 194, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0); }
}
.hero-title {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-3);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; align-items: center; gap: 16px; }
.trust-avatars { display: flex; }
.ta {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: -12px;
}
.ta:first-child { margin-left: 0; }
.trust-stars { color: #FFB800; font-size: 13px; letter-spacing: 2px; margin-bottom: 2px; }
.trust-text { font-size: 13.5px; color: var(--ink-3); }
.trust-text b { color: var(--ink); font-weight: 700; }

/* Hero right — floating cards + dashboard */
.hero-right {
  position: relative;
  aspect-ratio: 1 / 0.9;
  min-height: 560px;
}
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(11, 26, 47, 0.10);
  z-index: 5;
  animation: floatY 6s ease-in-out infinite;
}
.float-card.ai {
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.95), rgba(122, 95, 255, 0.95));
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.fc-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}
.ai-ico { background: rgba(255,255,255,0.2); }
.fc-label { font-size: 11px; color: var(--ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.float-card.ai .fc-label { color: rgba(255,255,255,0.75); }
.fc-value { font-size: 15px; font-weight: 700; color: var(--ink); font-family: 'Poppins', sans-serif; }
.float-card.ai .fc-value { color: #fff; }
.fc-trend { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.fc-trend.up { background: rgba(34,197,94,0.12); color: #16A34A; }

.fc-1 { top: 2%; left: -4%; animation-delay: 0s; }
.fc-2 { top: 8%; right: -2%; animation-delay: -1.2s; }
.fc-3 { top: 32%; left: -8%; animation-delay: -2.4s; }
.fc-4 { top: 30%; right: -6%; animation-delay: -3.6s; }
.fc-5 { top: 55%; left: -6%; animation-delay: -1.8s; min-width: 220px; }
.fc-6 { top: 60%; right: -4%; animation-delay: -3.0s; }
.fc-7 { bottom: 6%; left: 5%; animation-delay: -0.6s; }
.fc-8 { bottom: 2%; right: 6%; animation-delay: -4.2s; }

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

.hero-dashboard {
  position: absolute;
  inset: 8% 6% 8% 6%;
  transform-style: preserve-3d;
  z-index: 2;
}

.app-window {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(11, 26, 47, 0.22), 0 8px 24px rgba(11, 26, 47, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11, 26, 47, 0.06);
}
.app-window.inner { border-radius: 12px; box-shadow: none; height: 100%; }
.app-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: #F5F7FB;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.tl { width: 10px; height: 10px; border-radius: 50%; }
.tl.red { background: #FF5F57; }
.tl.yellow { background: #FEBC2E; }
.tl.green { background: #28C840; }
.app-url {
  margin-left: 12px;
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
  background: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  max-width: 60%;
}
.app-url i { margin-right: 6px; color: #16A34A; font-size: 9px; }
.app-body { display: grid; grid-template-columns: 180px 1fr; flex: 1; min-height: 0; }
.app-side { background: #FAFBFE; border-right: 1px solid var(--line); padding: 14px 10px; font-size: 12px; }
.side-logo { display: flex; align-items: center; gap: 8px; padding: 4px 8px 16px; font-weight: 700; color: var(--ink); }
.side-logo-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--grad); }
.side-section { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); padding: 12px 8px 6px; font-weight: 600; }
.side-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  color: var(--ink-2);
  border-radius: 8px;
  margin-bottom: 2px;
  font-weight: 500;
  transition: background .2s;
  cursor: pointer;
}
.side-item i { width: 14px; font-size: 12px; color: var(--ink-3); }
.side-item.active { background: rgba(11, 94, 215, 0.08); color: var(--primary); }
.side-item.active i { color: var(--primary); }
.side-item:hover { background: rgba(11, 26, 47, 0.04); }

.app-main { padding: 16px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.app-h-title { font-size: 15px; font-weight: 700; color: var(--ink); font-family: 'Poppins', sans-serif; }
.app-h-sub { font-size: 11px; color: var(--ink-3); }
.app-h-actions { display: flex; align-items: center; gap: 10px; }
.app-search { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #F5F7FB; border-radius: 8px; font-size: 11px; color: var(--ink-3); }
.app-search input { background: none; border: none; outline: none; width: 140px; font: inherit; color: var(--ink); }
.icon-btn { position: relative; width: 30px; height: 30px; border-radius: 8px; background: #F5F7FB; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-2); }
.icon-btn .dot { position: absolute; top: 6px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: #FF5F57; }
.avatar-sm { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { background: #FAFBFE; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.kpi-label { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.kpi-val { font-size: 15px; font-weight: 700; color: var(--ink); margin: 2px 0 4px; font-family: 'Poppins', sans-serif; }
.kpi-spark { height: 24px; }
.kpi-spark svg { width: 100%; height: 100%; }

.chart-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.chart-card, .donut-card, .orders-card { background: #FAFBFE; border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; }
.cc-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 8px; }
.cc-title { font-size: 12px; font-weight: 700; color: var(--ink); font-family: 'Poppins', sans-serif; }
.cc-sub { font-size: 10px; color: var(--ink-3); }
.cc-link { font-size: 10px; color: var(--primary); font-weight: 600; }
.tab-pill { font-size: 10px; padding: 3px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.chart-svg { width: 100%; height: 100%; flex: 1; min-height: 0; }
.donut-wrap { display: flex; align-items: center; gap: 12px; flex: 1; }
.legend { list-style: none; font-size: 10px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.legend span { width: 8px; height: 8px; border-radius: 2px; }
.legend b { margin-left: auto; color: var(--ink); font-weight: 700; }

.orders-row { display: grid; }
.orders-card { padding: 10px 12px; }
.order-line { display: grid; grid-template-columns: 60px 1fr auto 60px; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 11px; }
.order-line:first-of-type { border-top: none; }
.ol-id { color: var(--ink-3); font-family: 'Manrope', sans-serif; }
.ol-name { color: var(--ink); font-weight: 500; }
.ol-tag { font-size: 9px; padding: 2px 6px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.ol-tag.paid { background: rgba(34,197,94,0.12); color: #16A34A; }
.ol-tag.pending { background: rgba(245,158,11,0.14); color: #D97706; }
.ol-tag.refund { background: rgba(107,114,128,0.15); color: #4B5563; }
.ol-amt { font-weight: 700; color: var(--ink); text-align: right; }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 3;
}
.mouse { width: 20px; height: 32px; border: 1.5px solid var(--ink-3); border-radius: 12px; position: relative; }
.wheel { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 6px; background: var(--ink-3); border-radius: 2px; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0%,100% { transform: translate(-50%, 0); opacity: 1; } 50% { transform: translate(-50%, 10px); opacity: 0.3; } }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.strip {
  padding: 40px 5vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.strip-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.strip-label { font-size: 12px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 60px; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee-track span { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: var(--ink-3); letter-spacing: 0.05em; opacity: 0.55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { padding: 100px 5vw; background: #fff; }
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.04), rgba(122, 95, 255, 0.04));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.stat { text-align: center; padding: 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--ink-3); font-weight: 500; }

/* ==========================================================================
   WHY CHOOSE
   ========================================================================== */
.why { background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%); }
.why-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  position: relative;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(11, 26, 47, 0.04);
  transition: transform .3s, box-shadow .3s;
  overflow: hidden;
  transform-style: preserve-3d;
}
.why-card:hover { box-shadow: var(--shadow-lg); }
.why-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(11, 94, 215, 0.08), transparent 60%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.why-card:hover::after { opacity: 1; }
.why-ico {
  width: 56px; height: 56px; border-radius: 16px;
  color: #fff; font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.25);
}
.why-card h3 { font-size: 26px; margin-bottom: 12px; }
.why-card p { color: var(--ink-3); margin-bottom: 20px; }
.why-list { list-style: none; margin-bottom: 24px; }
.why-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.why-list i { color: var(--primary); font-size: 12px; }
.why-mock {
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EEF3FB, #F7FAFF);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.why-mock-pos::before, .why-mock-ai::before, .why-mock-cc::before {
  content: '';
  position: absolute; inset: 12px;
  border-radius: 8px;
}
.why-mock-pos::before {
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg,#0B5ED7,#00C2FF) border-box;
  border: 1px solid transparent;
  background:
    repeating-linear-gradient(0deg, rgba(11,94,215,0.06) 0 10px, transparent 10px 22px),
    #fff;
}
.why-mock-ai::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(122,95,255,0.25), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(0,194,255,0.25), transparent 45%),
    #fff;
}
.why-mock-cc::before {
  background:
    linear-gradient(90deg, rgba(11,94,215,0.15) 0 20%, transparent 20% 30%, rgba(0,194,255,0.15) 30% 60%, transparent 60% 70%, rgba(122,95,255,0.15) 70% 100%),
    #fff;
}

/* ==========================================================================
   POS FEATURES
   ========================================================================== */
.pos { background: #fff; }
.pos-hero { max-width: 1200px; margin: 0 auto 80px; }

/* Laptop mockup */
.laptop { position: relative; }
.laptop-screen {
  aspect-ratio: 16 / 10;
  background: #111;
  border-radius: 18px 18px 4px 4px;
  padding: 14px;
  border: 3px solid #1a1a1a;
  box-shadow: 0 40px 80px rgba(11, 26, 47, 0.25), 0 8px 24px rgba(11, 26, 47, 0.08);
  position: relative;
}
.laptop-screen::after {
  content: '';
  position: absolute;
  top: 4px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px;
  background: #333; border-radius: 50%;
}
.laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #d5d8de, #a8adb6);
  border-radius: 0 0 20px 20px;
  position: relative;
  margin: 0 -3%;
}
.laptop-base::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 6px;
  background: #7b8090; border-radius: 0 0 8px 8px;
}

/* POS interior */
.pos-body { flex: 1; display: grid; grid-template-columns: 1fr 340px; min-height: 0; overflow: hidden; }
.pos-catalog { padding: 16px; overflow: hidden; }
.pos-search { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #F5F7FB; border-radius: 12px; margin-bottom: 12px; }
.pos-search i { color: var(--ink-3); }
.pos-search input { flex: 1; background: none; border: none; outline: none; font: inherit; font-size: 13px; }
.scan-btn { width: 32px; height: 32px; border-radius: 8px; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.pos-cats { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; }
.pc { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; cursor: pointer; transition: all .2s; }
.pc.active { background: var(--grad); border-color: transparent; color: #fff; }
.pc:hover:not(.active) { border-color: var(--primary); color: var(--primary); }
.pos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pos-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; transition: all .25s; cursor: pointer; }
.pos-item:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(11, 26, 47, 0.08); border-color: var(--primary); }
.pi-img { aspect-ratio: 1; border-radius: 8px; margin-bottom: 6px; }
.pi-name { font-size: 11.5px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.pi-price { font-size: 11px; color: var(--primary); font-weight: 700; font-family: 'Poppins', sans-serif; }

.pos-cart { padding: 16px; background: #FAFBFE; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.cart-head { padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.cart-title { font-size: 14px; font-weight: 700; font-family: 'Poppins', sans-serif; margin-bottom: 4px; }
.cart-cust { font-size: 11px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.cart-lines { flex: 1; overflow: hidden; }
.cl { display: flex; justify-content: space-between; padding: 8px 0; font-size: 12px; border-bottom: 1px dashed var(--line); }
.cl-name em { color: var(--ink-3); font-style: normal; font-size: 11px; margin-left: 4px; }
.cl-amt { font-weight: 700; color: var(--ink); }
.cl.bundle { background: linear-gradient(135deg, rgba(11,94,215,0.08), rgba(0,194,255,0.08)); border: 1px solid rgba(11,94,215,0.15); border-radius: 10px; padding: 10px; margin: 8px 0; display: flex; gap: 8px; align-items: start; font-size: 11px; color: var(--ink-2); }
.cl.bundle i { color: var(--primary); font-size: 12px; margin-top: 2px; }
.cl.bundle b { color: var(--primary); }
.cart-totals { border-top: 1px solid var(--line); padding-top: 10px; margin: 10px 0; }
.cart-totals > div { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; color: var(--ink-2); }
.cart-totals .grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-size: 15px; font-weight: 700; color: var(--ink); font-family: 'Poppins', sans-serif; }
.cart-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.pay { padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink-2); }
.pay.pay-card { border-color: var(--primary); color: var(--primary); background: rgba(11, 94, 215, 0.06); }
.pay-cta { width: 100%; padding: 12px; background: var(--grad); color: #fff; border-radius: 12px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 8px 20px rgba(11, 94, 215, 0.3); }

/* Sub-features grid */
.pos-features { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pf {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: pointer;
}
.pf:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(11, 94, 215, 0.3); }
.pf i {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(11,94,215,0.1), rgba(0,194,255,0.12));
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  margin-bottom: 14px;
  transition: all .3s;
}
.pf:hover i { background: var(--grad); color: #fff; transform: scale(1.08) rotate(-4deg); }
.pf h4 { font-size: 15px; margin-bottom: 4px; }
.pf p { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }

/* ==========================================================================
   E-COMMERCE
   ========================================================================== */
.ecom { background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%); }
.ecom-flow {
  max-width: 1100px; margin: 0 auto 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.ef-step {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 12px;
  min-width: 130px;
}
.ef-ico {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--primary);
  box-shadow: var(--shadow);
  transition: all .3s;
}
.ef-step:hover .ef-ico { background: var(--grad); color: #fff; transform: translateY(-4px); }
.ef-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.ef-arrow { flex: 1; min-width: 40px; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); position: relative; }
.ef-arrow::after { content: ''; position: absolute; right: 0; top: -4px; border-left: 8px solid var(--primary); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

.ecom-devices {
  max-width: 1440px; margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 32px;
  align-items: center;
}

.shop-body { background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.shop-nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.sn-logo { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; }
.sn-links { display: flex; gap: 18px; font-size: 12px; color: var(--ink-2); font-weight: 500; }
.sn-icons { display: flex; gap: 14px; color: var(--ink-2); font-size: 13px; }
.shop-hero { display: grid; grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; background: linear-gradient(135deg, #F7FAFF, #EEF3FB); }
.sh-eyebrow { font-size: 10px; color: var(--primary); letter-spacing: 0.15em; font-weight: 700; margin-bottom: 6px; }
.sh-text h3 { font-size: 30px; font-family: 'Poppins', sans-serif; margin-bottom: 10px; line-height: 1; }
.sh-btn { padding: 8px 16px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.sh-visual { border-radius: 12px; background: linear-gradient(135deg, #E9D5FF, #93C5FD); position: relative; overflow: hidden; }
.sh-visual-inner { position: absolute; inset: 20% 15%; background: linear-gradient(135deg,#fff,transparent); border-radius: 8px; opacity: 0.4; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px; }
.sg-item { }
.sg-img { aspect-ratio: 1; border-radius: 10px; margin-bottom: 6px; }
.sg-name { font-size: 11.5px; font-weight: 600; }
.sg-price { font-size: 11px; color: var(--ink-3); }

/* Phone */
.phone {
  width: 240px;
  aspect-ratio: 240 / 500;
  background: #111;
  border-radius: 36px;
  padding: 8px;
  border: 2px solid #222;
  box-shadow: 0 30px 60px rgba(11, 26, 47, 0.25);
  position: relative;
  margin: 0 auto;
}
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 100px; height: 22px; background: #111; border-radius: 999px; z-index: 3; }
.phone-screen { background: #fff; border-radius: 28px; height: 100%; overflow: hidden; position: relative; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px 4px; font-size: 11px; font-weight: 600; }
.ph-icons { display: flex; gap: 4px; align-items: center; font-size: 10px; }
.ph-body { padding: 16px; }
.ph-hero { aspect-ratio: 1; border-radius: 16px; background: linear-gradient(135deg, #BAE6FD, #7DD3FC); margin-bottom: 12px; }
.ph-name { font-size: 16px; font-weight: 700; font-family: 'Poppins', sans-serif; }
.ph-price { font-size: 20px; color: var(--primary); font-family: 'Poppins', sans-serif; font-weight: 800; margin-bottom: 12px; }
.ph-sizes { display: flex; gap: 6px; margin-bottom: 14px; }
.ph-sizes span { flex: 1; padding: 6px 0; text-align: center; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; font-weight: 600; color: var(--ink-2); }
.ph-sizes span.active { border-color: var(--primary); background: rgba(11,94,215,0.08); color: var(--primary); }
.ph-cta { width: 100%; padding: 10px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.ph-track { display: flex; align-items: center; margin-bottom: 6px; padding: 0 4px; }
.ph-track-dot { width: 10px; height: 10px; border-radius: 50%; background: #E5E7EB; flex-shrink: 0; }
.ph-track-dot.done { background: var(--primary); }
.ph-track-dot.active { background: var(--primary); box-shadow: 0 0 0 4px rgba(11,94,215,0.2); animation: pulse2 1.6s ease-in-out infinite; }
@keyframes pulse2 { 50% { box-shadow: 0 0 0 8px rgba(11,94,215,0.1); } }
.ph-track-line { flex: 1; height: 2px; background: #E5E7EB; }
.ph-track-line.done { background: var(--primary); }
.ph-track-labels { display: flex; justify-content: space-between; font-size: 8.5px; color: var(--ink-3); font-weight: 600; }

/* Tablet */
.tablet {
  aspect-ratio: 4 / 3;
  background: #111;
  border-radius: 24px;
  padding: 12px;
  border: 3px solid #1a1a1a;
  box-shadow: 0 30px 60px rgba(11, 26, 47, 0.25);
}
.tablet-screen { height: 100%; background: #fff; border-radius: 14px; overflow: hidden; }
.tb-body { padding: 20px; height: 100%; display: flex; flex-direction: column; }
.tb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tb-back { width: 32px; height: 32px; border-radius: 10px; background: #F5F7FB; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.tb-title { font-size: 16px; font-weight: 700; font-family: 'Poppins', sans-serif; }
.tb-step { font-size: 11px; color: var(--ink-3); }
.tb-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.tb-row.grand { border-bottom: none; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 15px; font-weight: 700; font-family: 'Poppins', sans-serif; }
.tb-pay { margin-top: auto; }
.tb-card {
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0B5ED7, #7A5FFF);
  color: #fff;
  padding: 14px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.tb-card::after { content: ''; position: absolute; top: -20%; right: -10%; width: 60%; height: 140%; background: rgba(255,255,255,0.08); border-radius: 50%; }
.tb-card-chip { width: 28px; height: 20px; background: linear-gradient(135deg, #FFD700, #B8860B); border-radius: 4px; }
.tb-card-num { font-family: 'Manrope', sans-serif; letter-spacing: 0.14em; font-size: 13px; margin-top: 20px; font-weight: 600; }
.tb-card-name { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; opacity: 0.85; }
.tb-cta { width: 100%; padding: 12px; background: var(--grad); color: #fff; border-radius: 12px; font-size: 13px; font-weight: 700; }

/* ==========================================================================
   AI SECTION (DARK)
   ========================================================================== */
.ai-section {
  background: linear-gradient(180deg, #081B35 0%, #0d2547 100%);
  color: #fff;
  overflow: hidden;
  padding: 140px 5vw;
}
#particles { position: absolute; inset: 0; pointer-events: none; }
.neural { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.6; }
.neural path { animation: dash 8s linear infinite; stroke-dasharray: 6 6; }
@keyframes dash { to { stroke-dashoffset: -100; } }
.ai-inner { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; }
.ai-section .section-sub { color: rgba(255,255,255,0.65); }

.ai-dashboard { position: relative; }
.ai-window {
  background: rgba(13, 37, 71, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 194, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 640px;
}
.ai-side { padding: 24px 16px; background: rgba(0,0,0,0.15); border-right: 1px solid rgba(255,255,255,0.06); }
.ai-side-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 24px; color: #fff; }
.ai-side-logo em { color: var(--accent); font-style: normal; font-weight: 700; }
.ai-glow-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.ai-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  margin-bottom: 2px;
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: all .2s;
}
.ai-item i { width: 14px; }
.ai-item.active { background: linear-gradient(135deg, rgba(0,194,255,0.15), rgba(122,95,255,0.15)); color: #fff; border: 1px solid rgba(0,194,255,0.25); }
.ai-item:hover { color: #fff; }

.ai-main { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.ai-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.ai-h-title { font-size: 18px; font-weight: 700; font-family: 'Poppins', sans-serif; }
.tag-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; background: rgba(0,194,255,0.15); border: 1px solid rgba(0,194,255,0.3); border-radius: 999px; font-size: 11px; color: var(--accent); margin-left: 8px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: livedot 1.4s ease-in-out infinite; }
@keyframes livedot { 50% { opacity: 0.4; } }
.ai-h-sub { font-size: 12px; color: rgba(255,255,255,0.5); }
.ai-ask { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(0,194,255,0.25); border-radius: 12px; min-width: 380px; }
.ai-ask i { color: var(--accent); }
.ai-ask input { flex: 1; background: none; border: none; outline: none; color: #fff; font: inherit; font-size: 13px; }
.ai-ask input::placeholder { color: rgba(255,255,255,0.4); }

.ai-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ai-kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.ai-kpi::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(0,194,255,0.15), transparent 50%);
}
.ai-kpi.warn::before { background: radial-gradient(circle at 100% 0%, rgba(245,158,11,0.2), transparent 50%); }
.aik-label { font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.aik-val { font-size: 22px; font-weight: 800; font-family: 'Poppins', sans-serif; margin: 6px 0 10px; }
.aik-val .up { font-size: 11px; padding: 3px 8px; background: rgba(34,197,94,0.2); border-radius: 999px; color: #4ADE80; margin-left: 6px; font-weight: 700; }
.aik-val .warn-tag { font-size: 11px; padding: 3px 8px; background: rgba(245,158,11,0.2); border-radius: 999px; color: #FBBF24; margin-left: 6px; font-weight: 700; }
.ai-kpi svg { width: 100%; height: 32px; position: relative; }
.mini-bars { display: flex; align-items: end; gap: 4px; height: 32px; }
.mini-bars span { flex: 1; background: linear-gradient(180deg, var(--accent), var(--purple)); border-radius: 2px; }
.warn-list { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: rgba(255,255,255,0.6); }
.warn-list span::before { content: '•'; color: #FBBF24; margin-right: 6px; }

.ai-charts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 12px;
}
.ai-chart {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.ai-chart.big { grid-column: span 2; grid-row: span 2; }
.ai-chart.wide { grid-column: span 2; }
.ac-head { display: flex; justify-content: space-between; align-items: start; }
.ac-title { font-size: 13px; font-weight: 700; font-family: 'Poppins', sans-serif; }
.ac-sub { font-size: 10.5px; color: rgba(255,255,255,0.5); }
.ac-legend { display: flex; align-items: center; gap: 10px; font-size: 11px; color: rgba(255,255,255,0.7); }
.ll { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 6px; }
.ll.blue { background: var(--accent); }
.ll.cyan { background: var(--purple); }
.ai-svg { width: 100%; flex: 1; min-height: 0; }
.up-badge { font-size: 11px; padding: 4px 10px; background: rgba(34,197,94,0.18); color: #4ADE80; border-radius: 999px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.bars { display: flex; align-items: end; gap: 6px; height: 100%; padding: 6px 0 0; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--accent), var(--purple)); border-radius: 4px 4px 2px 2px; min-height: 8px; }
.gauge svg { width: 100%; height: auto; }
.heat { display: grid; grid-template-columns: repeat(24, 1fr); grid-template-rows: repeat(7, 1fr); gap: 2px; flex: 1; min-height: 100px; }
.heat span { border-radius: 2px; }
.inv-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.inv-list li { display: grid; grid-template-columns: 100px 1fr 40px; align-items: center; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.75); }
.inv-list b { font-weight: 700; color: #fff; text-align: right; }
.ib { height: 6px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.ib span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--purple)); border-radius: 999px; }
.ib.warn span { background: linear-gradient(90deg, #FBBF24, #F59E0B); }
.ib.danger span { background: linear-gradient(90deg, #FCA5A5, #EF4444); }

/* ---------- AI Panel v2 (Reco + Email) ---------- */
.ai-window-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  padding: 24px;
  gap: 24px;
}
.ai-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.ai-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at 0% 0%, rgba(0,194,255,0.10), transparent 50%);
  pointer-events: none;
}
.ai-panel:last-child::before {
  background: radial-gradient(600px circle at 100% 0%, rgba(122,95,255,0.12), transparent 50%);
}
.aip-head {
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
  z-index: 1;
}
.aip-title-wrap { display: flex; align-items: center; gap: 12px; }
.aip-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00C2FF, #0B5ED7);
  color: #fff;
  font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 194, 255, 0.3);
}
.aip-ico.ai-ico-2 { background: linear-gradient(135deg, #7A5FFF, #5B5BD6); box-shadow: 0 8px 20px rgba(122, 95, 255, 0.3); }
.aip-title { font-size: 16px; font-weight: 700; font-family: 'Poppins', sans-serif; color: #fff; }
.aip-sub { font-size: 12px; color: rgba(255,255,255,0.55); }
.tag-draft {
  font-size: 11px; padding: 4px 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

/* Confidence gauge */
.reco-confidence {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(0,194,255,0.08), rgba(122,95,255,0.06));
  border: 1px solid rgba(0,194,255,0.15);
  border-radius: 14px;
  position: relative;
  z-index: 1;
}
.rc-label { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.rc-val {
  font-size: 40px; font-weight: 800; font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #7cd6ff, #7A5FFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  margin: 4px 0 6px;
}
.rc-val span { font-size: 20px; }
.rc-note { font-size: 11px; color: #4ADE80; font-weight: 600; }
.rc-note i { margin-right: 4px; }
.rc-bar {
  display: flex; align-items: end; gap: 3px;
  width: 120px; height: 60px;
}
.rc-bar span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), var(--purple));
  border-radius: 3px 3px 1px 1px;
  min-height: 6px;
  animation: barpulse 2.4s ease-in-out infinite;
}
.rc-bar span:nth-child(2) { animation-delay: -0.3s; }
.rc-bar span:nth-child(3) { animation-delay: -0.6s; }
.rc-bar span:nth-child(4) { animation-delay: -0.9s; }
.rc-bar span:nth-child(5) { animation-delay: -1.2s; }
.rc-bar span:nth-child(6) { animation-delay: -1.5s; }
.rc-bar span:nth-child(7) { animation-delay: -1.8s; }
.rc-bar span:nth-child(8) { animation-delay: -2.1s; }
@keyframes barpulse { 50% { opacity: 0.55; } }

/* Reco tabs */
.reco-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.rt {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  cursor: pointer;
}
.rt.active {
  background: linear-gradient(135deg, rgba(0,194,255,0.2), rgba(122,95,255,0.2));
  border-color: rgba(0,194,255,0.3);
  color: #fff;
}

/* Reco cards */
.reco-cards {
  display: flex; flex-direction: column; gap: 10px;
  position: relative; z-index: 1;
  flex: 1;
}
.rec-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all .25s;
}
.rec-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(0,194,255,0.25);
  transform: translateX(3px);
}
.rec-thumb { width: 44px; height: 44px; border-radius: 10px; }
.rec-name { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.rec-meta { display: flex; align-items: center; gap: 6px; }
.rec-tag {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.rec-tag.reco { background: rgba(0,194,255,0.18); color: #7cd6ff; }
.rec-tag.fbt { background: rgba(122,95,255,0.2); color: #B4A5FF; }
.rec-tag.cross { background: rgba(245,158,11,0.2); color: #FBBF24; }
.rec-tag.up { background: rgba(236,72,153,0.2); color: #F0A5C7; }
.rec-conf { font-size: 10px; color: rgba(255,255,255,0.5); }
.rec-price { font-size: 14px; font-weight: 700; font-family: 'Poppins', sans-serif; color: #fff; }

/* Email form */
.email-form {
  display: flex; flex-direction: column; gap: 12px;
  position: relative; z-index: 1;
}
.ef-field label {
  font-size: 10.5px; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.ef-input, .ef-select {
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}
.ef-select {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
}
.ef-select i { color: var(--accent); }
.ef-select .chev { margin-left: auto; color: rgba(255,255,255,0.4); font-size: 11px; }
.ef-launch {
  display: flex; gap: 8px; margin-top: 4px;
}
.el-btn {
  flex: 1;
  padding: 12px 16px;
  background: linear-gradient(135deg, #00C2FF, #7A5FFF);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 10px 24px rgba(0,194,255,0.3);
  transition: transform .2s;
  cursor: pointer;
}
.el-btn:hover { transform: translateY(-2px); }
.el-secondary {
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Email status */
.email-status, .email-perf {
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  position: relative; z-index: 1;
}
.es-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-bottom: 12px;
}
.es-steps {
  display: flex; align-items: center;
}
.es-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.es-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: transparent;
  transition: all .3s;
}
.es-step.done .es-dot { background: linear-gradient(135deg,#00C2FF,#0B5ED7); border-color: transparent; color: #fff; }
.es-step.active .es-dot {
  background: linear-gradient(135deg,#7A5FFF,#00C2FF);
  border-color: transparent;
  animation: sending 1.2s ease-in-out infinite;
}
@keyframes sending {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,194,255,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(0,194,255,0); }
}
.es-lb { font-size: 10px; color: rgba(255,255,255,0.6); font-weight: 600; text-align: center; }
.es-step.done .es-lb, .es-step.active .es-lb { color: #fff; }
.es-line { flex: 1; height: 2px; background: rgba(255,255,255,0.1); margin: -14px 4px 0; border-radius: 2px; }
.es-line.done { background: linear-gradient(90deg, #00C2FF, #0B5ED7); }

/* Email perf */
.ep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ep {
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}
.ep-num {
  font-size: 20px;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  line-height: 1;
}
.ep-num em { font-size: 14px; font-style: normal; opacity: 0.7; margin-left: 1px; }
.ep-lb { font-size: 10px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-top: 4px; }

@media (max-width: 1000px) {
  .ai-window-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RECO
   ========================================================================== */
.reco { background: #fff; }
.reco-flow {
  max-width: 1100px; margin: 0 auto 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.rf { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 120px; }
.rf-num {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-weight: 800; font-family: 'Poppins', sans-serif;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(11, 94, 215, 0.25);
}
.rf-t { font-size: 12.5px; font-weight: 600; color: var(--ink); text-align: center; }
.rf-line { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }

.reco-showcase {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
}
.reco-left { display: grid; gap: 16px; }
.reco-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.rp-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-family: 'Poppins', sans-serif; margin-bottom: 14px; font-size: 14px; }
.rp-head i { color: var(--primary); }
.rp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rp-item { border: 1px solid var(--line); border-radius: 14px; padding: 12px; transition: all .3s; }
.rp-item:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.rp-img { aspect-ratio: 4/3; border-radius: 10px; margin-bottom: 8px; }
.rp-name { font-size: 12.5px; font-weight: 600; }
.rp-price { font-size: 12px; color: var(--primary); font-weight: 700; margin-bottom: 6px; }
.rp-tag { font-size: 10px; padding: 3px 8px; background: rgba(11, 94, 215, 0.08); color: var(--primary); border-radius: 999px; font-weight: 700; display: inline-block; }
.rp-bundle { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rpb-item { text-align: center; font-size: 11px; font-weight: 600; }
.rpb-img { width: 60px; height: 60px; border-radius: 12px; margin-bottom: 4px; }
.plus { font-size: 20px; color: var(--ink-3); font-weight: 300; }
.rpb-cta { margin-left: auto; text-align: right; }
.rpb-cta div { font-size: 12px; color: var(--ink-3); }
.rpb-cta b { color: var(--ink); font-size: 15px; font-family: 'Poppins', sans-serif; }
.rpb-cta em { color: #16A34A; font-style: normal; font-size: 11px; margin-left: 6px; font-weight: 700; }
.rpb-cta button { margin-top: 6px; padding: 8px 16px; background: var(--grad); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 600; }
.rp-list { display: flex; flex-direction: column; gap: 12px; }
.rl { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); }
.rl-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); flex-shrink: 0; }
.rl b { color: var(--ink); }

.reco-right { text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; }
.reco-lines { width: 100%; max-width: 400px; height: auto; }
.reco-lines path { stroke-dasharray: 4 4; animation: dash 4s linear infinite; }
.reco-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.rs { padding: 20px; background: linear-gradient(135deg, rgba(11,94,215,0.04), rgba(122,95,255,0.04)); border: 1px solid var(--line); border-radius: 16px; }
.rs-num { font-size: 28px; font-weight: 800; font-family: 'Poppins', sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs-t { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

/* ==========================================================================
   CAMPAIGN
   ========================================================================== */
.campaign { background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%); }
.campaign-mock { max-width: 1300px; margin: 0 auto; }
.app-window.inner.big { border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.camp-body { display: grid; grid-template-columns: 200px 1fr; min-height: 640px; }
.camp-side { padding: 20px 12px; background: #FAFBFE; border-right: 1px solid var(--line); }
.cs-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 13px; color: var(--ink-2); border-radius: 10px; font-weight: 500; margin-bottom: 2px; cursor: pointer; }
.cs-item i { width: 14px; color: var(--ink-3); }
.cs-item.active { background: rgba(11, 94, 215, 0.08); color: var(--primary); }
.cs-item.active i { color: var(--primary); }
.camp-main { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.camp-head { display: flex; justify-content: space-between; align-items: center; }
.cm-title { font-size: 20px; font-weight: 700; font-family: 'Poppins', sans-serif; }
.cm-sub { font-size: 13px; color: var(--ink-3); }
.cm-btn { padding: 10px 18px; background: var(--grad); color: #fff; border-radius: 999px; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-glow); }
.camp-grid { display: grid; grid-template-columns: 260px 1fr 300px; gap: 16px; }
.cg-channels { display: flex; flex-direction: column; gap: 8px; }
.ch { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 13px; }
.ch i { font-size: 18px; }
.ch b { display: block; font-size: 13px; font-weight: 700; }
.ch span { font-size: 11px; color: var(--ink-3); }
.ch-tag { margin-left: auto; font-size: 10px; padding: 3px 8px; background: #F5F7FB; border-radius: 999px; color: var(--ink-3); font-weight: 700; }
.ch-tag.on { background: rgba(34,197,94,0.12); color: #16A34A; }

.cg-perf { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.cg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cg-title { font-size: 13px; font-weight: 700; font-family: 'Poppins', sans-serif; }
.cg-roi { font-size: 12px; color: var(--ink-3); }
.cg-roi b { color: var(--primary); font-family: 'Poppins', sans-serif; font-size: 16px; margin-left: 4px; }
.cg-perf svg { width: 100%; height: 120px; }
.cg-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cg-metrics > div { text-align: center; padding: 6px; background: #FAFBFE; border-radius: 8px; }
.cg-metrics span { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.cg-metrics b { display: block; font-size: 14px; font-weight: 700; font-family: 'Poppins', sans-serif; margin-top: 2px; }

.cg-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.cg-tag { font-size: 11px; padding: 3px 8px; background: rgba(11, 94, 215, 0.08); color: var(--primary); border-radius: 999px; font-weight: 700; }
.cl-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.cl-row:first-of-type { border-top: none; }
.cl-av { width: 36px; height: 36px; border-radius: 12px; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.cl-row b { font-size: 12.5px; }
.cl-row span:not(.cl-badge) { font-size: 11px; color: var(--ink-3); }
.cl-badge { margin-left: auto; font-size: 10px; padding: 3px 8px; background: rgba(122,95,255,0.12); color: var(--purple); border-radius: 999px; font-weight: 700; }
.cl-badge.platinum { background: linear-gradient(135deg, #F59E0B, #EC4899); color: #fff; }

.camp-journey { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.jr { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.jr-node {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(11,94,215,0.06), rgba(122,95,255,0.06));
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.jr-node i { color: var(--primary); }
.jr-arrow { width: 20px; height: 2px; background: var(--primary); position: relative; }
.jr-arrow::after { content: ''; position: absolute; right: 0; top: -3px; border-left: 6px solid var(--primary); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }

/* ==========================================================================
   UNIFIED DASHBOARD (MACBOOK)
   ========================================================================== */
.unified { background: #fff; overflow: hidden; }
.uni-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.ut {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s;
}
.ut:hover { border-color: var(--primary); color: var(--primary); }
.ut.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--shadow-glow); }

.macbook-wrap { max-width: 1200px; margin: 0 auto; perspective: 1600px; }
.macbook { transform-style: preserve-3d; }
.mb-lid {
  background: #1a1a1a;
  border-radius: 22px 22px 6px 6px;
  padding: 20px;
  border: 3px solid #262626;
  box-shadow: 0 50px 100px rgba(11, 26, 47, 0.25);
  position: relative;
  aspect-ratio: 16 / 10;
}
.mb-camera { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; background: #444; border-radius: 50%; }
.mb-screen { background: #fff; border-radius: 8px; height: 100%; overflow: hidden; position: relative; }
.mb-base {
  margin: 0 -4%;
  height: 20px;
  background: linear-gradient(180deg, #d5d8de, #a8adb6);
  border-radius: 0 0 24px 24px;
  position: relative;
}
.mb-base::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 140px; height: 8px;
  background: #7b8090;
  border-radius: 0 0 10px 10px;
}
.mb-notch {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 12%; height: 4px;
  background: #666;
  border-radius: 0 0 6px 6px;
}
.uni-panel {
  position: absolute; inset: 0;
  padding: 24px;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: all .5s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.uni-panel.active { opacity: 1; transform: none; pointer-events: auto; }
.up-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.up-head b { font-size: 22px; font-family: 'Poppins', sans-serif; font-weight: 700; }
.up-head span { font-size: 13px; color: var(--ink-3); }

.up-body-pos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; height: calc(100% - 60px); }
.up-pos-cat {
  border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, transparent 0 22%, var(--line) 22% 22.5%),
    repeating-linear-gradient(0deg, transparent 0 32%, var(--line) 32% 32.5%),
    linear-gradient(135deg, #F7FAFF, #EEF3FB);
  position: relative;
}
.up-pos-cat::after {
  content: '';
  position: absolute; inset: 12px;
  background:
    linear-gradient(#DBEAFE, #93C5FD) 0 0/22% 32% no-repeat,
    linear-gradient(#FEF3C7, #FCD34D) 26% 0/22% 32% no-repeat,
    linear-gradient(#FCE7F3, #F9A8D4) 52% 0/22% 32% no-repeat,
    linear-gradient(#E0E7FF, #A5B4FC) 78% 0/22% 32% no-repeat,
    linear-gradient(#D1FAE5, #6EE7B7) 0 34%/22% 32% no-repeat,
    linear-gradient(#FEE2E2,#FCA5A5) 26% 34%/22% 32% no-repeat,
    linear-gradient(#EDE9FE, #C4B5FD) 52% 34%/22% 32% no-repeat,
    linear-gradient(#CFFAFE, #67E8F9) 78% 34%/22% 32% no-repeat;
  border-radius: 12px;
}
.up-pos-cart {
  border-radius: 14px;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(180deg, #FAFBFE, #F5F7FB) padding-box;
  border: 1px solid var(--line);
  position: relative;
}
.up-pos-cart::after {
  content: '';
  position: absolute; inset: 16px;
  background:
    linear-gradient(180deg, #EEF3FB 0 12%, transparent 12%),
    repeating-linear-gradient(180deg, transparent 0 44px, var(--line) 44px 45px);
  border-radius: 8px;
  opacity: 0.9;
}

.up-inv { display: flex; flex-direction: column; gap: 14px; }
.upi-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.upi-k { background: linear-gradient(135deg, #F7FAFF, #EEF3FB); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.upi-k span { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.upi-k b { display: block; font-size: 22px; font-family: 'Poppins', sans-serif; font-weight: 800; margin-top: 4px; }
.upi-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.upi-table .row { display: grid; grid-template-columns: 100px 1.5fr 1fr 60px 90px; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12.5px; align-items: center; }
.upi-table .row:first-child { border-top: none; background: #F5F7FB; font-weight: 600; color: var(--ink-3); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.pill { font-size: 10px; padding: 4px 10px; border-radius: 999px; font-weight: 700; text-align: center; }
.pill.ok { background: rgba(34,197,94,0.12); color: #16A34A; }
.pill.warn { background: rgba(245,158,11,0.14); color: #D97706; }

.up-ana, .up-camp, .up-cust, .up-rep {
  height: calc(100% - 60px);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #F7FAFF, #EEF3FB);
  position: relative;
  overflow: hidden;
}
.up-ana::before { content: ''; position: absolute; inset: 20px; background: radial-gradient(circle at 30% 40%, rgba(11,94,215,0.18), transparent 45%), radial-gradient(circle at 70% 60%, rgba(0,194,255,0.18), transparent 45%); border-radius: 8px; }
.up-camp::before { content: ''; position: absolute; inset: 20px; background: repeating-linear-gradient(90deg, rgba(122,95,255,0.15) 0 8%, transparent 8% 12%); border-radius: 8px; }
.up-cust::before {
  content: ''; position: absolute; inset: 20px;
  background:
    linear-gradient(180deg, #fff 0 15%, transparent 15%),
    repeating-linear-gradient(180deg, transparent 0 50px, var(--line) 50px 51px);
}
.up-rep::before { content: ''; position: absolute; inset: 20px;
  background:
    repeating-linear-gradient(0deg, transparent 0 20%, rgba(11,94,215,0.12) 20% 22%),
    linear-gradient(#fff,#fff);
}

/* ==========================================================================
   MOBILE APP
   ========================================================================== */
.mobile { background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%); }
.mobile-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mobile-copy .eyebrow { margin-bottom: 20px; }
.mobile-copy .section-title { text-align: left; font-size: clamp(36px, 4vw, 56px); }
.mobile-copy .section-sub { text-align: left; margin: 20px 0 32px; }
.mobile-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 36px; }
.mobile-features > div { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; font-weight: 600; }
.mobile-features i { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, rgba(11,94,215,0.1), rgba(0,194,255,0.14)); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.store-badges { display: flex; gap: 12px; }
.store-badge { display: flex; align-items: center; gap: 10px; padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 14px; transition: transform .25s; }
.store-badge:hover { transform: translateY(-3px); }
.store-badge i { font-size: 24px; }
.store-badge span { font-size: 10px; display: block; opacity: 0.7; }
.store-badge b { font-size: 15px; font-family: 'Poppins', sans-serif; }

.mobile-visual { position: relative; height: 620px; }
.phone-lg { width: 260px; position: absolute; }
.phone-tilt-a { left: 20%; top: 5%; transform: rotate(-8deg); animation: floatY 7s ease-in-out infinite; }
.phone-tilt-b { right: 5%; top: 20%; transform: rotate(8deg); animation: floatY 7s ease-in-out infinite -3.5s; }
.ph-app { padding: 20px 16px; background: linear-gradient(180deg, #F7FAFF, #fff); height: calc(100% - 40px); }
.ph-app.dark { background: linear-gradient(180deg, #081B35, #0d2547); color: #fff; }
.phap-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.phap-hello { font-size: 11px; opacity: 0.6; }
.phap-name { font-size: 18px; font-weight: 700; font-family: 'Poppins', sans-serif; }
.phap-avatar { width: 36px; height: 36px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.phap-avatar.ai { background: linear-gradient(135deg, #00C2FF, #7A5FFF); font-size: 14px; }
.phap-card { background: var(--grad); color: #fff; border-radius: 16px; padding: 14px; margin-bottom: 12px; box-shadow: 0 12px 30px rgba(11,94,215,0.35); }
.phap-label { font-size: 11px; opacity: 0.85; }
.phap-val { font-size: 24px; font-weight: 800; font-family: 'Poppins', sans-serif; margin: 4px 0 6px; }
.phap-card svg { width: 100%; height: 40px; }
.phap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.pg { text-align: center; padding: 10px 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.pg i { font-size: 14px; color: var(--primary); margin-bottom: 4px; display: block; }
.pg span { font-size: 10px; font-weight: 600; }
.phap-orders { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.pho-title { font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.pho-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 11.5px; border-top: 1px solid var(--line); }
.pho-row:first-of-type { border-top: none; }
.pho-row b { font-weight: 700; color: var(--primary); }

.phai-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.phai-tag { font-size: 9px; padding: 3px 8px; background: rgba(0,194,255,0.15); color: var(--accent); border-radius: 999px; font-weight: 700; letter-spacing: 0.05em; display: inline-block; margin-bottom: 6px; }
.phai-tag.warn { background: rgba(245,158,11,0.15); color: #FBBF24; }
.phai-tag.ok { background: rgba(34,197,94,0.15); color: #4ADE80; }
.phai-title { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.phai-sub { font-size: 11px; opacity: 0.65; }

/* ==========================================================================
   WORKFLOW TIMELINE
   ========================================================================== */
.workflow { background: #fff; }
.timeline { max-width: 1000px; margin: 0 auto; position: relative; padding: 20px 0; }
.tl-track {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--primary) 10%, var(--purple) 90%, transparent);
}
.tl-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
}
.tl-item:nth-child(even) { direction: rtl; }
.tl-item:nth-child(even) .tl-card { direction: ltr; }
.tl-item:nth-child(even) .tl-dot { direction: ltr; }
.tl-dot {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(11,94,215,0.3);
  position: relative;
  z-index: 2;
  border: 4px solid #fff;
}
.tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  direction: ltr;
}
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tl-card h4 { font-size: 18px; margin-bottom: 6px; }
.tl-card p { font-size: 14px; color: var(--ink-3); }
.tl-item:nth-child(even) .tl-card { grid-column: 3; }
.tl-item:nth-child(odd) .tl-card { grid-column: 1; text-align: right; }
.tl-item .tl-dot { grid-column: 2; }

/* ==========================================================================
   BENEFITS
   ========================================================================== */
.benefits { background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%); }
.bene-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bene {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: all .3s;
  transform-style: preserve-3d;
}
.bene:hover { box-shadow: var(--shadow); }
.bene-ic {
  width: 52px; height: 52px; border-radius: 15px;
  color: #fff; font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.2);
}
.bene h4 { font-size: 17px; margin-bottom: 6px; }
.bene p { font-size: 13.5px; color: var(--ink-3); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { background: #fff; }
.testi-swiper { max-width: 1300px; margin: 0 auto; padding-bottom: 60px !important; }
.testi-swiper .swiper-wrapper { padding: 20px 0; }
.testi-swiper .swiper-slide { height: auto; }
.testi {
  height: 100%;
  padding: 32px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  display: flex; flex-direction: column;
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-stars { color: #FFB800; letter-spacing: 3px; font-size: 13px; margin-bottom: 16px; }
.testi p { font-size: 16px; color: var(--ink); line-height: 1.55; margin-bottom: 24px; flex: 1; font-family: 'Manrope', sans-serif; font-weight: 500; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.tp-av { width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.testi-person b { display: block; font-size: 14px; }
.testi-person span { font-size: 12px; color: var(--ink-3); }
.swiper-pagination-bullet { background: var(--primary) !important; }
.swiper-pagination-bullet-active { width: 28px !important; border-radius: 999px !important; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 24px;
  transition: all .3s;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(11,94,215,0.2); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform .3s; color: var(--primary); font-size: 14px; width: 32px; height: 32px; background: var(--bg-tint); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-body { padding: 0 0 20px; font-size: 14.5px; color: var(--ink-3); line-height: 1.6; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, #081B35 0%, #0B5ED7 50%, #7A5FFF 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding: 140px 5vw;
}
.fc-glow {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,194,255,0.4), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.8; } }
.fc-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.fc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.fc-title { font-size: clamp(40px, 5vw, 72px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; color: #fff; }
.fc-sub { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,0.75); max-width: 620px; margin: 0 auto 40px; }
.fc-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.fc-meta { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.75); }
.fc-meta i { color: #4ADE80; margin-right: 6px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 80px 5vw 40px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1440px; margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.fb-links { display: flex; gap: 20px; }
.fb-links a { color: var(--ink-3); transition: color .2s; cursor: pointer; }
.fb-links a:hover { color: var(--primary); }
.foot-brand p { color: var(--ink-3); font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.foot-socials { display: flex; gap: 10px; }
.foot-socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(11, 94, 215, 0.06);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s;
  cursor: pointer;
}
.foot-socials a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.foot-col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; color: var(--ink); }
.foot-col a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-3); transition: color .2s; cursor: pointer; }
.foot-col a:hover { color: var(--primary); }

/* Contact column with icon rows */
.foot-contact .fc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 13.5px;
  line-height: 1.5;
}
.foot-contact .fc-item i {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(11, 94, 215, 0.06);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all .25s;
}
.foot-contact .fc-item:hover i {
  background: var(--grad);
  color: #fff;
  transform: translateY(-2px);
}
.foot-contact .fc-item span { padding-top: 6px; }

/* Australia-based badge */
.au-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.05), rgba(122, 95, 255, 0.05));
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.au-flag {
  display: inline-flex;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  line-height: 0;
}
.footer-bottom {
  max-width: 1440px; margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 13px; color: var(--ink-3);
  flex-wrap: wrap;
}

/* ==========================================================================
   REQUEST DEMO MODAL
   ========================================================================== */
.demo-modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s cubic-bezier(.2,.7,.2,1), visibility .35s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.demo-modal.open { opacity: 1; visibility: visible; }
/* Lock background scroll while modal is open */
html.modal-open, html.modal-open body { overflow: hidden !important; height: 100vh; }
html.modal-open .lenis { overflow: hidden !important; }
.dm-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 27, 53, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.dm-shell {
  position: relative;
  width: min(720px, 100%);
  margin: auto;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 28px;
  box-shadow:
    0 30px 80px rgba(11, 26, 47, 0.35),
    0 0 0 1px rgba(255,255,255,0.5) inset;
  padding: 40px;
  transform: scale(0.94) translateY(20px);
  transition: transform .4s cubic-bezier(.2,.9,.25,1.15);
}
.demo-modal.open .dm-shell { transform: scale(1) translateY(0); }
.dm-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.dm-blob-1 { width: 260px; height: 260px; background: radial-gradient(circle, #0B5ED7, transparent 60%); top: -100px; left: -100px; }
.dm-blob-2 { width: 260px; height: 260px; background: radial-gradient(circle, #7A5FFF, transparent 60%); bottom: -100px; right: -100px; }

.dm-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
  z-index: 2;
}
.dm-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }

.dm-view { position: relative; z-index: 1; }
.dm-head { text-align: center; margin-bottom: 28px; }
.dm-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  background: rgba(11, 94, 215, 0.08);
  color: var(--primary);
  border: 1px solid rgba(11, 94, 215, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.dm-head h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.dm-head p {
  font-size: 14px;
  color: var(--ink-3);
  max-width: 460px;
  margin: 0 auto;
}

.dm-form { display: flex; flex-direction: column; gap: 16px; }
.dm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dm-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.dm-field label em { color: #EF4444; font-style: normal; margin-left: 2px; }
.dm-field label .opt { color: var(--ink-3); font-weight: 500; font-style: italic; margin-left: 4px; }
.dm-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  transition: all .2s;
}
.dm-input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.1); background: #fff; }
.dm-input-wrap.error { border-color: #EF4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1); }
.dm-input-wrap > i:first-child { color: var(--ink-3); font-size: 14px; margin-right: 10px; }
.dm-input-wrap:focus-within > i:first-child { color: var(--primary); }
.dm-input-wrap input, .dm-input-wrap select {
  flex: 1;
  padding: 12px 0;
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
}
.dm-input-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 20px; }
.dm-input-wrap .chev { color: var(--ink-3); font-size: 11px; pointer-events: none; margin-left: 6px; }
.dm-field.full textarea {
  width: 100%;
  padding: 14px;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  outline: none;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  resize: vertical;
  min-height: 80px;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.dm-field.full textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.1); background: #fff; }
.dm-err {
  font-size: 12px;
  color: #EF4444;
  margin-top: 4px;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s;
}
.dm-err.show { max-height: 30px; margin-top: 6px; }
.dm-err::before { content: '⚠ '; }

.dm-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 10px;
  padding-top: 4px;
}
.dm-cancel {
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(11, 26, 47, 0.04);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.dm-cancel:hover { background: rgba(11, 26, 47, 0.08); }
.dm-submit {
  position: relative;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 24px rgba(11, 94, 215, 0.35);
  transition: all .25s;
  min-width: 180px;
  justify-content: center;
}
.dm-submit:hover:not(.loading) { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 94, 215, 0.45); }
.dm-submit.loading { pointer-events: none; opacity: 0.9; }
.dm-submit.loading .dm-submit-text { opacity: 0; }
.dm-submit.loading .dm-spinner { opacity: 1; }
.dm-submit.loading i { opacity: 0; }
.dm-spinner {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: dmspin 0.8s linear infinite;
}
@keyframes dmspin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.dm-meta {
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
}
.dm-meta i { color: #16A34A; margin-right: 4px; }

/* Success view */
.dm-view-success { display: none; text-align: center; padding: 20px 0; }
.demo-modal.success .dm-view-form { display: none; }
.demo-modal.success .dm-view-success { display: block; }
.dm-success-ico {
  width: 100px; height: 100px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,194,255,0.1), rgba(122,95,255,0.1));
  border: 1px solid rgba(11, 94, 215, 0.15);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.dm-circle {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: dmDraw 0.7s ease-out forwards;
}
.dm-check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: dmDraw 0.5s ease-out 0.5s forwards;
}
@keyframes dmDraw { to { stroke-dashoffset: 0; } }
.dm-view-success h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.dm-view-success p {
  font-size: 15px;
  color: var(--ink-3);
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.dm-done {
  padding: 12px 32px;
  background: var(--grad);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 94, 215, 0.35);
  transition: transform .2s;
}
.dm-done:hover { transform: translateY(-2px); }

/* Channel hero card in campaign section */
.ch.ch-hero {
  background: linear-gradient(135deg, rgba(11,94,215,0.08), rgba(0,194,255,0.08));
  border-color: rgba(11, 94, 215, 0.25);
  box-shadow: 0 8px 24px rgba(11, 94, 215, 0.08);
}
.ch.ch-hero i { font-size: 20px; }

@media (max-width: 640px) {
  .dm-shell { padding: 28px 20px; border-radius: 22px; }
  .dm-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RESPONSIVE — TABLET & MOBILE
   ========================================================================== */

/* ---------- TABLET (≤ 1200px) ---------- */
@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { min-height: 500px; max-width: 640px; margin: 0 auto; width: 100%; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: none; }
  .why-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .pos-features { grid-template-columns: repeat(3, 1fr); }
  .ecom-devices { grid-template-columns: 1fr; gap: 60px; }
  .ecom-devices > * { max-width: 700px; margin: 0 auto; width: 100%; }
  .ai-window-2 { grid-template-columns: 1fr; }
  .reco-showcase { grid-template-columns: 1fr; }
  .camp-grid { grid-template-columns: 1fr; }
  .camp-body { grid-template-columns: 1fr; }
  .camp-side { display: none; }
  .bene-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .macbook-wrap { max-width: 90vw; }
}

/* ---------- SMALL TABLET / LARGE PHONE (≤ 900px) ---------- */
@media (max-width: 900px) {
  section { padding: 72px 5vw; }
  .section-head { margin-bottom: 40px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .pos-body { grid-template-columns: 1fr; }
  .pos-features { grid-template-columns: repeat(2, 1fr); }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 24px; gap: 12px; }
  .stat { border-right: none; padding: 14px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-last-child(-n+1) { border-right: none; }
  .bene-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .foot-brand { grid-column: 1 / -1; }
  .marquee-track span { font-size: 15px; }
  .strip-inner { grid-template-columns: 1fr; text-align: center; }
  .ecom-flow { flex-direction: column; }
  .ef-step { min-width: 0; width: 100%; flex-direction: row; justify-content: flex-start; padding: 10px; }
  .ef-arrow { width: 2px; height: 20px; background: linear-gradient(180deg, transparent, var(--primary), transparent); margin-left: 30px; }
  .ef-arrow::after { right: auto; left: -3px; top: auto; bottom: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid var(--primary); border-bottom: none; }
  .reco-flow { flex-direction: column; gap: 0; }
  .rf { flex-direction: row; min-width: 0; width: 100%; justify-content: flex-start; }
  .rf-line { width: 2px; height: 20px; margin-left: 22px; }
  .hero-title { font-size: clamp(38px, 8vw, 54px); }
  .hero-badge { font-size: 12px; padding: 6px 12px; }
  .hero { padding: 120px 5vw 60px; min-height: auto; }
  .hero-scroll { display: none; }
  .uni-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 4px 4px 12px; margin-left: -5vw; margin-right: -5vw; padding-left: 5vw; padding-right: 5vw; scrollbar-width: none; }
  .uni-tabs::-webkit-scrollbar { display: none; }
  .ut { flex-shrink: 0; padding: 8px 14px; font-size: 12px; }
  .fc-inner { padding: 0 10px; }
  .campaign-mock { overflow-x: hidden; }
  .app-window.inner.big { border-radius: 14px; }
}

/* ---------- PHONE (≤ 640px) ---------- */
@media (max-width: 640px) {
  html, body { overflow-x: hidden; }
  section { padding: 60px 20px; }
  .section-title { font-size: clamp(28px, 8vw, 36px); }
  .section-sub { font-size: 14px; }
  .eyebrow { font-size: 11px; padding: 6px 12px; margin-bottom: 16px; }
  .section-head { margin-bottom: 32px; }

  /* Nav */
  .nav { padding: 14px 20px; }
  .nav.scrolled { padding: 10px 20px; }
  .logo { font-size: 17px; }
  .logo-mark svg { width: 26px; height: 26px; }

  /* Hero */
  .hero { padding: 110px 20px 40px; }
  .hero-inner { gap: 30px; }
  .hero-title { font-size: 38px; line-height: 1.05; margin-bottom: 16px; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-badge { font-size: 11px; }
  .hero-ctas { gap: 8px; margin-bottom: 24px; }
  .hero-ctas .btn { flex: 1; justify-content: center; padding: 14px 18px; font-size: 14px; }
  .btn-lg { padding: 14px 20px; font-size: 14px; }
  .hero-trust { flex-wrap: wrap; gap: 12px; }
  .trust-text { font-size: 12px; }
  .ta { width: 34px; height: 34px; font-size: 12px; }
  .hero-right { min-height: 380px; max-width: 100%; }
  .blob-1, .blob-2, .blob-3 { width: 300px; height: 300px; filter: blur(60px); }
  /* Hide most floating cards on mobile — keep only a couple */
  .float-card { display: none; }
  .float-card.fc-5 { display: flex; top: 66%; left: 5%; right: 5%; min-width: 0; z-index: 6; }
  .float-card.fc-1 { display: flex; top: -2%; left: 0; }
  .fc-1, .fc-5 { transform: none !important; }
  .hero-dashboard { inset: 4% 0 4% 0; }
  .app-url { font-size: 9px; padding: 4px 8px; max-width: 55%; }
  .app-search input { width: 90px; }
  .app-h-title { font-size: 13px; }
  .kpi { padding: 8px; }
  .kpi-val { font-size: 13px; }
  .kpi-label { font-size: 9px; }
  .chart-row { grid-template-columns: 1fr; }

  /* Stats — single column */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; padding: 16px; }
  .stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 10px; }
  .stat:nth-child(even) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 11px; }

  /* Why */
  .why-card { padding: 24px; }
  .why-card h3 { font-size: 22px; }
  .why-card p { font-size: 14px; }

  /* POS */
  .pos-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pf { padding: 16px 14px; }
  .pf h4 { font-size: 13px; }
  .pf p { font-size: 11px; }
  .pf i { width: 34px; height: 34px; font-size: 13px; margin-bottom: 10px; }
  /* POS laptop mockup — hide the cart, catalog only */
  .pos-body { display: flex; flex-direction: column; }
  .pos-cart { display: none; }
  .pos-grid { grid-template-columns: repeat(3, 1fr); }
  .laptop-screen { padding: 8px; border-radius: 12px 12px 3px 3px; }
  .laptop-base { border-radius: 0 0 14px 14px; height: 10px; }

  /* Ecom devices */
  .shop-hero h3 { font-size: 22px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .ec-tablet { display: none; } /* tablet mockup too wide */
  .phone { width: 200px; }

  /* AI section */
  .ai-section { padding: 80px 20px; }
  .ai-window-2 { padding: 16px; gap: 16px; min-height: auto; }
  .ai-panel { padding: 18px 16px; gap: 14px; border-radius: 16px; }
  .aip-title { font-size: 14px; }
  .aip-sub { font-size: 11px; }
  .aip-ico { width: 36px; height: 36px; font-size: 15px; }
  .reco-confidence { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .rc-val { font-size: 34px; }
  .rc-bar { width: 100%; height: 40px; }
  .rec-card { grid-template-columns: 36px 1fr auto; padding: 8px 10px; }
  .rec-thumb { width: 36px; height: 36px; }
  .rec-name { font-size: 12px; }
  .rec-price { font-size: 13px; }
  .rt { font-size: 10px; padding: 5px 10px; }
  .reco-tabs { gap: 4px; }
  .ef-launch { flex-direction: column; }
  .el-btn, .el-secondary { width: 100%; }
  .es-steps { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .es-line { min-width: 20px; }
  .ep-grid { grid-template-columns: 1fr 1fr; }
  .ep { padding: 10px; }
  .ep-num { font-size: 17px; }

  /* Reco section */
  .rp-grid { grid-template-columns: 1fr; }
  .rp-bundle { flex-direction: column; align-items: stretch; }
  .plus { text-align: center; }
  .rpb-cta { margin-left: 0; text-align: center; }
  .reco-stats { grid-template-columns: 1fr; }
  .reco-lines { max-width: 260px; }

  /* Campaign */
  .cg-channels { gap: 6px; }
  .ch { padding: 10px 12px; font-size: 12px; }
  .ch i { font-size: 16px; }
  .ch b { font-size: 12px; }
  .ch span { font-size: 10px; }
  .cm-title { font-size: 17px; }
  .cm-sub { font-size: 11px; }
  .camp-main { padding: 16px; gap: 14px; }
  .camp-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cm-btn { padding: 8px 14px; font-size: 12px; }
  .jr { flex-direction: column; align-items: stretch; }
  .jr-node { width: 100%; justify-content: flex-start; }
  .jr-arrow { width: 2px; height: 14px; margin: 0 auto; }
  .jr-arrow::after { right: auto; left: -3px; top: auto; bottom: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid var(--primary); border-bottom: none; }

  /* Unified dashboard — simplify macbook look */
  .mb-lid { padding: 10px; border-radius: 14px 14px 3px 3px; }
  .mb-base { height: 12px; border-radius: 0 0 16px 16px; }
  .up-head b { font-size: 15px; }
  .up-head span { font-size: 10px; }
  .uni-panel { padding: 12px; }
  .upi-kpis { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .upi-k { padding: 10px; }
  .upi-k b { font-size: 15px; }
  .upi-k span { font-size: 9px; }
  .upi-table .row { grid-template-columns: 60px 1fr 40px 50px; gap: 6px; font-size: 10.5px; padding: 8px 10px; }
  .upi-table .row span:nth-child(3) { display: none; } /* hide warehouse col */

  /* Benefits */
  .bene-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bene { padding: 20px 16px; }
  .bene-ic { width: 42px; height: 42px; font-size: 16px; margin-bottom: 12px; }
  .bene h4 { font-size: 14px; }
  .bene p { font-size: 12px; }

  /* Testimonials */
  .testi { padding: 24px 20px; }
  .testi p { font-size: 14px; }

  /* FAQ */
  .faq-item { padding: 4px 18px; }
  .faq-item summary { font-size: 14px; padding: 16px 0; }
  .faq-body { font-size: 13.5px; }

  /* Final CTA */
  .final-cta { padding: 80px 20px; }
  .fc-title { font-size: clamp(30px, 8vw, 44px); }
  .fc-sub { font-size: 15px; margin-bottom: 28px; }
  .fc-ctas { gap: 8px; }
  .fc-ctas .btn { flex: 1; justify-content: center; }
  .fc-meta { gap: 12px; font-size: 12px; flex-direction: column; }

  /* Footer */
  .footer { padding: 60px 20px 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; margin-bottom: 40px; }
  .foot-brand { grid-column: auto; }
  .foot-brand p { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12px; }

  /* Modal — full width mobile */
  .demo-modal { padding: 16px; }
  .dm-shell { padding: 24px 18px; border-radius: 20px; }
  .dm-head h3 { font-size: 22px; }
  .dm-head p { font-size: 13px; }
  .dm-badge { font-size: 11px; padding: 5px 12px; }
  .dm-close { top: 14px; right: 14px; width: 34px; height: 34px; }
  .dm-row { grid-template-columns: 1fr; gap: 12px; }
  .dm-input-wrap input, .dm-input-wrap select { font-size: 15px; padding: 11px 0; } /* 15px+ avoids iOS auto-zoom */
  .dm-field.full textarea { font-size: 15px; }
  .dm-actions { flex-direction: column-reverse; }
  .dm-actions button { width: 100%; }
  .dm-cancel, .dm-submit { padding: 13px 20px; }

  /* Custom cursor off on touch anyway, but ensure hidden */
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- VERY SMALL (≤ 380px) ---------- */
@media (max-width: 380px) {
  section { padding: 50px 16px; }
  .hero { padding: 100px 16px 30px; }
  .hero-title { font-size: 32px; }
  .pos-features { grid-template-columns: 1fr; }
  .bene-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .stat:last-child:nth-child(odd) { grid-column: auto; }
  .pos-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .btn { font-size: 13px; padding: 10px 16px; }
  .btn-lg { padding: 12px 18px; font-size: 13px; }
}

/* ---------- MOBILE NAV MENU (burger open state) ---------- */
.nav-mobile-open .nav-menu {
  display: flex !important;
  position: fixed;
  top: 68px; left: 20px; right: 20px;
  flex-direction: column;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px;
  gap: 2px;
  box-shadow: 0 20px 50px rgba(11, 26, 47, 0.15);
  z-index: 99;
  animation: mmSlide .3s cubic-bezier(.2,.7,.2,1);
}
.nav-mobile-open .nav-cta {
  display: flex !important;
  position: fixed;
  top: auto;
  bottom: auto;
  left: 20px; right: 20px;
  z-index: 99;
  margin-top: 10px;
}
@keyframes mmSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
.nav-mobile-open .nav-menu .nav-link { padding: 12px 14px; font-size: 15px; border-radius: 12px; }
.nav-mobile-open .nav-menu .nav-link:hover { background: var(--bg-tint); }
.nav-mobile-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav-mobile-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
