/* ============================================================
   ngageX — Design System v3
   Apple-inspired · Full Light Mode · Fira Sans
   Color journey: white → tinted → brand blue
   Pure CSS — No Frameworks
   ============================================================ */

/* ============================================================
   1. TOKENS
============================================================ */
:root {
  /* Brand */
  --blue:          #4AB6E7;
  --blue-dark:     #2896CC;
  --blue-deeper:   #1678AA;
  --blue-05:  rgba(74,182,231,0.05);
  --blue-08:  rgba(74,182,231,0.08);
  --blue-12:  rgba(74,182,231,0.12);
  --blue-20:  rgba(74,182,231,0.20);
  --blue-30:  rgba(74,182,231,0.30);
  --blue-50:  rgba(74,182,231,0.50);

  /* Color journey — section backgrounds */
  --bg-s1:  #FFFFFF;        /* Nav, Hero */
  --bg-s2:  #F7FBFE;        /* Social proof */
  --bg-s3:  #EEF7FC;        /* Problem */
  --bg-s4:  #E2F2FA;        /* Solution */
  --bg-s5:  #D2EBF7;        /* Features */
  --bg-s6:  #BEE1F4;        /* Product experience */
  --bg-s7:  #A8D6F0;        /* Use cases */
  --bg-s8:  #8ECBEC;        /* Results */
  --bg-s9:  #4AB6E7;        /* Final CTA — full brand color */
  --bg-footer: #FFFFFF;     /* Footer — back to white */

  /* Text */
  --ink:         #1A1A2E;
  --ink-2:       #2D3748;
  --ink-muted:   #5A7080;
  --ink-faint:   #8FA3B2;
  --ink-on-blue: #0D3A52;   /* dark text on blue bg */

  /* Surfaces */
  --card:         rgba(255,255,255,0.75);
  --card-border:  rgba(255,255,255,0.9);
  --divider:      rgba(0,0,0,0.07);

  /* Gradients */
  --grad-btn:   linear-gradient(135deg, #4AB6E7 0%, #2896CC 100%);
  --grad-text:  linear-gradient(135deg, #1678AA 0%, #4AB6E7 55%, #2896CC 100%);

  /* Type */
  --ff:  'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --s1:  0.25rem;
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 36px;
  --r-full: 9999px;

  /* Shadows — subtle for white bg */
  --sh-xs: 0 1px 4px rgba(26,26,46,0.06);
  --sh-sm: 0 2px 12px rgba(26,26,46,0.08), 0 1px 3px rgba(26,26,46,0.05);
  --sh-md: 0 8px 32px rgba(26,26,46,0.10), 0 2px 8px rgba(26,26,46,0.05);
  --sh-lg: 0 20px 60px rgba(26,26,46,0.12), 0 6px 20px rgba(26,26,46,0.07);

  --tr: 220ms ease;
  --tr-fast: 140ms ease;

  --max-w: 1160px;
  --nav-h: 64px;
}

/* ============================================================
   2. RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-s1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   3. LAYOUT
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s6);
}
@media (max-width: 480px) { .container { padding-inline: var(--s5); } }

/* ============================================================
   4. TYPOGRAPHY COMPONENTS
============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-08);
  border: 1px solid var(--blue-20);
  border-radius: var(--r-full);
  padding: 0.25rem 0.9rem;
  margin-bottom: var(--s5);
}
.eyebrow--white {
  color: #fff;
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}

.h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: var(--s5);
}
.h2--white { color: #fff; }

.lead {
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  color: var(--ink-muted);
  max-width: 58ch;
  line-height: 1.75;
  margin-bottom: var(--s10);
}
.lead--white { color: rgba(255,255,255,0.75); }
.lead--center { margin-inline: auto; }

.grad-text {
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 50%, var(--blue) 50%, var(--blue) 100%);
  background-size: 200% auto;
  background-position: 0% center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: grad-reveal 3s cubic-bezier(0.4, 0, 0.2, 1) 0.6s 1 forwards;
}
@keyframes grad-reveal {
  0%   { background-position: 0% center; }
  100% { background-position: -100% center; }
}

/* ============================================================
   5. BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--ff); font-weight: 700; font-size: 0.9375rem;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap; text-decoration: none;
}
.btn--primary {
  background: var(--grad-btn);
  color: #fff;
  border: 1.5px solid transparent;
  box-shadow: 0 4px 18px var(--blue-30);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--blue-50); }
.btn--primary:active { transform: none; }

.btn--outline {
  background: #fff;
  color: var(--ink-2);
  border: 1.5px solid var(--divider);
  box-shadow: var(--sh-xs);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--sh-sm); }

.btn--white {
  background: #fff;
  color: var(--blue-deeper);
  border: 1.5px solid rgba(255,255,255,0.5);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

.btn--ghost-white {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn--ghost-white:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }

.btn--sm  { font-size: 0.8125rem; padding: 0.38rem 0.9rem; }
.btn--md  { padding: 0.65rem 1.4rem; }
.btn--lg  { font-size: 0.9375rem; padding: 0.75rem 1.6rem; }
.btn--xl  { font-size: 1rem; padding: 0.9rem 2.1rem; border-radius: var(--r-lg); }
.btn--full { width: 100%; }

.play-icon {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.18);
  border-radius: var(--r-full); flex-shrink: 0;
}

/* ============================================================
   6. NAVIGATION — pure white
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; height: var(--nav-h);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
  transition: background var(--tr), box-shadow var(--tr);
}
.nav.scrolled { background: rgba(255,255,255,0.97); box-shadow: var(--sh-sm); }

/* 3-column layout: logo | links (center) | actions */
.nav__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s4);
}

