/* ============================================
   USMAIL — CINEMATIC DESIGN SYSTEM v3
   Premium dark · Spatial depth · Motion-led
   ============================================ */

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

:root {
  --bg: #07070a;
  --bg-1: #0d0d12;
  --bg-2: #111118;
  --bg-3: #16161e;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #555568;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dim: rgba(99,102,241,0.15);
  --accent-glow: rgba(99,102,241,0.3);
  --purple: #7c3aed;
  --blue: #0ea5e9;
  --green: #22c55e;
  --red: #ef4444;
  --amber: #f59e0b;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.03em; }

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

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.4);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-strong); background: var(--surface); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  transition: all 0.2s var(--ease-out);
}
.btn-outline:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 18px 36px; font-size: 17px; border-radius: 14px; }
.btn-full { width: 100%; justify-content: center; padding: 12px 20px; }

/* ---- SECTION LABELS ---- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--accent-dim);
  border-radius: 100px;
  border: 1px solid rgba(99,102,241,0.2);
}
.section-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.section-title-sm {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 60px;
  line-height: 1.7;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s var(--ease-out);
}
.nav.scrolled {
  background: rgba(7,7,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--text-primary); background: var(--surface); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-signin {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-signin:hover { color: var(--text-primary); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(7,7,10,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; margin-top: 8px; text-align: center; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  animation: glowPulse 6s ease-in-out infinite;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  bottom: 100px;
  left: 10%;
  animation: glowPulse 8s ease-in-out infinite 2s;
}
.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
  bottom: 200px;
  right: 10%;
  animation: glowPulse 7s ease-in-out infinite 4s;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}
.hero-glow-2, .hero-glow-3 {
  animation: glowPulse2 8s ease-in-out infinite;
}
@keyframes glowPulse2 {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-title-gradient {
  background: linear-gradient(135deg, var(--accent-light) 0%, #a78bfa 40%, #c084fc 70%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* HERO SCENE */
.hero-scene {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  height: 420px;
  margin: 60px auto 0;
}
.scene-domain-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatNode 4s ease-in-out infinite;
}
@keyframes floatNode {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}
.domain-orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(124,58,237,0.1));
  border: 1px solid rgba(99,102,241,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(99,102,241,0.3), 0 0 80px rgba(99,102,241,0.1);
}
.domain-orb-inner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(99,102,241,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.domain-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* Floating panels */
.scene-panel {
  position: absolute;
  background: rgba(13,13,18,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform 0.3s var(--ease-out);
}
.scene-panel:hover { transform: translateY(-4px) scale(1.02); }

.panel-inbox {
  left: 0;
  top: 20px;
  width: 260px;
  animation: floatPanel1 5s ease-in-out infinite;
}
.panel-routing {
  right: 0;
  top: 20px;
  width: 220px;
  animation: floatPanel2 6s ease-in-out infinite 1s;
}
.panel-team {
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 240px;
  animation: floatPanel3 5.5s ease-in-out infinite 2s;
}
@keyframes floatPanel1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes floatPanel2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatPanel3 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.panel-dot.green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.panel-dot.blue { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.panel-dot.purple { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.panel-badge {
  margin-left: auto;
  font-size: 10px;
  background: rgba(99,102,241,0.2);
  color: var(--accent-light);
  padding: 2px 8px;
  border-radius: 100px;
}
.panel-status {
  margin-left: auto;
  font-size: 10px;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  padding: 2px 8px;
  border-radius: 100px;
}
.panel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.panel-row:last-child { border-bottom: none; }
.panel-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.panel-text { flex: 1; min-width: 0; }
.panel-name { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.panel-preview { font-size: 10px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.panel-tag.open { background: rgba(34,197,94,0.15); color: var(--green); }
.panel-tag.pending { background: rgba(245,158,11,0.15); color: var(--amber); }
.panel-tag.closed { background: rgba(136,136,160,0.15); color: var(--text-muted); }

.routing-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.routing-rule:last-child { border-bottom: none; }
.routing-from {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-light);
  font-family: monospace;
}
.routing-to {
  font-size: 11px;
  color: var(--text-secondary);
}

.team-members { display: flex; flex-direction: column; gap: 8px; }
.team-member {
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.team-info { flex: 1; }
.team-name { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.team-role { font-size: 10px; color: var(--text-muted); }
.team-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.team-status.online { background: var(--green); box-shadow: 0 0 6px var(--green); }
.team-status.away { background: var(--amber); box-shadow: 0 0 6px var(--amber); }

.scene-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.scene-line {
  stroke-dashoffset: 100;
  animation: dashFlow 3s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: 0; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(4px); }
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--text-muted));
}
.hero-scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   TRANSFORMATION SECTION
   ============================================ */
.transform-section {
  padding: 120px 0;
  position: relative;
}
.transform-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 60px;
}
.transform-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.before-label { color: var(--red); }
.after-label { color: var(--green); }

.pain-list, .gain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pain-item, .gain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  padding: 14px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.pain-item:hover, .gain-item:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}
.pain-icon, .gain-icon { flex-shrink: 0; margin-top: 1px; }

.transform-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
}
.arrow-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(99,102,241,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   STICKY SCROLL SECTION
   ============================================ */
.sticky-section {
  padding: 120px 0;
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}
.sticky-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.sticky-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.sticky-left {
  position: sticky;
  top: 100px;
}
.sticky-pane {
  position: relative;
  height: 400px;
  background: var(--bg-2);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.sticky-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--ease-out);
  pointer-events: none;
}
.sticky-scene.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-scene-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px;
  width: 100%;
}

