/* ============================================================
   KIVOL — styles.css v4.0
   Dark-mode premium landing page
   Mobile-first responsive
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --purple: #7c00ff;
  --purple-light: #a855f7;
  --purple-glow: rgba(124,0,255,0.3);
  --purple-dim: rgba(124,0,255,0.12);
  --lime: #bcff3b;
  --lime-dim: rgba(188,255,59,0.12);
  --lime-glow: rgba(188,255,59,0.3);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.35);
  --green: #22c55e;
  --red: #ef4444;
  --amber: #f59e0b;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-w: 1200px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

@media (min-width: 1280px) {
  .container { padding: 0 48px; }
}

.section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.section--alt {
  background: #0d0d0d;
}

@media (min-width: 1024px) {
  .section { padding: 140px 0; }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .section-header { margin-bottom: 80px; }
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
.text-lime { color: var(--lime); }
.text-purple { color: var(--purple); }
.text-muted { color: var(--text-muted); }
.ml-auto { margin-left: auto; }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 0 0 var(--purple-glow);
}

.btn--primary:hover {
  background: #6900e0;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--purple-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.btn--lime {
  background: var(--lime);
  color: #0a0a0a;
  font-weight: 700;
}

.btn--lime:hover {
  background: #d4ff5a;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--lime-glow);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: var(--radius-lg);
}

.btn--full {
  width: 100%;
}

.btn--glow {
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--purple-glow); }
  50% { box-shadow: 0 0 0 12px rgba(124,0,255,0); }
}

/* ============================================================
   6. BADGE PILL
   ============================================================ */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

/* ============================================================
   7. ANIMATIONS (data-animate)
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  [data-animate].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   8. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10,10,10,0.88);
  border-bottom-color: var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .nav-inner { padding: 0 40px; }
}

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 32px;
  margin-left: 16px;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-link:hover { color: var(--text-primary); }

.nav-actions {
  display: none;
  gap: 16px;
  margin-left: auto;
  align-items: center;
}

.nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-login:hover {
  color: var(--text-primary);
}

@media (min-width: 900px) {
  .nav-actions { display: flex; }
}

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

@media (min-width: 900px) {
  .hamburger { display: none; }
}

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

.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 {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

@media (min-width: 900px) {
  .mobile-menu { display: none; }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav-link:hover { color: var(--text-primary); }

/* ============================================================
   9. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-glow-top {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124,0,255,0.25) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-lime {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(188,255,59,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-dotgrid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero { padding: calc(var(--nav-h) + 80px) 0 120px; }
}

.hero-content {
  text-align: center;
  max-width: 820px;
}

.hero-h1 {
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-row--center {
  margin-top: 28px;
}

/* ============================================================
   10. DASHBOARD MOCKUP
   ============================================================ */
.hero-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.mockup-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 120px;
  background: radial-gradient(ellipse, var(--purple-glow) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.dashboard {
  display: grid;
  grid-template-columns: 52px 1fr 1fr;
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
  transform: perspective(1200px) rotateX(4deg) rotateY(-1deg);
  transition: transform 0.1s linear;
}

@media (max-width: 640px) {
  .dashboard {
    grid-template-columns: 44px 1fr;
    height: 380px;
    transform: none;
  }
  .dash-chat { display: none; }
}

/* Sidebar */
.dash-sidebar {
  background: #0f0f0f;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 0;
}

.dash-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--purple);
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.dash-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
  cursor: default;
}

.dash-nav-icon:hover,
.dash-nav-icon.active {
  background: var(--purple-dim);
  color: var(--purple-light);
}

.dash-nav-icon.active {
  color: var(--purple);
}

/* Inbox */
.dash-inbox {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.dash-inbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.dash-inbox-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-ai-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--lime-dim);
  color: var(--lime);
  font-weight: 600;
  white-space: nowrap;
}

.dash-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.dash-conv-list {
  overflow-y: auto;
  flex: 1;
}

.dash-conv {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: background 0.2s;
}

.dash-conv:hover { background: rgba(255,255,255,0.02); }
.dash-conv.active { background: var(--purple-dim); }

.dash-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.dash-avatar.sm {
  width: 28px;
  height: 28px;
  font-size: 10px;
}

.dash-conv-body { flex: 1; min-width: 0; }

.dash-conv-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.dash-conv-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-conv-time {
  font-size: 10px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 8px;
}

