/* ============================================
   Baton Landing Page Styles
   Aesthetic: Luxurious Editorial Conductor
   ============================================ */

/* CSS Variables */
:root {
  /* Colors — matches app default dark theme */
  --gold: hsl(142, 70%, 45%);
  --gold-bright: hsl(142, 75%, 53%);
  --gold-dim: hsl(142, 55%, 32%);
  --gold-glow: hsla(142, 70%, 45%, 0.3);
  --cream: hsl(35, 15%, 90%);
  --cream-dim: hsl(30, 10%, 55%);
  --warm-dark: hsl(30, 10%, 8%);
  --warm-darker: hsl(30, 10%, 6%);
  --warm-brown: hsl(30, 10%, 12%);
  --warm-brown-light: hsl(30, 10%, 16%);
  --warm-border: hsl(30, 10%, 20%);

  /* Typography — system font stacks */
  --font-serif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

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

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1.5rem;

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

/* Skip Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--warm-darker);
  z-index: 1000;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cream);
  background-color: var(--warm-dark);
  overflow-x: hidden;
}

/* Utility Classes */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.gold {
  color: var(--gold);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  background: linear-gradient(to bottom, var(--warm-dark) 0%, transparent 100%);
  transition: background 0.3s ease;
}

.nav.scrolled {
  background: hsla(30, 10%, 6%, 0.95);  /* warm-darker with opacity */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  color: var(--cream);
}

.logo-icon-svg {
  display: block;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.nav-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-3xl) var(--container-padding);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 30%, hsla(142, 55%, 30%, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

/* Baton Visual */
.baton-visual {
  position: relative;
  height: 120px;
  margin-bottom: var(--space-xl);
}

.baton-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dim) 0%, var(--gold) 50%, var(--gold-bright) 100%);
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(-25deg);
  transform-origin: center;
  animation: batonSway 4s ease-in-out infinite;
  box-shadow: 0 0 20px var(--gold-glow);
}

.baton-bulb {
  position: absolute;
  left: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold-bright);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 12px var(--gold-glow), 0 0 4px var(--gold);
}

.baton-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 60px;
  background: radial-gradient(ellipse, var(--gold-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(20px);
  animation: batonGlow 4s ease-in-out infinite;
}

.orchestral-lines {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 100px;
}

.orchestral-lines span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-dim) 50%, transparent 100%);
  opacity: 0.3;
  transform-origin: left center;
}

.orchestral-lines span:nth-child(1) {
  animation: orchestralLine 4s ease-in-out infinite 0s;
  transform: translate(-50%, -50%) rotate(-40deg) translateX(40px);
}

.orchestral-lines span:nth-child(2) {
  animation: orchestralLine 4s ease-in-out infinite 0.15s;
  transform: translate(-50%, -50%) rotate(-20deg) translateX(40px);
}

.orchestral-lines span:nth-child(3) {
  animation: orchestralLine 4s ease-in-out infinite 0.3s;
  transform: translate(-50%, -50%) rotate(0deg) translateX(40px);
}

.orchestral-lines span:nth-child(4) {
  animation: orchestralLine 4s ease-in-out infinite 0.45s;
  transform: translate(-50%, -50%) rotate(20deg) translateX(40px);
}

.orchestral-lines span:nth-child(5) {
  animation: orchestralLine 4s ease-in-out infinite 0.6s;
  transform: translate(-50%, -50%) rotate(40deg) translateX(40px);
}

/* Code Rain - terminal lines behind the baton */
.code-rain {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 220px;
  z-index: 0;
  pointer-events: none;
}

.code-rain span {
  position: absolute;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 11px;
  color: var(--cream-dim);
  opacity: 0;
  white-space: nowrap;
  animation: codeFade 5s ease-in-out infinite;
}

