/* ═══════════════════════════════════════════════════════════════
   QuboChat Landing Page — style.css
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --primary:        #6c63ff;
  --primary-dark:   #1a1a4e;
  --primary-mid:    #4a3f8f;
  --primary-light:  #f0eeff;
  --primary-soft:   #e8e5ff;
  --gradient:       linear-gradient(135deg, #1a1a4e 0%, #4a3f8f 45%, #6c63ff 100%);
  --gradient-cta:   linear-gradient(135deg, #1a1a4e 0%, #6c63ff 100%);
  --text:           #0f0e2a;
  --text-secondary: #4b5563;
  --text-muted:     #9ca3af;
  --border:         #e5e7eb;
  --bg:             #ffffff;
  --bg-alt:         #f9f8ff;
  --success:        #22c55e;
  --error:          #ef4444;
  --shadow-xs:      0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:      0 8px 32px rgba(0,0,0,.12);
  --shadow-xl:      0 20px 60px rgba(0,0,0,.15);
  --shadow-color:   0 8px 32px rgba(108,99,255,.20);
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;
  --nav-h:  68px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input { font-family: var(--font); }

/* ── Layout ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.hidden { display: none !important; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: var(--shadow-color);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(108,99,255,.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--text); background: var(--bg-alt); }
.btn-white {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* ── Badges & Pills ────────────────────────────────────────────── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 16px;
}

/* ── Section Header ────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
  letter-spacing: -.02em;
}
.logo-icon {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: var(--gradient-cta);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-full);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-alt); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: all .2s;
}
.lang-toggle:hover { color: var(--primary); border-color: var(--primary); }
.lang-icon { width: 15px; height: 15px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: all .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { margin-bottom: 16px; }
.mobile-menu li a {
  display: block;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-md);
  transition: background .2s;
}
.mobile-menu li a:hover { background: var(--bg-alt); color: var(--text); }
.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient);
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Background decor */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: -200px; right: -100px;
}
.hero-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
  bottom: -100px; left: -150px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Inner layout */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

/* Copy */
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.95);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,.80);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 48px;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { text-align: left; }
.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.18);
}

/* Wave divider */
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 60px;
}

/* ── Phone Mockup ──────────────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-wrap {
  position: relative;
  width: 280px;
}
.phone-frame {
  width: 280px;
  height: 560px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1);
  overflow: hidden;
  border: 6px solid rgba(255,255,255,.12);
}
.phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f3f4f6;
}

/* Mock chat header */
.mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--gradient-cta);
  color: #fff;
  flex-shrink: 0;
}
.mock-back {
  font-size: 20px;
  color: rgba(255,255,255,.8);
  padding: 0 4px;
  line-height: 1;
  background: none;
  cursor: default;
}
.mock-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.mock-av-purple { background: rgba(255,255,255,.25); }
.mock-info { flex: 1; min-width: 0; }
.mock-name { font-size: 13px; font-weight: 700; line-height: 1.2; }
.mock-online {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: rgba(255,255,255,.75);
}
.online-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
}
.mock-actions { font-size: 16px; color: rgba(255,255,255,.8); }

/* Mock messages */
.mock-msgs {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.mock-msg {
  max-width: 70%;
  padding: 8px 11px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  animation: msgAppear .3s ease forwards;
}
.mock-msg.their {
  align-self: flex-start;
  background: #fff;
  color: #1f2937;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-xs);
}
.mock-msg.mine {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.mock-ticks {
  align-self: flex-end;
  font-size: 10px;
  color: var(--primary);
  margin-top: -2px;
  opacity: 0;
  animation: msgAppear .3s ease forwards;
}
.mock-typing {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: 52px;
  align-self: flex-start;
  box-shadow: var(--shadow-xs);
  opacity: 0;
  animation: msgAppear .3s ease forwards;
}
.mock-typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #9ca3af;
  animation: typingDot 1.2s infinite ease-in-out;
}
.mock-typing span:nth-child(2) { animation-delay: .2s; }
.mock-typing span:nth-child(3) { animation-delay: .4s; }

/* Message animation delays */
.m1 { animation-delay: .6s; }
.m2 { animation-delay: 1.1s; }
.m3 { animation-delay: 1.7s; }
.m4 { animation-delay: 2.3s; }
.m5 { animation-delay: 2.9s; }

/* Mock input bar */
.mock-inputbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.mock-input-field {
  flex: 1;
  background: #f3f4f6;
  border-radius: var(--r-full);
  padding: 7px 12px;
  font-size: 11px;
  color: #9ca3af;
}
.mock-send-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: default;
}
.mock-send-btn svg {
  width: 13px; height: 13px;
  color: #fff;
  stroke: #fff;
}

/* Floating notification */
.float-notif {
  position: absolute;
  top: 24px;
  right: -64px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  animation: floatIn .5s ease 3.5s both;
}
.float-notif-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-notif-body { font-size: 11.5px; color: var(--text); line-height: 1.4; }
.float-notif-sub { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* Floating badge */
.float-badge {
  position: absolute;
  bottom: 80px;
  left: -20px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(239,68,68,.4);
  animation: floatIn .4s ease 4.0s both, bounce 2s 4.5s infinite ease-in-out;
}

/* ════════════════════════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-soft);
}
.feat-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-icon-blue   { background: #eff6ff; color: #3b82f6; }
.feat-icon-violet { background: #f5f3ff; color: var(--primary); }
.feat-icon-pink   { background: #fdf2f8; color: #ec4899; }
.feat-icon-indigo { background: #eef2ff; color: #6366f1; }
.feat-icon-teal   { background: #f0fdfa; color: #14b8a6; }
.feat-icon-amber  { background: #fffbeb; color: #f59e0b; }
.feat-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.feat-card p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════════
   PRICING
════════════════════════════════════════════════════════════════ */

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.billing-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color .2s;
}
.billing-label.active { color: var(--text); }

