/* ============================================================
   CmdCenter Marketing — styles.css
   Aesthetic: Luxury dark-mode refinement meets Stripe-tier
   precision. Deep indigo cosmos, frosted glass, animated
   gradient mesh, immaculate spacing.
   ============================================================ */

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

:root {
  /* Surfaces */
  --bg-deep: #04040a;
  --bg-primary: #06060c;
  --bg-elevated: #0c0c18;
  --bg-card: #0e0e1a;
  --bg-card-hover: #121226;
  --bg-subtle: #14142a;

  /* Text */
  --text-primary: #eeeef2;
  --text-secondary: #8888a0;
  --text-tertiary: #505068;
  --text-dim: #38384e;

  /* Brand gradient stops */
  --brand-blue: #3b82f6;
  --brand-violet: #8b5cf6;
  --brand-pink: #ec4899;
  --brand-orange: #f97316;
  --brand-emerald: #10b981;
  --brand-teal: #14b8a6;

  /* Borders */
  --border: #1a1a32;
  --border-hover: #2a2a4a;
  --border-subtle: #121228;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --space-4xl: 12rem;

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Geist Sans', 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;

  /* Sizing */
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

::selection {
  background: rgba(139, 92, 246, 0.3);
  color: #fff;
}

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

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

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

/* --- Gradient Text --- */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-violet), var(--brand-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Section Common --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

/* 04: Capabilities heading extra padding */
.section-header-capabilities {
  max-width: 820px;
  padding: 0 var(--space-xl);
}

/* 12: Pricing subtitle padding */
.section-header-pricing {
  max-width: 800px;
  padding: 0 var(--space-lg);
}

.section-desc-pricing {
  max-width: 620px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-violet);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--space-md);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.nav.scrolled {
  background: rgba(4, 4, 10, 0.8);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.nav-logo-img {
  border-radius: 8px;
}

.nav-logo-text {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-violet);
  transition: width 0.3s var(--ease-out-expo);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta-secondary {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-cta-primary {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--brand-violet);
  transition: all 0.25s ease;
}

.nav-cta-primary:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.4);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: all 0.3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(64px + var(--space-3xl)) var(--space-md) var(--space-2xl);
  overflow: hidden;
}

/* Gradient mesh background */
.hero-gradient-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* 01: Allow pointer events on orbs for hover detection */
.hero-gradient-mesh {
  pointer-events: auto;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
}

.mesh-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--brand-violet) 0%, transparent 70%);
  top: -10%;
  left: -5%;
  animation: orb-drift-1 20s ease-in-out infinite alternate;
}

.mesh-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
  top: 10%;
  right: -10%;
  animation: orb-drift-2 24s ease-in-out infinite alternate;
}

.mesh-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--brand-pink) 0%, transparent 70%);
  bottom: 20%;
  left: 30%;
  animation: orb-drift-3 18s ease-in-out infinite alternate;
}

.mesh-orb-4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--brand-emerald) 0%, transparent 70%);
  bottom: 5%;
  right: 15%;
  animation: orb-drift-4 22s ease-in-out infinite alternate;
}

@keyframes orb-drift-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}

@keyframes orb-drift-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 80px) scale(1.1); }
}

@keyframes orb-drift-3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -50px) scale(1.2); }
}

@keyframes orb-drift-4 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -30px) scale(1.1); }
}

/* 01: Per-orb CSS text texture overlay */
.mesh-orb {
  overflow: hidden;
}

