/* ═══════════════════════════════════════════════════
   RetailPOS Kenya — Landing Page
   Design: Clean authority + warm Kenya energy
   Font: DM Sans (display) + system body
   Accent: #007aff blue + #00c853 green CTA
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── TOKENS ── */
:root {
  --blue:        #007aff;
  --blue-dark:   #0055cc;
  --blue-light:  #e8f3ff;
  --green:       #00c853;
  --green-dark:  #00a843;
  --green-light: #e6fff0;
  --ink:         #0d1117;
  --ink-2:       #3a3f4a;
  --ink-3:       #6b7280;
  --border:      #e5e8ed;
  --surface:     #ffffff;
  --bg:          #f7f8fa;
  --bg-2:        #f0f4ff;

  --shadow-sm:  0 1px 4px rgba(0,0,0,.06);
  --shadow:     0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.12);
  --shadow-xl:  0 24px 80px rgba(0,0,0,.16);

  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --font-sans:  'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  --max-w: 1100px;
  --section-pad: 100px 20px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-sans); cursor: pointer; }

/* ── UTILITY ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section   { padding: var(--section-pad); }
.section-dark { background: var(--ink); color: white; }
.section-tinted { background: var(--bg); }
.section-blue { background: var(--bg-2); }

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--ink-3);
  max-width: 540px;
  line-height: 1.7;
}

.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn-green {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 20px rgba(0,200,83,.35);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,200,83,.4);
}

.btn-blue {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 20px rgba(0,122,255,.3);
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--ink-3);
  background: var(--bg);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}

.btn-lg {
  padding: 17px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* ══════════════════════════════════════
   NAV
   ══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background .3s, box-shadow .3s;
}

#navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.nav-logo-text span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  flex: 1;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .15s;
}
.nav-links a:hover { color: var(--blue); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-login {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all .15s;
}
.nav-login:hover { color: var(--blue); background: var(--blue-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 22px;
  color: var(--ink);
}

.nav-mobile {
  display: none;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: all .15s;
}
.nav-mobile a:hover { color: var(--blue); background: var(--blue-light); }

.nav-mobile .nav-cta {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile .btn { width: 100%; justify-content: center; }

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
#hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 60%, var(--bg) 100%);
  overflow: hidden;
  position: relative;
}

/* Decorative background circles */
#hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,122,255,.07) 0%, transparent 70%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,200,83,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  border: 1px solid rgba(0,200,83,.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -.01em;
}

.hero-headline em {
  font-style: italic;
  color: var(--blue);
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-left: -8px;
  background: var(--bg-2);
}

.hero-trust-avatars span:first-child { margin-left: 0; }

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-screen {
  background: var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.1);
  overflow: hidden;
  position: relative;
}