.code-rain span:nth-child(1)  { left: 2%;  top: 3%;  animation-delay: 0s; }
.code-rain span:nth-child(2)  { left: 40%; top: 5%;  animation-delay: 1.8s; }
.code-rain span:nth-child(3)  { left: 75%; top: 8%;  animation-delay: 3.6s; }
.code-rain span:nth-child(4)  { left: 15%; top: 22%; animation-delay: 0.9s; }
.code-rain span:nth-child(5)  { left: 55%; top: 20%; animation-delay: 2.7s; }
.code-rain span:nth-child(6)  { left: 5%;  top: 40%; animation-delay: 1.5s; }
.code-rain span:nth-child(7)  { left: 45%; top: 38%; animation-delay: 3.3s; }
.code-rain span:nth-child(8)  { left: 78%; top: 35%; animation-delay: 0.3s; }
.code-rain span:nth-child(9)  { left: 20%; top: 55%; animation-delay: 2.1s; }
.code-rain span:nth-child(10) { left: 60%; top: 55%; animation-delay: 4.0s; }
.code-rain span:nth-child(11) { left: 2%;  top: 72%; animation-delay: 0.6s; }
.code-rain span:nth-child(12) { left: 38%; top: 70%; animation-delay: 2.5s; }
.code-rain span:nth-child(13) { left: 72%; top: 68%; animation-delay: 1.2s; }
.code-rain span:nth-child(14) { left: 12%; top: 88%; animation-delay: 3.0s; }
.code-rain span:nth-child(15) { left: 55%; top: 88%; animation-delay: 0.8s; }
.code-rain span:nth-child(16) { left: 30%; top: 12%; animation-delay: 3.8s; }
.code-rain span:nth-child(17) { left: 80%; top: 82%; animation-delay: 1.6s; }
.code-rain span:nth-child(18) { left: 48%; top: 48%; animation-delay: 4.2s; }

@keyframes codeFade {
  0%   { opacity: 0;    transform: translateX(-5px); }
  30%  { opacity: 0.2;  transform: translateX(0); }
  70%  { opacity: 0.2;  transform: translateX(0); }
  100% { opacity: 0;    transform: translateX(5px); }
}

/* Ensure baton line and glow sit above code rain */
.baton-line {
  z-index: 2;
}

.baton-glow {
  z-index: 1;
}

.orchestral-lines {
  z-index: 2;
}

@keyframes batonSway {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(-25deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(25deg);
  }
}

@keyframes batonGlow {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes orchestralLine {
  0%, 100% {
    opacity: 0.2;
    width: 60px;
  }
  50% {
    opacity: 0.5;
    width: 100px;
  }
}

/* Hero Text */
.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero-subheadline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--cream-dim);
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s forwards;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s forwards;
}

.all-platforms-link {
  font-size: 0.85rem;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.all-platforms-link:hover {
  color: var(--gold);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--cream-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out-expo) 1s forwards;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s var(--ease-out-quart);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--warm-darker);
}

.btn-disabled {
  pointer-events: none;
  opacity: 0.7;
}

.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
}

.btn-secondary {
  background: var(--warm-brown);
  color: var(--cream);
  border: 1px solid var(--warm-border);
}