.dash-conv-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-conv-preview {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.dash-unread {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Channel Badges */
.ch-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ch-badge.wa { background: rgba(37,211,102,0.2); color: #25d366; }
.ch-badge.ig { background: rgba(225,48,108,0.2); color: #e1306c; }
.ch-badge.tt { background: rgba(255,255,255,0.1); color: #fff; }
.ch-badge.fb { background: rgba(24,119,242,0.2); color: #1877f2; }
.ch-badge.em { background: rgba(79,70,229,0.2); color: #818cf8; }
.ch-badge.tg { background: rgba(0,136,204,0.2); color: #0088cc; }

/* Chat Panel */
.dash-chat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dash-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.dash-chat-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-chat-status {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.green { background: var(--green); }

.dash-chat-body {
  flex: 1;
  padding: 12px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.dash-msg.incoming { align-self: flex-start; }
.dash-msg.outgoing { align-self: flex-end; align-items: flex-end; }

.dash-msg-ai-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-msg-bubble {
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.5;
}

.dash-msg.incoming .dash-msg-bubble {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border-radius: 4px 10px 10px 10px;
}

.dash-msg.outgoing .dash-msg-bubble {
  background: var(--purple-dim);
  color: var(--text-primary);
  border: 1px solid rgba(124,0,255,0.2);
  border-radius: 10px 4px 10px 10px;
}

.dash-msg.ai .dash-msg-bubble {
  background: rgba(188,255,59,0.06);
  border-color: rgba(188,255,59,0.15);
}

.dash-msg-time {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 3px;
  padding: 0 2px;
}

/* Typing indicator */
.dash-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  width: fit-content;
  align-self: flex-start;
}

.dash-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.4s ease-in-out infinite;
}

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

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

/* Chat Footer */
.dash-chat-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.dash-input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.dash-send {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: default;
}

/* ============================================================
   11. STATS BAR
   ============================================================ */
.stats-bar {
  background: #0d0d0d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.stats-editorial {
  max-width: 860px;
  margin: 0 auto;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 40px 0;
}

@media (min-width: 640px) {
  .stat-row {
    grid-template-columns: 200px 28px 1fr;
    align-items: center;
    gap: 0;
    padding: 48px 0;
  }
}

.stat-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .stat-num-wrap {
    justify-content: flex-end;
    padding-right: 36px;
  }
}

.stat-prefix {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lime);
}

.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}

.stat-num--phrase {
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.stat-em {
  display: none;
  font-size: 28px;
  color: var(--text-muted);
  text-align: center;
  align-self: center;
}

@media (min-width: 640px) {
  .stat-em { display: block; }
}

.stat-text {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 0;
}

@media (min-width: 640px) {
  .stat-text { padding-left: 36px; }
}

.stat-rule {
  height: 1px;
  background: var(--border);
}

/* ============================================================
   12. PAIN CARDS
   ============================================================ */
.pain-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
}

.pain-card {
  background: rgba(239,68,68,0.03);
  border: 1px solid rgba(239,68,68,0.18);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.pain-card:hover {
  border-color: rgba(239,68,68,0.32);
  transform: translateY(-2px);
}

.pain-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pain-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.pain-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   13. KANBAN MOCKUP
   ============================================================ */
.kanban-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  margin-bottom: 48px;
}

.kanban-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.kanban-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.kanban-metric {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.kanban-metric-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.kanban-actions {
  display: flex;
  gap: 8px;
}

.kanban-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: default;
  font-family: inherit;
}

.kanban-btn.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.kanban-board {
  display: flex;
  gap: 0;
  overflow-x: auto;
  min-height: 300px;
  -webkit-overflow-scrolling: touch;
}

.kanban-col {
  flex: 1;
  min-width: 180px;
  padding: 16px 14px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kanban-col:last-child { border-right: none; }

.kanban-col-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.col-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.col-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.col-count {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  padding: 1px 7px;
  border-radius: 100px;
}

.kanban-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  cursor: default;
  transition: border-color 0.2s, transform 0.2s;
}

.kanban-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.kanban-card.lime {
  border-color: rgba(188,255,59,0.25);
  background: rgba(188,255,59,0.04);
}

.kc-top {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.kc-info { flex: 1; min-width: 0; }

.kc-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kc-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.kc-time {
  font-size: 10px;
  color: var(--text-muted);
}

.kc-quote {
  font-size: 11px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.4;
}

/* Kanban annotations */
.kanban-annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--lime);
  background: rgba(188,255,59,0.08);
  border: 1px solid rgba(188,255,59,0.2);
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.kanban-annotation.top-right { top: 80px; right: 16px; }
.kanban-annotation.bottom-left { bottom: 16px; left: 16px; }

/* Feature Pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  font-size: 14px;
  color: var(--text-secondary);
  transition: border-color 0.2s;
}

.feature-pill:hover { border-color: rgba(188,255,59,0.3); }

/* ============================================================
   14. HUB & SPOKE
   ============================================================ */
.hub-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 520px;
  margin: 0 auto 40px;
  display: none;
}

@media (min-width: 768px) {
  .hub-container { display: block; }
}

.spoke-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.spoke-line {
  stroke: rgba(124,0,255,0.45);
  stroke-width: 1.5;
  fill: none;
  transition: stroke-dashoffset 0.8s var(--ease);
}

.spoke-line.animated {
  stroke-dashoffset: 0 !important;
  stroke: rgba(124,0,255,0.7);
}

.hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--purple);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 0 40px var(--purple-glow), 0 0 80px rgba(124,0,255,0.15);
  animation: hubPulse 3s ease-in-out infinite;
  z-index: 2;
}

.hub-center img { width: 52px; height: auto; }

.hub-ai-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--lime-dim);
  padding: 2px 6px;
  border-radius: 4px;
}

