/* ============================================
   STUDENTAI.FR — GEN Z VIBRANT THEME
   Pink / Purple / Gradient / Bold / Fresh
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --pink:         #ff6b9d;
  --purple:       #c44cff;
  --pink-light:   #ffb3cf;
  --purple-light: #e0a0ff;
  --yellow:       #ffe066;
  --mint:         #00d4aa;
  --mint-light:   #7fffd4;
  --blue:         #4d8eff;

  /* Gradients */
  --grad-main:    linear-gradient(135deg, #ff6b9d 0%, #c44cff 50%, #4d8eff 100%);
  --grad-btn:     linear-gradient(135deg, #ff6b9d 0%, #c44cff 100%);
  --grad-btn-h:   linear-gradient(135deg, #ff82ae 0%, #d066ff 100%);
  --grad-bg:      linear-gradient(160deg, #fff0f7 0%, #f8f0ff 40%, #f0f3ff 100%);

  /* Surfaces */
  --bg:           #ffffff;
  --bg-soft:      #fafafa;
  --bg-card:      #ffffff;
  --bg-tinted:    rgba(255, 107, 157, 0.04);

  /* Text */
  --text:         #0f0f1a;
  --text-2:       #3d3d56;
  --text-3:       #7a7a99;
  --text-invert:  #ffffff;

  /* Borders */
  --border:       rgba(196, 76, 255, 0.12);
  --border-pink:  rgba(255, 107, 157, 0.2);

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(196, 76, 255, 0.08);
  --shadow-md:    0 8px 32px rgba(196, 76, 255, 0.14);
  --shadow-lg:    0 20px 60px rgba(196, 76, 255, 0.18);
  --shadow-pink:  0 8px 32px rgba(255, 107, 157, 0.3);
  --shadow-btn:   0 4px 20px rgba(196, 76, 255, 0.4);

  /* Typography */
  --font-head:    'Space Grotesk', -apple-system, sans-serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  /* Radii */
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --radius-pill:  100px;

  /* Layout */
  --container:    1200px;
  --section-gap:  100px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Particles canvas --- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--grad-btn);
  color: white;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-btn-h);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(196, 76, 255, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-primary.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-primary.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-primary.btn-xl {
  padding: 20px 44px;
  font-size: 1.15rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(196, 76, 255, 0.05);
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   GRADIENT TEXT
   ============================================ */
.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   BLOB SHAPES
   ============================================ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-3);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(196, 76, 255, 0.1);
  padding: 12px 0;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.logo-text strong {
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  font-weight: 400;
  color: var(--text-3);
  -webkit-text-fill-color: var(--text-3);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--purple);
  background: rgba(196, 76, 255, 0.07);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 6px 12px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.nav-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 80vw);
  height: 100dvh;
  background: white;
  z-index: 200;
  box-shadow: -8px 0 40px rgba(196, 76, 255, 0.15);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open { right: 0; }

.drawer-close {
  align-self: flex-end;
  padding: 8px;
  color: var(--text-2);
  transition: color 0.2s;
}

.drawer-close:hover { color: var(--purple); }

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  transition: color 0.2s, background 0.2s;
}

.drawer-link:hover {
  color: var(--purple);
  background: rgba(196, 76, 255, 0.06);
}

.drawer-cta {
  margin-top: auto;
}

.drawer-cta .btn-primary {
  width: 100%;
  justify-content: center;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(4px);
}

.drawer-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 60px;
  overflow: hidden;
  background: var(--grad-bg);
}

/* Blobs */
.blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(255, 107, 157, 0.18);
  top: -100px;
  right: -100px;
  animation: blob-float 8s ease-in-out infinite;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(196, 76, 255, 0.14);
  bottom: 0;
  left: -80px;
  animation: blob-float 10s ease-in-out infinite reverse;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: rgba(0, 212, 170, 0.1);
  top: 50%;
  left: 40%;
  animation: blob-float 12s ease-in-out infinite 2s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.97); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Hero Content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-pink);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-btn);
  background: var(--pink);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.headline-plain {
  color: var(--text);
}

