/* ================================================================
   KLUSPILOOT — Ultra-Premium Design System
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ================================================================
   TOKENS
   ================================================================ */
:root {
  /* Color */
  --primary: #1a56db;
  --primary-dark: #1442a8;
  --primary-deeper: #0f3180;
  --primary-light: #dbeafe;
  --primary-50: #eff6ff;
  --primary-900: #0c1d4d;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-light: #fff7ed;
  --accent-glow: rgba(249, 115, 22, 0.25);
  --text: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #10b981;
  --success-bg: #ecfdf5;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Shadow */
  --sh-xs: 0 1px 2px rgba(0,0,0,0.04);
  --sh-sm: 0 2px 8px rgba(0,0,0,0.06);
  --sh-md: 0 4px 20px rgba(0,0,0,0.08);
  --sh-lg: 0 8px 40px rgba(0,0,0,0.1);
  --sh-xl: 0 16px 64px rgba(0,0,0,0.14);
  --sh-2xl: 0 24px 80px rgba(0,0,0,0.18);
  --sh-glow: 0 0 60px rgba(26,86,219,0.15);
  --sh-accent: 0 8px 32px rgba(249,115,22,0.25);

  /* Timing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.3s;
  --dur-slow: 0.5s;

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

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

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="scale"] { transform: scale(0.96); }
[data-animate="scale"].visible { transform: scale(1); }

[data-animate="left"] { transform: translateX(-32px); }
[data-animate="left"].visible { transform: translateX(0); }

[data-animate="right"] { transform: translateX(32px); }
[data-animate="right"].visible { transform: translateX(0); }

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }
[data-delay="6"] { transition-delay: 0.48s; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: var(--r-md);
  font: 600 0.95rem/1.2 'Inter', sans-serif;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-decoration: none !important;
  gap: 8px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.btn:hover::after { opacity: 1; animation: shimmer 0.8s linear; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 8px 28px rgba(26,86,219,0.35); }

.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: var(--sh-accent); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--primary-50); box-shadow: var(--sh-lg); }

.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

.btn-lg { padding: 16px 40px; font-size: 1.05rem; border-radius: var(--r-md); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all var(--dur) var(--ease);
}

.nav.scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--sh-sm);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span { color: var(--accent); }
.logo .logo-text { color: var(--primary); white-space: nowrap; }

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: all var(--dur) var(--ease);
  text-decoration: none !important;
}

.nav-links a:hover { color: var(--primary); background: var(--primary-50); }

.nav-login { padding: 10px 22px !important; border: 1.5px solid var(--primary) !important; color: var(--primary) !important; border-radius: var(--r-md) !important; font-weight: 600 !important; background: transparent !important; }
.nav-login:hover { background: var(--primary-50) !important; }

.nav-cta { padding: 10px 22px !important; background: var(--accent); color: #fff !important; border-radius: var(--r-md) !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--accent-dark) !important; box-shadow: var(--sh-accent); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.nav-overlay.open { display: block; opacity: 1; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(26,86,219,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(249,115,22,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(26,86,219,0.04) 0%, transparent 50%);
}

/* Decorative dots grid */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  mask-image: linear-gradient(135deg, transparent 30%, black 70%);
  -webkit-mask-image: linear-gradient(135deg, transparent 30%, black 70%);
}

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

.hero-content { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-50);
  border: 1px solid var(--primary-light);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 40%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: 0.82rem; color: var(--text-tertiary); margin-top: 20px; display: flex; align-items: center; gap: 6px; }
.hero-note svg { flex-shrink: 0; }

/* WhatsApp Mockup — phone frame + scene switcher */
.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wa-scene-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}

.wa-scene-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: none;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.wa-scene-tab:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.wa-scene-tab.on {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,86,219,0.3);
}

.wa-scene-tab.on svg {
  stroke: #fff;
}

.wa-chat.wa-scene {
  display: none;
}

.wa-chat.wa-scene.active {
  display: flex;
}