@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 40px var(--purple-glow), 0 0 80px rgba(124,0,255,0.15); }
  50% { box-shadow: 0 0 60px rgba(124,0,255,0.5), 0 0 100px rgba(124,0,255,0.25); }
}

.channel-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.ch-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.channel-node:hover .ch-icon-box {
  transform: scale(1.08);
}

.ch-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  white-space: nowrap;
}

.ch-sub {
  font-size: 9px;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

/* Mobile channels grid */
.channels-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

@media (min-width: 480px) {
  .channels-mobile-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .channels-mobile-grid { display: none; }
}

.ch-mobile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s;
}

.ch-mobile-card:hover { border-color: var(--border-hover); }

.ch-mobile-card span {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}

.hub-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   15. FEATURE BLOCKS
   ============================================================ */
.feature-block {
  display: grid;
  gap: 48px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-block:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 120px;
  }

  .feature-block--left .feature-visual { order: -1; }
}

.feature-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--lime-dim);
  border: 1px solid rgba(188,255,59,0.2);
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 16px;
}

.feature-text h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-list li svg { flex-shrink: 0; margin-top: 2px; }

.feature-visual {
  position: relative;
}

/* Chat Mockup (Feature 1) */
.chat-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}

.chat-mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.chat-mock-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Screenshot wrap */
.screenshot-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.screenshot-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   16. COMPARISON TABLE
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.compare-table thead tr {
  background: var(--bg-card);
}

.compare-table th {
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
}

.compare-table th:first-child {
  text-align: left;
  min-width: 220px;
}

.compare-table th.col-kivol {
  background: var(--purple-dim);
  border-left: 1px solid rgba(124,0,255,0.25);
  border-right: 1px solid rgba(124,0,255,0.25);
}

.compare-table th.col-kivol img { margin: 0 auto; }

.compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.compare-table td:first-child {
  text-align: left;
  color: var(--text-primary);
  font-weight: 500;
}

.compare-table td.col-kivol {
  background: rgba(124,0,255,0.05);
  border-left: 1px solid rgba(124,0,255,0.15);
  border-right: 1px solid rgba(124,0,255,0.15);
}

.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.01); }
.compare-table tbody tr:nth-child(even) td.col-kivol { background: rgba(124,0,255,0.07); }

.check {
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
}

.cross {
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
}

.partial {
  color: var(--amber);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(245,158,11,0.1);
  border-radius: 6px;
  white-space: nowrap;
}

/* ============================================================
   17. PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Featured card — gradient border */
.pricing-card--featured {
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              linear-gradient(135deg, #7c00ff, #bcff3b) border-box;
  border: 2px solid transparent;
  box-shadow: 0 0 60px rgba(124,0,255,0.2), 0 0 0 1px rgba(124,0,255,0.1);
}

@media (min-width: 900px) {
  .pricing-card--featured {
    transform: scale(1.03);
  }
  .pricing-card--featured:hover {
    transform: scale(1.03) translateY(-2px);
  }
}

.pricing-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), #a855f7);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.pricing-plan {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-price {
  line-height: 1;
}