.headline-gradient {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-sub strong {
  color: var(--purple);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-avatars {
  display: flex;
  align-items: center;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.65rem;
  color: white;
  border: 2.5px solid white;
  margin-left: -8px;
  flex-shrink: 0;
}

.hero-avatars .avatar:first-child { margin-left: 0; }

.av1 { background: var(--pink); }
.av2 { background: var(--purple); }
.av3 { background: var(--mint); }
.av4 { background: linear-gradient(135deg, var(--pink), var(--purple)); font-size: 0.7rem; }
.av5 { background: var(--blue); }

.hero-trust-text {
  font-size: 0.9rem;
  color: var(--text-3);
}

.hero-trust-text strong {
  color: var(--text);
}

/* Chat widget mockup */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.chat-widget {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  animation: float-widget 6s ease-in-out infinite;
}

@keyframes float-widget {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--grad-btn);
  color: white;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  opacity: 0.85;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint-light);
  animation: pulse-dot 2s ease-in-out infinite;
}

.chat-messages {
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

.msg {
  display: flex;
}

.msg-user {
  justify-content: flex-end;
}

.msg-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.msg-user .msg-bubble {
  background: rgba(196, 76, 255, 0.1);
  color: var(--text-2);
  border-bottom-right-radius: 4px;
}

.msg-ai .msg-bubble {
  background: var(--bg-soft);
  color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--purple);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Dot pulse (typing indicator) */
.dot-pulse {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 20px;
}

.dot-pulse span {
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  animation: dot-bounce 1.2s ease-in-out infinite;
}

.dot-pulse span:nth-child(2) { animation-delay: 0.2s; }
.dot-pulse span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40% { transform: translateY(-6px); opacity: 1; }
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

.chat-input {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-3);
  padding: 8px 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(196, 76, 255, 0.4);
}

/* Floating chips */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: white;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 30px rgba(15, 15, 26, 0.12);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  border: 1px solid var(--border);
}

.chip-1 {
  bottom: -16px;
  left: -24px;
  color: var(--mint);
  border-color: rgba(0, 212, 170, 0.2);
  animation: chip-float 4s ease-in-out infinite;
}

.chip-1 svg { color: var(--mint); }

.chip-2 {
  top: 24px;
  right: -24px;
  color: var(--purple);
  border-color: rgba(196, 76, 255, 0.2);
  animation: chip-float 5s ease-in-out infinite 1s reverse;
}

.chip-2 svg { color: var(--purple); }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ============================================
   TICKER
   ============================================ */
.ticker-wrap {
  background: var(--grad-btn);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 25s linear infinite;
  width: max-content;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: white;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0 32px;
  white-space: nowrap;
}

.tick-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

/* ============================================
   PAIN POINTS
   ============================================ */
.pain-section {
  padding: var(--section-gap) 0;
  background: var(--bg);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pain-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pain-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 107, 157, 0.1);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain-icon--purple {
  background: rgba(196, 76, 255, 0.1);
  color: var(--purple);
}

.pain-icon--mint {
  background: rgba(0, 212, 170, 0.1);
  color: var(--mint);
}

.pain-bubble {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  position: relative;
}

.pain-bubble--pink {
  background: rgba(255, 107, 157, 0.08);
  color: var(--text);
  border-left: 3px solid var(--pink);
}

.pain-bubble--purple {
  background: rgba(196, 76, 255, 0.08);
  color: var(--text);
  border-left: 3px solid var(--purple);
}

.pain-bubble--mint {
  background: rgba(0, 212, 170, 0.08);
  color: var(--text);
  border-left: 3px solid var(--mint);
}

.pain-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pain-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pain-cta-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-2);
}

/* ============================================
   PROOF BAR
   ============================================ */
.proof-bar {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.06), rgba(196, 76, 255, 0.06));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 40px;
  text-align: center;
}

.proof-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.8rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  transition: all 0.1s;
}

.proof-num--pct::after {
  content: '%';
}

.proof-label {
  font-size: 0.85rem;
  color: var(--text-3);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================
   FEATURES
   ============================================ */
.features-section {
  position: relative;
  padding: var(--section-gap) 0;
  overflow: hidden;
  background: var(--bg-soft);
}

.blob-features-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 107, 157, 0.1);
  top: -100px;
  left: -150px;
  animation: blob-float 9s ease-in-out infinite;
}

.blob-features-2 {
  width: 400px;
  height: 400px;
  background: rgba(196, 76, 255, 0.08);
  bottom: -100px;
  right: -100px;
  animation: blob-float 11s ease-in-out infinite reverse 2s;
}

.features-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feat-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: default;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 76, 255, 0.25);
}

