/* ========================================
   PLEPIC — Nature-Digital Design System
   ======================================== */

/* ========================================
   Design Tokens
   ======================================== */

:root {
  /* Green — Nature, growth, transformation */
  --green: #22c55e;
  --green-dark: #0d7a36;
  --green-darker: #065f28;
  --green-light: #dcfce7;
  --green-surface: #f0fdf4;

  /* Claude Orange — CTAs, Claude Code brand */
  --claude-orange: #d97757;
  --claude-orange-dark: #b8604a;
  --claude-orange-text: #a8553f;
  --cta-text: #3d1f14;

  /* Backgrounds */
  --bg: #faf7f2;
  --bg-alt: #f3efe7;
  --surface: #ffffff;

  /* Text */
  --text: #1c1c1a;
  --text-2: #4a4a45;
  --text-3: #6b6b60;

  /* Borders */
  --border: #e5e2dc;

  /* Typography */
  --font-display: 'Zilla Slab', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

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

  /* Layout */
  --max-width: 1120px;
  --header-height: 64px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-smooth: 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   Reset & Base
   ======================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--green-darker);
}

a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 2rem + 3vw, 3.5rem); }

/* Hero heading override — matches prototype exactly */
.hero h1 {
  font-size: clamp(3rem, 2.5rem + 3.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}
h2 { font-size: clamp(1.5rem, 1.25rem + 2vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* Section label — replaces "// Tactical" mono labels */
.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

/* ========================================
   Layout
   ======================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

/* ========================================
   Skip Link (a11y)
   ======================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--green);
  color: #fff;
  font-weight: 600;
  z-index: 200;
  border-radius: 4px;
}

.skip-link:focus {
  top: var(--space-md);
}

/* ========================================
   Header
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.header.scrolled {
  border-bottom-color: var(--border);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: normal;
  color: var(--text) !important;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--text) !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  line-height: normal;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
}

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

.nav-cta {
  padding: 0.5rem 1.2rem !important;
  border: 1.5px solid var(--green) !important;
  color: #0d7a36 !important;
  border-radius: 10px !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nav-cta:hover {
  background: var(--green-surface) !important;
  color: var(--green-darker) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  background: var(--claude-orange);
  color: var(--cta-text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: normal;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: var(--claude-orange-dark);
  color: var(--cta-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 87, 0.25);
}

.btn-secondary {
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--green-dark);
  font-size: 0.95rem;
  border: 1.5px solid var(--green);
  border-radius: 12px;
}

.btn-secondary:hover {
  background: var(--green-surface);
  color: var(--green-darker);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

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

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 87, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(217, 119, 87, 0); }
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ========================================
   Badge
   ======================================== */

.badge-base {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  background: var(--green-surface);
  color: #0d7a36;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: normal;
  border-radius: 20px 4px 16px;
  border: 1px solid var(--green-light);
  margin-bottom: 0.75rem;
}

.badge-base::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

/* ========================================
   Code Snippet
   ======================================== */

.code-snippet {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: normal;
  color: var(--green-dark);
  background: var(--surface);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(28, 28, 26, 0.04);
}

.code-snippet--orange {
  color: var(--text-3);
  border-color: var(--border);
}

.code-snippet--lg {
  font-size: 1rem;
  padding: 1rem 1.5rem;
}

/* ========================================
   Panels (white cards)
   ======================================== */

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-xl);
  position: relative;
}

.panel::before,
.panel::after {
  display: none;
}

.panel-header {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

/* ========================================
   Hero Section (Homepage)
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  max-width: var(--max-width);
  padding: 0 2rem;
  margin: -5vh auto 0;
  align-items: end;
  width: 100%;
  position: relative;
}

.hero-text {
  max-width: 580px;
}

.hero h1 .green {
  color: #16a34a;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-desc strong {
  color: var(--text);
  font-weight: 600;
}

.hero-price {
  font-size: 1.05rem;
  line-height: normal;
  color: var(--text-2);
  margin-bottom: 2rem;
}

.hero-price strong {
  color: var(--text);
}

.price-highlight {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.hero-qualifier {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: normal;
  color: #6b6b60;
  letter-spacing: 0.01em;
}

/* Trust bar at bottom of hero */
.hero-bottom {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  max-width: var(--max-width);
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.65;
}

.hero-bottom span {
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  white-space: nowrap;
}

.hero-bottom-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Butterfly visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  align-self: end;
}

.butterfly-container {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 300 / 280;
}

.butterfly-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.butterfly-svg {
  width: 100%;
  height: 100%;
}

.hero-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: normal;
  color: #0d7a36;
  background: transparent;
  padding: 0.5rem 0;
  white-space: nowrap;
  margin-top: -1.5rem;
  opacity: 0.6;
}