.price-amount {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pricing-limits span {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-features li svg { flex-shrink: 0; margin-top: 1px; }
.pricing-features strong { color: var(--text-primary); }

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.pricing-note svg { flex-shrink: 0; margin-top: 1px; }

.pricing-custom {
  text-align: center;
}

.pricing-custom-link {
  font-size: 14px;
  color: var(--purple-light);
  border-bottom: 1px solid rgba(168,85,247,0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.pricing-custom-link:hover {
  color: var(--lime);
  border-color: rgba(188,255,59,0.4);
}

/* ============================================================
   18. INDUSTRY — Editorial List
   ============================================================ */
.industries-list {
  max-width: 900px;
  margin: 0 auto;
}

.industry-entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.industry-entry:first-child {
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .industry-entry {
    grid-template-columns: 220px 1fr;
    gap: 56px;
    padding: 52px 0;
    align-items: start;
  }
}

.industry-num {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--purple);
  opacity: 0.35;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .industry-num { font-size: 72px; }
}

.industry-name {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

.industry-entry-right p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.industry-result {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lime);
}

/* ============================================================
   19. FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question:hover { color: var(--purple-light); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease);
}

details[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   20. CTA FINAL
   ============================================================ */
.cta-final {
  position: relative;
  padding: 120px 0;
  background: var(--bg-primary);
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-glow-purple {
  position: absolute;
  top: 50%;
  left: -10%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,0,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-glow-lime {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(188,255,59,0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-final-content h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.cta-final-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

@media (min-width: 1024px) {
  .cta-final { padding: 160px 0; }
}

/* ============================================================
   21. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .footer-top {
    flex-direction: row;
    gap: 80px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 280px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.footer-socials a:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  flex: 1;
}

@media (min-width: 640px) {
  .footer-links-group { grid-template-columns: repeat(4, 1fr); }
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

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

.footer-col a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
  line-height: 1.4;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   22. MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: #141414;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  padding: 36px 32px;
  position: relative;
  margin: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 60px rgba(124,0,255,0.1);
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.modal-header {
  margin-bottom: 28px;
  text-align: center;
}

.modal-header img { margin: 0 auto 16px; }

.modal-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.modal-plan-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--purple-dim);
  border: 1px solid rgba(124,0,255,0.3);
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-light);
  margin-top: 8px;
}

/* Form */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.required { color: var(--red); }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(124,0,255,0.5);
  box-shadow: 0 0 0 3px rgba(124,0,255,0.12);
}

.form-group input.error {
  border-color: rgba(239,68,68,0.5);
}

.form-group input::placeholder { color: var(--text-muted); }

/* Slider */
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  outline: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--purple);
  cursor: pointer;
  box-shadow: 0 0 8px var(--purple-glow);
  transition: transform 0.15s;
}

.slider::-webkit-slider-thumb:hover { transform: scale(1.15); }

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--purple);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 8px var(--purple-glow);
}

.slider-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-light);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-error {
  font-size: 13px;
  color: var(--red);
  display: none;
  padding: 10px 14px;
  background: rgba(239,68,68,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(239,68,68,0.2);
}

.form-error.visible { display: block; }

.modal-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.modal-disclaimer a {
  color: var(--purple-light);
  border-bottom: 1px solid rgba(168,85,247,0.3);
}

/* Success state */
.modal-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--lime-dim);
  border: 2px solid rgba(188,255,59,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.modal-success h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.modal-success p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ============================================================
   23. MISC UTILITIES
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

::selection {
  background: rgba(124,0,255,0.35);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================================
   24. SET A — MOBILE EXPERIENCE
   ============================================================ */

/* A1. Hero mobile */
@media (max-width: 768px) {
  .hero-h1 {
    font-size: clamp(32px, 9vw, 38px);
  }

  .hero-sub {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .hero-cta-ghost {
    display: none;
  }

  .hero-cta-primary {
    width: 100%;
  }

  .hero-mockup-wrap {
    display: none;
  }

  .hero-mobile-stat {
    display: flex;
    margin-bottom: 16px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }
}

.hero-mobile-stat {
  display: none;
}

.hero-mobile-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(188,255,59,0.1);
  border: 1px solid rgba(188,255,59,0.25);
  color: var(--lime);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* A2. Stats mobile — show only stat rows 1 and 3 */
@media (max-width: 768px) {
  .stats-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-row:nth-child(3),
  .stat-row:nth-child(7) {
    /* stat rows 2 (index 3) and 4 (index 7) considering .stat-rule separators */
  }

  /* Hide stat row 2 (+40%) and stat row 4 ($1 de cada $3) */
  /* Stats: row1=stat-row, rule, row2=stat-row, rule, row3=stat-row, rule, row4=stat-row */
  .stats-editorial .stat-row:nth-child(3) { display: none; }
  .stats-editorial .stat-row:nth-child(7) { display: none; }
  .stats-editorial .stat-rule { display: none; }

  .stat-row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
  }

  .stat-em { display: none; }

  .stat-num-wrap {
    display: flex;
    align-items: baseline;
    gap: 0;
  }

  .stats-bar {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* A3. Comparativa table mobile */
@media (max-width: 768px) {
  .table-wrap {
    display: none;
  }

  .compare-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

.compare-mobile-list {
  display: none;
}

.compare-mobile-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.cml-check {
  font-size: 18px;
  flex-shrink: 0;
}

/* A4. Features mobile */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-block .feature-visual {
    display: none;
  }

  .feature-block .feature-text {
    width: 100%;
  }

  .feature-list li:nth-child(n+3) {
    display: none;
  }
}

/* A5. Industries mobile — handled by tab CSS below */

/* A6. Pricing mobile */
@media (max-width: 768px) {
  .pricing-card--featured {
    border-color: rgba(124,0,255,0.5);
    box-shadow: 0 0 32px rgba(124,0,255,0.2);
  }

  .pricing-badge-top {
    font-size: 11px;
    padding: 4px 10px;
  }

  .pricing-features li:nth-child(n+6) {
    display: none;
  }
}

/* A7. Footer mobile */
@media (max-width: 768px) {
  .footer-links-group {
    display: none;
  }

  .footer-mobile-simple {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-bottom: 8px;
  }
}

.footer-mobile-simple {
  display: none;
}

.footer-mobile-simple a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-mobile-simple a:hover {
  color: var(--text-primary);
}

/* A8. Mobile sticky CTA bar */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px 20px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 200;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
  }

  .mobile-sticky-btn {
    height: 48px;
    font-size: 15px;
  }
}

/* A9. Mobile navbar full-screen overlay */
@media (max-width: 768px) {
  .mobile-menu.open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 190;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .mobile-menu.open .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
  }

  .mobile-menu.open .mobile-nav-link {
    font-size: 20px;
    font-weight: 600;
    padding: 12px 24px;
    display: block;
    text-align: center;
  }

  .mobile-menu.open .btn--full {
    width: 240px;
  }
}

.mobile-menu-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px;
  color: var(--text-secondary);
  transition: color 0.2s;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .mobile-menu.open .mobile-menu-close {
    display: flex;
  }
}

/* A10. General mobile rules */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  body {
    line-height: 1.5;
  }

  .section {
    padding: 60px 0;
  }

  .section--alt {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  button, a {
    min-height: 44px;
  }

  .btn {
    min-height: 44px;
  }
}

/* ============================================================
   25. SET B — DESKTOP IMPROVEMENTS
   ============================================================ */

/* B1. Pain split layout */
.pain-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .pain-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.pain-chaos {
  position: relative;
  height: 320px;
}

.chaos-window {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 160px;
  padding: 10px;
}

.chaos-window--wa {
  top: 0;
  left: 20px;
  transform: rotate(-4deg);
  z-index: 1;
}

.chaos-window--ig {
  top: 40px;
  left: 100px;
  transform: rotate(3deg);
  z-index: 2;
}

.chaos-window--tt {
  top: 140px;
  left: 10px;
  transform: rotate(-2deg);
  z-index: 1;
}

.chaos-window--em {
  top: 160px;
  left: 120px;
  transform: rotate(5deg);
  z-index: 3;
}

.chaos-win-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

.chaos-win-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chaos-win-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chaos-msg-dot {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  width: 80%;
}

.chaos-msg-dot.w-short { width: 50%; }
.chaos-msg-dot.w-med { width: 65%; }
.chaos-msg-dot.w-long { width: 90%; }

.chaos-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--purple);
  color: white;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.chaos-badge--red {
  background: #ef4444;
}