.feat-card--featured {
  background: linear-gradient(135deg, rgba(255,107,157,0.04), rgba(196,76,255,0.04));
  border-color: rgba(196, 76, 255, 0.2);
}

.feat-card--featured:hover {
  border-color: var(--purple);
  box-shadow: 0 12px 50px rgba(196, 76, 255, 0.2);
}

.feat-card-inner {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-icon--pink {
  background: rgba(255, 107, 157, 0.12);
  color: var(--pink);
}

.feat-icon--yellow {
  background: rgba(255, 224, 102, 0.2);
  color: #c49a00;
}

.feat-icon--mint {
  background: rgba(0, 212, 170, 0.12);
  color: var(--mint);
}

.feat-icon--purple {
  background: rgba(196, 76, 255, 0.12);
  color: var(--purple);
}

.feat-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.3;
}

.feat-desc {
  font-size: 0.95rem;
  color: var(--text-3);
  line-height: 1.7;
}

.feat-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 107, 157, 0.1);
  color: var(--pink);
  align-self: flex-start;
}

.feat-tag--yellow {
  background: rgba(255, 224, 102, 0.2);
  color: #9a7400;
}

.feat-tag--mint {
  background: rgba(0, 212, 170, 0.12);
  color: #008c70;
}

.feat-tag--purple {
  background: rgba(196, 76, 255, 0.1);
  color: var(--purple);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
  padding: var(--section-gap) 0;
  background: white;
}

.steps-container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  flex: 1;
  max-width: 300px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 76, 255, 0.25);
}

.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.step-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,107,157,0.12), rgba(196,76,255,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--purple);
}

.step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.7;
}

.step-arrow {
  color: var(--purple);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  position: relative;
  padding: var(--section-gap) 0;
  background: linear-gradient(160deg, #fff5fb 0%, #f8f0ff 60%, #f0f6ff 100%);
  overflow: hidden;
}

.blob-testi {
  width: 600px;
  height: 600px;
  background: rgba(255, 107, 157, 0.1);
  top: -100px;
  right: -200px;
  animation: blob-float 10s ease-in-out infinite;
}

.testi-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testi-card--featured {
  border-color: rgba(196, 76, 255, 0.25);
  background: linear-gradient(135deg, rgba(255,107,157,0.03), rgba(196,76,255,0.04));
  box-shadow: 0 4px 24px rgba(196, 76, 255, 0.1);
}

.testi-stars {
  display: flex;
  gap: 3px;
  color: var(--yellow);
  filter: drop-shadow(0 1px 3px rgba(255,224,102,0.5));
}

.testi-quote {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--av-color, var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  color: white;
  flex-shrink: 0;
}

.testi-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testi-info strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.testi-info span {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-section {
  position: relative;
  padding: var(--section-gap) 0;
  overflow: hidden;
  background: var(--bg);
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 107, 157, 0.2);
  top: -50px;
  left: -100px;
  animation: blob-float 8s ease-in-out infinite;
}

.cta-blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(196, 76, 255, 0.15);
  bottom: -50px;
  right: -100px;
  animation: blob-float 10s ease-in-out infinite reverse;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.cta-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.cta-btn {
  box-shadow: 0 8px 40px rgba(196, 76, 255, 0.45);
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-3);
  font-weight: 500;
}

.cta-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta-avatars .avatar {
  width: 40px;
  height: 40px;
}

.cta-avatars span {
  font-size: 0.85rem;
  color: var(--text-3);
  font-weight: 500;
  margin-left: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand .logo-text strong {
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand .logo-dot {
  -webkit-text-fill-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.4);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-link:hover {
  background: rgba(196, 76, 255, 0.25);
  color: white;
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-mockup {
    max-width: 440px;
    margin: 0 auto;
  }

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

  .steps-container {
    flex-direction: column;
  }

  .step {
    max-width: 100%;
    width: 100%;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 72px;
  }

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

  .hamburger {
    display: flex;
  }

  .hero-headline {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

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

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

  .proof-inner {
    flex-direction: column;
    gap: 32px;
  }

  .proof-divider {
    width: 60px;
    height: 1px;
  }

  .proof-stat {
    padding: 0;
  }

  .chat-widget {
    max-width: 100%;
  }

  .chip-1, .chip-2 {
    display: none;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .btn-primary.btn-xl {
    padding: 18px 32px;
  }

  .feat-card-inner {
    padding: 24px;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
}