/* Logo — left column */
.nav__logo {
  display: flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* Links — center column, truly centered */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s6);
  justify-self: center;
}
.nav__links a { font-size: 0.875rem; font-weight: 400; color: var(--ink-muted); transition: color var(--tr-fast); }
.nav__links a:hover { color: var(--ink); }

/* Actions — right column, aligned to the right */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s3);
  justify-self: end;
  flex-shrink: 0;
}
.nav__login { font-size: 0.875rem; font-weight: 400; color: var(--ink-muted); transition: color var(--tr-fast); }
.nav__login:hover { color: var(--blue-dark); }

/* Burger */
.nav__burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; padding: 8px;
  margin-left: auto; flex-shrink: 0; border-radius: var(--r-sm);
}
.nav__burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: all var(--tr); transform-origin: center; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #fff; padding: var(--s5) var(--s5) var(--s10);
  z-index: 199; flex-direction: column;
  border-top: 1px solid var(--divider);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.nav__mobile.open { display: flex; }
.nav__mobile nav { display: flex; flex-direction: column; }
.mobile-link {
  display: block; font-size: 1.125rem; font-weight: 700;
  color: var(--ink-muted); padding: var(--s4) 0;
  border-bottom: 1px solid var(--divider);
  transition: color var(--tr-fast);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--blue-dark); }
.nav__mobile .btn--full { margin-top: var(--s6); padding: 1rem; font-size: 1rem; border-radius: var(--r-lg); }

@media (max-width: 900px) {
  .nav__inner {
    grid-template-columns: 1fr auto;
  }
  .nav__links  { display: none; }
  .nav__actions { display: none; }
  .nav__burger  { display: flex; justify-self: end; }
}

/* ============================================================
   7. HERO — white bg, large type, visual centered
============================================================ */
.hero {
  background: var(--bg-s1);
  padding-top: calc(var(--nav-h) + var(--s16));
  padding-bottom: var(--s20);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle radial tint at center top */
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(74,182,231,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 0.78rem; font-weight: 700;
  color: var(--blue-dark);
  background: var(--blue-08);
  border: 1px solid var(--blue-20);
  border-radius: var(--r-full);
  padding: var(--s1) var(--s4);
  margin-bottom: var(--s6);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: var(--r-full); background: var(--blue);
  animation: pulse 2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.35; transform:scale(.6); } }