/* Wing hover animation */
.butterfly-svg .wing-group {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: 210px 210px;
}
.butterfly-container:hover .wing-left { transform: rotate(-4deg) translateX(-6px); }
.butterfly-container:hover .wing-right { transform: rotate(4deg) translateX(6px); }

/* ========================================
   Perspective Shift Section
   ======================================== */

.perspective-shift {
  background: var(--bg-alt);
}

.perspective-shift-content {
  max-width: 720px;
  margin: 0 auto;
}

.perspective-shift-content h2 {
  margin-bottom: var(--space-lg);
}

.perspective-shift-content .highlight {
  color: var(--green-dark);
}

.perspective-shift-desc {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.perspective-shift-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.shift-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-xl);
}

.shift-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.shift-col p {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: var(--space-md);
}

.text-cyan,
.shift-col--agent h4 {
  color: var(--claude-orange-text) !important;
}

.shift-col--agent {
  border-left: 3px solid var(--claude-orange);
}

.text-orange,
.shift-col--conversational h4 {
  color: var(--text-3) !important;
}

.perspective-shift-quote {
  border-left: 3px solid var(--green);
  padding-left: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.perspective-shift-quote p {
  font-size: 1.05rem;
  color: var(--text-2);
  font-style: italic;
  line-height: 1.7;
}

.perspective-shift-quote cite {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-3);
  font-style: normal;
  font-weight: 600;
}

/* ========================================
   Hackathon Section
   ======================================== */

.hackathon-section {
  background: var(--bg);
}

.hackathon-content {
  max-width: 800px;
  margin: 0 auto;
}

.hackathon-content h2 {
  margin-bottom: var(--space-xl);
}

.hackathon-content .highlight {
  color: var(--green-dark);
}

.hackathon-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: start;
}

.hackathon-message {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
}

.hackathon-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.big-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-xl);
  text-align: center;
}

.big-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}

.big-stat-label {
  font-size: 0.8rem;
  line-height: normal;
  color: var(--text-3);
  margin-top: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ========================================
   Incentive Section
   ======================================== */

.incentive-section {
  background: var(--bg-alt);
}

.incentive-content {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.incentive-text h2 {
  margin-bottom: var(--space-lg);
}

.incentive-text p {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
}

.incentive-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.incentive-equation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: normal;
}

.equation-old {
  color: var(--text-3);
  text-decoration: line-through;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.equation-arrow {
  color: var(--green-dark);
  font-size: 1.2rem;
}

.equation-new {
  color: var(--green-dark);
  font-weight: 700;
  padding: 0.5rem 1rem;
  background: var(--green-surface);
  border-radius: 8px;
  border: 1px solid var(--green-light);
}

/* ========================================
   Clients Section
   ======================================== */

.clients-section {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2xl) var(--space-3xl);
}

.company-logo {
  height: 24px;
  width: auto;
  filter: grayscale(1) opacity(0.5);
  transition: filter var(--transition-base);
}

.company-logo:hover {
  filter: none;
}

.company-logo--aktiva {
  height: 26px;
}

/* ========================================
   Team Section
   ======================================== */

.team-section {
  background: var(--bg);
}

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

.team-header h2 {
  margin-bottom: var(--space-md);
}

.experience-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 500;
}

.experience-badge svg {
  color: var(--claude-orange);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-xl);
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.team-photo {
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-info {
  padding: var(--space-lg);
}

.team-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
  color: var(--text);
}

.team-role {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: var(--space-md);
}

