/* ============================================
   Base360 Landing Page — Styles
   ============================================ */

:root {
  --blue: #0066FF;
  --blue-dark: #0052CC;
  --blue-light: #E8F1FF;
  --navy: #0A1628;
  --navy-mid: #132238;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --green: #10B981;
  --green-light: #D1FAE5;
  --purple: #7C3AED;
  --purple-tint: #F5F3FF;
  --lavender: #EDE9FE;
  --cyan: #06B6D4;
  --cyan-light: #CFFAFE;
  --orange: #F59E0B;
  --orange-light: #FEF3C7;
  --red: #EF4444;
  --gradient-brand: linear-gradient(135deg, var(--blue) 0%, #4D9FFF 45%, var(--purple) 100%);
  --gradient-section: linear-gradient(160deg, var(--blue-light) 0%, var(--white) 40%, var(--lavender) 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --shadow-blue: 0 8px 32px rgba(0,102,255,0.25);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --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);
  --hero-cycle: 12s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, #4D9FFF 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-dark);
  background: var(--blue-light);
  border: 1px solid rgba(0, 102, 255, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-tag.light {
  color: var(--white);
  background: rgba(0, 102, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
}

.problem .section-tag {
  color: #B91C1C;
  background: #FEE2E2;
  border-color: rgba(239, 68, 68, 0.2);
}

.story .section-tag {
  color: #6D28D9;
  background: var(--lavender);
  border-color: rgba(124, 58, 237, 0.25);
}

.features .section-tag {
  color: var(--blue-dark);
  background: var(--blue-light);
  border-color: rgba(0, 102, 255, 0.2);
}

.faq .section-tag {
  color: #047857;
  background: var(--green-light);
  border-color: rgba(16, 185, 129, 0.25);
}

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

.section-header h2 {
  color: var(--navy);
}

.section-header p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--gray-600);
}

.section {
  padding: 120px 0;
  position: relative;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 102, 255, 0.45);
  filter: brightness(1.05);
}

.btn-ghost {
  color: var(--gray-600);
  padding: 14px 20px;
}

.btn-ghost:hover { color: var(--blue); }

.btn-nav {
  background: var(--blue);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.875rem;
  box-shadow: 0 2px 12px rgba(0, 102, 255, 0.3);
}

.btn-nav:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.4);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  margin-top: 24px;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 102, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 102, 255, 0.06);
  padding: 12px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gray-900); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  contain: strict;
}

.hero-media.hero-paused,
.hero-media.hero-paused * {
  animation-play-state: paused !important;
}

.hero-bg {
  position: absolute;
  inset: -4% -8%;
  background: url('assets/pexels-olly.jpg') center / cover no-repeat;
  transform: translate3d(14%, 0, 0) scale(1.08);
  opacity: 0;
  backface-visibility: hidden;
}

.hero-bg.hero-bg-enter,
.hero-bg.hero-bg-entered {
  opacity: 1;
}

.hero-bg.hero-bg-enter {
  animation: hero-bg-enter 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-bg-enter {
  from {
    transform: translate3d(14%, 0, 0) scale(1.08);
    opacity: 0;
  }
  to {
    transform: translate3d(2%, 0, 0) scale(1.06);
    opacity: 1;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(232, 241, 255, 0.88) 32%,
      rgba(245, 243, 255, 0.55) 52%,
      rgba(255, 255, 255, 0.12) 72%,
      transparent 100%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.5) 0%,
      transparent 35%,
      transparent 75%,
      rgba(232, 241, 255, 0.35) 100%),
    radial-gradient(ellipse 70% 80% at 12% 50%, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero animation stage */
.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tt-stack {
  position: absolute;
  right: clamp(24px, 6vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 28vw, 360px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}

.tt-panels {
  position: relative;
  width: 100%;
  min-height: 390px;
  z-index: 2;
}

.tt-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  backface-visibility: hidden;
  z-index: 1;
}

.tt-panel.tt-dm { z-index: 2; }

.tt-phone {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0, 102, 255, 0.12), 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.1);
}

.tt-phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.tt-app {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
}

.tt-live {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fe2c55;
  letter-spacing: 0.06em;
}