.hero__headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: var(--s6);
  max-width: 18ch; margin-inline: auto;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ink-muted); line-height: 1.75;
  max-width: 52ch; margin: 0 auto var(--s8);
}

.hero__ctas {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: var(--s3); margin-bottom: var(--s12);
}

.hero__trust {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s4); font-size: 0.78rem; color: var(--ink-faint);
}
.hero__avatars { display: flex; align-items: center; }
.avatar {
  width: 28px; height: 28px; border-radius: var(--r-full);
  background: var(--grad-btn); border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem; font-weight: 700; color: #fff;
  margin-right: -7px; flex-shrink: 0;
}

/* Hero visual — the dashboard card */
.hero__visual {
  margin-top: var(--s12);
  position: relative;
  max-width: 860px;
  margin-inline: auto;
}

.hero__mockup {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(255,255,255,0.8);
  overflow: hidden;
}

.mockup-bar {
  display: flex; align-items: center; gap: var(--s2);
  padding: var(--s3) var(--s5);
  background: #F5F5F7;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mockup-dot { width: 10px; height: 10px; border-radius: var(--r-full); }
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }
.mockup-addr {
  flex: 1; text-align: center;
  font-size: 0.72rem; color: #8A8A8E;
  background: rgba(0,0,0,0.05);
  border-radius: var(--r-full);
  padding: 3px var(--s5);
  max-width: 260px; margin-inline: auto;
}

.mockup-body {
  padding: var(--s6);
  min-height: 360px;
  display: flex; flex-direction: column; gap: var(--s4);
  background: linear-gradient(160deg, #F9FCFF 0%, #EFF8FD 100%);
}

.mockup-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s3); }
.mstat {
  background: #fff; border-radius: var(--r-md);
  border: 1px solid rgba(0,0,0,0.06);
  padding: var(--s4); display: flex; flex-direction: column; gap: var(--s1);
  box-shadow: var(--sh-xs);
}
.mstat__label { font-size: 0.65rem; color: var(--ink-faint); font-weight: 400; }
.mstat__value { font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.mstat__value.up { color: var(--blue-dark); }
.mstat__change { font-size: 0.68rem; font-weight: 700; color: #0FB86A; }

.mockup-chart-row {
  display: flex; align-items: flex-end; gap: 6px;
  height: 80px; padding: var(--s2) 0;
}
.mbar {
  flex: 1; height: var(--h);
  background: var(--blue-08);
  border-radius: 4px 4px 0 0;
  transition: background var(--tr-fast);
}
.mbar--hi { background: var(--grad-btn); box-shadow: 0 0 10px var(--blue-30); }

.mockup-content {
  flex: 1;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(0,0,0,0.06);
  padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s3);
  box-shadow: var(--sh-xs);
}
.mcontent-row { display: flex; align-items: center; gap: var(--s4); }
.mcontent-thumb {
  width: 52px; height: 38px; flex-shrink: 0;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--blue-12), var(--blue-05));
}
.mcontent-lines { flex: 1; display: flex; flex-direction: column; gap: var(--s2); }
.mcl { height: 6px; background: #F0F0F5; border-radius: 3px; }
.mcl--w80 { width: 80%; }
.mcl--w55 { width: 55%; }
.mcontent-badge {
  font-size: 0.62rem; font-weight: 700;
  padding: 2px 8px; border-radius: var(--r-full);
  background: var(--blue-08); color: var(--blue-dark);
  border: 1px solid var(--blue-20); flex-shrink: 0;
}

/* Floating cards on hero mockup */
.hero-float {
  position: absolute;
  display: flex; align-items: center; gap: var(--s3);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s4);
  box-shadow: var(--sh-md);
  z-index: 2;
}
.hero-float--1 { bottom: 40px; left: -30px; animation: bob 5s ease-in-out infinite; }
.hero-float--2 { top: 50px; right: -24px; animation: bob 6s ease-in-out infinite 1.5s; }
@keyframes bob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
.hf-icon { font-size: 1.1rem; flex-shrink: 0; }
.hf-text { display: flex; flex-direction: column; }
.hf-text strong { font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.hf-text span   { font-size: 0.7rem; color: var(--ink-faint); }

/* Hero responsive */
@media (max-width: 860px) {
  .hero { padding-top: calc(var(--nav-h) + var(--s12)); padding-bottom: var(--s16); }
  .hero-float { display: none; }
  .mockup-body { min-height: 280px; }
  .mockup-stats { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + var(--s10)); }
  .hero__headline { font-size: 2.2rem; letter-spacing: -0.03em; }
  .hero__ctas { flex-direction: column; width: 100%; max-width: 300px; margin-inline: auto; }
  .hero__ctas .btn { width: 100%; justify-content: center; padding: 0.9rem; font-size: 1rem; }
  .hero__visual { margin-top: var(--s8); }
  .mockup-stats { grid-template-columns: repeat(3,1fr); gap: var(--s2); }
  .mstat { padding: var(--s3) var(--s2); }
  .mstat__value { font-size: 0.9375rem; }
  .mockup-body { padding: var(--s4); min-height: 240px; }
}