.team-experience {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.team-experience svg {
  color: var(--green);
  flex-shrink: 0;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.skill-tag {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: normal;
  padding: 0.2rem 0.6rem;
  background: var(--green-surface);
  color: var(--green-darker);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-bio {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
}

.book-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  align-self: center;
}

.book-divider img {
  width: 80px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.book-caption {
  font-size: 0.7rem;
  color: var(--text-3);
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.footer {
  background: #2a2a25;
  color: #d4d4c8;
  padding: var(--space-xl) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #b0b0a5;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links svg {
  opacity: 0.6;
  flex-shrink: 0;
}

.footer-company-info {
  text-align: right;
  font-size: 0.75rem;
  color: #9a9a90;
  line-height: 1.5;
}

.footer-company-info strong {
  color: #d4d4c8;
  font-weight: 600;
}

/* ========================================
   Sticky CTA (Mobile)
   ======================================== */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: var(--space-md);
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  display: none;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ========================================
   Agent Page — Hero
   ======================================== */

.agent-hero {
  padding-top: calc(var(--header-height) + var(--space-3xl));
}

.agent-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.agent-hero-text h1 {
  margin-bottom: var(--space-lg);
}

.agent-hero-text .highlight {
  color: var(--green-dark);
}

.agent-hero-description {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.agent-hero-video {
  display: flex;
  align-items: center;
}

/* YouTube Video Embed */
.agent-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.agent-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.loop-icon {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loop-arrow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.loop-arrow path {
  stroke: var(--green) !important;
}

.loop-arrow polygon {
  fill: var(--green) !important;
}

.loop-center {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
  z-index: 1;
}

/* ========================================
   Agent Page — Comparison
   ======================================== */

.comparison-section {
  background: var(--bg-alt);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.comparison-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-xl);
  text-align: center;
}

.comparison-card--agent {
  border-left: 3px solid var(--claude-orange);
}

.comparison-visual {
  margin-bottom: var(--space-lg);
}

.comparison-visual .loop-icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
}

.comparison-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.comparison-title--cyan {
  color: var(--claude-orange-text);
}

.comparison-title--orange {
  color: var(--text-3);
}

.comparison-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: var(--space-md);
}

.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-divider span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-3);
  background: var(--bg-alt);
  padding: var(--space-sm) var(--space-md);
  border-radius: 50%;
  border: 1px solid var(--border);
}

/* Single-shot visual (conversational AI) */
.single-shot-visual {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-shot-arrow {
  width: 100%;
  height: 100%;
}

.single-shot-arrow line,
.single-shot-arrow polygon {
  stroke: var(--text-3) !important;
  fill: var(--text-3) !important;
}

.single-shot-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-3);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ========================================
   Agent Page — Timeline
   ======================================== */

.timeline-section {
  background: var(--bg);
}

.timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding-left: var(--space-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--green-light);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
  padding-left: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) + 0px);
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.timeline-item--current::before {
  width: 14px;
  height: 14px;
  left: calc(-1 * var(--space-xl) - 2px);
  box-shadow: 0 0 0 4px var(--green-light);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ========================================
   Agent Page — Terminal Advantages
   ======================================== */

.terminal-section {
  background: var(--bg-alt);
}

.terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.terminal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-xl);
}

.terminal-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: var(--space-sm);
}

.terminal-card-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ========================================
   Agent Page — Reflection/Learning Loop
   ======================================== */

.reflection-section {
  background: var(--bg);
}

.reflection-content {
  max-width: 700px;
  margin: 0 auto;
}

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

.reflection-story {
  border-left: 3px solid var(--green);
  padding-left: var(--space-xl);
  margin: 0;
}

.reflection-story p {
  font-size: 1rem;
  color: var(--text-2);
  font-style: italic;
  line-height: 1.7;
}

.reflection-story cite {
  display: block;
  margin-top: var(--space-md);
  font-size: 0.85rem;
  color: var(--text-3);
  font-style: normal;
  font-weight: 600;
}

/* ========================================
   Enlist / CTA Section
   ======================================== */

.enlist-section {
  background: var(--green-surface);
  padding: var(--space-4xl) 0;
}

.enlist-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.enlist-content h2 {
  margin-bottom: var(--space-lg);
}

.enlist-content > p {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-bottom: var(--space-2xl);
}

.btn-enlist {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--claude-orange);
  color: var(--cta-text);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: all var(--transition-smooth);
}

.btn-enlist:hover {
  background: var(--claude-orange-dark);
  color: var(--cta-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 87, 0.25);
}

/* ========================================
   Training Page — Hero
   ======================================== */

.training-hero {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  text-align: center;
}

.training-hero .btn-group {
  justify-content: center;
}

.training-hero h1 {
  margin-bottom: var(--space-xl);
}

.training-hero .highlight {
  color: var(--green-dark);
}

.training-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
}

.squad-badge {
  margin-bottom: var(--space-lg);
}

/* Mech Viewport — simplified clean stats */
.mech-viewport {
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.mech-image-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.mech-image-inner img {
  width: 100%;
  display: block;
}

.mech-hud-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.stat-card {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  line-height: normal;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-top: var(--space-xs);
}

.social-proof-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--green-dark);
  font-weight: 600;
}

.social-proof-line svg {
  color: var(--green);
}

/* ========================================
   Training Page — Curriculum
   ======================================== */

.curriculum-section {
  background: var(--bg-alt);
}

.curriculum-section .section-subtitle {
  font-size: 0.9rem;
  color: var(--text-2);
}

.powered-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
}

.powered-badge img {
  height: 20px;
  width: auto;
  display: inline-block;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.curriculum-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-xl);
}

.curriculum-week {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: normal;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.curriculum-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.curriculum-tagline {
  font-size: 0.85rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.curriculum-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

.curriculum-final {
  border-color: var(--green-light);
  background: var(--green-surface);
}

.grid-col-span-2 {
  grid-column: span 2;
}

/* ========================================
   Training Page — Details (Toolkit + Requirements)
   ======================================== */

.details-section {
  background: var(--bg);
}

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

.detail-panel h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: var(--space-lg);
}

.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.detail-list li {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
  padding-left: var(--space-lg);
  position: relative;
}

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

/* ========================================
   Training Page — Stats / Why This Works
   ======================================== */

.stats-section {
  background: var(--bg-alt);
}

.stats-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2xl);
  align-items: start;
  max-width: 700px;
  margin: 0 auto;
}