.orb-text-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ctext x='2' y='10' font-family='monospace' font-size='8' fill='rgba(255,255,255,0.35)'%3E01%7B%7D%3C/text%3E%3Ctext x='30' y='10' font-family='monospace' font-size='8' fill='rgba(255,255,255,0.25)'%3E%3C/%3E%3C/text%3E%3Ctext x='8' y='22' font-family='monospace' font-size='8' fill='rgba(255,255,255,0.30)'%3E*%26%23%3C/text%3E%3Ctext x='36' y='22' font-family='monospace' font-size='8' fill='rgba(255,255,255,0.20)'%3E%3D%3D%3C/text%3E%3Ctext x='0' y='34' font-family='monospace' font-size='8' fill='rgba(255,255,255,0.28)'%3E%5B%5D%7C%3C/text%3E%3Ctext x='28' y='34' font-family='monospace' font-size='8' fill='rgba(255,255,255,0.22)'%3E~%3B.%3C/text%3E%3Ctext x='14' y='46' font-family='monospace' font-size='8' fill='rgba(255,255,255,0.32)'%3E%2B-%3C/text%3E%3Ctext x='40' y='46' font-family='monospace' font-size='8' fill='rgba(255,255,255,0.18)'%3E%40%25%3C/text%3E%3Ctext x='6' y='58' font-family='monospace' font-size='8' fill='rgba(255,255,255,0.26)'%3E%3C%3E%5C%3C/text%3E%3Ctext x='34' y='58' font-family='monospace' font-size='8' fill='rgba(255,255,255,0.24)'%3E!_%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 60px 60px;
  animation: orb-text-scroll 8s linear infinite;
}

.mesh-orb:hover .orb-text-overlay {
  opacity: 1;
}

@keyframes orb-text-scroll {
  0% { background-position: 0 0; }
  100% { background-position: 0 60px; }
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 12px;
  border-radius: 100px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.18);
  font-size: 0.8125rem;
  color: var(--brand-violet);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero-headline-line {
  display: block;
}

.hero-headline-accent {
  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--brand-violet) 35%,
    var(--brand-pink) 65%,
    var(--brand-orange) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 8s ease-in-out infinite;
}

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

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  pointer-events: auto;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.hero-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--brand-violet), var(--brand-blue));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-violet));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.2);
}

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

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}

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

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-xl {
  padding: 18px 40px;
  font-size: 1.0625rem;
  border-radius: 14px;
}

/* ============================================================
   PRODUCT MOCKUP — 02: Taller + Interactive Mini-Tour
   ============================================================ */
.hero-mockup {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin-top: var(--space-3xl);
  pointer-events: auto;
}

