/* ============================================
   WALKER AI — style.css
   Dark futuristic AI agency theme
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --bg-primary: #06060f;
  --bg-secondary: #0c0d1a;
  --bg-card: #111225;
  --bg-card-hover: #161836;
  --bg-elevated: #1a1c3a;
  --text-primary: #f0f0f5;
  --text-secondary: #9395b0;
  --text-muted: #5c5e7a;
  --accent-primary: #00d4ff;
  --accent-secondary: #7c3aed;
  --accent-tertiary: #06ffa5;
  --accent-warm: #f59e0b;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --accent-glow-strong: rgba(0, 212, 255, 0.3);
  --gradient-hero: linear-gradient(135deg, #06060f 0%, #0c0d1a 40%, #111235 100%);
  --gradient-accent: linear-gradient(135deg, #00d4ff, #7c3aed);
  --gradient-warm: linear-gradient(135deg, #f59e0b, #ef4444);
  --gradient-green: linear-gradient(135deg, #06ffa5, #00d4ff);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 212, 255, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.1);
  --shadow-glow-strong: 0 0 60px rgba(0, 212, 255, 0.15);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --nav-height: 72px;
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

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

a { color: var(--accent-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: #33dfff; }

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

::selection { background: rgba(0, 212, 255, 0.3); color: #fff; }

/* --- Utility Classes --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent-primary);
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-glow { text-shadow: 0 0 30px rgba(0, 212, 255, 0.3); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent-primary);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: #33dfff;
  color: var(--bg-primary);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}
.btn-secondary:hover {
  background: var(--accent-glow);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--accent-primary);
  padding: 10px 0;
}
.btn-ghost:hover { color: #33dfff; gap: 12px; }
.btn-ghost .arrow { transition: transform var(--transition-fast); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 6, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.nav-logo .logo-dot {
  color: var(--accent-primary);
  font-size: 1.6rem;
  line-height: 1;
}
.nav-logo:hover { color: var(--text-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-primary);
  transition: width var(--transition-base);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 22px !important;
  font-size: 0.85rem !important;
  color: var(--bg-primary) !important;
  background: var(--accent-primary);
  border-radius: var(--radius-sm);
}
.nav-cta:hover { color: var(--bg-primary) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: rgba(6, 6, 15, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
}
.nav-mobile.active { display: block; }
.nav-mobile a {
  display: block;
  padding: 14px 0;
  color: var(--text-secondary);
  font-size: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--text-primary); }

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: var(--nav-height);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
}
.hero-glow-1 {
  top: -200px;
  right: -100px;
  background: var(--accent-primary);
  opacity: 0.12;
}
.hero-glow-2 {
  bottom: -200px;
  left: -100px;
  background: var(--accent-secondary);
  opacity: 0.1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.hero-badge .pulse {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(0, 212, 255, 0); }
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-typed {
  display: inline;
  border-right: 2px solid var(--accent-primary);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { border-color: var(--accent-primary); }
  50% { border-color: transparent; }
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}
.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Problem Section --- */
.problem { background: var(--bg-secondary); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-warm);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.problem-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.problem-card:hover::before { opacity: 1; }
.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}
.service-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 600;
}

/* --- Build Path Section --- */
.build-path { background: var(--bg-secondary); }
.build-path-steps {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bp-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.bp-step:last-child { border-bottom: none; }
.bp-step-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bp-step-number .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.bp-step h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.bp-step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.bp-step .bp-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-primary);
}