.chaos-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(239,68,68,0.08) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 16px;
}

.pain-points {
  display: flex;
  flex-direction: column;
}

.pain-point {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.pain-point:last-child {
  margin-bottom: 0;
}

.pain-point-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(239,68,68,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain-point h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.pain-point p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* B2. Industries tabs */
.industries-tabs { }

.industry-tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.industry-tab {
  padding: 14px 24px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
  min-height: auto;
}

.industry-tab:hover { color: var(--text-primary); }
.industry-tab.active { color: var(--text-primary); border-bottom-color: var(--purple); }

.industry-panels { }

.industry-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.industry-panel.active { display: grid; }

.ind-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(124,0,255,0.08);
}

.ind-mock-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.ind-mock-title { font-weight: 600; color: var(--text-primary); }
.ind-mock-status { color: var(--lime); font-size: 11px; }
.ind-mock-body { padding: 16px; }

.ind-mock-ai-note {
  margin-top: 16px;
  padding: 8px 12px;
  background: rgba(188,255,59,0.06);
  border-radius: 8px;
  font-size: 11px;
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(188,255,59,0.15);
}

/* Clinicas */
.ind-appt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.ind-appt:last-of-type { border-bottom: none; }
.ind-appt--active {
  background: rgba(124,0,255,0.05);
  margin: 0 -16px;
  padding: 10px 16px;
  border-radius: 8px;
  border-bottom: none;
}
.ind-appt-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 36px;
  font-family: 'Bricolage Grotesque', sans-serif;
}
.ind-appt-info { flex: 1; }
.ind-appt-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.ind-appt-type { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.ind-appt-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.ind-appt-badge.wa { background: rgba(37,211,102,0.2); color: #25d366; }
.ind-appt-badge.ig { background: rgba(225,48,108,0.2); color: #e1306c; }

/* Inmobiliarias */
.ind-lead-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.ind-lead-row:last-of-type { border-bottom: none; }
.ind-lead-info { flex: 1; }
.ind-lead-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.ind-lead-detail { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.ind-lead-score {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--lime);
}
.ind-score--med { color: var(--amber); }
.ind-score--low { color: var(--text-muted); }

/* E-commerce */
.ind-cart-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.ind-cart-row:last-of-type { border-bottom: none; }
.ind-cart-icon { font-size: 18px; }
.ind-cart-info { flex: 1; }
.ind-cart-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.ind-cart-action { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.ind-cart-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Educación */
.ind-enroll-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.ind-enroll-row:last-of-type { border-bottom: none; }
.ind-enroll-step {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  background: rgba(34,197,94,0.15);
  color: #22c55e;
}
.ind-enroll-step.active {
  background: rgba(124,0,255,0.2);
  color: var(--purple-light);
}
.ind-enroll-info { flex: 1; }
.ind-enroll-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.ind-enroll-detail { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* Industry panel content */
.industry-num-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--purple);
  opacity: 0.25;
  margin-bottom: 16px;
}

.industry-panel-content h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.industry-panel-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.industry-result {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lime);
}

/* Industries mobile: tabs become scrollable, panels stack */
@media (max-width: 768px) {
  .industry-tab-bar {
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
  }

  .industry-tab-bar::-webkit-scrollbar {
    display: none;
  }

  .industry-tab {
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .industry-panel.active {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .industry-num-label { font-size: 48px; }

  .industry-panel-visual { order: 2; }
  .industry-panel-content { order: 1; }
}

/* B3. Starter plan note */
.pricing-starter-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: -8px;
  margin-bottom: 0;
}

/* B4. Trust block */
.section--trust-block {
  padding: 32px 0 48px;
  background: var(--bg-primary);
}

.trust-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .trust-block-grid { grid-template-columns: 1fr; }
}

.trust-block-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.trust-block-card:hover { border-color: rgba(124,0,255,0.3); }

.trust-block-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(188,255,59,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(188,255,59,0.15);
}

.trust-block-body h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.trust-block-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* B5. Section visual hierarchy */
#precios { padding-top: 140px; padding-bottom: 140px; }
.cta-final { padding-top: 160px; padding-bottom: 160px; }
.stats-bar { padding-top: 48px; padding-bottom: 48px; }

@media (max-width: 768px) {
  #precios { padding-top: 60px; padding-bottom: 60px; }
  .cta-final { padding-top: 80px; padding-bottom: 80px; }
}

/* B6. Hub center bigger + animations */
.hub-center {
  width: 120px;
  height: 120px;
  animation: hubPulse 3s ease-in-out infinite;
}

.hub-center img {
  width: 80px;
  height: auto;
}

@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,0,255,0.3), 0 0 0 0 rgba(124,0,255,0.1); }
  50% { box-shadow: 0 0 0 12px rgba(124,0,255,0.1), 0 0 0 24px rgba(124,0,255,0.05); }
}

.spoke-line.animated {
  animation: spokeGlint 4s ease-in-out infinite 1s;
  stroke-opacity: 0.4;
}

@keyframes spokeGlint {
  0%, 100% { stroke-opacity: 0.3; }
  50% { stroke-opacity: 0.7; }
}