/* Scene 1: Domain orb */
.scene-orb-large {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(99,102,241,0.2);
  animation: ringExpand 3s ease-out infinite;
}
.ring-1 { width: 80px; height: 80px; animation-delay: 0s; }
.ring-2 { width: 110px; height: 110px; animation-delay: 0.8s; }
.ring-3 { width: 140px; height: 140px; animation-delay: 1.6s; }
@keyframes ringExpand {
  0% { opacity: 0.6; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.2); }
}
.orb-core {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(124,58,237,0.2));
  border: 1px solid rgba(99,102,241,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(99,102,241,0.4);
  z-index: 1;
}
.scene-domain-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: monospace;
  letter-spacing: 0.02em;
}

/* Scene 2: Auto-config */
.autoconfig-visual {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.config-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s;
}
.config-node.active-node {
  background: var(--accent-dim);
  border-color: rgba(99,102,241,0.4);
  color: var(--accent-light);
  box-shadow: 0 0 16px rgba(99,102,241,0.2);
}
.config-line {
  width: 20px;
  height: 1px;
  background: var(--border);
}
.config-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: statusPulse 1.5s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Scene 3: Workspace mockup */
.workspace-mockup {
  display: flex;
  width: 100%;
  max-width: 340px;
  height: 220px;
  background: var(--bg-3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.workspace-sidebar {
  width: 100px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ws-item {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.ws-item.active {
  background: var(--accent-dim);
  color: var(--accent-light);
}
.workspace-main {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ws-thread {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  background: var(--bg-2);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.ws-thread-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.ws-thread-body { flex: 1; min-width: 0; }
.ws-thread-name { font-size: 10px; font-weight: 600; color: var(--text-primary); }
.ws-thread-subject { font-size: 9px; color: var(--text-secondary); }
.ws-thread-preview { font-size: 9px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-thread-tag {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}
.ws-thread-tag.open { background: rgba(34,197,94,0.15); color: var(--green); }
.ws-thread-tag.pending { background: rgba(245,158,11,0.15); color: var(--amber); }

/* Scene 4: Reply */
.reply-mockup {
  width: 100%;
  max-width: 340px;
  background: var(--bg-3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.reply-thread {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reply-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.reply-msg.sent { flex-direction: row-reverse; }
.reply-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.reply-avatar.sent-avatar { background: var(--purple); }
.reply-bubble {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--text-secondary);
  max-width: 200px;
}
.reply-bubble.sent-bubble {
  background: var(--accent-dim);
  border-color: rgba(99,102,241,0.3);
  border-radius: 12px 12px 4px 12px;
  color: var(--accent-light);
}
.reply-composer {
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.composer-input {
  flex: 1;
  font-size: 11px;
  color: var(--text-muted);
}
.composer-actions { display: flex; gap: 6px; }
.composer-btn {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
}
.composer-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Sticky steps */
.sticky-right {
  padding: 40px 0;
}
.sticky-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sticky-step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.35;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
}
.sticky-step:last-child { border-bottom: none; }
.sticky-step.active {
  opacity: 1;
}
.step-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  font-family: monospace;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-top: 4px;
}
.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   PRODUCT SECTION
   ============================================ */
.product-section {
  padding: 120px 0;
  position: relative;
}
.product-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.product-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  opacity: 0;
  transform: translateY(24px);
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}
.card-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.product-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.product-card-content h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.product-card-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.product-card-visual {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(124,58,237,0.02));
  border-left: 1px solid var(--border);
}
.card-routing .product-card-content,
.card-collab .product-card-content,
.card-search .product-card-content {
  padding: 32px;
}
.card-routing .product-card-visual,
.card-collab .product-card-visual,
.card-search .product-card-visual {
  padding: 24px;
  border-left: none;
  border-top: 1px solid var(--border);
}
.card-routing, .card-collab, .card-search {
  display: flex;
  flex-direction: column;
}

/* Inbox visual */
.inbox-visual {
  width: 100%;
  max-width: 320px;
  background: var(--bg-3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.inbox-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.inbox-title { font-size: 12px; font-weight: 700; color: var(--text-primary); }
.inbox-filters { display: flex; gap: 4px; margin-left: auto; }
.filter {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  color: var(--text-muted);
  cursor: pointer;
}
.filter.active {
  background: var(--accent-dim);
  color: var(--accent-light);
}
.inbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.inbox-row:last-child { border-bottom: none; }
.inbox-row:hover { background: var(--surface); }
.inbox-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.inbox-body { flex: 1; min-width: 0; }
.inbox-from { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.inbox-subject { font-size: 11px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.inbox-time { font-size: 10px; color: var(--text-muted); }
.tag-open { font-size: 9px; font-weight: 700; background: rgba(34,197,94,0.15); color: var(--green); padding: 2px 6px; border-radius: 4px; }
.tag-pending { font-size: 9px; font-weight: 700; background: rgba(245,158,11,0.15); color: var(--amber); padding: 2px 6px; border-radius: 4px; }
.tag-closed { font-size: 9px; font-weight: 700; background: rgba(136,136,160,0.15); color: var(--text-muted); padding: 2px 6px; border-radius: 4px; }

/* Routing visual */
.routing-visual { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.routing-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-3);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.rf-node {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.rf-node.source {
  background: var(--accent-dim);
  color: var(--accent-light);
  font-family: monospace;
}
.rf-node.dest {
  background: rgba(34,197,94,0.1);
  color: var(--green);
}
.rf-arrow { color: var(--text-muted); font-size: 14px; }

/* Collab visual */
.collab-visual { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.collab-note {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.collab-note.right { flex-direction: row-reverse; }
.collab-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.collab-bubble {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  max-width: 200px;
  line-height: 1.5;
}
.collab-bubble.right-bubble {
  border-radius: 12px 12px 4px 12px;
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.2);
  color: #a78bfa;
}
.collab-label {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  padding: 4px 0;
  border-top: 1px dashed var(--border);
  margin-top: 4px;
}

/* Search visual */
.search-visual { width: 100%; }
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-3);
  border: 1px solid rgba(99,102,241,0.4);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  box-shadow: 0 0 16px rgba(99,102,241,0.1);
}
.search-query { font-size: 13px; font-weight: 500; color: var(--text-primary); flex: 1; }
.search-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.search-results { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.search-result {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 8px 12px;
  background: var(--bg-3);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.search-meta { font-size: 11px; color: var(--text-muted); }

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
  padding: 120px 0;
  background: var(--bg-1);
  position: relative;
}
.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.trust-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}
.trust-items { display: flex; flex-direction: column; gap: 24px; }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.trust-item-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

.trust-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.trust-shield {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shield-outer {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(124,58,237,0.1));
  border: 1px solid rgba(99,102,241,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(99,102,241,0.2);
}
.shield-inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(99,102,241,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shield-rings { position: absolute; inset: 0; }
.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(99,102,241,0.15);
  animation: shieldPulse 3s ease-out infinite;
}
.sr-1 { inset: -10px; animation-delay: 0s; }
.sr-2 { inset: -25px; animation-delay: 1s; }
@keyframes shieldPulse {
  0% { opacity: 0.5; }
  100% { opacity: 0; transform: scale(1.1); }
}
.trust-stats {
  display: flex;
  gap: 32px;
}
.trust-stat { text-align: center; }
.ts-value { font-size: 20px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; }
.ts-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ============================================
   ENTERPRISE SECTION
   ============================================ */
.enterprise-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(124,58,237,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.enterprise-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.enterprise-inner p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ============================================
   PRICING TEASER
   ============================================ */
.pricing-teaser {
  padding: 120px 0;
  position: relative;
}
.pricing-teaser::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.pricing-card-featured {
  border-color: rgba(99,102,241,0.4);
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(124,58,237,0.04));
  box-shadow: 0 0 0 1px rgba(99,102,241,0.2), 0 24px 64px rgba(99,102,241,0.1);
}
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-price {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-amount {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}
.price-period {
  font-size: 16px;
  color: var(--text-muted);
}
.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.pricing-note {
  text-align: center;
}
.pricing-note a {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.pricing-note a:hover { color: var(--accent-light); }

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: 120px 0;
  background: var(--bg-1);
  position: relative;
}
.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.faq-list {
  max-width: 720px;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--accent-light); }
.faq-icon { flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.faq-question.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-answer.open { max-height: 200px; }
.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-bottom: 20px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.cta-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-secondary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-bottom-links a:hover { color: var(--text-secondary); }

/* ============================================
   SHARED INNER PAGE STYLES
   ============================================ */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.page-hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.page-content {
  padding: 80px 0 120px;
}
.page-section {
  margin-bottom: 80px;
}
.page-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.page-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  margin-top: 32px;
}
.page-section p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.page-section ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.page-section ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.legal-content {
  max-width: 720px;
}
.legal-content h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.legal-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
}
.legal-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-content ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 8px;
}
.legal-content a { color: var(--accent); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* ============================================
   ANIMATIONS / REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .transform-grid { grid-template-columns: 1fr; gap: 24px; }
  .transform-arrow { display: none; }
  .sticky-container { grid-template-columns: 1fr; gap: 40px; }
  .sticky-left { position: static; }
  .trust-inner { grid-template-columns: 1fr; gap: 60px; }
  .card-large { grid-template-columns: 1fr; }
  .product-card-visual { border-left: none; border-top: 1px solid var(--border); }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 100px 24px 60px; }
  .hero-scene { display: none; }
  .hero-title { font-size: 48px; }
  .product-grid { grid-template-columns: 1fr; }
  .card-large { grid-column: 1; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .trust-stats { gap: 20px; }
  .cta-actions { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 38px; }
  .section-title { font-size: 32px; }
  .hero-cta { flex-direction: column; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ============================================
   HOMEPAGE v4 — FlutterFlow-level hero
   Split layout: copy left, iPhone mockup right
   ============================================ */

/* ANNOUNCEMENT BAR */
.announce-bar {
  background: linear-gradient(90deg, #4f46e5, #7c3aed, #4f46e5);
  background-size: 200% 100%;
  animation: gradientShift 5s ease infinite;
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  position: relative;
  z-index: 101;
}
.announce-bar a { color: white; font-weight: 700; text-decoration: underline; }
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

/* HERO v4 — split layout */
.hero-v4 {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-v4::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(99,102,241,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(124,58,237,0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* LEFT: copy */
.hero-copy {
  padding: 0 60px 0 max(40px, calc((100vw - 1200px)/2 + 40px));
  position: relative;
  z-index: 2;
}
.hero-badge-v4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 28px;
}
.hero-badge-v4 span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.7)} }

.hero-h1 {
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 22px;
}
.hero-h1 .grad {
  background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-note-v4 {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.hero-note-v4 span { color: var(--text-secondary); }

/* Social proof */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.proof-avatars { display: flex; }
.proof-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.proof-avatar:first-child { margin-left: 0; }
.proof-text { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.proof-text strong { color: var(--text-primary); }

/* RIGHT: iPhone mockup */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 680px;
}

/* Main iPhone */
.iphone-main {
  position: relative;
  z-index: 3;
  animation: floatPhone 6s ease-in-out infinite;
}
@keyframes floatPhone {
  0%,100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(-2deg); }
}
.iphone-frame {
  width: 260px;
  background: #10101a;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.8),
    0 0 60px rgba(99,102,241,0.12),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
}
.iphone-notch {
  width: 100px; height: 28px;
  background: #08080f;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
}
.iphone-screen {
  background: #0a0a14;
  min-height: 520px;
  overflow: hidden;
}

/* App UI */
.app-header {
  padding: 12px 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.app-title { font-size: 18px; font-weight: 700; color: #f0f0f5; }
.app-compose {
  width: 32px; height: 32px;
  background: rgba(99,102,241,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.app-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
}
.app-tab {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
}
.app-tab.active {
  background: rgba(99,102,241,0.18);
  color: #818cf8;
}
.app-email-list { padding: 2px 0; }
.app-email-item {
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.app-email-item.active { background: rgba(99,102,241,0.07); }
.app-avatar-sm {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.app-email-body { flex: 1; min-width: 0; }
.app-email-from {
  font-size: 12px; font-weight: 600; color: #e0e0f0;
  display: flex; justify-content: space-between;
}
.app-email-time { font-size: 10px; color: rgba(255,255,255,0.25); font-weight: 400; }
.app-email-subject { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-status-dot {
  width: 7px; height: 7px; border-radius: 50%; margin-top: 5px; flex-shrink: 0;
}
.dot-open { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.dot-pending { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.5); }
.dot-closed { background: rgba(255,255,255,0.15); }
.app-bottom-nav {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 8px 0 4px;
}
.app-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  padding: 4px 0;
}
.app-nav-item.active { color: #818cf8; }
.app-nav-icon {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
}

/* Secondary iPhone */
.iphone-secondary {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(8deg) translateX(40px);
  z-index: 2;
  animation: floatPhone2 7s ease-in-out infinite;
  opacity: 0.65;
}
@keyframes floatPhone2 {
  0%,100% { transform: translateY(-50%) rotate(8deg) translateX(40px); }
  50% { transform: translateY(calc(-50% - 14px)) rotate(8deg) translateX(40px); }
}
.iphone-secondary .iphone-frame {
  width: 220px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 40px rgba(124,58,237,0.08);
}
.iphone-secondary .iphone-screen { min-height: 440px; }

/* Floating feature badges */
.float-badge {
  position: absolute;
  background: rgba(10,10,20,0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  white-space: nowrap;
}
.float-badge-1 { top: 15%; left: -10px; animation: floatBadge 5s ease-in-out infinite; }
.float-badge-2 { bottom: 25%; left: -30px; animation: floatBadge 5s ease-in-out infinite 1.5s; }
.float-badge-3 { top: 35%; right: -10px; animation: floatBadge 5s ease-in-out infinite 0.8s; }
@keyframes floatBadge {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.float-badge-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-badge-text { font-size: 12px; }
.float-badge-label { font-weight: 700; color: var(--text-primary); }
.float-badge-sub { color: var(--text-muted); font-size: 11px; }

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 { width: 400px; height: 400px; background: rgba(99,102,241,0.12); top: 10%; right: 5%; }
.orb-2 { width: 300px; height: 300px; background: rgba(124,58,237,0.08); bottom: 10%; right: 20%; }
.orb-3 { width: 200px; height: 200px; background: rgba(99,102,241,0.06); top: 40%; left: 5%; }

/* LOGO STRIP */
.logo-strip {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.logo-strip::before, .logo-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
}
.logo-strip::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.logo-strip::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.logo-strip-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.logo-track {
  display: flex;
  gap: 60px;
  animation: scrollLogos 22s linear infinite;
  width: max-content;
}
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* PROBLEM SECTION */
.problem-section { padding: 100px 0; }
.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.problem-copy .section-label { margin-bottom: 18px; }
.problem-copy h2 {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.problem-copy p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.compare-col {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.compare-col.before { border-color: rgba(239,68,68,0.18); }
.compare-col.after { border-color: rgba(34,197,94,0.18); }
.compare-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.compare-header.red { color: #ef4444; }
.compare-header.green { color: #22c55e; }
.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 7px;
  line-height: 1.4;
}
.compare-item svg { flex-shrink: 0; margin-top: 2px; }

/* Terminal */
.terminal-window {
  background: #0a0a14;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.terminal-bar {
  background: rgba(255,255,255,0.03);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-title { font-size: 12px; color: var(--text-muted); margin-left: 8px; font-family: monospace; }
.terminal-body { padding: 20px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 12px; line-height: 1.8; }
.t-comment { color: #444458; }
.t-cmd { color: #818cf8; }
.t-output { color: #22c55e; }
.t-error { color: #ef4444; }
.t-warn { color: #f59e0b; }
.t-dim { color: rgba(255,255,255,0.25); }
.t-prompt { color: #6366f1; }
.t-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: #6366f1;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.success-window {
  background: rgba(34,197,94,0.04);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 14px;
  padding: 18px;
  margin-top: 14px;
}
.success-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
}
.success-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.success-label { color: var(--text-secondary); }
.success-value { color: #22c55e; font-weight: 600; margin-left: auto; font-size: 12px; }

/* HOW IT WORKS */
.hiw-section { padding: 100px 0; }
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.hiw-step {
  background: var(--bg-1);
  padding: 32px 24px;
  transition: background 0.3s;
}
.hiw-step:hover { background: var(--bg-2); }
.hiw-num {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(99,102,241,0.12);
  line-height: 1;
  margin-bottom: 14px;
}
.hiw-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.hiw-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.hiw-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* BENTO GRID */
.product-section { padding: 100px 0; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.bento-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.bento-card:hover {
  border-color: rgba(99,102,241,0.25);
  transform: translateY(-2px);
}
.bento-card-inner { padding: 28px; }
.bento-card-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.bento-card-title { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); margin-bottom: 8px; line-height: 1.2; }
.bento-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.bento-a { grid-column: span 7; }
.bento-b { grid-column: span 5; }
.bento-c { grid-column: span 5; }
.bento-d { grid-column: span 7; }
.bento-e { grid-column: span 4; }
.bento-f { grid-column: span 4; }
.bento-g { grid-column: span 4; }

/* Inbox preview */
.bento-visual { padding: 0 28px 0; margin-top: 20px; }
.inbox-preview {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.inbox-toolbar {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.inbox-tab {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-muted);
}
.inbox-tab.active { background: var(--accent-dim); color: var(--accent-light); font-weight: 600; }
.inbox-row {
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.inbox-row.unread { background: rgba(99,102,241,0.04); }
.inbox-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.inbox-content { flex: 1; min-width: 0; }
.inbox-from { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.inbox-subject { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.inbox-time { font-size: 10px; color: var(--text-muted); }
.status-pill {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}
.pill-open { background: rgba(34,197,94,0.12); color: #22c55e; }
.pill-pending { background: rgba(245,158,11,0.12); color: #f59e0b; }
.pill-closed { background: rgba(255,255,255,0.05); color: var(--text-muted); }

/* Routing visual */
.routing-visual { padding: 20px 28px; }
.routing-flow { display: flex; flex-direction: column; gap: 7px; }
.routing-rule-v2 {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 12px;
}
.routing-from-v2 { font-family: monospace; color: var(--accent-light); font-weight: 600; min-width: 80px; }
.routing-arrow { color: var(--text-muted); flex-shrink: 0; }
.routing-to-v2 { color: var(--text-secondary); flex: 1; }
.routing-count {
  font-size: 10px;
  background: var(--accent-dim);
  color: var(--accent-light);
  padding: 2px 7px;
  border-radius: 100px;
  font-weight: 600;
}

/* Collab visual */
.collab-visual { padding: 16px 28px; }
.thread-note {
  background: rgba(99,102,241,0.07);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 10px;
  padding: 11px 13px;
  margin-bottom: 7px;
}
.thread-note-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.thread-note-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 8px; font-weight: 700; color: white;
  display: flex; align-items: center; justify-content: center;
}
.thread-note-name { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.thread-note-badge {
  font-size: 9px;
  background: rgba(99,102,241,0.18);
  color: var(--accent-light);
  padding: 1px 6px;
  border-radius: 100px;
  margin-left: auto;
}
.thread-note-text { font-size: 11px; color: var(--text-secondary); line-height: 1.5; }
.thread-note-text .mention { color: var(--accent-light); font-weight: 600; }

/* Search visual */
.search-visual { padding: 20px 28px; }
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 9px 12px;
  margin-bottom: 10px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 7px;
  font-size: 12px;
  color: var(--text-secondary);
}
.search-result:hover { background: var(--surface); }
.search-result-icon {
  width: 26px; height: 26px;
  background: var(--accent-dim);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.search-result-text strong { color: var(--text-primary); font-weight: 600; }
.search-ms { font-size: 10px; color: var(--text-muted); margin-left: auto; }

/* SECURITY STRIP */
.security-strip {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 44px;
}
.security-item {
  background: var(--bg-1);
  padding: 28px 24px;
  text-align: center;
}
.security-metric {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #a5b4fc, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}
.security-label { font-size: 12px; color: var(--text-secondary); }

/* PRICING PREVIEW */
.pricing-preview { padding: 100px 0; }
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 44px;
}
.toggle-label { font-size: 14px; color: var(--text-secondary); }
.toggle-switch {
  width: 46px; height: 24px;
  background: var(--accent);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: white;
  top: 3px; left: 3px;
  transition: transform 0.2s;
}
.toggle-switch.annual::after { transform: translateX(22px); }
.save-badge {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pricing-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.25); }
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(99,102,241,0.07) 0%, var(--bg-1) 100%);
}
.pricing-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px; }
.pricing-price { font-size: 44px; font-weight: 900; letter-spacing: -0.04em; color: var(--text-primary); line-height: 1; margin-bottom: 4px; }
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.pricing-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.5; }
.pricing-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 9px;
}
.pricing-feature svg { flex-shrink: 0; color: #22c55e; }
.pricing-cta { display: block; text-align: center; margin-top: 24px; padding: 11px 20px; }

/* CTA SECTION */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.cta-h2 .grad {
  background: linear-gradient(135deg, #a5b4fc, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-sub { font-size: 17px; color: var(--text-secondary); margin-bottom: 36px; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cta-note { font-size: 12px; color: var(--text-muted); }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  margin-bottom: 44px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 7px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: var(--text-muted); transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--text-primary); }

/* RESPONSIVE for v4 homepage */
@media (max-width: 1100px) {
  .hero-v4 { grid-template-columns: 1fr; padding: 110px 0 60px; }
  .hero-copy { padding: 0 24px; max-width: 600px; margin: 0 auto; text-align: center; }
  .hero-cta-row { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { min-height: 500px; margin-top: 40px; }
  .iphone-secondary { display: none; }
  .float-badge-1, .float-badge-2, .float-badge-3 { display: none; }
  .problem-inner { grid-template-columns: 1fr; gap: 48px; }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); }
  .bento-a, .bento-b, .bento-c, .bento-d, .bento-e, .bento-f, .bento-g { grid-column: span 12; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hiw-steps { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