.phone-frame {
  position: relative;
  width: 300px;
  max-width: 100%;
  margin-left: auto;
  animation: float 7s ease-in-out infinite;
}

.phone-bezel {
  background: #1a1a1a;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--sh-2xl), inset 0 1px 1px rgba(255,255,255,0.06);
  position: relative;
}

.phone-bezel::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: #333;
  border-radius: 4px;
  z-index: 10;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #eae6df;
}

.wa-bar {
  background: #075e54;
  padding: 36px 16px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.wa-avatar {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.wa-bar-info { font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.wa-bar-status { font-size: 0.7rem; font-weight: 400; opacity: 0.8; }

.wa-chat {
  padding: 18px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 480px;
  overflow-y: hidden;
  background:
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d5d0c8' fill-opacity='0.12'%3E%3Cpath d='M20 20v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E")
    #eae6df;
}

.bubble {
  padding: 7px 10px 4px;
  border-radius: 8px;
  max-width: 82%;
  font-size: 0.82rem;
  line-height: 1.45;
  position: relative;
  word-wrap: break-word;
}

/* User = green, right side */
.bubble-user {
  background: #dcf8c6;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

/* Bot = white, left side */
.bubble-bot {
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.bubble-time {
  font-size: 0.62rem;
  color: #8c9a8e;
  text-align: right;
  margin-top: 2px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
}

.bubble-user .bubble-time { color: #6d9a6d; }

/* Double check marks for user */
.bubble-checks {
  display: inline-flex;
  color: #53bdeb;
}

.wa-input-bar {
  background: #f0f0f0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-input-field {
  flex: 1;
  background: #fff;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  border: none;
}

.wa-send-btn {
  width: 34px;
  height: 34px;
  background: #075e54;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar {
  padding: 40px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-tertiary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.trust-item:hover { color: var(--text-secondary); }

.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

/* ================================================================
   SECTION SYSTEM
   ================================================================ */
section { padding: 112px 0; }

.section-head {
  text-align: center;
  margin-bottom: 72px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-50);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--primary-light);
}

.section-head h2 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.12rem;
  line-height: 1.75;
}

/* ================================================================
   PRODUCT PILLARS
   ================================================================ */
.pillars { background: var(--bg-subtle); }

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

.pillar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px 36px;
  text-align: center;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.pillar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--dur-slow) var(--ease);
}

.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

.pillar:hover::after { transform: scaleX(1); }

.pillar-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-light) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all var(--dur) var(--ease);
  color: var(--primary);
}

.pillar:hover .pillar-icon {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(26,86,219,0.2);
}

.pillar h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.pillar p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.7; }

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

/* Connecting line */
.steps-row::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--border) 0%, var(--primary) 50%, var(--border) 100%);
}

.step { text-align: center; position: relative; }

.step-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(26,86,219,0.3);
}

.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 0.93rem; max-width: 280px; margin: 0 auto; line-height: 1.65; }

/* ================================================================
   FEATURES GRID
   ================================================================ */
.features { background: var(--bg-subtle); }

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

.feat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all var(--dur) var(--ease);
  position: relative;
}

.feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--primary-light);
}

.feat-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-light) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: all var(--dur) var(--ease);
}

.feat:hover .feat-icon {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,86,219,0.2);
}

.feat h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feat p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ================================================================
   CRM PREVIEW
   ================================================================ */
.crm-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-50) 100%);
  overflow: hidden;
}