/* ============================================================
   8. SOCIAL PROOF — very light tint
============================================================ */
.social-proof {
  background: var(--bg-s2);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.sp-label { text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: var(--s6); }
.sp-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s5) var(--s10); margin-bottom: var(--s8); }
.sp-logo { font-family: var(--ff); font-size: 1.0625rem; font-weight: 700; color: #C0CDD6; letter-spacing: -0.02em; transition: color var(--tr); cursor: default; user-select: none; }
.sp-logo:hover { color: var(--ink-faint); }
.sp-quote { max-width: 540px; margin: 0 auto; text-align: center; border-top: 1px solid rgba(0,0,0,0.07); padding-top: var(--s8); }
.sp-quote p { font-size: 0.9375rem; font-style: italic; color: var(--ink-muted); line-height: 1.75; margin-bottom: var(--s3); }
.sp-quote footer { font-size: 0.8rem; color: var(--ink-faint); font-weight: 700; }
@media (max-width: 480px) { .sp-logos { gap: var(--s4) var(--s6); } }

/* ============================================================
   9. PROBLEM — light tint growing
============================================================ */
.problem { padding: var(--s20) 0; background: var(--bg-s3); }
.problem .container { text-align: center; }
.problem .lead { margin-inline: auto; }

.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); margin-top: var(--s10); text-align: left; }

.problem-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--sh-sm);
  transition: all var(--tr);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); background: rgba(255,255,255,0.95); }
.problem-icon { font-size: 1.7rem; margin-bottom: var(--s4); }
.problem-card h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: var(--s2); }
.problem-card p  { font-size: 0.9125rem; color: var(--ink-muted); line-height: 1.65; }

@media (max-width: 840px) { .problem-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ============================================================
   10. SOLUTION — medium tint
============================================================ */
.solution { padding: var(--s20) 0; background: var(--bg-s4); }
.solution__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); align-items: center; }

.solution-pillars { display: flex; flex-direction: column; gap: var(--s5); margin-bottom: var(--s8); }
.solution-pillars li { display: flex; gap: var(--s4); }
.pillar-dot { color: var(--blue); font-size: 0.8rem; flex-shrink: 0; margin-top: 5px; }
.solution-pillars strong { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.solution-pillars p { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.65; }

.solution-mockup {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.sm-topbar {
  display: flex; align-items: center; gap: var(--s2);
  padding: var(--s3) var(--s4); background: #F5F5F7;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.smdot { width: 9px; height: 9px; border-radius: var(--r-full); }
.smdot-r { background: #FF5F57; } .smdot-y { background: #FEBC2E; } .smdot-g { background: #28C840; }
.sm-url { flex: 1; text-align: center; font-size: 0.68rem; color: #8A8A8E; background: rgba(0,0,0,0.05); border-radius: var(--r-full); padding: 2px var(--s4); }
.sm-body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.sm-ph {
  background: linear-gradient(160deg, #F9FCFF 0%, #EFF8FD 100%);
  border: 1px dashed var(--blue-20);
  border-radius: var(--r-md);
  padding: var(--s5); min-height: 80px;
  display: flex; flex-direction: column; align-items: center; gap: var(--s2);
}
.sm-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s2); }
.sm-card { background: #F9FCFF; border: 1px solid rgba(0,0,0,0.06); border-radius: var(--r-md); overflow: hidden; }
.sm-thumb { height: 50px; background: linear-gradient(135deg, var(--blue-12), var(--blue-05)); }
.sm-lines { padding: var(--s2); display: flex; flex-direction: column; gap: 5px; }
.smline { height: 5px; background: #E8EEF2; border-radius: 3px; }
.smline-s { width: 62%; }

/* Shimmer */
.ph-row {
  height: 7px;
  background: linear-gradient(90deg, var(--blue-05) 0%, var(--blue-12) 50%, var(--blue-05) 100%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: shimmer 2.2s infinite;
}
.ph-w100 { width: 100%; }
.ph-w70  { width: 70%; }
.ph-w45  { width: 45%; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.ph-label { font-size: 0.62rem; color: var(--blue-dark); opacity: 0.55; font-style: italic; text-align: center; }

@media (max-width: 840px) { .solution__inner { grid-template-columns: 1fr; } .solution__visual { order: -1; } }

/* ============================================================
   11. FEATURES — alternating text + image rows
============================================================ */
.features { padding: var(--s20) 0; background: var(--bg-s5); }

.features-intro {
  text-align: center;
  margin-bottom: var(--s16);
}
.features-intro .lead { margin-inline: auto; }

/* Each feature row */
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: center;
  padding: var(--s12) 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.feat-row:first-of-type { border-top: none; }

/* image RIGHT: content col-1, visual col-2 */
.feat-row--img-right .feat-row__content { order: 1; }
.feat-row--img-right .feat-row__visual   { order: 2; }

/* image LEFT: visual col-1, content col-2 */
.feat-row--img-left .feat-row__visual   { order: 1; }
.feat-row--img-left .feat-row__content  { order: 2; }

/* Content side */
.feat-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--blue-08);
  border: 1px solid var(--blue-20);
  border-radius: var(--r-md);
  color: var(--blue-dark);
  margin-bottom: var(--s5);
}
.feat-row__content h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--s4);
}
.feat-row__content p {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: var(--s6);
}
.feat-row__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.feat-row__bullets li {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  padding-left: var(--s5);
  position: relative;
  line-height: 1.5;
}
.feat-row__bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.8rem;
  top: 2px;
}

/* Visual side — layered device frames */
.device-wrap {
  position: relative;
  padding-bottom: 52px;
  padding-left: 36px;
  padding-right: 36px;
}
.feat-row--img-left .device-wrap {
  padding-left: 36px;
  padding-right: 36px;
}

/* ── LAPTOP — 16:9, clean light ── */
.laptop {
  background: #E2E8ED;
  border-radius: 10px 10px 0 0;
  padding: 7px 7px 0;
  box-shadow: var(--sh-lg);
  position: relative;
  transition: transform var(--tr), box-shadow var(--tr);
}
.device-wrap:hover .laptop {
  transform: translateY(-5px);
  box-shadow: 0 32px 72px rgba(13,27,42,0.12), 0 8px 24px rgba(13,27,42,0.07);
}
.laptop__cam {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #C4CDD4;
  margin: 0 auto 4px;
}
.laptop__screen {
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(160deg, #F9FCFF 0%, #EEF7FC 100%);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  padding: var(--s5);
}
.laptop__base {
  height: 9px;
  background: #D4DCE2;
  border-radius: 0 0 2px 2px;
  margin: 0 -7px;
  position: relative;
}
.laptop__base::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 26%; height: 100%;
  background: #C4CDD4;
  border-radius: 0 0 2px 2px;
}
.laptop__foot {
  height: 3px;
  background: #C4CDD4;
  border-radius: 0 0 5px 5px;
  margin: 0 14px;
}

/* ── PHONE — bottom-LEFT, iPhone 17 ratio (9:19.5) ── */
.phone {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20%;
  background: #E2E8ED;
  border-radius: 14px;
  padding: 6px 4px;
  box-shadow: var(--sh-lg);
  z-index: 2;
}
.phone__notch {
  width: 24px; height: 3px;
  background: #C4CDD4;
  border-radius: 2px;
  margin: 0 auto 3px;
}
.phone__screen {
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #F0F8FF 0%, #E4F4FC 100%);
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--s2);
}
.phone__home {
  width: 18px; height: 2px;
  background: #C4CDD4;
  border-radius: 2px;
  margin: 3px auto 0;
}

/* ── TABLET — bottom-RIGHT, iPad ratio (3:4 portrait) ── */
.tablet {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36%;
  background: #E2E8ED;
  border-radius: 10px;
  padding: 6px 5px;
  box-shadow: var(--sh-lg);
  z-index: 2;
}
.tablet__cam {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #C4CDD4;
  margin: 0 auto 3px;
}
.tablet__screen {
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(160deg, #F0F8FF 0%, #E4F4FC 100%);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--s3);
}
.tablet__home {
  width: 16px; height: 2px;
  background: #C4CDD4;
  border-radius: 2px;
  margin: 3px auto 0;
}

/* Shared placeholder content inside screens */
.screen-ph {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.screen-ph .ph-row { margin: 0; }
.screen-ph-label {
  font-size: 0.58rem;
  color: var(--blue-dark);
  opacity: 0.5;
  font-style: italic;
  text-align: center;
  margin-top: 6px;
}

/* Mobile responsive */
@media (max-width: 840px) {
  .feat-row {
    grid-template-columns: 1fr;
    gap: var(--s8);
    padding: var(--s10) 0;
  }
  .feat-row--img-right .feat-row__content,
  .feat-row--img-left .feat-row__content  { order: 1; }
  .feat-row--img-right .feat-row__visual,
  .feat-row--img-left .feat-row__visual   { order: 2; }
  .feat-row__content h3 { font-size: 1.25rem; }
  .device-wrap { padding-bottom: 40px; padding-left: 22px; padding-right: 22px; }
  .phone  { width: 22%; }
  .tablet { width: 38%; }
}

/* ============================================================
   12. PRODUCT EXPERIENCE — stronger tint
============================================================ */
.product-experience { padding: var(--s20) 0; background: var(--bg-s6); }
.product-experience .container { text-align: center; }
.product-experience .lead { margin-inline: auto; }

.pe-wrap { position: relative; max-width: 840px; margin: 0 auto; }
.pe-screen {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.pe-bar {
  display: flex; align-items: center; gap: 5px;
  padding: var(--s3) var(--s5);
  background: #F5F5F7;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.pe-bar span { width: 9px; height: 9px; border-radius: var(--r-full); background: rgba(0,0,0,0.12); }
.pe-body {
  padding: var(--s8);
  min-height: 300px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--s4);
  background: linear-gradient(160deg, #F9FCFF 0%, #EEF8FD 100%);
}
.pe-body .ph-row { margin: 0 auto; }

.pe-float {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s5);
  box-shadow: var(--sh-md);
  min-width: 148px;
}
.pe-float--1 { bottom: 24px; left: -28px; animation: bob 6s ease-in-out infinite; }
.pe-float--2 { top: 48px; right: -28px; animation: bob 7s ease-in-out infinite 1s; }
.pe-float--3 { bottom: 70px; right: 16px; display: flex; align-items: center; gap: var(--s3); animation: bob 5.5s ease-in-out infinite 2s; }
.pef-lbl { font-size: 0.68rem; color: var(--ink-faint); font-weight: 400; margin-bottom: 2px; }
.pef-val { font-size: 1.2rem; font-weight: 700; color: var(--blue-dark); }
.pef-val-sm { font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.pef-icon { font-size: 1.2rem; }
.pef-bar { height: 3px; background: var(--blue-08); border-radius: 2px; margin-top: var(--s2); overflow: hidden; }
.pef-fill { height: 100%; background: var(--grad-btn); border-radius: 2px; }
.pef-spark svg { display: block; }

@media (max-width: 840px) { .pe-float { display: none; } }

/* ============================================================
   13. USE CASES — stronger tint
============================================================ */
.usecases { padding: var(--s20) 0; background: var(--bg-s7); }
.usecases .container { text-align: center; }
.uc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); margin-top: var(--s10); text-align: left; }
.uc-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
  backdrop-filter: blur(6px);
  transition: all var(--tr);
}
.uc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); background: rgba(255,255,255,0.95); }
.uc-card--feat {
  background: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.95);
  box-shadow: var(--sh-md);
  position: relative;
}
.uc-card--feat::after {
  content: 'Most Popular'; position: absolute;
  top: var(--s4); right: var(--s4);
  font-size: 0.62rem; font-weight: 700;
  color: var(--blue-dark);
  background: var(--blue-08); border: 1px solid var(--blue-20);
  border-radius: var(--r-full); padding: 2px 9px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.uc-icon { font-size: 1.75rem; margin-bottom: var(--s4); }
.uc-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--ink); margin-bottom: var(--s3); }
.uc-card > p { font-size: 0.9125rem; color: var(--ink-muted); line-height: 1.65; margin-bottom: var(--s5); }
.uc-card ul { display: flex; flex-direction: column; gap: var(--s2); }
.uc-card li { font-size: 0.875rem; color: var(--ink-muted); padding-left: var(--s5); position: relative; }
.uc-card li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-size: 0.8rem; }
@media (max-width: 840px) { .uc-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } .uc-card--feat::after { display: none; } }