.mockup-window {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 8px 32px rgba(0, 0, 0, 0.3);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(14, 14, 26, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

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

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.mockup-title {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 02: Taller body */
.mockup-body {
  display: flex;
  min-height: 480px;
}

/* Sidebar */
.mockup-sidebar {
  width: 180px;
  padding: 16px 10px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mockup-nav-active {
  background: rgba(139, 92, 246, 0.1);
  color: var(--text-primary);
}

/* Main content */
.mockup-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

/* 02: Panel system for mini-tour */
.mockup-panel {
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: panelFadeIn 0.4s ease;
}

.mockup-panel-active {
  display: flex;
  flex: 1;
}

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

.mockup-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-panel-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mockup-panel-desc {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Design panel preview */
.mockup-design-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-artboard {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  flex: 1;
}

.mockup-chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Agent panel preview */
.mockup-agent-preview {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 2;
}

.mockup-agent-line {
  white-space: nowrap;
  overflow: hidden;
}

/* Workflows panel preview */
.mockup-wf-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px;
}

.mockup-wf-step {
  padding: 8px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  width: 180px;
  text-align: center;
}

.mockup-wf-arrow {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Creation panel preview */
.mockup-creation-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-cr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.mockup-cr-row span:nth-child(2) {
  flex: 1;
}

.mockup-hero-card {
  position: relative;
  border-radius: 12px;
  padding: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.mockup-card-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(139, 92, 246, 0.03) 50%,
    transparent 100%
  );
  animation: shimmer-pass 4s ease-in-out infinite;
}

@keyframes shimmer-pass {
  0% { left: -100%; }
  100% { left: 200%; }
}

.mockup-card-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.mockup-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup-project-card {
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.mockup-project-bar {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.mockup-project-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.mockup-project-meta {
  font-size: 0.625rem;
  color: var(--text-tertiary);
}

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup-stat {
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
}

.mockup-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.mockup-stat-label {
  font-size: 0.625rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* Mockup glow under window */
.mockup-glow {
  position: absolute;
  bottom: -40%;
  left: 10%;
  right: 10%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.social-proof {
  position: relative;
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.social-proof-inner {
  text-align: center;
}

/* 03: Italic serif subtitle */
.social-proof-label {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-bottom: var(--space-xl);
}

.social-proof-serif {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.social-proof-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.metric-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: var(--space-4xl) 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

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

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.feature-text {
  max-width: 480px;
}

/* 08: Wider text for workflows */
.feature-text-wide {
  max-width: 540px;
}

.feature-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-violet);
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.15);
  margin-bottom: var(--space-md);
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

.feature-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

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

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.feature-list li svg {
  color: var(--brand-emerald);
  flex-shrink: 0;
}

/* 05: Coming soon badge */
.coming-soon-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--brand-orange);
  margin-left: 6px;
  vertical-align: middle;
}

/* 08: No-wrap on XL/L */
@media (min-width: 1025px) {
  .feature-list-nowrap li {
    white-space: nowrap;
  }
}

/* --- Feature Visual Cards --- */
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card {
  width: 100%;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(139, 92, 246, 0.3) 50%,
    transparent 100%
  );
}

/* -- 06/07/10: ASCII art feature cards (legacy canvas — kept for CTA) -- */
.feature-card-ascii {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ascii-art-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
}

.ascii-img-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
}

/* ============================================================
   ASCII DOT-MATRIX PORTRAIT SYSTEM (CSS mask technique)
   ============================================================ */

/* Feature rows with ASCII art use relative positioning */
.feature-row-ascii {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  grid-template-columns: 1fr;
  display: flex;
  align-items: center;
}

/* Text content sits above the ASCII art */
.feature-text-ascii {
  position: relative;
  z-index: 10;
  max-width: 50%;
  padding: var(--space-xl) 0;
}

/* The portrait wrapper — absolute positioned to fill one side */
.ascii-portrait-wrap {
  position: absolute;
  top: 0;
  width: 55%;
  height: 100%;
  overflow: hidden;
}

.ascii-portrait-right {
  right: 0;
}

.ascii-portrait-left {
  left: 0;
}

/* The dot-matrix image itself */
.dot-portrait {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-mask-image: radial-gradient(circle 2px at center, black 0px, transparent 2px);
  mask-image: radial-gradient(circle 2px at center, black 0px, transparent 2px);
  -webkit-mask-size: 6px 6px;
  mask-size: 6px 6px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  animation: dotBreathe 4s ease-in-out infinite;
  transition: filter 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.dot-portrait:hover {
  transform: scale(1.02);
}

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

/* Gradient fades towards the text side */
.ascii-fade {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.ascii-fade-left {
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(to right, var(--bg-deep) 0%, var(--bg-deep) 15%, transparent 100%);
}

.ascii-fade-right {
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(to left, var(--bg-deep) 0%, var(--bg-deep) 15%, transparent 100%);
}

.ascii-fade-bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-deep) 0%, transparent 100%);
}

/* Hover glow zones grid */
.ascii-glow-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 1fr);
  z-index: 3;
}

.glow-zone {
  position: relative;
  cursor: crosshair;
}

.glow-zone::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out-expo);
  pointer-events: none;
  z-index: 3;
}

.glow-zone:hover::after {
  opacity: 1;
}

/* For reversed rows (text on right), push text to the right */
.feature-row-reverse.feature-row-ascii {
  direction: ltr;
  justify-content: flex-end;
}

.feature-row-reverse.feature-row-ascii > .feature-text-ascii {
  direction: ltr;
}

/* -- Workflows card -- */
.feature-card-workflows {
  padding: 32px 16px;
  overflow: hidden;
}

.fv-workflow {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  min-width: min-content;
}

/* 2x2 grid layout for workflow steps */
.fv-workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}

.fv-wf-node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  white-space: nowrap;
  transition: all 0.5s ease;
  flex-shrink: 0;
}

.fv-wf-node:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* 08: Glowing active state */
.fv-wf-node.wf-glow {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.fv-wf-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fv-wf-trigger .fv-wf-icon { background: rgba(249, 115, 22, 0.15); color: var(--brand-orange); }
.fv-wf-ai .fv-wf-icon { background: rgba(139, 92, 246, 0.15); color: var(--brand-violet); }
.fv-wf-condition .fv-wf-icon { background: rgba(59, 130, 246, 0.15); color: var(--brand-blue); }
.fv-wf-action .fv-wf-icon { background: rgba(16, 185, 129, 0.15); color: var(--brand-emerald); }

/* Connecting lines for linear layout (hidden in grid mode) */
.fv-wf-line {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--border-hover));
  position: relative;
}