.tt-video-thumb {
  height: 360px;
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.tt-mockup-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tt-video-logo {
  position: absolute;
  bottom: -40px;
  left: -50px;
      transform: rotate(350deg);
  z-index: 2;
  pointer-events: none;
}

.tt-video-logo img {
  width: 230px;
  height: 230px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.tt-comments-section {
  padding: 16px 18px 20px;
}

.tt-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tt-comment {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.tt-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tt-avatar-brand {
  background: var(--blue);
}

.tt-comment-body {
  flex: 1;
  min-width: 0;
}

.tt-handle {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 3px;
}

.tt-comment-body p {
  font-size: 0.82rem;
  color: var(--gray-800);
  line-height: 1.45;
  margin: 0;
}

.tt-comment-brand .tt-comment-body {
  background: var(--blue-light);
  padding: 8px 10px;
  border-radius: 10px;
}

.tt-ai-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 4px;
}

/* Typing reveal */
.tt-typing {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--blue);
  width: 0;
  animation:
    tt-type-text 1.2s steps(18, end) 0.6s forwards,
    tt-cursor var(--hero-cycle) step-end infinite;
}

@keyframes tt-type-text {
  to { width: 9.5em; }
}

@keyframes tt-cursor {
  0%, 6%   { border-color: var(--blue); }
  6.1%, 100% { border-color: transparent; }
}

/* DM layout */
.tt-dm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.tt-dm-back {
  color: var(--gray-600);
  font-size: 1.4rem;
  line-height: 1;
  opacity: 0.7;
}

.tt-dm-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tt-dm-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
}

.tt-dm-status {
  font-size: 0.68rem;
  color: var(--gray-400);
}

.tt-dm-thread {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
}

.tt-bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.tt-bubble p { margin: 0; }

.tt-bubble-in {
  align-self: flex-start;
  background: var(--gray-100);
  border-bottom-left-radius: 4px;
}

.tt-bubble-in p { color: var(--gray-800); }

.tt-bubble-out {
  align-self: flex-end;
  background: var(--blue);
  border-bottom-right-radius: 4px;
}

.tt-bubble-out p { color: var(--white); }

/* Purchased scene — sits below panels in tt-stack */
.tt-purchased {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  margin-top: -18px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 20px 60px rgba(16, 185, 129, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.15);
  color: var(--white);
  backface-visibility: hidden;
  z-index: 0;
}

.tt-purchased-glow {
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  background: rgba(16, 185, 129, 0.35);
  filter: blur(10px);
  z-index: -1;
  opacity: 0;
  animation:
    tt-purchased-glow-sync var(--hero-cycle) ease-in-out infinite,
    tt-purchased-pulse 2s ease-in-out infinite;
}

@keyframes tt-purchased-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}

.tt-purchased-check {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-purchased-check svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.tt-purchased-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tt-purchased-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.tt-purchased strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--white);
}