/* Fake browser chrome */
.screen-bar {
  background: #1c2433;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.screen-dot.red   { background: #ff5f57; }
.screen-dot.amber { background: #febc2e; }
.screen-dot.green { background: #28c840; }

.screen-url {
  flex: 1;
  margin: 0 10px;
  background: rgba(255,255,255,.08);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  font-family: monospace;
}

/* POS UI mockup inside screen */
.pos-mockup {
  display: grid;
  grid-template-columns: 1fr 280px;
  height: 380px;
  background: #f7f8fa;
}

.pos-mock-products {
  padding: 14px;
  overflow: hidden;
  background: #f7f8fa;
}

.pos-mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pos-mock-search {
  flex: 1;
  height: 32px;
  background: white;
  border: 1px solid #e5e8ed;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 11px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pos-mock-cats {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.pos-mock-cat {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 100px;
  background: white;
  border: 1px solid #e5e8ed;
  color: #666;
}
.pos-mock-cat.active {
  background: #007aff;
  color: white;
  border-color: #007aff;
}

.pos-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.pos-mock-item {
  background: white;
  border-radius: 8px;
  padding: 8px 6px;
  border: 1px solid #eee;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}

.pos-mock-item:hover { border-color: #007aff; background: #f0f8ff; }

.pos-mock-item-icon { font-size: 20px; margin-bottom: 4px; }
.pos-mock-item-name { font-size: 9px; font-weight: 600; color: #333; }
.pos-mock-item-price { font-size: 9px; color: #007aff; font-weight: 600; margin-top: 2px; }

.pos-mock-stock-low .pos-mock-item-icon { opacity: .5; }

.pos-mock-cart {
  background: white;
  border-left: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.pos-mock-cart-head {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 11px;
  font-weight: 700;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pos-mock-cart-badge {
  background: #007aff;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 100px;
}

.pos-mock-cart-items {
  flex: 1;
  padding: 8px 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pos-mock-ci {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #f0f0f0;
}

.pos-mock-ci-name { font-size: 9px; font-weight: 600; flex: 1; color: #333; }
.pos-mock-ci-qty {
  font-size: 9px;
  background: #e8f0fe;
  color: #007aff;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
}
.pos-mock-ci-price { font-size: 9px; color: #555; font-weight: 600; }

.pos-mock-cart-total {
  padding: 10px 14px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.pos-mock-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #888;
  margin-bottom: 4px;
}

.pos-mock-total-row.big {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.pos-mock-charge-btn {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  background: #007aff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* Floating stat badge */
.hero-badge {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}

.hero-badge-1 {
  bottom: -20px;
  left: -30px;
  animation-delay: 0s;
}

.hero-badge-2 {
  top: 30px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.badge-icon.green { background: var(--green-light); }
.badge-icon.blue  { background: var(--blue-light); }

.badge-val { font-size: 15px; font-weight: 700; color: var(--ink); }
.badge-lbl { font-size: 11px; color: var(--ink-3); }

/* ══════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════ */
#stats-bar {
  padding: 32px 0;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.06);
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-num span { color: var(--green); }

.stat-desc {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ══════════════════════════════════════
   FEATURES
   ══════════════════════════════════════ */
#features {
  padding: var(--section-pad);
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.fi-blue   { background: var(--blue-light); }
.fi-green  { background: var(--green-light); }
.fi-orange { background: #fff4e6; }
.fi-purple { background: #f5f0ff; }
.fi-teal   { background: #e8faf8; }
.fi-red    { background: #fff0f0; }

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════ */
#how {
  padding: var(--section-pad);
  background: var(--surface);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

/* Connecting line */
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 14px);
  right: calc(16.67% + 14px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(0,122,255,.35);
  font-family: var(--font-serif);
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   VIDEO
   ══════════════════════════════════════ */
#video {
  padding: var(--section-pad);
  background: var(--bg-2);
}

.video-wrap {
  margin: 44px auto 0;
  max-width: 800px;
  position: relative;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--ink);
  position: relative;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Placeholder until iframe loads */
.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1117, #1c2433);
  color: white;
  gap: 16px;
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: all .2s;
  backdrop-filter: blur(8px);
}

.video-play-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.08);
}

.video-placeholder p { font-size: 15px; color: rgba(255,255,255,.6); }

/* ══════════════════════════════════════
   INTERACTIVE TUTORIAL
   ══════════════════════════════════════ */
#tutorial {
  padding: var(--section-pad);
  background: var(--surface);
}

.tutorial-tabs {
  display: flex;
  gap: 6px;
  margin: 48px 0 36px;
  background: var(--bg);
  padding: 5px;
  border-radius: 14px;
  width: fit-content;
}

.tut-tab {
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--ink-3);
  cursor: pointer;
  transition: all .2s;
}

.tut-tab.active {
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.tut-tab:hover:not(.active) { color: var(--ink); }

.tutorial-panels { position: relative; }

.tut-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.tut-panel.active {
  display: grid;
  animation: fadeIn .3s ease;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tut-text .step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.tut-text h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.2;
}

.tut-text p {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tut-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tut-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

.tut-points li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.tut-screen {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Mini dashboard mockup */
.mini-dash {
  background: #f7f8fa;
  border-radius: 12px;
  overflow: hidden;
}

.mini-topbar {
  background: white;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.mini-page {
  padding: 14px;
}

/* ══════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════ */
#testimonials {
  padding: var(--section-pad);
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .2s;
}

.testimonial-card:hover { box-shadow: var(--shadow); }

.t-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
}

.t-quote {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  flex: 1;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.t-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.t-shop { font-size: 12px; color: var(--ink-3); }

.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 100px;
}

/* ══════════════════════════════════════
   BENEFITS
   ══════════════════════════════════════ */
#benefits {
  padding: var(--section-pad);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

#benefits::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,122,255,.12) 0%, transparent 70%);
  pointer-events: none;
}

.benefits-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefits-left .section-title { color: white; }
.benefits-left .section-sub   { color: rgba(255,255,255,.55); }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.benefit-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: all .2s;
}

.benefit-item:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.benefit-icon { font-size: 24px; margin-bottom: 12px; }
.benefit-title { font-size: 14px; font-weight: 700; color: white; margin-bottom: 6px; }
.benefit-desc  { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ══════════════════════════════════════
   DEMO CTA BAND
   ══════════════════════════════════════ */
#demo-cta {
  padding: 40px 0;
  background: var(--blue);
}

.demo-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.demo-text {
  display: flex;
  align-items: center;
  gap: 14px;
}

.demo-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.demo-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
}

.demo-text p { font-size: 13px; color: rgba(255,255,255,.7); }

.demo-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.demo-login-hint {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
  font-family: monospace;
  line-height: 1.7;
}

/* ══════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════ */
#cta-final {
  padding: 120px 20px;
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--surface) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta-final::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,122,255,.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-final-inner .section-title { font-size: clamp(32px, 5vw, 52px); }
.cta-final-inner .section-sub   { margin: 16px auto 40px; font-size: 18px; }

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-note {
  font-size: 13px;
  color: var(--ink-3);
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
footer {
  background: var(--ink);
  padding: 60px 0 32px;
  color: rgba(255,255,255,.5);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 220px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  transition: color .15s;
}
.footer-col ul li a:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(255,255,255,.4); transition: color .15s; }
.footer-bottom a:hover { color: white; }

/* ══════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-visual       { display: none; }
  .features-grid     { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .tut-panel.active  { grid-template-columns: 1fr; }
  .tut-screen        { display: none; }
  .benefits-inner    { grid-template-columns: 1fr; gap: 48px; }
  .footer-top        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-inner       { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item         { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 24px; }
  .stat-item:last-child, .stat-item:nth-child(2) { border-bottom: none; }
}

@media (max-width: 640px) {
  :root { --section-pad: 64px 20px; }

  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .hero-btns  { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .features-grid     { grid-template-columns: 1fr; }
  .how-steps         { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .benefits-grid     { grid-template-columns: 1fr; }

  .tutorial-tabs {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .demo-inner { flex-direction: column; text-align: center; }
  .demo-actions { flex-direction: column; width: 100%; }
  .demo-actions .btn { width: 100%; justify-content: center; }

  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }

  .trust-bar { gap: 12px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-inner { grid-template-columns: 1fr 1fr; }
}
