/* ============================================================
   WatsBizz Landing Page — Main Stylesheet
   Design: Glassmorphism, Gradient-first, Dark navy base
   ============================================================ */

/* ─── RESET & ROOT ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #7C3AED;
  --primary-dark:  #5B21B6;
  --primary-light: #A855F7;
  --cyan:          #06B6D4;
  --orange:        #F97316;
  --green:         #22C55E;
  --pink:          #EC4899;

  /* theme-aware — light mode defaults */
  --navy:               #ffffff;
  --navy-mid:           #f5f3ff;
  --navy-light:         #ede9fe;
  --text:               #1e1b4b;
  --text-muted:         #64748b;
  --border:             rgba(0,0,0,0.1);
  --glass-bg:           rgba(124,58,237,0.07);
  --glass-border:       rgba(124,58,237,0.18);
  --shadow-card:        0 4px 32px rgba(0,0,0,0.08);
  --shadow-glow:        0 0 40px rgba(124,58,237,0.2);
  --grad-hero:          linear-gradient(135deg, #f0ebff 0%, #e8e0ff 50%, #f5f0ff 100%);
  --navbar-scrolled-bg: rgba(255,255,255,0.95);
  --stats-bg:           linear-gradient(135deg, #ede9fe 0%, #dbeafe 50%, #f3e8ff 100%);

  --grad-primary:  linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --grad-cyan:     linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
  --grad-fire:     linear-gradient(135deg, #F97316 0%, #EF4444 100%);
  --grad-green:    linear-gradient(135deg, #22C55E 0%, #06B6D4 100%);
  --glass-blur:    blur(20px);

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --radius-pill:   999px;

  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-display:  'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
}

/* ─── DARK MODE ─────────────────────────────────────────────── */
[data-theme="dark"] {
  --navy:               #0F0A2E;
  --navy-mid:           #1A1040;
  --navy-light:         #2D1B69;
  --text:               #E2E8F0;
  --text-muted:         #94A3B8;
  --border:             rgba(255,255,255,0.1);
  --glass-bg:           rgba(255,255,255,0.05);
  --glass-border:       rgba(255,255,255,0.12);
  --shadow-card:        0 4px 32px rgba(0,0,0,0.3);
  --shadow-glow:        0 0 40px rgba(124,58,237,0.35);
  --grad-hero:          linear-gradient(135deg, #0F0A2E 0%, #1A1040 50%, #0a0520 100%);
  --navbar-scrolled-bg: rgba(15,10,46,0.85);
  --stats-bg:           linear-gradient(135deg, #1A0533 0%, #0D2660 50%, #0a0520 100%);
}

html { font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
.display-xl { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem);    font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.display-lg { font-family: var(--font-display); font-size: clamp(2rem,   4vw, 3.5rem);  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.display-md { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem);  font-weight: 700; line-height: 1.2; }
.text-gradient { background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-cyan { background: var(--grad-cyan); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary-light); margin-bottom: 0.75rem; }

/* ─── LAYOUT ────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
section[id] { scroll-margin-top: 75px; }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 14px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.55); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}
.btn-outline:hover { border-color: var(--primary-light); background: rgba(124,58,237,0.15); transform: translateY(-2px); }
.btn-glass {
  background: var(--glass-bg);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}
.btn-glass:hover { background: var(--glass-border); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* ─── GLASS CARD ────────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
}

/* ─── THEME TOGGLE ──────────────────────────────────────────── */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(124,58,237,0.08);
  border: 1.5px solid rgba(124,58,237,0.25);
  color: #7C3AED;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(124,58,237,0.16);
  border-color: rgba(124,58,237,0.45);
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(124,58,237,0.25);
}
.theme-toggle svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
[data-theme="dark"] .theme-toggle { color: #A78BFA; border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.10); }
[data-theme="dark"] .theme-toggle:hover { background: rgba(167,139,250,0.18); border-color: rgba(167,139,250,0.5); box-shadow: 0 0 12px rgba(167,139,250,0.3); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: relative; top: auto; left: auto; right: auto; z-index: 1;
  padding: 1rem 0;
  transition: all 0.3s var(--ease);
}
.navbar.scrolled {
  background: var(--navbar-scrolled-bg);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  box-shadow: var(--shadow-card);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.navbar__logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  color: var(--text);
}
.navbar__logo-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 4px 16px rgba(124,58,237,0.4);
}
.navbar__nav {
  display: flex; align-items: center; gap: 0.25rem;
}
.navbar__nav a {
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: all 0.2s var(--ease);
}
.navbar__nav a:hover, .navbar__nav a.active { color: var(--primary); background: rgba(124,58,237,0.1); }
.navbar__actions { display: flex; align-items: center; gap: 0.75rem; }
.navbar__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.navbar__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.navbar__mobile {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #2D1B69 !important;
  border-top: 2px solid var(--primary) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.8);
  padding: 1.5rem;
  flex-direction: column; gap: 0.5rem;
  z-index: 9998;
  overflow-y: auto;
  transform: translateY(-10px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}
.navbar__mobile.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.navbar__mobile a {
  padding: 0.75rem 1rem;
  font-size: 1rem; font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.navbar__mobile a:not(.btn):hover { color: var(--primary); background: rgba(124,58,237,0.1); }
.navbar__mobile .btn-primary:hover { color: #fff !important; background: var(--grad-primary) !important; }
.navbar__mobile .btn-glass:hover { color: var(--text) !important; }
.navbar__mobile .btn-primary { color: #fff !important; }
.navbar__mobile .btn-glass { color: var(--text) !important; }
.navbar__mobile-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--glass-border); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex; align-items: center;
  padding: 45px 0 5rem;
  position: relative; overflow: hidden;
}
.hero__btn { border-radius: var(--radius-md) !important; }
.hero__trust-line {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 1rem;
}
.hero__trust-item {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; font-weight: 500; color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 0.3rem 0.65rem;
  white-space: nowrap;
}
.hero__trust-icon { font-size: 0.85rem; line-height: 1; }

.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.hero__orb--1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -100px; animation-delay: 0s; }
.hero__orb--2 { width: 400px; height: 400px; background: var(--cyan); bottom: -100px; left: -100px; animation-delay: -3s; }
.hero__orb--3 { width: 300px; height: 300px; background: var(--pink); top: 50%; left: 40%; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  position: relative; z-index: 1;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}
.hero__badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero__title { margin-bottom: 1.25rem; }
.hero__subtitle {
  font-size: 1.15rem; color: var(--text-muted);
  margin-bottom: 2.5rem; max-width: 520px; line-height: 1.7;
}
.hero__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__social-proof { display: flex; align-items: center; gap: 1rem; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-primary);
  border: 2px solid var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #fff;
  margin-right: -10px;
}
.hero__social-proof p { font-size: 0.85rem; color: var(--text-muted); }
.hero__social-proof strong { color: var(--text); }
.hero__visual { position: relative; }
.hero__dashboard {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(124,58,237,0.2);
  animation: float 6s ease-in-out infinite;
}
.dashboard__header {
  background: rgba(255,255,255,0.05);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dashboard__dots { display: flex; gap: 6px; }
.dashboard__dots span { width: 10px; height: 10px; border-radius: 50%; }
.dashboard__dots span:nth-child(1) { background: #FF5F56; }
.dashboard__dots span:nth-child(2) { background: #FFBD2E; }
.dashboard__dots span:nth-child(3) { background: #27C93F; }
.dashboard__title { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.dashboard__body { padding: 1.5rem; }
.dashboard__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1.25rem;
}
.dashboard__stat {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
}
.dashboard__stat-value { font-size: 1.25rem; font-weight: 800; font-family: var(--font-display); }
.dashboard__stat-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }
.dashboard__chart {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: 1rem;
  height: 100px;
  display: flex; align-items: flex-end; gap: 6px;
}
.chart-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: var(--grad-primary);
  opacity: 0.7;
  transition: opacity 0.2s;
  animation: grow-bar 1s var(--ease-bounce) both;
}
@keyframes grow-bar { from { height: 0 !important; } }
.chart-bar:nth-child(1)  { height: 30%; animation-delay: 0.1s; }
.chart-bar:nth-child(2)  { height: 50%; animation-delay: 0.15s; }
.chart-bar:nth-child(3)  { height: 70%; animation-delay: 0.2s; }
.chart-bar:nth-child(4)  { height: 45%; animation-delay: 0.25s; }
.chart-bar:nth-child(5)  { height: 90%; animation-delay: 0.3s; background: var(--grad-cyan); opacity: 0.9; }
.chart-bar:nth-child(6)  { height: 65%; animation-delay: 0.35s; }
.chart-bar:nth-child(7)  { height: 80%; animation-delay: 0.4s; }
.hero__floating {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.hero__floating--1 { top: -1.5rem; right: -1.5rem; animation: float 5s ease-in-out infinite; }
.hero__floating--2 { bottom: 2rem; left: -2rem; animation: float 7s ease-in-out infinite; animation-delay: -2s; }
.hero__floating span { font-size: 1.1rem; }

/* ─── FEATURES ──────────────────────────────────────────────── */
.features { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%); }
.features__header { text-align: center; margin-bottom: 4rem; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  cursor: default;
  transition: all 0.35s var(--ease);
  opacity: 0; transform: translateY(24px);
  position: relative; overflow: hidden;
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--card-gradient, var(--grad-primary));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.2); }
.feature-card:hover::before { opacity: 0.06; }
.feature-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
  background: var(--card-gradient, var(--grad-primary));
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
}
.feature-card__badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: var(--grad-primary);
  color: #fff; font-size: 0.65rem; font-weight: 700;
  padding: 0.2rem 0.5rem; border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}
.feature-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.feature-card__desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ─── HOW IT WORKS ──────────────────────────────────────────── */
.how-it-works { background: var(--navy-mid); }
.how-it-works__header { text-align: center; margin-bottom: 4rem; }
.hiw-subtitle { color: var(--text-muted); margin-top: 1rem; max-width: 520px; margin-left: auto; margin-right: auto; }

.steps {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr;
  align-items: stretch;
  gap: 0.75rem;
}

/* Step separator arrows */
.step-sep {
  display: flex; align-items: center; justify-content: center;
  opacity: 0.55; flex-shrink: 0;
}
.step-sep svg { width: 36px; height: 36px; }

/* Step card */
.step-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  opacity: 0; transform: translateY(24px);
  display: flex; flex-direction: column;
}
.step-card.visible { opacity: 1; transform: translateY(0); }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.25); border-color: rgba(124,58,237,0.3); }