.fv-wf-line::after {
  content: '';
  position: absolute;
  right: -3px;
  top: -3px;
  width: 0;
  height: 0;
  border-left: 5px solid var(--border-hover);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* Hide connecting lines in 2x2 grid mode */
.fv-workflow-grid .fv-wf-line {
  display: none;
}

/* Make nodes fill the grid cell */
.fv-workflow-grid .fv-wf-node {
  white-space: normal;
}

/* -- Creation Lab card -- */
.feature-card-creation {
  padding: 24px;
  min-height: 400px;
}

.fv-creation-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 09: Animated items */
.fv-creation-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fv-creation-animate.fv-animate-in {
  opacity: 1;
  transform: translateY(0);
}

.fv-content-card {
  padding: 16px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 16px;
}

.fv-content-type {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  min-width: 80px;
  text-align: center;
}

.fv-content-blog .fv-content-type {
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-blue);
}

.fv-content-ad .fv-content-type {
  background: rgba(236, 72, 153, 0.12);
  color: var(--brand-pink);
}

.fv-content-social .fv-content-type {
  background: rgba(16, 185, 129, 0.12);
  color: var(--brand-emerald);
}

/* 09: Video + Podcast types */
.fv-content-video .fv-content-type {
  background: rgba(249, 115, 22, 0.12);
  color: var(--brand-orange);
}

.fv-content-podcast .fv-content-type {
  background: rgba(139, 92, 246, 0.12);
  color: var(--brand-violet);
}

.fv-content-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}

.fv-content-preview {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.fv-content-preview span {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--border);
}

.fv-content-status {
  font-size: 0.625rem;
  font-weight: 600;
  flex-shrink: 0;
}

.fv-status-done { color: var(--brand-emerald); }
.fv-status-progress { color: var(--brand-orange); }
.fv-status-queue { color: var(--text-tertiary); }

/* -- 10: Collaboration card -- */
.feature-card-collab {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fv-collab-canvas {
  position: relative;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  height: 260px;
  overflow: hidden;
}

/* ASCII canvas inside collab card */
.fv-collab-canvas .ascii-art-canvas,
.fv-collab-canvas .ascii-img-canvas {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
  width: 100%;
  border-radius: 10px;
}

.fv-cursor {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  z-index: 2;
}

.fv-cursor-1 {
  top: 45px;
  left: 140px;
  animation: cursor-move-1 6s ease-in-out infinite;
}

.fv-cursor-2 {
  top: 80px;
  right: 70px;
  animation: cursor-move-2 8s ease-in-out infinite;
}

@keyframes cursor-move-1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, 20px); }
  50% { transform: translate(60px, -10px); }
  75% { transform: translate(15px, 30px); }
}

@keyframes cursor-move-2 {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(-20px, 30px); }
  60% { transform: translate(-50px, 10px); }
  80% { transform: translate(-10px, -15px); }
}

.fv-cursor-name {
  font-size: 0.5625rem;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  margin-top: 14px;
}

.fv-collab-presence {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  margin-top: var(--space-lg);
  width: fit-content;
}

.fv-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg-card);
}

.fv-avatar + .fv-avatar {
  margin-left: -10px;
}

.fv-presence-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-left: 4px;
}

/* ============================================================
   08: INTEGRATION MARQUEE
   ============================================================ */
.integration-marquee {
  margin-bottom: var(--space-4xl);
  overflow: hidden;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

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

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

.marquee-content {
  display: flex;
  gap: var(--space-xl);
  padding: 0 var(--space-lg);
}

.marquee-logo {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  padding: 8px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.3s ease;
}

.marquee-logo:hover {
  color: var(--text-tertiary);
}

/* SVG logo marquee items */
.marquee-logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-logo-img img {
  height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.marquee-logo-img:hover img {
  opacity: 0.7;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.step-card {
  padding: var(--space-xl);
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-violet), var(--brand-blue));
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* 11: Hover and auto-hover-cascade styling */
.step-card:hover,
.step-card.step-active {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.step-card:hover::before,
.step-card.step-active::before {
  opacity: 1;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text-dim);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  color: var(--brand-violet);
  margin-bottom: var(--space-md);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

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

/* ============================================================
   COMPARISON CHART
   ============================================================ */
.compare {
  padding: var(--space-4xl) 0;
  position: relative;
  background: var(--bg-deep);
}

.compare::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-header-compare {
  max-width: 750px;
}

/* Desktop table wrapper */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-th {
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.compare-th-cmd {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.04));
}

.compare-td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.compare-td-cap {
  font-weight: 500;
  color: var(--text-primary);
}

.compare-td-tool {
  color: var(--text-secondary);
}

.compare-td-cost {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-align: center;
}

.compare-td-cmd {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), rgba(59, 130, 246, 0.02));
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Fix: table cells don't support flex by default — use inline layout */
td.compare-td-cmd {
  display: table-cell;
}

td.compare-td-cmd span.compare-check {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 6px;
}

.compare-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-emerald);
  flex-shrink: 0;
}