.crm-frame {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2xl), var(--sh-glow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.crm-bar {
  background: var(--bg-subtle);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.crm-bar-left { display: flex; align-items: center; gap: 12px; }

.crm-dots { display: flex; gap: 6px; }
.crm-dot { width: 10px; height: 10px; border-radius: 50%; }
.crm-dot:nth-child(1) { background: #ef4444; }
.crm-dot:nth-child(2) { background: #f59e0b; }
.crm-dot:nth-child(3) { background: #22c55e; }

.crm-bar-title { font-weight: 700; font-size: 0.88rem; color: var(--text); }

.crm-tabs { display: flex; gap: 4px; }
.crm-tab {
  padding: 5px 14px;
  font-size: 0.78rem;
  border-radius: var(--r-sm);
  color: var(--text-tertiary);
  font-weight: 500;
  transition: all var(--dur) var(--ease);
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.crm-tab.on { background: var(--primary); color: #fff; font-weight: 600; }

.crm-tab:hover:not(.on) {
  color: var(--text-secondary);
  background: var(--bg-muted);
}

/* CRM Panels */
.crm-panel {
  display: none;
  padding: 24px;
  animation: panelFadeIn 0.35s var(--ease-out);
}

.crm-panel.active { display: block; }

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Panel toolbar */
.crm-panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.crm-panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.crm-panel-count {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.crm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.crm-card {
  background: var(--bg-subtle);
  border-radius: var(--r-md);
  padding: 18px 20px;
  border: 1px solid var(--border-light);
}

.crm-card-label { font-size: 0.78rem; color: var(--text-tertiary); font-weight: 500; }
.crm-card-val { font-size: 1.7rem; font-weight: 800; color: var(--text); margin: 4px 0 2px; letter-spacing: -0.5px; }
.crm-card-delta { font-size: 0.75rem; font-weight: 600; }
.crm-card-delta.up { color: var(--success); }

.crm-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.crm-col {
  background: var(--bg-subtle);
  border-radius: var(--r-md);
  padding: 14px;
  border: 1px solid var(--border-light);
}

.crm-col-head {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crm-col-badge {
  background: var(--border);
  color: var(--text-tertiary);
  font-size: 0.68rem;
  padding: 1px 7px;
  border-radius: var(--r-full);
  font-weight: 700;
}

.crm-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  transition: box-shadow var(--dur) var(--ease);
}

.crm-item:last-child { margin-bottom: 0; }
.crm-item:hover { box-shadow: var(--sh-sm); }
.crm-item-name { font-weight: 600; color: var(--text); margin-bottom: 3px; }
.crm-item-price { color: var(--primary); font-weight: 700; }
.crm-item-meta { color: var(--text-tertiary); font-size: 0.72rem; margin-top: 2px; }

/* Draggable items */
.crm-item-drag {
  cursor: grab;
  position: relative;
}

.crm-item-drag::before {
  content: '⋮⋮';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.68rem;
  color: var(--text-tertiary);
  letter-spacing: -2px;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.crm-item-drag:hover::before { opacity: 1; }

/* Column dots */
.crm-col-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 4-column board */
.crm-board-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Empty column placeholder */
.crm-empty {
  padding: 24px 12px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.78rem;
  border: 2px dashed var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-subtle);
  line-height: 1.5;
}

/* ---- Facturen Table ---- */
.crm-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.crm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  white-space: nowrap;
}

.crm-table th {
  background: var(--bg-subtle);
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.crm-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.crm-table tbody tr:last-child td { border-bottom: none; }
.crm-table tbody tr:hover td { background: var(--bg-subtle); }

.crm-table-mono {
  font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.status-paid { background: var(--success-bg); color: #059669; }
.status-open { background: #fef3c7; color: #d97706; }
.status-overdue { background: #fef2f2; color: #dc2626; }

/* ---- Contacten Grid ---- */
.crm-contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.crm-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 16px 18px;
  transition: all var(--dur) var(--ease);
}

.crm-contact:hover {
  box-shadow: var(--sh-sm);
  border-color: var(--border);
}

.crm-contact-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.crm-contact-info { flex: 1; min-width: 0; }
.crm-contact-name { font-weight: 600; font-size: 0.88rem; color: var(--text); }
.crm-contact-detail { font-size: 0.75rem; color: var(--text-tertiary); margin-top: 2px; }

.crm-contact-tag {
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}

.crm-contact-tag-active { background: var(--success-bg); color: #059669; }
.crm-contact-tag-new { background: #ede9fe; color: #7c3aed; }

/* ================================================================
   PRICING
   ================================================================ */
.pricing { background: var(--bg); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all var(--dur) var(--ease);
}

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

.price-card.featured {
  border-color: var(--primary);
  transform: scale(1.03);
  box-shadow: var(--sh-lg), var(--sh-glow);
}

.price-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--sh-xl), var(--sh-glow);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  padding: 5px 22px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.price-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.price-card .price-sub { color: var(--text-secondary); font-size: 0.88rem; }

.price-amount {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 20px 0 4px;
  letter-spacing: -1.5px;
  line-height: 1;
}

.price-period { color: var(--text-tertiary); font-size: 0.85rem; margin-bottom: 28px; }

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.price-card li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  padding-left: 28px;
  position: relative;
  color: var(--text);
}

.price-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background: var(--success);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.price-card li.off {
  color: var(--text-tertiary);
}

.price-card li.off::before {
  background: var(--border);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='4' y1='8' x2='12' y2='8' stroke='%2394a3b8' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.price-card .btn { width: 100%; }

/* ================================================================
   FAQ
   ================================================================ */
.faq { background: var(--bg-subtle); }

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font: 600 1.02rem/1.4 'Inter', sans-serif;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}

.faq-q:hover { color: var(--primary); }

.faq-toggle {
  width: 30px;
  height: 30px;
  background: var(--primary-50);
  border: 1px solid var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 16px;
  transition: all var(--dur) var(--ease);
}

.faq-toggle svg {
  width: 13px;
  height: 13px;
  stroke: var(--primary);
  stroke-width: 2.5;
  fill: none;
  transition: transform var(--dur) var(--ease);
}

.faq-item.open .faq-toggle {
  background: var(--primary);
  border-color: var(--primary);
}

.faq-item.open .faq-toggle svg {
  stroke: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-a-inner {
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.8;
}

.faq-a-inner a { text-decoration: underline; text-underline-offset: 3px; }

.faq-item.open .faq-a { max-height: 300px; }

/* ================================================================
   CTA
   ================================================================ */
.cta {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary) 40%, #2563eb 100%);
  color: #fff;
  text-align: center;
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 80% 30%, rgba(249,115,22,0.12) 0%, transparent 70%);
}

/* Grid pattern */
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta .container { position: relative; z-index: 1; }
.cta h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.cta .cta-sub { font-size: 1.15rem; opacity: 0.85; margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta .btn-accent { font-size: 1.05rem; padding: 16px 48px; box-shadow: var(--sh-accent); }
.cta-alt { margin-top: 20px; font-size: 0.88rem; opacity: 0.65; }
.cta-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 64px 0 32px;
  font-size: 0.88rem;
}

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

.footer-brand p { max-width: 300px; line-height: 1.75; margin-top: 16px; }

footer h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.02em; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { color: #94a3b8; transition: color var(--dur) var(--ease); }
footer a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--bg-dark-card);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #475569;
}

/* ================================================================
   LEGAL PAGES (privacy.html, terms.html)
   ================================================================ */
.legal-hero {
  padding: 140px 0 48px;
  background: linear-gradient(180deg, var(--primary-50) 0%, var(--bg) 100%);
  text-align: center;
}

.legal-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.legal-hero .legal-date {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.legal-body {
  padding: 48px 0 100px;
}

.legal-body .container {
  max-width: 800px;
}

.legal-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  color: var(--text);
}

.legal-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.legal-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal-body p,
.legal-body li {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-body ul,
.legal-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-body li { margin-bottom: 8px; }

.legal-body strong { color: var(--text); font-weight: 600; }

.legal-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  font-size: 0.88rem;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.legal-body th,
.legal-body td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.legal-body th {
  background: var(--bg-subtle);
  font-weight: 600;
  color: var(--text);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-body tr:last-child td { border-bottom: none; }
.legal-body tr:hover td { background: var(--bg-subtle); }

.legal-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================================================================
   SCROLL PROGRESS BAR
   ================================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1100;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(249,115,22,0.4);
}

/* ================================================================
   NOTIFICATION TOASTS
   ================================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 20px;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text);
  animation: toastIn 0.4s var(--ease-spring), toastOut 0.3s var(--ease) 3.5s forwards;
  max-width: 340px;
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.toast-icon-green { background: var(--success-bg); color: #059669; }
.toast-icon-blue { background: var(--primary-50); color: var(--primary); }
.toast-icon-orange { background: var(--accent-light); color: var(--accent); }

.toast-text { line-height: 1.4; }
.toast-text strong { display: block; font-weight: 600; }
.toast-text span { font-size: 0.78rem; color: var(--text-tertiary); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(60px) scale(0.9); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(60px); }
}

/* ================================================================
   WHATSAPP TYPING ANIMATION
   ================================================================ */
.wa-msg {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.wa-msg.wa-visible {
  opacity: 1;
  transform: translateY(0);
}

.wa-typing {
  align-self: flex-start;
  background: #fff;
  border-radius: 8px;
  border-top-left-radius: 2px;
  padding: 10px 14px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.wa-typing-indicator {
  opacity: 0;
  height: 0;
  padding: 0 14px;
  margin-bottom: 6px;
  overflow: hidden;
  transition: opacity 0.2s ease, height 0.2s ease, padding 0.2s ease;
}

.wa-typing-indicator.wa-typing-show {
  opacity: 1;
  height: 30px;
  padding: 10px 14px;
}

.wa-typing-dot {
  width: 7px;
  height: 7px;
  background: #90a4ae;
  border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}

.wa-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.wa-typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* ================================================================
   PHONE 3D TILT
   ================================================================ */
.phone-bezel {
  transition: transform 0.15s var(--ease);
  transform-style: preserve-3d;
}

/* ================================================================
   SPOTLIGHT CARD GLOW
   ================================================================ */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26,86,219,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card > * { position: relative; z-index: 1; }

/* ================================================================
   CRM MINI CHART
   ================================================================ */
.crm-chart-wrap {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 16px 20px 8px;
  margin-bottom: 20px;
}

.crm-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.crm-chart-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.crm-chart-legend {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.crm-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.crm-chart {
  width: 100%;
  height: 100px;
  display: block;
}

.crm-chart-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 1.8s var(--ease-out);
}

.crm-chart-area {
  opacity: 0;
  transition: opacity 1.2s var(--ease-out) 0.6s;
}

.crm-chart-dots circle {
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-spring);
}

.crm-chart.animated .crm-chart-line {
  stroke-dashoffset: 0;
}

.crm-chart.animated .crm-chart-area {
  opacity: 1;
}

.crm-chart.animated .crm-chart-dots circle {
  opacity: 1;
}

.crm-chart.animated .crm-chart-dots circle:nth-child(1) { transition-delay: 0.3s; }
.crm-chart.animated .crm-chart-dots circle:nth-child(2) { transition-delay: 0.5s; }
.crm-chart.animated .crm-chart-dots circle:nth-child(3) { transition-delay: 0.7s; }
.crm-chart.animated .crm-chart-dots circle:nth-child(4) { transition-delay: 0.9s; }
.crm-chart.animated .crm-chart-dots circle:nth-child(5) { transition-delay: 1.1s; }
.crm-chart.animated .crm-chart-dots circle:nth-child(6) { transition-delay: 1.3s; }
.crm-chart.animated .crm-chart-dots circle:nth-child(7) { transition-delay: 1.5s; }

/* Chart dot hover */
.crm-chart-dots circle:hover {
  transform: scale(1.5);
  filter: drop-shadow(0 0 6px rgba(26,86,219,0.4));
}

/* ================================================================
   PRICING TOGGLE
   ================================================================ */
.price-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.price-toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color var(--dur) var(--ease);
}

.price-toggle-label.price-toggle-active {
  color: var(--text);
  font-weight: 600;
}

.price-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--border);
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
  padding: 0;
}

.price-toggle.yearly {
  background: var(--primary);
}

.price-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease-spring);
}

.price-toggle.yearly .price-toggle-knob {
  transform: translateX(22px);
}

.price-toggle-save {
  background: linear-gradient(135deg, var(--success), #059669);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

/* Price amount transition */
.price-amount {
  transition: transform 0.3s var(--ease-spring);
}

.price-amount.price-changing {
  transform: scale(0.9);
  opacity: 0.5;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .pillar-grid { gap: 20px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .crm-board { grid-template-columns: repeat(2, 1fr); }
  .crm-board-4 { grid-template-columns: repeat(2, 1fr); }
  .crm-contacts { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .section-head h2 { font-size: 2rem; }

  /* Nav */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100dvh;
    background: var(--bg);
    flex-direction: column;
    padding: 88px 32px 32px;
    gap: 0;
    box-shadow: -8px 0 32px rgba(0,0,0,0.12);
    transition: right var(--dur) var(--ease);
    z-index: 999;
  }

  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 0 !important; border-bottom: 1px solid var(--border-light); font-size: 1rem !important; border-radius: 0 !important; background: none !important; }
  .nav-cta { margin-top: 16px; border-radius: var(--r-md) !important; background: var(--accent) !important; text-align: center; border-bottom: none !important; }

  /* Hero */
  .hero { padding: 120px 0 72px; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 2.4rem; letter-spacing: -1px; }
  .hero::after { display: none; }
  .phone-wrap { align-items: center; }
  .wa-scene-tabs { margin-bottom: 10px; }
  .wa-scene-tab { font-size: 0.72rem; padding: 6px 10px; }
  .phone-frame { margin: 0 auto; max-width: 320px; animation: none; }
  .wa-chat { height: 360px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  /* Trust */
  .trust-bar .container {
    gap: 20px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .trust-bar .container::-webkit-scrollbar { display: none; }

  /* Grids */
  .pillar-grid,
  .steps-row,
  .feat-grid,
  .price-grid,
  .crm-stats,
  .crm-board { grid-template-columns: 1fr; }

  .steps-row::before { display: none; }

  .price-card.featured { transform: none; order: -1; }
  .price-card.featured:hover { transform: translateY(-4px); }

  /* Footer */
  footer .container { grid-template-columns: 1fr; gap: 32px; }

  /* CTA */
  .cta h2 { font-size: 2rem; }
  .cta { padding: 80px 0; }

  /* CRM */
  .crm-tabs { flex-wrap: wrap; gap: 2px; }
  .crm-tab { font-size: 0.72rem; padding: 4px 10px; }
  .crm-board-4 { grid-template-columns: 1fr; }
  .crm-contacts { grid-template-columns: 1fr; }
  .crm-panel-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Toasts */
  .toast-container { bottom: 16px; right: 16px; left: 16px; }
  .toast { max-width: 100%; }

  /* Chart */
  .crm-chart-wrap { padding: 12px 14px 4px; }

  /* Legal */
  .legal-hero { padding: 120px 0 36px; }
  .legal-hero h1 { font-size: 2rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2rem; }
  .section-head h2 { font-size: 1.7rem; }
  .feat { padding: 24px 20px; }
  .price-card { padding: 32px 24px; }
  .phone-frame { max-width: 290px; }
}

/* ================================================================
   PRINT
   ================================================================ */
@media print {
  .nav, .cta, .hero-actions, .hamburger, .nav-overlay, .trust-bar { display: none !important; }
  .hero { padding-top: 40px; }
  section { padding: 40px 0; }
  .price-card.featured { transform: none; box-shadow: none; }
  [data-animate] { opacity: 1 !important; transform: none !important; }
}