/* Build Path Animated Windows */
.bp-window {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  position: relative;
}
.bp-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
}
.bp-window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.bp-window-dot:nth-child(1) { background: #ff5f57; }
.bp-window-dot:nth-child(2) { background: #ffbd2e; }
.bp-window-dot:nth-child(3) { background: #28c840; }
.bp-window-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-left: 8px;
}
.bp-window-body {
  padding: 16px;
  height: calc(100% - 36px);
  overflow: hidden;
  position: relative;
}

/* Window 1: Code typing animation */
.bp-code-lines {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.9;
  color: var(--text-secondary);
}
.bp-code-line {
  opacity: 0;
  transform: translateX(-10px);
  animation: codeFadeIn 0.4s forwards;
  white-space: nowrap;
}
.bp-code-line:nth-child(1) { animation-delay: 0.5s; }
.bp-code-line:nth-child(2) { animation-delay: 1.2s; }
.bp-code-line:nth-child(3) { animation-delay: 1.9s; }
.bp-code-line:nth-child(4) { animation-delay: 2.6s; }
.bp-code-line:nth-child(5) { animation-delay: 3.3s; }
.bp-code-line:nth-child(6) { animation-delay: 4.0s; }
.bp-code-line:nth-child(7) { animation-delay: 4.7s; }
.bp-code-line:nth-child(8) { animation-delay: 5.4s; }
.bp-code-line:nth-child(9) { animation-delay: 6.1s; }
.bp-code-line:nth-child(10) { animation-delay: 6.8s; }
@keyframes codeFadeIn {
  to { opacity: 1; transform: translateX(0); }
}
.code-tag { color: #ff7b72; }
.code-attr { color: #d2a8ff; }
.code-str { color: #a5d6ff; }
.code-comment { color: #484f58; font-style: italic; }
.code-keyword { color: #ff7b72; }
.code-func { color: #d2a8ff; }
.code-val { color: var(--accent-tertiary); }

/* Window 2: Workflow nodes animation */
.bp-nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px;
}
.bp-node {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
  opacity: 0;
  animation: nodeAppear 0.5s forwards;
  position: relative;
  white-space: nowrap;
}
.bp-node.active {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}
.bp-node:nth-child(1) { animation-delay: 0.3s; }
.bp-node:nth-child(2) { animation-delay: 0.8s; }
.bp-node:nth-child(3) { animation-delay: 1.3s; }
.bp-node:nth-child(4) { animation-delay: 1.8s; }
.bp-node:nth-child(5) { animation-delay: 2.3s; }
.bp-node:nth-child(6) { animation-delay: 2.8s; }
.bp-node:nth-child(7) { animation-delay: 3.3s; }
@keyframes nodeAppear {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}
.bp-node-connector {
  color: var(--accent-primary);
  font-size: 0.8rem;
  opacity: 0;
  animation: nodeAppear 0.3s forwards;
}
.bp-node-connector:nth-of-type(2) { animation-delay: 0.55s; }
.bp-node-connector:nth-of-type(4) { animation-delay: 1.05s; }
.bp-node-connector:nth-of-type(6) { animation-delay: 1.55s; }
.bp-node-connector:nth-of-type(8) { animation-delay: 2.05s; }
.bp-node-connector:nth-of-type(10) { animation-delay: 2.55s; }
.bp-node-connector:nth-of-type(12) { animation-delay: 3.05s; }
.bp-data-packet {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent-tertiary);
  opacity: 0;
  animation: packetSlide 1.5s 3.8s forwards;
  padding: 8px;
  background: rgba(6, 255, 165, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(6, 255, 165, 0.15);
}
@keyframes packetSlide {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Window 3: Agent conversations */
.bp-chat-sim {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  justify-content: flex-end;
  padding-bottom: 8px;
}
.bp-chat-msg {
  max-width: 78%;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0;
  animation: chatBubble 0.4s forwards;
}
.bp-chat-msg.user {
  align-self: flex-end;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-bottom-right-radius: 4px;
}
.bp-chat-msg.agent {
  align-self: flex-start;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
}
.bp-chat-msg:nth-child(1) { animation-delay: 0.5s; }
.bp-chat-msg:nth-child(2) { animation-delay: 1.5s; }
.bp-chat-msg:nth-child(3) { animation-delay: 2.8s; }
.bp-chat-msg:nth-child(4) { animation-delay: 4.0s; }
.bp-chat-msg:nth-child(5) { animation-delay: 5.0s; }
@keyframes chatBubble {
  0% { opacity: 0; transform: translateY(10px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.bp-notif {
  position: absolute;
  top: 48px;
  right: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: notifSlide 0.5s forwards;
  white-space: nowrap;
}
.bp-notif:nth-of-type(1) { animation-delay: 2.0s; top: 48px; }
.bp-notif:nth-of-type(2) { animation-delay: 3.5s; top: 80px; }
.bp-notif:nth-of-type(3) { animation-delay: 5.5s; top: 112px; }
@keyframes notifSlide {
  0% { opacity: 0; transform: translateX(20px); }
  100% { opacity: 1; transform: translateX(0); }
}
.notif-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-tertiary);
}

/* Window 4: Review/optimize animation */
.bp-review-lines {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 2.0;
}
.bp-review-line {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: reviewFade 0.5s forwards;
}
.bp-review-line:nth-child(1) { animation-delay: 0.4s; }
.bp-review-line:nth-child(2) { animation-delay: 1.0s; }
.bp-review-line:nth-child(3) { animation-delay: 1.6s; }
.bp-review-line:nth-child(4) { animation-delay: 2.2s; }
.bp-review-line:nth-child(5) { animation-delay: 2.8s; }
.bp-review-line:nth-child(6) { animation-delay: 3.4s; }
@keyframes reviewFade {
  to { opacity: 1; }
}
.review-check {
  color: var(--accent-tertiary);
  font-weight: bold;
}
.review-warn {
  color: var(--accent-warm);
  font-weight: bold;
}
.review-text { color: var(--text-secondary); }
.review-optimized { color: var(--accent-tertiary); }
.bp-meter {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  overflow: hidden;
  opacity: 0;
  animation: reviewFade 0.5s 4.0s forwards;
}
.bp-meter-fill {
  height: 100%;
  background: var(--gradient-green);
  border-radius: 3px;
  width: 0;
  animation: meterFill 2s 4.2s forwards ease-out;
}
@keyframes meterFill {
  to { width: 96%; }
}
.bp-meter-label {
  position: absolute;
  bottom: 28px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-tertiary);
  opacity: 0;
  animation: reviewFade 0.4s 5.8s forwards;
}

/* --- SaaS Calculator Section --- */
.calculator-wrapper {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.calc-tools {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
}
.calc-tools h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.calc-tool-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.calc-tool-item:last-child { border-bottom: none; }
.calc-tool-item:hover { padding-left: 8px; }
.calc-tool-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.calc-tool-name {
  font-size: 0.9rem;
  font-weight: 500;
}
.calc-tool-cost {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.calc-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--border-accent);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.calc-tool-item.active .calc-checkbox {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}
.calc-tool-item.active .calc-checkbox::after {
  content: '✓';
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
}
.calc-results {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.calc-results h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
}
.calc-row-label { color: var(--text-secondary); }
.calc-row-value {
  font-family: var(--font-mono);
  font-weight: 600;
}
.calc-row-value.negative { color: #f87171; text-decoration: line-through; }
.calc-row-value.positive { color: var(--accent-tertiary); }
.calc-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 12px 0;
}
.calc-savings {
  text-align: center;
  padding: 20px;
  background: rgba(6, 255, 165, 0.05);
  border: 1px solid rgba(6, 255, 165, 0.15);
  border-radius: var(--radius-sm);
  margin-top: 16px;
}
.calc-savings-amount {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-tertiary);
}
.calc-savings-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- AI Audit Section --- */
.audit-section { background: var(--bg-secondary); }
.audit-wrapper {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.audit-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.audit-features {
  list-style: none;
  margin-top: 20px;
}
.audit-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.audit-features .check { color: var(--accent-tertiary); font-weight: bold; flex-shrink: 0; }
.audit-chat-window {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.audit-chat-header {
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}
.audit-chat-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-tertiary);
  animation: pulse 2s infinite;
}
.audit-chat-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.audit-chat-messages {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 300px;
}
.audit-msg {
  max-width: 80%;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.55;
}
.audit-msg.bot {
  align-self: flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
  color: var(--text-primary);
}
.audit-msg.user {
  align-self: flex-end;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-bottom-right-radius: 4px;
}
.audit-chat-input {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
}
.audit-chat-input input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}
.audit-chat-input input::placeholder { color: var(--text-muted); }
.audit-chat-input input:focus { border-color: var(--accent-primary); }
.audit-chat-input button {
  background: var(--accent-primary);
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}
.audit-chat-input button:hover {
  background: #33dfff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* --- Pricing Section --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: all var(--transition-base);
}
.pricing-card.featured {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 100px;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.pricing-type {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}
.pricing-amount {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.pricing-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.pricing-features .check { color: var(--accent-tertiary); flex-shrink: 0; }

/* --- Footer --- */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 4px 0;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}
.footer-contact a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-contact a:hover { color: var(--accent-primary); }

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .problem-grid,
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .bp-step { grid-template-columns: 1fr; gap: 24px; }
  .calculator-wrapper { grid-template-columns: 1fr; }
  .audit-wrapper { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 32px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .problem-grid,
  .services-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