/* Toggle switch */
.toggle-switch { cursor: pointer; }
.toggle-switch input { display: none; }
.toggle-track {
  display: block;
  width: 44px;
  height: 24px;
  border-radius: var(--r-full);
  background: #d1d5db;
  position: relative;
  transition: background .25s;
}
.toggle-switch input:checked + .toggle-track { background: var(--primary); }
.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.toggle-switch input:checked + .toggle-track .toggle-thumb {
  transform: translateX(20px);
}
.save-pill {
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: #dcfce7;
  color: #16a34a;
  font-size: 12px;
  font-weight: 700;
}

/* Plans grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Plan card */
.plan-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.plan-popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-color);
  background: var(--bg);
  transform: translateY(-8px);
}
.plan-popular:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(108,99,255,.28);
}
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--r-full);
  white-space: nowrap;
  box-shadow: var(--shadow-color);
}
.plan-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.plan-price-row {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.plan-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  padding-bottom: 6px;
}
.plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  letter-spacing: -.03em;
  transition: all .25s ease;
}
.plan-period {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-bottom: 6px;
}
.plan-billed {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  margin-top: -12px;
}
.plan-specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.spec-chip {
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.plan-popular .spec-chip { background: var(--primary-light); color: var(--primary); }

/* Plan features list */
.plan-feats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-secondary);
}
.plan-feats li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-feats li.yes {
  color: var(--text);
}
.plan-feats li.yes::before {
  background-color: #dcfce7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%2316a34a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.plan-feats li.no {
  color: var(--text-muted);
  text-decoration: none;
  opacity: .6;
}
.plan-feats li.no::before {
  background-color: #f3f4f6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 3l4 4M7 3l-4 4' stroke='%239ca3af' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.plan-trial {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.plan-popular .plan-trial { color: var(--primary); font-weight: 600; }

/* ════════════════════════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════════════════════════ */
.steps-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 16px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-color);
}
.step-icon-wrap {
  width: 72px; height: 72px;
  border-radius: var(--r-xl);
  background: var(--primary-light);
  border: 1.5px solid var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-icon-wrap svg {
  width: 30px; height: 30px;
  color: var(--primary);
}
.step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.step p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.step-arrow {
  flex-shrink: 0;
  padding-top: 36px;
  color: var(--primary-soft);
}
.step-arrow svg { width: 48px; height: 20px; stroke: var(--primary-soft); }

/* ════════════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s, box-shadow .25s;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testi-stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; }
.testi-quote {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.testi-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-name {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
}
.testi-role {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ════════════════════════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════════════════════════ */
.cta-section { background: var(--bg-alt); }
.cta-card {
  position: relative;
  background: var(--gradient-cta);
  border-radius: 32px;
  overflow: hidden;
  text-align: center;
  padding: 80px 48px;
}
.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-glow-1 {
  width: 400px; height: 400px;
  background: rgba(139,92,246,.5);
  top: -160px; right: -80px;
}
.cta-glow-2 {
  width: 300px; height: 300px;
  background: rgba(59,130,246,.4);
  bottom: -100px; left: -60px;
}
.cta-inner { position: relative; z-index: 1; }
.cta-card h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.cta-card p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.6);
}
.footer-inner {
  display: flex;
  gap: 64px;
  padding-top: 60px;
  padding-bottom: 48px;
  align-items: flex-start;
}
.footer-brand {
  flex-shrink: 0;
  max-width: 200px;
}
.footer-logo .logo-icon { background: var(--gradient-cta); }
.footer-logo span { color: #fff; }
.footer-tagline {
  font-size: .875rem;
  line-height: 1.6;
  margin-top: 14px;
  color: rgba(255,255,255,.5);
}
.footer-powered {
  font-size: .75rem;
  margin-top: 8px;
  color: rgba(255,255,255,.3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-cols {
  flex: 1;
  display: flex;
  gap: 48px;
  justify-content: flex-end;
}
.footer-col h5 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: .8125rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════════ */
@keyframes msgAppear {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(12px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero entry */
.animate-hero {
  animation: heroIn .8s cubic-bezier(.22,1,.36,1) .1s both;
}
.animate-hero-delay {
  animation: heroIn .8s cubic-bezier(.22,1,.36,1) .35s both;
}

/* Scroll fade-up */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease calc(var(--delay, 0s)), transform .6s ease calc(var(--delay, 0s));
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-subtitle { max-width: 560px; }
  .hero-visual { order: -1; }
  .phone-wrap { width: 240px; }
  .phone-frame { width: 240px; height: 480px; }
  .float-notif { right: -40px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .steps-wrap { flex-direction: column; align-items: center; gap: 0; }
  .step-arrow { transform: rotate(90deg); padding: 8px 0; }
  .step { max-width: 400px; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-brand { max-width: none; }
  .footer-cols { justify-content: flex-start; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 768px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 64px 0; }

  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }

  .hero-inner { padding-top: 40px; padding-bottom: 60px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .hero-stats { justify-content: center; }

  .phone-wrap { width: 200px; }
  .phone-frame { width: 200px; height: 400px; border-radius: 28px; }
  .mock-msg { font-size: 10px; }
  .float-notif { display: none; }
  .float-badge { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-popular { transform: translateY(0); }

  .testi-grid { grid-template-columns: 1fr; }

  .cta-card { padding: 48px 24px; border-radius: 24px; }

  .footer-cols { flex-direction: column; gap: 32px; }

  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.625rem; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Small mobile (≤ 480px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-badge { font-size: 11px; }
  .billing-toggle { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .nav-actions .lang-toggle { display: flex; }
}