.btn-secondary:hover {
  background: var(--warm-brown-light);
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

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

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.platforms-link {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.8rem;
  color: var(--cream-dim);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s ease;
}

.platforms-link:hover {
  color: var(--gold);
}

/* ============================================
   Problem Section
   ============================================ */
.problem {
  padding: var(--space-3xl) 0;
  background: var(--warm-darker);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto;
}

.problem-card {
  text-align: center;
  padding: var(--space-lg);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.problem-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.problem-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.problem-card h3 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: var(--space-xs);
}

.problem-card p {
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Workspace Showcase
   ============================================ */
.workspace-showcase {
  padding: var(--space-3xl) 0;
}

.workspace-showcase-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.workspace-showcase-text h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.workspace-showcase-text p {
  color: var(--cream-dim);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

/* Wireframe */
.workspace-wireframe {
  display: flex;
  border: 1px solid var(--warm-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--warm-darker);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.75rem;
  min-height: 220px;
}

.wireframe-sidebar {
  width: 190px;
  border-right: 1px solid var(--warm-border);
  padding: 6px;
  flex-shrink: 0;
  overflow: hidden;
}

.wireframe-workspace {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--cream-dim);
  margin-bottom: 2px;
}

.wireframe-workspace.active {
  background: var(--warm-brown-light);
  color: var(--cream);
}

.wireframe-ws-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.wireframe-ws-name {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wireframe-ws-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  font-size: 0.6rem;
}

.wireframe-project {
  font-weight: 600;
  font-family: var(--font-sans);
}

.wireframe-project.color-a {
  color: var(--gold);
}

.wireframe-project.color-b {
  color: hsl(170, 60%, 55%);
}

.wireframe-branch {
  color: var(--cream-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.wireframe-status.running {
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold-glow);
}

.wireframe-status.stopped {
  background: var(--cream-dim);
  opacity: 0.4;
}

.wireframe-changes {
  color: var(--gold);
  font-size: 0.6rem;
  white-space: nowrap;
  margin-left: auto;
}

.wireframe-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wireframe-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--warm-border);
}

.wireframe-tab {
  padding: 8px 14px;
  font-size: 0.7rem;
  color: var(--cream-dim);
  border-right: 1px solid var(--warm-border);
  font-family: var(--font-sans);
}

.wireframe-tab.active {
  color: var(--cream);
  background: var(--warm-brown-light);
}

.wireframe-panes {
  flex: 1;
  display: flex;
}

.wireframe-pane {
  flex: 1;
  padding: var(--space-sm);
  display: flex;
  align-items: flex-start;
}

.wireframe-pane-divider {
  width: 1px;
  background: var(--warm-border);
}

.wireframe-pane.secondary {
  opacity: 0.7;
}

.wireframe-cursor {
  color: var(--gold);
  animation: cursorBlink 1s step-end infinite;
}

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

.wireframe-output {
  color: hsl(140, 50%, 55%);
  font-size: 0.7rem;
}

/* Workspace Sub-features */
.workspace-sub-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.workspace-sub-feature {
  padding: var(--space-md);
  border-top: 2px solid var(--gold-dim);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.workspace-sub-feature.visible {
  opacity: 1;
  transform: translateY(0);
}

.workspace-sub-feature h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: var(--space-xs);
}

.workspace-sub-feature p {
  color: var(--cream-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   Customization Strip
   ============================================ */
.customization {
  padding: var(--space-3xl) 0;
}

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

.customization-item {
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
  border-left: 2px solid var(--gold-dim);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.customization-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.customization-item h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: var(--space-xs);
}

.customization-item p {
  color: var(--cream-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  padding: 0.5rem 1rem;
  background: hsla(142, 55%, 35%, 0.15);
  border-radius: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-lg);
  background: var(--warm-brown);
  border-radius: 12px;
  border: 1px solid var(--warm-border);
  transition: all 0.3s var(--ease-out-quart);
  opacity: 0;
  transform: translateY(40px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: var(--gold-dim);
  box-shadow: 0 0 40px hsla(142, 55%, 35%, 0.1);
}

.feature-number {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--gold);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
  color: var(--cream);
}

.feature-card p {
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Agents Section
   ============================================ */
.agents {
  padding: var(--space-3xl) 0;
  background: var(--warm-darker);
}

.agents-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.agent-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1rem 1.5rem;
  background: var(--warm-brown);
  border-radius: 50px;
  border: 1px solid var(--warm-border);
  transition: all 0.3s var(--ease-out-quart);
}

.agent-badge:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px hsla(142, 55%, 35%, 0.15);
}

.agent-icon {
  font-size: 1.25rem;
  color: var(--gold);
}

.agent-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream);
}

.agent-badge-custom {
  border-style: dashed;
}

.agents-note {
  text-align: center;
  color: var(--cream-dim);
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto;
}

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

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, hsla(142, 55%, 30%, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-baton {
  position: relative;
  height: 60px;
  margin-bottom: var(--space-lg);
}

.baton-line-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dim) 0%, var(--gold) 50%, transparent 100%);
  transform: translate(-50%, -50%);
  animation: batonPulse 2s ease-in-out infinite;
}

.baton-bulb-cta {
  width: 6px;
  height: 6px;
  left: -3px;
  animation: batonBulbPulse 2s ease-in-out infinite;
}

@keyframes batonPulse {
  0%, 100% {
    opacity: 0.5;
    width: 80px;
  }
  50% {
    opacity: 1;
    width: 120px;
  }
}

@keyframes batonBulbPulse {
  0%, 100% {
    opacity: 0.5;
    box-shadow: 0 0 6px var(--gold-glow);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px var(--gold-glow), 0 0 6px var(--gold);
  }
}

.cta-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
  color: var(--cream);
}

.cta-subtext {
  color: var(--cream-dim);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--warm-border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-brand .logo-icon-svg {
  width: 20px;
  height: 20px;
}

.footer-brand .logo-text {
  font-size: 1.1rem;
}

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

.footer-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-tagline {
  color: var(--cream-dim);
  font-size: 0.85rem;
  font-style: italic;
  font-family: var(--font-serif);
}

.footer-copyright {
  color: var(--cream-dim);
  font-size: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0.6;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  .nav-links {
    gap: var(--space-md);
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: var(--space-3xl);
  }

  .baton-visual {
    transform: scale(0.8);
    margin-bottom: var(--space-lg);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

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

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

  .workspace-wireframe {
    min-height: 180px;
  }

  .wireframe-sidebar {
    width: 140px;
  }

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

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

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

  .agents-showcase {
    flex-direction: column;
    align-items: center;
  }

  .agent-badge {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: var(--space-sm);
    font-size: 0.8rem;
  }
}

/* ============================================
   Animation Utilities
   ============================================ */
.fade-in-view {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.fade-in-view.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays for children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }
