/* ========================================================================
   Pebble Campus — Marketing Site
   Design system: deep-purple brand, soft lilac surfaces, amber accent
   ======================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --purple-900: #2b0a4a;
  --purple-800: #4c1d95;
  --purple-700: #5b21b6;
  --purple-600: #6d28d9;
  --purple-500: #7c3aed;
  --purple-400: #9d5cf5;
  --purple-300: #c4a4f7;
  --purple-100: #ede4fd;
  --purple-50:  #f7f3ff;

  --fuchsia:    #c026d3;
  --amber:      #f59e0b;
  --amber-600:  #d97706;
  --teal:       #10b6a8;

  /* Ink & surfaces */
  --ink:        #1b1230;
  --ink-2:      #4a4162;
  --ink-3:      #726a86;
  --line:       #ece7f5;
  --line-2:     #ded6ee;
  --surface:    #ffffff;
  --surface-2:  #faf8ff;
  --surface-3:  #f3eefc;

  /* Effects */
  --grad-brand: linear-gradient(120deg, #6d28d9 0%, #9333ea 55%, #c026d3 100%);
  --grad-deep:  linear-gradient(150deg, #3b0d6e 0%, #5b21b6 50%, #7c3aed 100%);
  --grad-soft:  linear-gradient(180deg, #faf8ff 0%, #f3eefc 100%);
  --shadow-sm:  0 1px 2px rgba(43, 10, 74, .06), 0 1px 3px rgba(43, 10, 74, .08);
  --shadow-md:  0 6px 18px rgba(76, 29, 149, .10), 0 2px 6px rgba(76, 29, 149, .07);
  --shadow-lg:  0 24px 60px rgba(76, 29, 149, .16), 0 8px 24px rgba(76, 29, 149, .10);
  --shadow-glow:0 20px 60px rgba(124, 58, 237, .35);

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

  --container: 1180px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--surface-2); }
.section--lilac { background: var(--grad-soft); }
.section--deep { background: var(--purple-900); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple-600);
  background: var(--purple-100);
  padding: 7px 14px; border-radius: 100px;
}
.section--deep .eyebrow { color: #e9d7ff; background: rgba(255,255,255,.10); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 18px 0 14px; }
.section-head p { color: var(--ink-2); font-size: 18px; }
.section--deep .section-head p { color: #d7c9f0; }

.lead { font-size: 19px; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 100px; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 70px rgba(124,58,237,.45); }
.btn--ghost { background: #fff; color: var(--purple-700); border: 1.5px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--purple-300); box-shadow: var(--shadow-md); }
.btn--light { background: #fff; color: var(--purple-700); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-light { background: rgba(255,255,255,.06); color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(43,10,74,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  position: relative; transition: color .2s;
}
.nav-links a:hover { color: var(--purple-700); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-brand); border-radius: 2px; transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: #fff;
  border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: .3s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(192,38,211,.14), transparent 60%),
    radial-gradient(50% 50% at 10% 30%, rgba(124,58,237,.12), transparent 60%),
    var(--surface);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font-size: 13px; font-weight: 700; color: var(--purple-700);
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
  padding: 7px 8px 7px 8px; border-radius: 100px;
}
.hero-badge b { background: var(--grad-brand); color: #fff; padding: 3px 10px; border-radius: 100px; font-size: 11px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); letter-spacing: -.03em; }
.hero h1 .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 24px 0 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-trust .stars { color: var(--amber); font-size: 16px; letter-spacing: 2px; }
.hero-trust small { color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
.hero-trust .divider { width: 1px; height: 26px; background: var(--line-2); }

/* Hero visual — dashboard mock */
.hero-visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative; z-index: 2;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.mock-bar i:nth-child(1){ background:#ff6058; } .mock-bar i:nth-child(2){ background:#ffbd2e; } .mock-bar i:nth-child(3){ background:#28c940; }
.mock-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.mock-body { padding: 18px; display: grid; grid-template-columns: 92px 1fr; gap: 16px; }
.mock-side { display: flex; flex-direction: column; gap: 9px; }
.mock-side i { height: 10px; border-radius: 5px; background: var(--surface-3); }
.mock-side i.on { background: var(--grad-brand); width: 80%; }
.mock-main { display: flex; flex-direction: column; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mock-kpi { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock-kpi b { font-size: 20px; color: var(--purple-700); display:block; }
.mock-kpi span { font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.mock-chart { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; height: 150px; display: flex; align-items: flex-end; gap: 9px; }
.mock-chart b { flex: 1; background: var(--grad-brand); border-radius: 6px 6px 3px 3px; opacity: .85; }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 13px 16px; display: flex; align-items: center; gap: 11px; z-index: 3;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.float-card b { font-size: 14px; display: block; }
.float-card small { font-size: 11.5px; color: var(--ink-3); }
.float-1 { top: 26px; left: -34px; animation: floaty 5s var(--ease) infinite; }
.float-2 { bottom: 34px; right: -28px; animation: floaty 6s var(--ease) infinite .5s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

/* Real screenshot inside hero browser frame */
.mock-shot { display: block; width: 100%; height: auto; }

/* ---------- Video / demo section ---------- */
.video-wrap {
  position: relative; max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); cursor: pointer;
  background: #2b0a4a;
}
.video-wrap img { display: block; width: 100%; height: auto; transition: transform .5s var(--ease); }
.video-wrap:hover img { transform: scale(1.03); }
.video-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,10,74,.05), rgba(43,10,74,.28)); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: 92px; height: 92px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.95); display: grid; place-items: center; color: var(--purple-700);
  box-shadow: 0 20px 50px rgba(43,10,74,.4); transition: transform .3s var(--ease), background .3s;
}
.play-btn svg { width: 34px; height: 34px; margin-left: 5px; }
.play-btn::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); animation: ping 2s var(--ease) infinite; }
.video-wrap:hover .play-btn { transform: translate(-50%,-50%) scale(1.08); background: #fff; }
.video-badge {
  position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(43,10,74,.6); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 700;
  padding: 8px 14px; border-radius: 100px;
}
.video-badge b { color: #f7d9ff; }

.video-modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,4,38,.86); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal video { width: min(1040px, 96vw); max-height: 86vh; border-radius: 16px; box-shadow: var(--shadow-lg); background: #000; }
.modal-close {
  position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.14); color: #fff; font-size: 26px; cursor: pointer; line-height: 1; transition: .2s;
}
.modal-close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }

/* ---------- Screenshot gallery ---------- */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.shot { margin: 0; }
.shot-frame {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-md); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.shot:hover .shot-frame { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; }
.shot-bar i:nth-child(1){ background:#ff6058; } .shot-bar i:nth-child(2){ background:#ffbd2e; } .shot-bar i:nth-child(3){ background:#28c940; }
.shot-bar span { margin-left: 10px; font-size: 11.5px; color: var(--ink-3); font-weight: 600; background: #fff; border: 1px solid var(--line); padding: 3px 12px; border-radius: 100px; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 16px 4px 0; }
.shot figcaption b { font-size: 16.5px; display: block; margin-bottom: 3px; }
.shot figcaption span { font-size: 14px; color: var(--ink-2); }

/* ---------- Logo / trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.trust-strip .container { padding-top: 30px; padding-bottom: 30px; }
.trust-strip p { text-align: center; color: var(--ink-3); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.trust-logos .pill {
  display: inline-flex; align-items: center; gap: 9px; color: var(--ink-2); font-weight: 700; font-size: 15px;
  opacity: .8;
}
.trust-logos .pill svg { width: 20px; height: 20px; color: var(--purple-500); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat b { font-size: clamp(30px, 4vw, 46px); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; letter-spacing: -.03em; }
.stat span { color: var(--ink-2); font-weight: 600; font-size: 15px; }

/* ---------- Feature grid (modules) ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* 8 cards in 3 columns: centre the two-card last row instead of leaving a gap */
.grid-3.grid--center { grid-template-columns: repeat(6, 1fr); }
.grid-3.grid--center > * { grid-column: span 2; }
.grid-3.grid--center > :nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
a.card { display: block; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--purple-300); }
.card .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--purple-100); color: var(--purple-700);
}
.card:hover .ic { background: var(--grad-brand); color: #fff; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 14.5px; }
.card .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.card .tags span { font-size: 12px; font-weight: 600; color: var(--purple-700); background: var(--purple-50); border: 1px solid var(--line-2); padding: 4px 10px; border-radius: 100px; }

/* Group cards: one module per line, "Explore group" tag pinned to the card foot */
a.card--group { display: flex; flex-direction: column; }
.card--group .tags { margin-top: auto; padding-top: 16px; }
.group-list { display: grid; gap: 8px; margin-top: 4px; }
.group-list li { position: relative; padding-left: 17px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.group-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple-400);
}
.card--group:hover .group-list li::before { background: var(--fuchsia); }

/* Compact module chip grid */
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chip {
  display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; transition: .25s var(--ease);
}
.chip:hover { border-color: var(--purple-300); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.chip .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--purple-100); color: var(--purple-700); display: grid; place-items: center; flex-shrink: 0; }
.chip .ic svg { width: 20px; height: 20px; }
.chip b { font-size: 14.5px; display: block; }
.chip small { font-size: 12px; color: var(--ink-3); }

/* ---------- Alternating feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row + .feature-row { margin-top: 90px; }
.feature-row.reverse .feature-media { order: 2; }
.feature-copy .eyebrow { margin-bottom: 18px; }
.feature-copy h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.feature-copy p { color: var(--ink-2); font-size: 16.5px; margin-bottom: 22px; }
.feature-list { display: grid; gap: 13px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.feature-list .tick { width: 24px; height: 24px; border-radius: 8px; background: var(--purple-100); color: var(--purple-700); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.feature-list .tick svg { width: 14px; height: 14px; }
.feature-media {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: var(--grad-soft); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: 26px; min-height: 320px; display: flex; align-items: center; justify-content: center;
}
.feature-media .panel { width: 100%; }

/* Panels used inside feature-media */
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 16px; }
.panel-card + .panel-card { margin-top: 12px; }
.row-line { display: flex; align-items: center; gap: 12px; }
.row-line .av { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.row-line .meta b { font-size: 13.5px; display: block; }
.row-line .meta small { font-size: 11.5px; color: var(--ink-3); }
.row-line .badge { margin-left: auto; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; }
.badge.green { background: #e6f8ee; color: #10864a; }
.badge.amber { background: #fef3d7; color: #b26a00; }
.badge.purple { background: var(--purple-100); color: var(--purple-700); }
.bar-track { height: 8px; background: var(--surface-3); border-radius: 8px; overflow: hidden; margin-top: 8px; }
.bar-fill { height: 100%; background: var(--grad-brand); border-radius: 8px; }

/* mini map for transport */
.map-mock { position: relative; height: 280px; width: 100%; border-radius: 16px; overflow: hidden;
  background:
    linear-gradient(0deg, rgba(124,58,237,.05), rgba(124,58,237,.05)),
    repeating-linear-gradient(90deg, #efeafb 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, #efeafb 0 1px, transparent 1px 46px),
    #fff;
  border: 1px solid var(--line);
}
.map-mock .road { position: absolute; background: #e4dbf7; border-radius: 20px; }
.map-mock .r1 { top: 60px; left: 0; right: 0; height: 16px; transform: rotate(-4deg); }
.map-mock .r2 { top: 20px; bottom: 20px; left: 120px; width: 15px; transform: rotate(6deg); }
.map-mock .pin { position: absolute; width: 34px; height: 34px; }
.map-mock .pin svg { filter: drop-shadow(0 6px 10px rgba(124,58,237,.4)); }
.map-mock .bus { position: absolute; top: 108px; left: 40%; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); border-radius: 100px; padding: 6px 12px 6px 6px; }
.map-mock .bus .d { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; }
.map-mock .bus b { font-size: 12px; } .map-mock .bus small { font-size: 10.5px; color: var(--ink-3); display: block; }
.pulse { position: absolute; top: 150px; left: 62%; width: 16px; height: 16px; }
.pulse::before { content:""; position: absolute; inset: 0; border-radius: 50%; background: var(--amber); }
.pulse::after { content:""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--amber); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0%{ transform: scale(.6); opacity: 1; } 100%{ transform: scale(1.6); opacity: 0; } }

/* ---------- Deployment cards ---------- */
.deploy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.deploy {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; background: #fff;
  position: relative; transition: .3s var(--ease);
}
.deploy:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.deploy.featured { background: var(--grad-deep); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.deploy .tag { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 700; background: var(--amber); color: #43290a; padding: 5px 12px; border-radius: 100px; }
.deploy .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: var(--purple-100); color: var(--purple-700); }
.deploy.featured .ic { background: rgba(255,255,255,.14); color: #fff; }
.deploy .ic svg { width: 28px; height: 28px; }
.deploy h3 { font-size: 22px; margin-bottom: 10px; }
.deploy > p { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }
.deploy.featured > p { color: #dcd0f2; }
.deploy ul { display: grid; gap: 11px; }
.deploy li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.deploy li svg { width: 18px; height: 18px; color: var(--purple-600); flex-shrink: 0; margin-top: 2px; }
.deploy.featured li svg { color: #c9a9ff; }

/* ---------- Split / CBSE ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .n { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.checklist b { display: block; font-size: 16px; margin-bottom: 3px; }
.checklist p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Mobile app section ---------- */
.app-section { position: relative; overflow: hidden; }
.app-copy .feature-list { margin-bottom: 26px; }
.app-badge { display: flex; align-items: center; gap: 14px; }
.app-badge img { width: 58px; height: 58px; border-radius: 15px; box-shadow: var(--shadow-md); }
.app-badge b { display: block; font-size: 15.5px; }
.app-badge small { font-size: 13px; color: var(--ink-3); }
.app-shots { display: flex; align-items: center; justify-content: center; padding: 8px 0; }
.app-shot {
  display: block; width: 200px; height: auto; background: #fff;
  border: 1px solid var(--line-2); border-radius: 22px; box-shadow: var(--shadow-lg);
}
.app-shot--main { width: 238px; border-radius: 26px; position: relative; z-index: 2; }
.app-shot--side { transform: translateY(14px); }
.app-shot--left { margin-right: -34px; }
.app-shot--right { margin-left: -34px; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; margin-bottom: 14px; }
.quote p { font-size: 15px; color: var(--ink); line-height: 1.65; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote .who b { font-size: 14.5px; display: block; }
.quote .who small { font-size: 12.5px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--purple-300); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 16.5px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 26px; height: 26px; border-radius: 8px; background: var(--purple-100); color: var(--purple-700); display: grid; place-items: center; flex-shrink: 0; transition: .3s; font-size: 18px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--grad-deep); color: #fff; padding: 64px 56px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content:""; position: absolute; top: -40%; right: -10%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(192,38,211,.5), transparent 60%); }
.cta-band::after { content:""; position: absolute; bottom: -50%; left: -10%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(124,58,237,.5), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-band p { font-size: 18px; color: #e5d8f7; max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-900); color: #cbb8e6; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; color: #b7a3d6; max-width: 300px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #d8c8f2; transition: .25s; }
.footer-social a:hover { background: var(--grad-brand); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; color: #b7a3d6; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #9d88bf; }
.footer-bottom a { color: #b7a3d6; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-deep); color: #fff; padding: 88px 0 96px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content:""; position: absolute; top:-30%; left:-10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(192,38,211,.35), transparent 60%); }
.page-hero::after { content:""; position: absolute; bottom:-40%; right:-5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(157,92,245,.35), transparent 60%); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); margin: 20px 0 16px; }
.page-hero p { font-size: 19px; color: #e0d3f5; max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: 13.5px; color: #c9b8e8; margin-bottom: 4px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px;
  display: flex; flex-direction: column; transition: .3s var(--ease); position: relative;
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price.featured { border-color: var(--purple-400); box-shadow: var(--shadow-md); }
.price.featured::before { content: "Most Popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 100px; box-shadow: var(--shadow-glow); }
.price h3 { font-size: 20px; margin-bottom: 6px; }
.price .desc { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; min-height: 40px; }
.price .amt { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.price .amt small { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.price .per { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; }
.price ul { display: grid; gap: 13px; margin-bottom: 28px; flex: 1; }
.price li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.price li svg { width: 18px; height: 18px; color: var(--purple-600); flex-shrink: 0; margin-top: 2px; }
.price li.muted { color: var(--ink-3); } .price li.muted svg { color: var(--ink-3); opacity: .5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--purple-100); color: var(--purple-700); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ic svg { width: 22px; height: 22px; }
.contact-info b { display: block; font-size: 16px; margin-bottom: 3px; }
.contact-info p, .contact-info a { font-size: 15px; color: var(--ink-2); }
.contact-info a:hover { color: var(--purple-700); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; padding: 13px 15px; border: 1.5px solid var(--line-2);
  border-radius: 12px; background: var(--surface-2); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple-400); box-shadow: 0 0 0 4px var(--purple-100); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--ink-3); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 30px; }
.form-success.show { display: block; }
.form-success .ic { width: 64px; height: 64px; border-radius: 50%; background: #e6f8ee; color: #10864a; display: grid; place-items: center; margin: 0 auto 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Mobile nav panel ---------- */
.mobile-menu {
  position: fixed; inset: 74px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 20px 24px 28px; z-index: 99;
  transform: translateY(-120%); transition: transform .35s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a { display: block; padding: 14px 0; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4, .chips { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 68px 0; }
  .grid-3, .grid-2, .deploy-grid, .quote-grid, .price-grid, .stats, .shots { grid-template-columns: 1fr; }
  .grid-3.grid--center { grid-template-columns: 1fr; }
  .grid-3.grid--center > *, .grid-3.grid--center > :nth-last-child(2):nth-child(3n + 1) { grid-column: auto; }
  .play-btn { width: 72px; height: 72px; } .play-btn svg { width: 26px; height: 26px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 34px; }
  .feature-row.reverse .feature-media { order: 0; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 30px 20px; }
  .cta-band { padding: 48px 26px; }
  .float-1 { left: -12px; } .float-2 { right: -8px; }
  .app-shot { width: 168px; } .app-shot--main { width: 200px; }
  .app-shot--left { margin-right: -28px; } .app-shot--right { margin-left: -28px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  /* one clean screen on phones rather than three squashed ones */
  .app-shot--side { display: none; }
  .app-shot--main { width: min(250px, 68vw); }
  .chips { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-trust .divider { display: none; }
  .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 32px; }
  /* full-width CTAs only where they should stack — not nav buttons */
  .hero-actions, .cta-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  /* keep floating cards from overhanging the viewport */
  .hero-visual { overflow: hidden; border-radius: var(--radius-lg); }
  .float-1 { left: 6px; top: 10px; }
  .float-2 { right: 6px; bottom: 14px; }
}