/* ============================================================
   14. RESULTS — even stronger tint
============================================================ */
.results { padding: var(--s20) 0; background: var(--bg-s8); }
.results .container { text-align: center; }
.results-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s4); margin-top: var(--s10); margin-bottom: var(--s12); }
.result-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.92);
  border-radius: var(--r-xl);
  padding: 1.75rem var(--s5);
  box-shadow: var(--sh-sm);
  backdrop-filter: blur(6px);
  transition: all var(--tr);
}
.result-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); background: rgba(255,255,255,0.95); }
.result-num { font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 700; color: var(--blue-deeper); line-height: 1; margin-bottom: var(--s2); }
.result-sfx { font-size: 1.4rem; opacity: 0.65; }
.result-lbl { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.5; }
.results-quote { max-width: 620px; margin: 0 auto; }
.rq-card { background: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.95); border-radius: var(--r-xl); padding: var(--s8); box-shadow: var(--sh-sm); backdrop-filter: blur(8px); }
.rq-card p { font-size: 1rem; font-style: italic; color: var(--ink-muted); line-height: 1.75; margin-bottom: var(--s4); }
.rq-card footer { font-size: 0.8rem; color: var(--ink-faint); font-weight: 700; }
@media (max-width: 800px) { .results-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 400px) { .results-grid { gap: var(--s3); } }