.stats-display {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-message {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ========================================
   Training Page — Pricing
   ======================================== */

.pricing-section {
  background: var(--bg-alt);
}

.pricing-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 800px;
  margin: 0 auto;
  align-items: start;
}

.pricing-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-2xl);
}

.pricing-header {
  margin-bottom: var(--space-xl);
}

.pricing-header h2 {
  font-size: 1.5rem;
}

.pricing-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.pricing-row.total {
  border-bottom: none;
  padding-top: var(--space-sm);
}

.pricing-label {
  font-size: 0.95rem;
  color: var(--text-2);
}

.pricing-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-value.strikethrough {
  text-decoration: line-through;
  color: var(--text-3);
}

.pricing-value.savings {
  color: var(--green-dark);
}

.pricing-value.final {
  font-size: 1.75rem;
  color: var(--text);
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: var(--space-lg);
  line-height: 1.5;
}

.pricing-note a {
  color: var(--green-dark);
  text-decoration: underline;
}

.registration-panel {
  text-align: center;
}

.registration-panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  color: var(--text);
  letter-spacing: 0;
}

.spots-remaining {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--claude-orange-text);
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

.spots-remaining svg {
  color: var(--claude-orange-text);
}

/* ========================================
   Tooltip
   ======================================== */

.tooltip-trigger {
  position: relative;
  cursor: help;
  border-bottom: 1.5px dashed var(--green);
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  border: 1px solid var(--green-light);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(28, 28, 26, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  pointer-events: none;
  z-index: 10;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--green-light);
}

.tooltip-trigger:hover .tooltip,
.tooltip-trigger:focus .tooltip,
.tooltip-trigger:focus-within .tooltip {
  opacity: 1;
  visibility: visible;
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center { text-align: center; }
.text-dim { color: var(--text-2); }
.text-sm { font-size: 0.85rem; }
.text-void { color: var(--text); }
.text-opacity-70 { color: var(--text-3); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mb-4 { margin-bottom: var(--space-3xl); }

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-200 { max-width: 200px; }
.max-w-350 { max-width: 350px; }
.max-w-600 { max-width: 600px; }

.flex-center-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
}

.flex-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.underline { text-decoration: underline; }

/* ========================================
   Reduced Motion
   ======================================== */

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

/* ========================================
   Responsive — Mobile-first breakpoints
   ======================================== */

/* Mobile: base styles above handle 0-479px */

/* Show sticky CTA on mobile only */
@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }

  body.has-sticky-cta {
    padding-bottom: 70px;
  }
}

/* Small phones: 480px+ */
@media (max-width: 600px) {
  .container {
    padding: 0 1.25rem;
  }

  .header-inner {
    padding: 0 1.25rem;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-lg);
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-2xl);
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 1.25rem;
  }

  .hero-text {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-desc {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
  }

  .hero-visual {
    order: -1;
    align-items: center;
    margin-top: 0;
  }

  .butterfly-container {
    max-width: 180px;
  }

  .hero-bottom {
    display: none;
  }

  .btn-primary {
    margin: 0 auto;
  }

  .perspective-shift-comparison {
    grid-template-columns: 1fr;
  }

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

  .incentive-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .incentive-equation {
    flex-direction: row;
  }

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

  .book-divider {
    order: -1;
  }

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

  .footer-links {
    justify-content: center;
  }

  .footer-company-info {
    text-align: center;
  }

  /* Agent page */
  .agent-hero-grid {
    grid-template-columns: 1fr;
  }

  .agent-hero-text {
    text-align: center;
  }

  .agent-hero-text .code-snippet {
    margin: 0 auto;
  }

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

  .comparison-divider {
    display: none;
  }

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

  /* Training page */
  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .grid-col-span-2 {
    grid-column: span 1;
  }

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

  .pricing-content {
    grid-template-columns: 1fr;
  }

  .mech-hud-stats {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .stat-card {
    flex: 1;
    min-width: 70px;
  }

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

/* Tablet: hero stacks at 900px */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-text {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-desc {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: -1;
    align-items: center;
  }

  .butterfly-container {
    max-width: 220px;
  }

  .hero-bottom {
    display: none;
  }
}

/* Tablet: 601-768px */
@media (min-width: 601px) and (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-lg);
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

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

  .book-divider {
    grid-column: span 2;
    flex-direction: row;
    gap: var(--space-md);
  }
}

/* Desktop: 769px+ */

/* Large desktop: 900px+ */
@media (min-width: 900px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

/* Fade-in animation for curriculum items */
.fade-in {
  opacity: 1;
}