/* Total row */
.compare-total-row {
  border-bottom: none;
}

.compare-total-row .compare-td {
  border-bottom: none;
  padding-top: 24px;
  padding-bottom: 24px;
}

.compare-td-total-label {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 1rem;
}

.compare-td-total-cost {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.15);
}

.compare-td-total-cmd {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(59, 130, 246, 0.06));
}

.compare-total-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-violet), var(--brand-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mobile cards — hidden on desktop */
.compare-cards {
  display: none;
}

.compare-card {
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: var(--space-sm);
}

.compare-card-cap {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.compare-card-detail {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.compare-card-label {
  color: var(--text-tertiary);
  font-size: 0.8125rem;
}

.compare-card-cmd {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--brand-emerald);
  font-size: 0.875rem;
}

.compare-card-total {
  margin-top: var(--space-md);
  background: var(--bg-elevated);
  border-color: rgba(139, 92, 246, 0.2);
  padding: 24px;
}

.compare-card-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.compare-card-total-row:last-child {
  margin-bottom: 0;
}

.compare-card-total-row-cmd {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.compare-card-total-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.compare-card-total-cost {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.15);
}

/* Callout below table */
.compare-callout {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: var(--space-xl);
  line-height: 1.7;
}

.compare-callout strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: var(--space-4xl) 0;
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* 13: Equal height cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.pricing-card {
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.pricing-card-featured {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.08);
}

.pricing-card-featured:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.12);
}

.pricing-featured-badge {
  text-align: center;
  padding: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--brand-violet), var(--brand-blue));
  color: #fff;
}

.pricing-card-inner {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pricing-tier-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-violet);
  opacity: 0.6;
}

.pricing-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

/* 13: Animated crossfade gradient CTA buttons */
.pricing-cta-animated {
  color: #fff;
  background-size: 300% 300%;
  background-image: linear-gradient(
    135deg,
    var(--brand-violet) 0%,
    var(--brand-blue) 25%,
    var(--brand-pink) 50%,
    var(--brand-violet) 75%,
    var(--brand-blue) 100%
  );
  animation: pricing-cta-crossfade 6s ease infinite;
  border: none;
}

@keyframes pricing-cta-crossfade {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.pricing-cta-animated:hover {
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
  transform: translateY(-1px);
}

/* Static CTA for Free, Agency, Enterprise */
.pricing-cta-static {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.pricing-cta-static:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

.final-cta-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mesh-orb-cta-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-violet) 0%, transparent 70%);
  top: -20%;
  left: 20%;
  filter: blur(120px);
  opacity: 0.2;
  animation: orb-drift-1 20s ease-in-out infinite alternate;
}

.mesh-orb-cta-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
  bottom: -20%;
  right: 20%;
  filter: blur(120px);
  opacity: 0.2;
  animation: orb-drift-2 24s ease-in-out infinite alternate;
}

/* 14: ASCII art CTA background */
.ascii-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  z-index: 1;
  pointer-events: auto;
  opacity: 0.4;
}

.final-cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.final-cta-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}

.final-cta-actions {
  margin-bottom: var(--space-3xl);
}

.final-cta-form {
  max-width: 480px;
  margin: 0 auto;
}

.final-cta-form-label {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.email-form {
  display: flex;
  gap: 10px;
}

.email-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.25s ease;
}

.email-input::placeholder {
  color: var(--text-dim);
}

.email-input:focus {
  border-color: var(--brand-violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.email-submit {
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--brand-violet), var(--brand-blue));
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.email-submit:hover {
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.footer-logo img {
  border-radius: 6px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

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

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

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

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .feature-row-reverse {
    direction: ltr;
  }

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

  /* ASCII portrait sections become stacked on tablet */
  .feature-row-ascii {
    min-height: auto;
    flex-direction: column;
  }

  .feature-text-ascii {
    max-width: 100%;
  }

  .ascii-portrait-wrap {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    margin-top: var(--space-lg);
  }

  .ascii-portrait-right,
  .ascii-portrait-left {
    right: auto;
    left: auto;
  }

  .ascii-fade-left {
    width: 120px;
  }

  .ascii-fade-right {
    width: 120px;
  }

  .feature-row-reverse.feature-row-ascii {
    justify-content: flex-start;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .section-header-capabilities {
    padding: 0;
  }

  .section-header-pricing {
    padding: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 5rem;
    --space-4xl: 7rem;
  }

  /* Comparison: swap table for cards on mobile */
  .compare-table-wrap {
    display: none;
  }

  .compare-cards {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: var(--space-md);
    background: rgba(4, 4, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-actions {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .hero {
    padding-top: calc(64px + var(--space-2xl));
  }

  .hero-headline {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-meta {
    flex-direction: column;
    gap: 6px;
  }

  .hero-meta-sep {
    display: none;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-card-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mockup-stats-row {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .social-proof-metrics {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .metric-sep {
    width: 40px;
    height: 1px;
  }

  .email-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .fv-workflow {
    flex-direction: column;
    gap: 0;
  }

  .fv-workflow-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fv-wf-line {
    width: 2px;
    height: 24px;
  }

  .fv-wf-line::after {
    right: auto;
    left: -3px;
    top: auto;
    bottom: -3px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--border-hover);
  }

  .mockup-body {
    min-height: 320px;
  }
}

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

  .hero-headline {
    font-size: 2rem;
  }

  .fv-content-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .fv-content-preview {
    display: none;
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@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;
  }

  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none !important;
  }

  .orb-text-overlay {
    display: none;
  }

  .dot-portrait {
    animation: none;
  }
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brand-violet);
  outline-offset: 2px;
}

/* ============================================================
   LOGO COLOR WASH ANIMATION
   ============================================================ */
.dot-portrait-logo {
  position: relative;
}

.dot-portrait-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(139, 92, 246, 0.35) 15%,
    rgba(59, 130, 246, 0.35) 30%,
    rgba(236, 72, 153, 0.3) 45%,
    rgba(16, 185, 129, 0.3) 60%,
    transparent 75%
  );
  background-size: 300% 300%;
  animation: logoWash 4s ease-in-out infinite;
  mix-blend-mode: overlay;
  pointer-events: none;
}

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

/* ============================================================
   PRICE SHEEN ANIMATION (comparison chart)
   ============================================================ */
.compare-price-sheen {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.compare-price-sheen::before {
  content: '';
  position: absolute;
  top: -4px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(139,92,246,0.6) 30%, transparent 60%);
  border-radius: 50%;
  opacity: 0;
  animation: priceStar 4s ease-in-out infinite;
  pointer-events: none;
  box-shadow: 0 0 8px 2px rgba(139, 92, 246, 0.4);
  z-index: 2;
}

.compare-price-sheen::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: priceSheen 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes priceSheen {
  0%, 100% { left: -100%; }
  30%, 40% { left: 150%; }
}

@keyframes priceStar {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  12% { opacity: 1; transform: scale(1.3); }
  20% { opacity: 0; transform: scale(0.5); }
}

/* ============================================================
   CTA ADDITIONAL MESH ORBS (match hero)
   ============================================================ */
.mesh-orb-cta-3 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-pink) 0%, transparent 70%);
  bottom: 20%;
  left: 30%;
  filter: blur(120px);
  opacity: 0.2;
  animation: orb-drift-3 18s ease-in-out infinite alternate;
}

.mesh-orb-cta-4 {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-emerald) 0%, transparent 70%);
  bottom: 5%;
  right: 15%;
  filter: blur(120px);
  opacity: 0.2;
  animation: orb-drift-4 22s ease-in-out infinite alternate;
}