/* ============================================================
   15. FINAL CTA — FULL brand color
============================================================ */
.cta-final {
  padding: var(--s24) 0;
  background: var(--blue);
  position: relative; overflow: hidden;
}
/* Subtle pattern on the blue */
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta-final::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final__inner { position: relative; z-index: 1; text-align: center; }
.cta-final__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.07;
  letter-spacing: -0.03em;
  color: #fff; margin-bottom: var(--s5);
}
.cta-final__sub {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  color: rgba(255,255,255,0.78);
  max-width: 52ch; margin: 0 auto var(--s10); line-height: 1.75;
}
.cta-final__actions {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: var(--s4); margin-bottom: var(--s6);
}
.cta-final__note { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
@media (max-width: 540px) {
  .cta-final { padding: var(--s16) 0; }
  .cta-final__actions { flex-direction: column; width: 100%; max-width: 300px; margin-inline: auto; margin-bottom: var(--s6); }
  .cta-final__actions .btn { width: 100%; justify-content: center; padding: 0.9rem; }
}

/* ============================================================
   16. FOOTER — back to white
============================================================ */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--divider);
  padding-top: 3.5rem;
}
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: var(--s8); padding-bottom: var(--s12); }
.footer__logo { display: inline-flex; }
.footer__logo-img { height: 24px; width: auto; display: block; opacity: 0.75; transition: opacity var(--tr-fast); }
.footer__logo:hover .footer__logo-img { opacity: 1; }
.footer__brand { display: flex; flex-direction: column; gap: var(--s4); }
.footer__brand p { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.65; max-width: 28ch; }
.footer__social { display: flex; gap: var(--s2); margin-top: var(--s1); }
.soc-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: var(--blue-05); border: 1px solid var(--divider);
  border-radius: var(--r-md); font-size: 0.8125rem;
  color: var(--ink-muted); font-weight: 700;
  transition: all var(--tr-fast);
}
.soc-link:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }
.footer__col h4 { font-size: 0.72rem; font-weight: 700; color: var(--ink); letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: var(--s4); }
.footer__col ul { display: flex; flex-direction: column; gap: var(--s3); }
.footer__col a { font-size: 0.875rem; color: var(--ink-muted); transition: color var(--tr-fast); }
.footer__col a:hover { color: var(--blue-dark); }
.footer__contact { display: flex; flex-direction: column; gap: var(--s4); }
.footer__contact h4 { font-size: 0.72rem; font-weight: 700; color: var(--ink); letter-spacing: 0.09em; text-transform: uppercase; }
.footer__contact > a:not(.btn) { font-size: 0.875rem; color: var(--blue-dark); transition: opacity var(--tr-fast); }
.footer__contact > a:not(.btn):hover { opacity: 0.7; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-block: var(--s5); border-top: 1px solid var(--divider); }
.footer__bottom p { font-size: 0.8rem; color: var(--ink-faint); }
.footer__legal { display: flex; gap: var(--s5); }
.footer__legal a { font-size: 0.8rem; color: var(--ink-faint); transition: color var(--tr-fast); }
.footer__legal a:hover { color: var(--ink-muted); }

@media (max-width: 960px) {
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; gap: var(--s6); }
  .footer__brand { grid-column: span 3; }
}
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .footer__brand { grid-column: span 2; }
  .footer__contact { grid-column: span 2; }
  .footer__bottom { flex-direction: column; gap: var(--s3); text-align: center; }
}

/* ============================================================
   17. SCROLL REVEAL
============================================================ */
/* Scroll reveal — starts hidden, JS adds .on to show */
[data-a] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-a].on { opacity: 1; transform: translateY(0); }
[data-a][data-d="1"] { transition-delay: 0.1s; }
[data-a][data-d="2"] { transition-delay: 0.2s; }
[data-a][data-d="3"] { transition-delay: 0.3s; }
[data-a][data-d="4"] { transition-delay: 0.4s; }

/* Fallback: if JS never runs, show everything after 1s */
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
[data-a] { animation: reveal-fallback 0s 1.5s forwards; }

/* ============================================================
   18. UTILS
============================================================ */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: var(--r-sm); }
::selection { background: var(--blue-12); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-s2); }
::-webkit-scrollbar-thumb { background: var(--blue-20); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