.tt-purchased-detail {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* ---- Hero animation timeline (12s: 9s action + 3s hold) ---- */

.tt-comments {
  opacity: 0;
  transform: translate3d(40px, 0, 0) scale(0.96);
  animation: tt-show-comments var(--hero-cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.tt-dm {
  opacity: 0;
  transform: translate3d(40px, 0, 0) scale(0.96);
  animation: tt-show-dm var(--hero-cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.anim-c-user {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  animation: tt-pop-in var(--hero-cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.anim-c-reply {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  animation: tt-reply-in var(--hero-cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.anim-dm-1, .anim-dm-2, .anim-dm-3, .anim-dm-4 {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  animation-duration: var(--hero-cycle);
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-iteration-count: infinite;
}

.anim-dm-1 { animation-name: tt-dm-1; }
.anim-dm-2 { animation-name: tt-dm-2; }
.anim-dm-3 { animation-name: tt-dm-3; }
.anim-dm-4 { animation-name: tt-dm-4; }

.anim-purchased {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.75);
  animation: tt-purchased-in var(--hero-cycle) cubic-bezier(0.34, 1.4, 0.64, 1) infinite;
}

@keyframes tt-purchased-glow-sync {
  0%, 74%  { opacity: 0; }
  75%, 100% { opacity: 0.75; }
}

/* Comments panel: 0–45% visible, fade out by 48% */
@keyframes tt-show-comments {
  0%        { opacity: 0; transform: translate3d(40px, 0, 0) scale(0.96); }
  4%        { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  42%       { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  48%, 100% { opacity: 0; transform: translate3d(-20px, 0, 0) scale(0.98); pointer-events: none; }
}

/* DM panel: hidden until 44%, visible 48–75%, hold through 100% */
@keyframes tt-show-dm {
  0%, 44%   { opacity: 0; transform: translate3d(40px, 0, 0) scale(0.96); }
  50%       { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  75%, 100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes tt-pop-in {
  0%, 5%    { opacity: 0; transform: translate3d(0, 8px, 0); }
  10%       { opacity: 1; transform: translate3d(0, 0, 0); }
  42%, 100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes tt-reply-in {
  0%, 22%   { opacity: 0; transform: translate3d(0, 10px, 0); }
  28%       { opacity: 1; transform: translate3d(0, 0, 0); }
  42%, 100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes tt-dm-1 {
  0%, 50%   { opacity: 0; transform: translate3d(0, 12px, 0); }
  54%       { opacity: 1; transform: translate3d(0, 0, 0); }
  75%, 100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes tt-dm-2 {
  0%, 56%   { opacity: 0; transform: translate3d(0, 12px, 0); }
  60%       { opacity: 1; transform: translate3d(0, 0, 0); }
  75%, 100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes tt-dm-3 {
  0%, 62%   { opacity: 0; transform: translate3d(0, 12px, 0); }
  66%       { opacity: 1; transform: translate3d(0, 0, 0); }
  75%, 100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes tt-dm-4 {
  0%, 68%   { opacity: 0; transform: translate3d(0, 12px, 0); }
  72%       { opacity: 1; transform: translate3d(0, 0, 0); }
  75%, 100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes tt-purchased-in {
  0%, 68%   { opacity: 0; transform: translate3d(0, 40px, 0) scale(0.75); }
  72%       { opacity: 1; transform: translate3d(0, -6px, 0) scale(1.05); }
  75%       { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  100%      { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 560px;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--lavender) 100%);
  border: 1px solid rgba(0, 102, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.12);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 24px;
}

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

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

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  margin-bottom: 24px;
  color: var(--gray-700);
}

.hero-title .text-gradient {
  display: inline;
  background-image: linear-gradient(120deg, #0047B3 0%, #0066FF 45%, #5B21B6 100%);
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0066FF;
}

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

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { display: flex; flex-direction: column; }

.hero .stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.03em;
}

.hero .stat:nth-child(1) .stat-num,
.hero .stat:nth-child(1) .stat-suffix { color: var(--blue); }
.hero .stat:nth-child(3) .stat-num,
.hero .stat:nth-child(3) .stat-suffix { color: var(--green); }
.hero .stat:nth-child(5) .stat-num,
.hero .stat:nth-child(5) .stat-suffix { color: var(--purple); }

.hero .stat-suffix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
}

.hero .stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-top: 2px;
}

.hero .stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(0, 102, 255, 0.25), transparent);
}

.hero .btn-ghost {
  color: var(--gray-600);
}

.hero .btn-ghost:hover {
  color: var(--blue);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 0.8rem;
  animation: bounce-hint 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes bounce-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   Reveal animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ============================================
   Problem section
   ============================================ */

.problem {
  background:
    radial-gradient(ellipse 60% 50% at 0% 30%, rgba(239, 68, 68, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 70%, rgba(0, 102, 255, 0.1) 0%, transparent 70%),
    linear-gradient(160deg, #FFF8F8 0%, var(--blue-light) 55%, var(--lavender) 100%);
  border-top: 1px solid rgba(0, 102, 255, 0.12);
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.problem-text h2 {
  color: var(--navy);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problem-text p {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.problem-visual {
  position: relative;
}

.sprawl-card {
  background: var(--white);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow:
    0 20px 56px rgba(239, 68, 68, 0.08),
    0 8px 32px rgba(0, 102, 255, 0.1),
    var(--shadow);
  position: relative;
  overflow: hidden;
}

.sprawl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--orange) 50%, var(--blue) 100%);
}

.sprawl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sprawl-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sprawl-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  background: #FEF2F2;
  padding: 5px 12px;
  border-radius: 100px;
  animation: sprawl-pulse 2.5s ease-in-out infinite;
}

@keyframes sprawl-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.12); }
}

.sprawl-map {
  position: relative;
  height: 260px;
  margin-bottom: 20px;
  overflow: hidden;
}

.sprawl-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--red);
  opacity: 0.35;
}

.sprawl-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #FEF2F2;
  border: 2px dashed rgba(239, 68, 68, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.06);
}

.sprawl-hub-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--red);
  line-height: 1;
}

.sprawl-hub-text {
  font-size: 0.58rem;
  font-weight: 600;
  color: #B91C1C;
  text-align: center;
  max-width: 64px;
  line-height: 1.2;
}

.sprawl-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
  width: 72px;
  max-width: 22%;
}

.sprawl-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  border: 1px solid var(--gray-200);
}

.sprawl-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.sprawl-icon-tiktok { color: #000; }
.sprawl-icon-ig {
  color: #E1306C;
  background: linear-gradient(45deg, #F58529, #DD2A7B);
}
.sprawl-icon-ig svg { color: var(--white); }
.sprawl-icon-wa {
  background: #25D366;
  color: var(--white);
  border-color: rgba(37, 211, 102, 0.35);
}
.sprawl-icon-sms {
  background: var(--blue-light);
  color: var(--blue);
  border-color: rgba(0, 102, 255, 0.15);
}
.sprawl-icon-mail {
  background: #FEE2E2;
  color: #EA4335;
  border-color: rgba(234, 67, 53, 0.15);
}
.sprawl-icon-crm {
  background: var(--gray-100);
  color: var(--gray-500);
  border-color: var(--gray-200);
}

.sprawl-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 100px;
  background: var(--red);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  z-index: 1;
}

.sprawl-count-muted {
  background: var(--gray-400);
  font-size: 0.7rem;
}

.sprawl-name {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sprawl-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.sprawl-stat {
  padding: 12px 14px;
  background: var(--blue-light);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 102, 255, 0.12);
}

.sprawl-stat-warn {
  background: var(--orange-light);
  border-color: rgba(245, 158, 11, 0.25);
}

.sprawl-stat-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.sprawl-stat-warn .sprawl-stat-num {
  color: #D97706;
}

.sprawl-stat-label {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ============================================
   Story section
   ============================================ */

.story {
  background:
    radial-gradient(ellipse 55% 45% at 85% 20%, rgba(124, 58, 237, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 10% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 70%),
    linear-gradient(135deg, var(--lavender) 0%, var(--white) 40%, var(--cyan-light) 100%);
}

.story-demo {
  background: var(--white);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(124, 58, 237, 0.12),
    0 8px 32px rgba(0, 102, 255, 0.08);
}

.story-timeline { margin-bottom: 32px; }

.timeline-track {
  height: 6px;
  background: linear-gradient(90deg, var(--gray-200), var(--lavender), var(--cyan-light));
  border-radius: 6px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.timeline-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--cyan), var(--green));
  border-radius: 6px;
  transition: width 0.6s var(--ease);
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.35);
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 8px;
  border-radius: var(--radius);
  transition: all 0.3s;
  color: var(--gray-400);
}

.timeline-step:hover { color: var(--gray-600); }

.timeline-step.active { color: var(--blue); }

.timeline-step:nth-child(1).active { color: var(--blue); }
.timeline-step:nth-child(2).active { color: var(--purple); }
.timeline-step:nth-child(3).active { color: #0891B2; }
.timeline-step:nth-child(4).active { color: #047857; }
.timeline-step:nth-child(5).active { color: #D97706; }
.timeline-step:nth-child(6).active { color: var(--green); }

.step-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--gray-200);
  color: var(--gray-500);
  transition: all 0.3s var(--ease-spring);
}

.timeline-step.active .step-num {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-blue);
  transform: scale(1.1);
}

.timeline-step:nth-child(1).active .step-num {
  background: linear-gradient(135deg, var(--blue), #4D9FFF);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.4);
}

.timeline-step:nth-child(2).active .step-num {
  background: linear-gradient(135deg, var(--purple), #A78BFA);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.timeline-step:nth-child(3).active .step-num {
  background: linear-gradient(135deg, var(--cyan), #22D3EE);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.4);
}

.timeline-step:nth-child(4).active .step-num {
  background: linear-gradient(135deg, #059669, var(--green));
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.timeline-step:nth-child(5).active .step-num {
  background: linear-gradient(135deg, #D97706, var(--orange));
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.timeline-step:nth-child(6).active .step-num {
  background: linear-gradient(135deg, var(--green), #34D399);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45);
}

.timeline-step.active .step-label {
  color: var(--blue-dark);
  font-weight: 700;
}

.timeline-step:nth-child(2).active .step-label { color: #6D28D9; }
.timeline-step:nth-child(3).active .step-label { color: #0E7490; }
.timeline-step:nth-child(4).active .step-label { color: #047857; }
.timeline-step:nth-child(5).active .step-label { color: #B45309; }
.timeline-step:nth-child(6).active .step-label { color: #059669; }

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.story-panels {
  position: relative;
  min-height: 380px;
}

.story-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.5s var(--ease);
  pointer-events: none;
  overflow: hidden;
}

.story-panel.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.panel-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 400px;
  margin: 0 auto;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.mockup-app {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
}

.mockup-live {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-ai {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 100px;
}

.mockup-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}

.mockup-badge.hot {
  background: #FEF3C7;
  color: #D97706;
}

.mockup-badge.pulse { animation: pulse-dot 1.5s infinite; }

.mockup-video {
  padding: 20px;
  position: relative;
}

.video-placeholder {
  height: 400px;
  background: var(--gray-900);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.comment-bubble {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  animation: slide-up 0.5s var(--ease-out);
}

.comment-bubble.outgoing {
  flex-direction: row-reverse;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.comment-avatar {
  width: 32px;
  height: 32px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.comment-body {
  background: var(--gray-100);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  max-width: 280px;
}

.comment-body strong { display: inline-block; font-size: 0.75rem; margin-bottom: 4px; }

.comment-bubble.outgoing .comment-body {
  background: var(--blue-light);
}

.ai-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--blue);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

/* DM mockup */
.dm-thread { padding: 20px; display: flex; flex-direction: column; gap: 12px; }

.dm-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.5;
  animation: slide-up 0.4s var(--ease-out) backwards;
}

.dm-msg:nth-child(1) { animation-delay: 0.1s; }
.dm-msg:nth-child(2) { animation-delay: 0.3s; }
.dm-msg:nth-child(3) { animation-delay: 0.5s; }

.dm-msg.incoming {
  background: var(--gray-100);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.dm-msg.incoming.ai { background: var(--blue-light); }

.dm-msg.outgoing {
  background: var(--blue);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.dm-time {
  display: block;
  font-size: 0.65rem;
  opacity: 0.6;
  margin-top: 4px;
}

/* CRM mockup */
.crm-card {
  padding: 24px;
  display: flex;
  gap: 16px;
}

.crm-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), #7C3AED);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.crm-details h4 { margin-bottom: 4px; }

.crm-source {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.crm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--gray-100);
  border-radius: 100px;
  color: var(--gray-600);
}

.tag-hot { background: #FEF3C7; color: #D97706; }

.crm-score {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.score-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), #34D399);
  border-radius: 6px;
  animation: score-grow 1s var(--ease-out);
}

@keyframes score-grow {
  from { width: 0 !important; }
}

.score-num { font-weight: 700; color: var(--green); }

/* Call mockup */
.call-ui {
  padding: 32px 24px;
  text-align: center;
}

.call-avatar-ring {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  padding: 3px;
  animation: ring-pulse 2s infinite;
}

@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,102,255,0.3); }
  50% { box-shadow: 0 0 0 12px rgba(0,102,255,0); }
}

.call-avatar {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue), #7C3AED);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.call-status { font-size: 0.85rem; color: var(--gray-400); margin-top: 4px; }

.call-wave {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 20px 0;
}

.call-wave span {
  width: 4px;
  height: 24px;
  background: var(--blue);
  border-radius: 4px;
  animation: wave 1s ease-in-out infinite;
}

.call-wave span:nth-child(1) { animation-delay: 0s; height: 16px; }
.call-wave span:nth-child(2) { animation-delay: 0.1s; height: 24px; }
.call-wave span:nth-child(3) { animation-delay: 0.2s; height: 32px; }
.call-wave span:nth-child(4) { animation-delay: 0.3s; height: 24px; }
.call-wave span:nth-child(5) { animation-delay: 0.4s; height: 16px; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.call-transcript {
  background: var(--gray-50);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--gray-600);
  text-align: left;
  line-height: 1.6;
}

/* Success mockup */
.success-content {
  padding: 40px 24px;
  text-align: center;
}

.success-icon { font-size: 3rem; margin-bottom: 12px; }

.success-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--green);
}

.success-content > p { color: var(--gray-500); margin-bottom: 24px; }

.success-journey {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.journey-item {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 12px;
  background: var(--gray-100);
  border-radius: 100px;
  color: var(--gray-500);
}

.journey-item.done { background: var(--green-light); color: var(--green); }
.journey-item.highlight { background: var(--green); color: var(--white); }

.journey-arrow { color: var(--gray-300); font-size: 0.8rem; }

.success-note {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue) !important;
}

/* ============================================
   Features
   ============================================ */

.features {
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(0, 102, 255, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 5% 90%, rgba(124, 58, 237, 0.1) 0%, transparent 70%),
    linear-gradient(160deg, var(--blue-light) 0%, var(--purple-tint) 45%, var(--cyan-light) 100%);
  border-top: 1px solid rgba(0, 102, 255, 0.1);
  border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

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

.feature-card {
  --accent: var(--blue);
  --accent-bg: var(--blue-light);
  background: var(--white);
  border: 1px solid rgba(0, 102, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.feature-card:nth-child(1) { --accent: var(--blue); --accent-bg: var(--blue-light); }
.feature-card:nth-child(2) { --accent: var(--purple); --accent-bg: var(--lavender); }
.feature-card:nth-child(3) { --accent: var(--green); --accent-bg: var(--green-light); }
.feature-card:nth-child(4) { --accent: var(--cyan); --accent-bg: var(--cyan-light); }

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.feature-card:nth-child(1):hover { box-shadow: 0 20px 56px rgba(0, 102, 255, 0.2); }
.feature-card:nth-child(2):hover { box-shadow: 0 20px 56px rgba(124, 58, 237, 0.2); }
.feature-card:nth-child(3):hover { box-shadow: 0 20px 56px rgba(16, 185, 129, 0.2); }
.feature-card:nth-child(4):hover { box-shadow: 0 20px 56px rgba(6, 182, 212, 0.2); }

.feature-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-bg);
  line-height: 1;
  opacity: 0.9;
}

.feature-icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  box-sizing: content-box;
  color: var(--accent);
  background: var(--accent-bg);
  border-radius: 14px;
  margin-bottom: 20px;
}

.feature-card h3 { margin-bottom: 12px; }

.feature-card > p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--navy);
}

.feature-list li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ============================================
   Channels
   ============================================ */

.channels.section {
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 102, 255, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, var(--white) 0%, var(--blue-light) 100%);
}

.channels-inner {
  background: linear-gradient(145deg, var(--navy) 0%, #0d2847 40%, #1a1040 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 102, 255, 0.2);
  box-shadow: 0 24px 64px rgba(0, 102, 255, 0.15);
}

.channels-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,102,255,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.channels-inner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.channels-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.channels-content {
  position: relative;
  z-index: 1;
}

.channels-content h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.channels-content p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 28px;
}

/* Orbit visual */
.channels-visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.channels-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(0, 102, 255, 0.5);
}

.channels-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(0, 102, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.channels-hub img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.channels-orbit {
  position: absolute;
  inset: 0;
}

.channel-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  margin-left: -32px;
  margin-top: -32px;
  transform: rotate(var(--angle)) translateY(-130px) rotate(calc(-1 * var(--angle)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: channel-float 4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes channel-float {
  0%, 100% { transform: rotate(var(--angle)) translateY(-130px) rotate(calc(-1 * var(--angle))) translateY(0); }
  50%      { transform: rotate(var(--angle)) translateY(-130px) rotate(calc(-1 * var(--angle))) translateY(-5px); }
}

.channel-logo svg {
  width: 22px;
  height: 22px;
  padding: 11px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  box-sizing: content-box;
}

.channel-logo span {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.channel-tiktok svg { color: #000; }
.channel-ig svg { color: #E1306C; }
.channel-fb svg { color: #1877F2; }
.channel-wa svg { color: #25D366; }
.channel-sms svg { color: var(--blue); }
.channel-email svg { color: #EA4335; }
.channel-phone svg { color: #34A853; }
.channel-chat svg { color: #7C3AED; }

/* Marquee logo strip */
.channels-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 20px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.marquee-logo:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(0, 102, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.2);
}

.marquee-logo svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.marquee-logo span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.marquee-logo.channel-tiktok svg { color: #fff; }
.marquee-logo.channel-ig svg { color: #E1306C; }
.marquee-logo.channel-fb svg { color: #1877F2; }
.marquee-logo.channel-wa svg { color: #25D366; }
.marquee-logo.channel-sms svg { color: #66B3FF; }
.marquee-logo.channel-email svg { color: #EA4335; }
.marquee-logo.channel-phone svg { color: #34A853; }
.marquee-logo.channel-chat svg { color: #A78BFA; }

/* ============================================
   Inbox preview
   ============================================ */

.inbox-preview {
  background:
    radial-gradient(ellipse 45% 50% at 0% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 100% 50%, rgba(0, 102, 255, 0.08) 0%, transparent 70%),
    linear-gradient(135deg, var(--green-light) 0%, var(--white) 50%, var(--blue-light) 100%);
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  border-bottom: 1px solid rgba(0, 102, 255, 0.12);
}

.inbox-text h2 {
  color: var(--navy);
}

.inbox-preview .section-tag {
  background: var(--green-light);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.2);
}

.inbox-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.inbox-text p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.check-list { margin-top: 28px; }

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
}

.dashboard-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 102, 255, 0.2);
  box-shadow:
    0 24px 64px rgba(0, 102, 255, 0.15),
    0 8px 24px rgba(16, 185, 129, 0.08),
    var(--shadow-lg);
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-bottom: 1px solid rgba(0, 102, 255, 0.25);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28CA41; }

.dashboard-body {
  display: flex;
  min-height: 320px;
}

.dash-sidebar {
  width: 160px;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  padding: 16px 0;
  flex-shrink: 0;
}

.dash-logo {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 12px;
}

.dash-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: all 0.2s;
}

.dash-nav a.active {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
}

.badge-count {
  font-size: 0.65rem;
  background: var(--blue);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 100px;
}

.dash-main { flex: 1; padding: 12px; }

.inbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  transition: background 0.2s;
  cursor: default;
}

.inbox-item.active { background: var(--blue-light); }

.inbox-channel {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.inbox-channel.tiktok { background: #000; }
.inbox-channel.ig { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.inbox-channel.wa { background: #25D366; }
.inbox-channel.email { background: var(--gray-500); }

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

.inbox-info strong {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-800);
}

.inbox-info p {
  font-size: 0.75rem;
  color: var(--gray-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-time {
  font-size: 0.7rem;
  color: var(--gray-400);
  flex-shrink: 0;
}

.inbox-intent {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}

.inbox-intent.hot { background: #FEF3C7; color: #D97706; }

/* ============================================
   CTA
   ============================================ */

.cta.section {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 102, 255, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, var(--lavender) 0%, var(--blue-light) 60%, var(--cyan-light) 100%);
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #0d2847 50%, #1e1b4b 100%);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(0, 102, 255, 0.25);
  box-shadow: 0 24px 64px rgba(0, 102, 255, 0.2);
}

.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,102,255,0.35) 0%, rgba(124,58,237,0.15) 50%, transparent 70%);
  pointer-events: none;
}

.cta-card h2 {
  color: var(--white);
  position: relative;
  margin-bottom: 16px;
}

.cta-card > p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.cta-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  transition: all 0.3s;
}

.cta-form input::placeholder { color: rgba(255,255,255,0.4); }

.cta-form input:focus {
  border-color: var(--blue);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.2);
}

.cta-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  position: relative;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(124, 58, 237, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--purple-tint) 0%, var(--gray-50) 40%, var(--white) 100%);
}

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

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 0;
  transition: background 0.2s;
}

.faq-item[open] {
  background: linear-gradient(90deg, var(--blue-light) 0%, var(--lavender) 60%, transparent 100%);
  margin: 0 -20px;
  padding: 24px 20px;
  border-radius: var(--radius);
  border-bottom-color: transparent;
  border-left: 3px solid var(--blue);
}

.faq-item[open] summary {
  color: var(--blue-dark);
}

.faq-item[open] summary::after {
  color: var(--blue);
}

.faq-item summary {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  padding-right: 40px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: linear-gradient(180deg, var(--navy) 0%, #050d18 100%);
  padding: 48px 0 32px;
  border-top: 3px solid var(--blue);
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

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

.footer-nav a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s, background 0.2s;
  border-radius: 50%;
}

.footer-social a:hover {
  color: var(--white);
  background: rgba(0, 102, 255, 0.25);
}
.footer-social svg { width: 18px; height: 18px; }

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

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

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

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

.footer-legal a:hover { color: rgba(255, 255, 255, 0.8); }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .problem-grid,
  .inbox-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tt-stack {
    right: 16px;
    width: clamp(260px, 42vw, 320px);
  }

  .tt-purchased strong { font-size: 1.25rem; }

  .hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(232, 241, 255, 0.75) 50%,
        rgba(255, 255, 255, 0.4) 100%);
  }

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

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
    overflow-x: clip;
  }

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

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
    overflow: hidden;
  }

  .hero-media {
    overflow: hidden;
  }

  .hero-stage {
    display: none !important;
  }

  .hero-bg {
    inset: 0;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(232, 241, 255, 0.9) 55%,
        rgba(245, 243, 255, 0.85) 100%);
  }

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

  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }

  .problem-text,
  .problem-visual,
  .sprawl-card,
  .sprawl-map,
  .inbox-text,
  .inbox-mockup,
  .channels-content,
  .channels-visual,
  .dashboard-window,
  .dash-main {
    min-width: 0;
    max-width: 100%;
  }

  .story-demo { padding: 24px 16px; }

  .timeline-steps { gap: 2px; }
  .timeline-step { padding: 4px 2px; min-width: 0; }
  .step-label {
    font-size: 0.58rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .step-num { width: 28px; height: 28px; font-size: 0.7rem; }

  .channels-inner {
    padding: 40px 20px;
    overflow: hidden;
  }

  .channels-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .channels-visual {
    width: 100%;
    max-width: min(280px, 100%);
    overflow: hidden;
  }

  .channel-logo {
    transform: rotate(var(--angle)) translateY(-92px) rotate(calc(-1 * var(--angle)));
  }

  @keyframes channel-float {
    0%, 100% { transform: rotate(var(--angle)) translateY(-92px) rotate(calc(-1 * var(--angle))) translateY(0); }
    50%      { transform: rotate(var(--angle)) translateY(-92px) rotate(calc(-1 * var(--angle))) translateY(-4px); }
  }

  .channels-marquee {
    max-width: 100%;
  }

  .dashboard-window {
    overflow: hidden;
  }

  .dash-sidebar {
    display: none;
  }

  .dashboard-body {
    min-height: auto;
  }

  .dash-main {
    width: 100%;
    padding: 8px;
  }

  .inbox-item {
    gap: 8px;
    padding: 10px 8px;
  }

  .inbox-time {
    display: none;
  }

  .inbox-intent {
    font-size: 0.6rem;
    padding: 2px 6px;
  }

  .feature-card {
    padding: 28px 20px;
  }

  .faq-item[open] {
    margin: 0;
    padding: 24px 0;
  }

  .cta-card { padding: 48px 20px; }

  .cta-form {
    flex-direction: column;
    width: 100%;
  }

  .cta-form input,
  .cta-form .btn {
    width: 100%;
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

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

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .sprawl-footer { grid-template-columns: 1fr; }
  .sprawl-map { height: 230px; }
  .sprawl-node { width: 60px; }
  .sprawl-icon { width: 40px; height: 40px; }
  .sprawl-icon svg { width: 20px; height: 20px; }
  .sprawl-name { font-size: 0.58rem; }

  .step-label { display: none; }

  .success-journey { gap: 4px; }
  .journey-arrow { display: none; }

  .channels-inner { padding: 32px 16px; }

  .inbox-intent { display: none; }
}

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

  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }

  .hero-bg {
    animation: none !important;
    opacity: 1 !important;
    transform: translate3d(-2%, 0, 0) scale(1.06) !important;
  }

  .tt-panel,
  .tt-purchased,
  .tt-comment,
  .tt-bubble,
  .tt-typing {
    animation: none !important;
  }

  .tt-comments { opacity: 0; }
  .tt-dm { opacity: 1; transform: translate3d(0, -50%, 0); }
  .tt-bubble, .anim-purchased { opacity: 1; transform: none; }
  .tt-typing { width: auto; border: none; }
}