/* Top colour stripe */
.step-card__stripe { height: 4px; width: 100%; }
.step-card__stripe--cyan   { background: linear-gradient(90deg, #06B6D4, #3B82F6); }
.step-card__stripe--purple { background: linear-gradient(90deg, #7C3AED, #A855F7); }
.step-card__stripe--pink   { background: linear-gradient(90deg, #EC4899, #F97316); }

.step-card__inner { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }

/* Step number */
.step-card__num {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; margin-bottom: 1rem; opacity: 0.65;
}
.step-card__num--cyan   { color: #06B6D4; }
.step-card__num--purple { color: #A855F7; }
.step-card__num--pink   { color: #EC4899; }

/* Visual preview area */
.step-card__visual { margin-bottom: 1.1rem; }
.svc-row { display: flex; gap: 0.75rem; align-items: flex-start; }
.svc-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }

/* Step 1 — QR box */
.svc-box {
  flex: 1; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 0.65rem; text-align: center;
}
.svc-hint { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.svc-qr {
  width: 56px; height: 56px; margin: 0 auto;
  background: linear-gradient(135deg, #06B6D4, #7C3AED);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}

/* Step 2 — Contacts */
.svc-contacts { flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.svc-contact {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px; padding: 0.35rem 0.6rem;
  display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem;
}
.svc-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.svc-dot--purple { background: #A855F7; }
.svc-badge {
  margin-left: auto; background: rgba(34,197,94,0.15); color: #22C55E;
  font-size: 0.65rem; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: 4px;
}

/* Step 3 — Launch metrics */
.svc-launch { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.svc-launched {
  background: var(--grad-primary); border-radius: 7px;
  padding: 0.45rem; text-align: center; font-size: 0.75rem; font-weight: 700; color: #fff;
}
.svc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
.svc-metric {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px; padding: 0.45rem; text-align: center;
}
.svc-metric__val { font-family: var(--font-display); font-size: 0.95rem; font-weight: 800; line-height: 1.2; }
.svc-metric__label { font-size: 0.6rem; color: var(--text-muted); }

/* Title & desc */
.step-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
.step-card__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; flex: 1; }

/* Benefit tag */
.step-card__tag {
  display: inline-block; margin-top: 1rem;
  padding: 0.3rem 0.75rem; border-radius: var(--radius-pill);
  font-size: 0.72rem; font-weight: 600;
}
.step-card__tag--cyan   { background: rgba(6,182,212,0.12);   color: #06B6D4; border: 1px solid rgba(6,182,212,0.22); }
.step-card__tag--purple { background: rgba(168,85,247,0.12);  color: #A855F7; border: 1px solid rgba(168,85,247,0.22); }
.step-card__tag--pink   { background: rgba(236,72,153,0.12);  color: #EC4899; border: 1px solid rgba(236,72,153,0.22); }

/* ─── STATS ─────────────────────────────────────────────────── */
.stats-section {
  background: var(--stats-bg);
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats__header {
  text-align: center; margin-bottom: 3rem;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative;
}
.stat-card {
  text-align: center; padding: 2.5rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  opacity: 0; transform: scale(0.9);
}
.stat-card.visible { opacity: 1; transform: scale(1); }
.stat-card:hover { transform: scale(1.03); border-color: rgba(255,255,255,0.2); }
.stat-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.stat-card__value {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  background: var(--grad-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 0.5rem;
}
.stat-card__label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

/* ─── PRICING ───────────────────────────────────────────────── */
.pricing { background: var(--navy); }
.pricing__header { text-align: center; margin-bottom: 1.5rem; }
.pricing__toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: 3.5rem;
  font-size: 0.9rem; color: var(--text-muted);
}
.toggle-switch {
  width: 52px; height: 28px; border-radius: var(--radius-pill);
  background: var(--grad-primary);
  position: relative; cursor: pointer; border: none;
  transition: all 0.3s var(--ease);
}
.toggle-switch::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; transition: all 0.3s var(--ease-bounce);
}
.toggle-switch.annual::after { transform: translateX(24px); }
.pricing__save {
  background: rgba(34,197,94,0.2); border: 1px solid rgba(34,197,94,0.4);
  color: var(--green); padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 700;
}
@keyframes pricing-border-spin { to { transform: rotate(360deg); } }

.pricing__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  align-items: stretch;
}
.pricing-popular-wrap {
  position: relative;
  border-radius: calc(var(--radius-xl) + 2px);
  padding: 2px;
  overflow: hidden;
  display: flex;
  z-index: 0;
}
.pricing-popular-wrap::before {
  content: '';
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, #7C3AED, #EC4899, #06B6D4, #22C55E, #7C3AED);
  animation: pricing-border-spin 3s linear infinite;
  z-index: 0;
}
.pricing-popular-wrap .pricing-card--popular {
  position: relative;
  z-index: 1;
  flex: 1;
  border: none !important;
  transform: none !important;
}
.pricing-popular-wrap:hover .pricing-card--popular { transform: translateY(-4px) !important; }
.pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  transition: all 0.35s var(--ease);
  position: relative;
  display: flex; flex-direction: column;
}
.pricing-card .pricing__cta { margin-top: auto; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.pricing-card--popular {
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
}
.pricing-card--popular:hover { transform: translateY(-6px); }
.pricing__popular-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 1.25rem; border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(124,58,237,0.4);
}
.pricing__plan-name { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.35rem; }
.pricing__tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing__price { margin-bottom: 0.25rem; }
.pricing__price-amount {
  font-family: var(--font-display); font-size: 3.25rem; font-weight: 800;
  color: var(--text); line-height: 1;
}
.pricing__price-currency { font-size: 1.5rem; vertical-align: super; color: var(--text-muted); }
.pricing__price-period { font-size: 0.85rem; color: var(--text-muted); }
.pricing__price-annual { font-size: 0.8rem; color: var(--green); margin-bottom: 1.75rem; min-height: 1.2em; }
.pricing__divider { height: 1px; background: var(--glass-border); margin: 1.5rem 0; }
.pricing__features { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; }
.pricing__feature { display: flex; align-items: center; gap: 0.65rem; font-size: 0.875rem; }
.pricing__feature--included { color: var(--text); }
.pricing__feature--excluded { color: var(--text-muted); opacity: 0.5; }
.pricing__feature-icon { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; flex-shrink: 0; }
.pricing__feature--included .pricing__feature-icon { background: rgba(34,197,94,0.2); color: var(--green); }
.pricing__feature--excluded .pricing__feature-icon { background: rgba(148,163,184,0.1); color: var(--text-muted); }
.pricing__cta { width: 100%; text-align: center; }
.pricing__cta--popular {
  background: var(--grad-primary);
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.pricing__enterprise {
  text-align: center; margin-top: 2.5rem;
  font-size: 0.9rem; color: var(--text-muted);
}
.pricing__enterprise a { color: var(--primary-light); text-decoration: underline; }

/* ─── PRICING WHATSAPP BANNER ───────────────────────────────── */
.pricing__wa-banner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin: 2rem auto 0; max-width: 780px;
  background: linear-gradient(135deg, rgba(37,211,102,0.12) 0%, rgba(18,140,126,0.08) 100%);
  border: 1px solid rgba(37,211,102,0.28);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pricing__wa-banner:hover { border-color: rgba(37,211,102,0.5); box-shadow: 0 4px 24px rgba(37,211,102,0.12); }
.pricing__wa-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.pricing__wa-icon svg { width: 22px; height: 22px; }
.pricing__wa-text { flex: 1; min-width: 160px; }
.pricing__wa-text strong { display: block; font-size: 0.95rem; color: var(--text); margin-bottom: 0.15rem; }
.pricing__wa-text span { font-size: 0.83rem; color: var(--text-muted); }
.pricing__wa-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; flex-shrink: 0;
  background: #25D366; color: #fff;
  padding: 0.6rem 1.25rem; border-radius: 14px;
  font-size: 0.88rem; font-weight: 700;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.pricing__wa-btn:hover { background: #20b859; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
.pricing__wa-btn svg { width: 16px; height: 16px; }

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials { background: var(--navy-mid); }
.testimonials__header { text-align: center; margin-bottom: 3.5rem; }
.testimonials__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s var(--ease);
  opacity: 0; transform: translateY(20px);
}
.testimonial-card.visible { opacity: 1; transform: translateY(0); }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: rgba(255,255,255,0.2); }
.testimonial__stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.testimonial__stars span { color: #F59E0B; font-size: 0.9rem; }
.testimonial__content { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial__content::before { content: '"'; font-size: 1.5rem; color: var(--primary-light); line-height: 0; vertical-align: -0.4em; margin-right: 2px; }
.testimonial__author { display: flex; align-items: center; gap: 0.85rem; }
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: #fff;
  flex-shrink: 0;
}
.testimonial__name { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.testimonial__role { font-size: 0.78rem; color: var(--text-muted); }
.testimonial__flag { font-size: 1.1rem; margin-left: auto; }

/* ─── INTEGRATIONS ──────────────────────────────────────────── */
.integrations-section { background: var(--navy); overflow: hidden; }
.integrations__header { text-align: center; margin-bottom: 3rem; }
.integrations__marquee { overflow: hidden; position: relative; }
.integrations__marquee::before, .integrations__marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.integrations__marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.integrations__marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.integrations__track {
  display: flex; gap: 2rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.integrations__track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.integration-logo {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.75rem;
  display: flex; align-items: center; gap: 0.75rem;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
  filter: grayscale(0.5) opacity(0.7);
}
.integration-logo:hover { filter: none; border-color: rgba(255,255,255,0.25); transform: scale(1.04); }
.integration-logo svg { width: 28px; height: 28px; }
.integration-logo span { font-size: 0.9rem; font-weight: 600; }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq { background: var(--navy-mid); }
.faq__header { text-align: center; margin-bottom: 3.5rem; }
.faq__list { max-width: 900px; margin: 0 auto; }

.faq-item {
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.6rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.faq-item:hover {
  border-color: rgba(124,58,237,0.28);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124,58,237,0.08);
}
.faq-item.open {
  border-color: rgba(124,58,237,0.45);
  box-shadow: 0 4px 24px rgba(124,58,237,0.12);
  transform: none;
}
.faq-item__btn {
  width: 100%; padding: 1.1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; cursor: pointer; text-align: left;
  color: var(--text); font-size: 0.92rem; font-weight: 600; line-height: 1.45;
  transition: color 0.2s;
}
.faq-item__btn:hover { color: #7C3AED; }
.faq-item.open .faq-item__btn { color: #7C3AED; }

.faq-item__icon {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: rgba(124,58,237,0.1);
  border: 1.5px solid rgba(124,58,237,0.2);
  color: #7C3AED; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.faq-item.open .faq-item__icon {
  background: #7C3AED; color: #fff;
  border-color: #7C3AED;
  transform: rotate(45deg);
}
.faq-item__answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq-item.open .faq-item__answer { max-height: 500px; padding-bottom: 1.1rem; }
.faq-item__answer p {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; margin: 0;
  padding: 0 1.25rem;
  border-left: 3px solid rgba(124,58,237,0.3);
  margin-left: 1.25rem;
}

/* ─── CTA ───────────────────────────────────────────────────── */
.cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 50%, #A855F7 100%);
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='white' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E") repeat;
  background-size: 80px 80px;
}
.cta__inner { position: relative; text-align: center; }
.cta__title { margin-bottom: 1rem; }
.cta__subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; }
.cta__form {
  display: flex; max-width: 480px; margin: 0 auto;
  gap: 0.75rem; flex-wrap: wrap; justify-content: center;
}
.cta__input {
  flex: 1; min-width: 220px;
  padding: 0.9rem 1.25rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  color: #fff; font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
}
.cta__input::placeholder { color: rgba(255,255,255,0.6); }
.cta__input:focus { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }
.cta__btn {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  border-radius: 14px;
  padding: 0.9rem 1.75rem;
  border: none; cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
}
.cta__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.cta__note { margin-top: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.cta__success {
  display: none; align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(34,197,94,0.2); border: 1px solid rgba(34,197,94,0.4);
  border-radius: var(--radius-md); padding: 0.85rem 1.5rem;
  color: var(--green); font-weight: 600; margin-top: 1rem;
}

/* ─── COMPARISON TABLE ──────────────────────────────────────── */
.comparison { }
.comparison__header { text-align: center; margin-bottom: 2.5rem; }
.comparison__table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}
.comparison__table {
  width: 100%; border-collapse: collapse; font-size: 0.88rem;
}
.comparison__table thead tr { background: var(--glass-bg); }
.comparison__table th {
  padding: 1rem 1.25rem; text-align: center; font-weight: 700;
  color: var(--text); border-bottom: 1px solid var(--glass-border);
  white-space: nowrap;
}
.comparison__feature-col { text-align: left; width: 28%; }
.comparison__us-col {
  background: rgba(124,58,237,0.1);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}
.comparison__us-label {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  color: var(--primary-light);
}
.comparison__us-badge {
  font-size: 0.68rem; font-weight: 700;
  background: var(--grad-primary); color: #fff;
  border-radius: 999px; padding: 0.15rem 0.5rem;
}
.comparison__table tbody tr {
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.15s;
}
.comparison__table tbody tr:last-child { border-bottom: none; }
.comparison__table tbody tr:hover { background: var(--glass-bg); }
.comparison__table td {
  padding: 0.85rem 1.25rem; text-align: center; color: var(--text-muted);
}
.comparison__label { text-align: left; font-weight: 500; color: var(--text); }
.comparison__us-val {
  background: rgba(124,58,237,0.06);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  font-weight: 700; color: var(--primary-light);
}
.comparison__row--highlight { background: rgba(124,58,237,0.03); }
.comparison__note {
  text-align: center; font-size: 0.75rem;
  color: var(--text-muted); margin-top: 1.5rem;
}
.comparison__note a { color: var(--primary-light); }

/* light mode */
html:not([data-theme="dark"]) .comparison__table-wrap { border-color: rgba(124,58,237,0.15); }
html:not([data-theme="dark"]) .comparison__table thead tr { background: #f5f3ff; }
html:not([data-theme="dark"]) .comparison__us-col,
html:not([data-theme="dark"]) .comparison__us-val { background: rgba(124,58,237,0.08); }

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin: 1rem 0 1.5rem; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social-link {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1rem;
  transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.footer__social-link:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }

/* Brand colours */
.footer__social-link--facebook  { color: #1877F2; border-color: rgba(24,119,242,0.25); background: rgba(24,119,242,0.08); }
.footer__social-link--facebook:hover  { background: #1877F2; border-color: #1877F2; color: #fff; }

.footer__social-link--twitter   { color: #000; border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.06); }
.footer__social-link--twitter:hover   { background: #000; border-color: #000; color: #fff; }
html[data-theme="dark"] .footer__social-link--twitter { color: #e7e7e7; border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.07); }
html[data-theme="dark"] .footer__social-link--twitter:hover { background: #e7e7e7; border-color: #e7e7e7; color: #000; }

.footer__social-link--instagram { color: #E1306C; border-color: rgba(225,48,108,0.25); background: rgba(225,48,108,0.08); }
.footer__social-link--instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; color: #fff; }

.footer__social-link--linkedin  { color: #0A66C2; border-color: rgba(10,102,194,0.25); background: rgba(10,102,194,0.08); }
.footer__social-link--linkedin:hover  { background: #0A66C2; border-color: #0A66C2; color: #fff; }

.footer__social-link--whatsapp  { color: #25D366; border-color: rgba(37,211,102,0.25); background: rgba(37,211,102,0.08); }
.footer__social-link--whatsapp:hover  { background: #25D366; border-color: #25D366; color: #fff; }
.footer__col-title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1.25rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__links a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--text-muted);
}
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a:hover { color: #fff; }

/* ─── TOAST ─────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--navy-mid); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s var(--ease-bounce);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast--success { border-color: rgba(34,197,94,0.4); }
.toast--error   { border-color: rgba(239,68,68,0.4); }

/* ─── SCROLL ANIMATION CLASSES ──────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ─── HERO PATTERN & FADE ───────────────────────────────────── */
.hero__pattern {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(124,58,237,0.18) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.55;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 90px; z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--navy));
}

/* ─── HERO STARS ─────────────────────────────────────────────── */
.hero__stars {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.82rem; color: #F59E0B;
  margin-bottom: 0.2rem;
}
.hero__stars strong { color: var(--text); }
.hero__stars-count { color: var(--text-muted); font-size: 0.74rem; }

/* ─── HERO TRUST BAR ─────────────────────────────────────────── */
.hero__trust {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero__trust-label {
  display: block;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.hero__trust-logos {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.trust-logo {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  opacity: 0.65; transition: opacity 0.2s; white-space: nowrap;
}
.trust-logo:hover { opacity: 1; }
.trust-logo__mark {
  width: 20px; height: 20px; border-radius: 5px;
  color: #fff; font-size: 0.65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ─── FLOATING BADGE 3 ───────────────────────────────────────── */
.hero__floating--3 { top: 42%; right: -1.5rem; animation: float 6s ease-in-out infinite; animation-delay: -4s; }
.floating__sub { font-size: 0.7rem; color: var(--text-muted); }

/* ─── DASHBOARD ICON GRID ────────────────────────────────────── */
.dashboard__icons {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 0.5rem; margin-bottom: 0.75rem;
}
.dashboard__icon-cell {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 0.5rem 0.25rem;
  text-align: center; cursor: pointer; transition: all 0.2s;
}
.dashboard__icon-cell:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.16); }
.dashboard__icon-emoji { font-size: 1rem; margin-bottom: 2px; }
.dashboard__icon-label { font-size: 0.55rem; color: #94A3B8; font-weight: 500; }

/* ─── DASHBOARD CHAT (WhatsApp preview) ──────────────────────── */
.dashboard__chat {
  border-radius: var(--radius-md); overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.dashboard__chat-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dashboard__chat-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0;
}
.dashboard__chat-name { font-size: 0.7rem; font-weight: 700; color: var(--text); }
.dashboard__chat-meta { font-size: 0.6rem; color: var(--text-muted); }
.dashboard__chat-live { margin-left: auto; font-size: 0.6rem; color: #22C55E; font-weight: 600; white-space: nowrap; }
.dashboard__chat-msgs {
  padding: 0.65rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.msg {
  max-width: 84%; padding: 0.45rem 0.6rem;
  border-radius: 8px; font-size: 0.68rem; line-height: 1.45; position: relative;
}
.msg--out { align-self: flex-end; background: #005c4b; color: #e2f5e2; border-radius: 8px 8px 2px 8px; }
.msg--in  { align-self: flex-start; background: rgba(255,255,255,0.1); color: var(--text); border-radius: 8px 8px 8px 2px; }
.msg__meta { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 2px; }
.msg__ticks { font-size: 0.58rem; color: #94A3B8; }
.msg__ticks--read { color: #53BDEB; }
.msg__time { font-size: 0.56rem; color: rgba(255,255,255,0.45); }
.msg--in .msg__time { color: var(--text-muted); }
/* Typing indicator */
.msg--typing {
  display: flex; align-items: center; gap: 4px;
  align-self: flex-start;
  background: rgba(255,255,255,0.1);
  border-radius: 8px 8px 8px 2px;
  padding: 0.55rem 0.7rem; min-width: 42px;
}
.msg--typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted);
  animation: typing-dot 1.4s ease-in-out infinite;
}
.msg--typing span:nth-child(2) { animation-delay: 0.2s; }
.msg--typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ─── LIGHT MODE COMPONENT OVERRIDES ───────────────────────── */

/* CTA section title — always on purple bg, always white */
.cta__title { color: #fff; }

/* How it works */
html:not([data-theme="dark"]) .step-card { background: #fff; border-color: rgba(124,58,237,0.12); box-shadow: 0 2px 16px rgba(124,58,237,0.08); }
html:not([data-theme="dark"]) .step-card:hover { box-shadow: 0 12px 40px rgba(124,58,237,0.18); border-color: rgba(124,58,237,0.25); }
html:not([data-theme="dark"]) .svc-box,
html:not([data-theme="dark"]) .svc-contact,
html:not([data-theme="dark"]) .svc-metric { background: #f5f3ff; border-color: rgba(124,58,237,0.10); }

/* Hero orbs & pattern — softer on light background */
html:not([data-theme="dark"]) .hero__orb { opacity: 0.12; }
html:not([data-theme="dark"]) .hero__pattern { opacity: 0.25; }

/* Icon grid */
html:not([data-theme="dark"]) .dashboard__icon-cell { background: rgba(124,58,237,0.05); border-color: rgba(124,58,237,0.10); }
html:not([data-theme="dark"]) .dashboard__icon-cell:hover { background: rgba(124,58,237,0.10); border-color: rgba(124,58,237,0.20); }
html:not([data-theme="dark"]) .dashboard__icon-label { color: var(--text-muted); }

/* Chat preview — WhatsApp light theme */
html:not([data-theme="dark"]) .dashboard__chat { background: #ece5dd; border-color: rgba(124,58,237,0.12); }
html:not([data-theme="dark"]) .dashboard__chat-header { background: #f0f2f5; border-bottom-color: rgba(0,0,0,0.07); }
html:not([data-theme="dark"]) .msg--out { background: #d9f7be; color: #1a1a1a; }
html:not([data-theme="dark"]) .msg--out .msg__time { color: rgba(0,0,0,0.38); }
html:not([data-theme="dark"]) .msg--in { background: #fff; color: #1a1a1a; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
html:not([data-theme="dark"]) .msg--typing { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }

/* Trust bar */
html:not([data-theme="dark"]) .hero__trust { border-top-color: rgba(124,58,237,0.14); }

/* Hero dashboard mockup — hardcoded dark glass needs flipping */
html:not([data-theme="dark"]) .hero__dashboard {
  background: #fff;
  border-color: rgba(124,58,237,0.15);
  box-shadow: 0 24px 60px rgba(124,58,237,0.15), 0 4px 16px rgba(0,0,0,0.06);
}
html:not([data-theme="dark"]) .dashboard__header {
  background: #f5f3ff;
  border-bottom-color: rgba(124,58,237,0.12);
}
html:not([data-theme="dark"]) .dashboard__stat { background: #ede9fe; }
html:not([data-theme="dark"]) .dashboard__chart { background: #f5f3ff; }

/* Hero floating badges */
html:not([data-theme="dark"]) .hero__floating {
  background: #fff;
  border-color: rgba(124,58,237,0.15);
  box-shadow: 0 4px 20px rgba(124,58,237,0.12), 0 1px 4px rgba(0,0,0,0.06);
  color: #1e1b4b;
}

/* Feature cards */
html:not([data-theme="dark"]) .feature-card {
  background: #fff;
  border-color: rgba(124,58,237,0.12);
  box-shadow: 0 2px 16px rgba(124,58,237,0.08), 0 1px 4px rgba(0,0,0,0.04);
}
html:not([data-theme="dark"]) .feature-card:hover {
  box-shadow: 0 12px 40px rgba(124,58,237,0.18), 0 2px 8px rgba(0,0,0,0.06);
  border-color: rgba(124,58,237,0.28);
  transform: translateY(-6px);
}

/* Stats section cards */
html:not([data-theme="dark"]) .stat-card {
  background: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.95);
  box-shadow: 0 4px 20px rgba(124,58,237,0.10);
}
html:not([data-theme="dark"]) .stat-card:hover {
  box-shadow: 0 8px 32px rgba(124,58,237,0.18);
  transform: scale(1.03);
}

/* Pricing section background */
html:not([data-theme="dark"]) .pricing {
  background: linear-gradient(180deg, #faf8ff 0%, #f5f3ff 100%);
}
html:not([data-theme="dark"]) .pricing-card {
  background: #fff;
  border-color: rgba(124,58,237,0.13);
  box-shadow: 0 2px 20px rgba(124,58,237,0.08), 0 1px 4px rgba(0,0,0,0.04);
}
html:not([data-theme="dark"]) .pricing-card:hover {
  box-shadow: 0 12px 40px rgba(124,58,237,0.18);
  border-color: rgba(124,58,237,0.25);
}
html:not([data-theme="dark"]) .pricing-card--popular {
  background: #fff;
  border: none;
  box-shadow: none;
  transform: none;
}

/* Testimonial cards */
html:not([data-theme="dark"]) .testimonial-card {
  background: #fff;
  border-color: rgba(124,58,237,0.10);
  box-shadow: 0 2px 16px rgba(124,58,237,0.07), 0 1px 4px rgba(0,0,0,0.04);
}
html:not([data-theme="dark"]) .testimonial-card:hover {
  box-shadow: 0 10px 36px rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.22);
}

/* Integration logos */
html:not([data-theme="dark"]) .integrations-section { background: #fff; }
html:not([data-theme="dark"]) .integration-logo {
  background: #fff;
  border-color: rgba(124,58,237,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  filter: none;
}
html:not([data-theme="dark"]) .integration-logo:hover {
  border-color: rgba(124,58,237,0.30);
  box-shadow: 0 4px 16px rgba(124,58,237,0.15);
  transform: scale(1.04);
}

/* FAQ items */
html:not([data-theme="dark"]) .faq-item {
  background: #fff;
  border-color: rgba(124,58,237,0.12);
  box-shadow: 0 1px 8px rgba(124,58,237,0.06);
}
html:not([data-theme="dark"]) .faq-item:hover {
  box-shadow: 0 6px 24px rgba(124,58,237,0.12);
}
html:not([data-theme="dark"]) .faq-item.open {
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 6px 28px rgba(124,58,237,0.14);
}

/* Toast */
html:not([data-theme="dark"]) .toast {
  background: #fff;
  border-color: rgba(124,58,237,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

/* Footer */
html:not([data-theme="dark"]) .footer {
  background: #f5f3ff;
  border-top-color: rgba(124,58,237,0.12);
}
/* brand-coloured social links handle their own bg — no generic light-mode override needed */
html:not([data-theme="dark"]) .footer__links a:hover { color: var(--primary); }
html:not([data-theme="dark"]) .footer__bottom-links a:hover { color: var(--primary); }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle, .hero__actions { max-width: 100%; justify-content: center; }
  .hero__social-proof { justify-content: center; }
  .hero__visual { max-width: 520px; margin: 0 auto; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-popular-wrap { border-radius: calc(var(--radius-xl) + 2px); }
  .pricing-card--popular { transform: none !important; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .stat-card { padding: 2rem 1rem; }
  .stat-card__value { font-size: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { padding: 45px 0 3rem; }
  .navbar__nav { display: none; }
  .navbar__actions { display: flex !important; gap: 0; margin-left: auto; }
  .navbar__actions a { display: none !important; }
  .navbar__actions .theme-toggle { display: flex !important; }
  .navbar__toggle { display: flex; margin-left: 0; }
  .hero__trust-logos { justify-content: center; }
  .hero__trust-label { text-align: center; }
  .hero__social-proof { flex-direction: column; align-items: center; gap: 0.5rem; }
  .hero__social-proof p { text-align: center; }
  .hero__stars { justify-content: center; }
  .hero__social-proof > div { text-align: center; }
  .hero__actions { flex-wrap: nowrap; justify-content: center; }
  .hero__actions .btn { flex: 1; min-width: 0; text-align: center; padding: 0.65rem 1rem; font-size: 0.88rem; }
  .hero__visual { display: none; }
  .hero__orb--1 { width: 350px; height: 350px; }
  .hero__orb--2 { width: 250px; height: 250px; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-sep { transform: rotate(90deg); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__floating { display: none; }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-card { padding: 1.5rem 0.75rem; }
  .stat-card__value { font-size: 2rem; }
  .stat-card__icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
  .dashboard__stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 360px) {
  .stats-grid { grid-template-columns: 1fr; }
}
