/* ===== WebMCP Design Tokens ===== */
:root {
  /* Light Mode */
  --bg-primary: #FAF9F7;
  --bg-card: #F3F2EF;
  --bg-subtle: #E8E6E1;
  --text-primary: #1A1917;
  --text-secondary: #57534E;
  --text-tertiary: #A8A29E;
  --border: #E7E5E4;
  --accent-primary: #4F46E5;
  --accent-hover: #4338CA;
  --accent-tint: #EEF2FF;
  --status-live: #10B981;
  --status-live-tint: #D1FAE5;
  --celebration: #F59E0B;
  --celebration-tint: #FEF3C7;
  --warning: #F97316;
  --error: #EF4444;
  --code-bg: #0F0E0D;
  --code-key: #818CF8;
  --code-string: #34D399;
  --code-number: #FCD34D;
  --code-bool: #F87171;
  --shadow-sm: 0 1px 2px rgba(26, 25, 23, 0.05);
  --shadow-md: 0 4px 12px rgba(26, 25, 23, 0.08);
  --shadow-lg: 0 8px 24px rgba(26, 25, 23, 0.1);
  --gradient-blob: linear-gradient(135deg, #4F46E5, #7C3AED, #818CF8);
  --gradient-hero: linear-gradient(180deg, var(--accent-tint) 0%, var(--bg-primary) 100%);
}

[data-theme="dark"] {
  --bg-primary: #1C1917;
  --bg-card: #292524;
  --bg-subtle: #3D3733;
  --text-primary: #FAFAF8;
  --text-secondary: #A8A29E;
  --text-tertiary: #57534E;
  --border: #3D3733;
  --accent-primary: #818CF8;
  --accent-hover: #6366F1;
  --accent-tint: #1E1B4B;
  --status-live: #34D399;
  --status-live-tint: #064E3B;
  --celebration: #FCD34D;
  --celebration-tint: #451A03;
  --warning: #FB923C;
  --error: #F87171;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --gradient-hero: linear-gradient(180deg, var(--accent-tint) 0%, var(--bg-primary) 100%);
}

/* ===== 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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent-hover);
}

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-accent { color: var(--accent-primary); }
.text-live { color: var(--status-live); }
.text-celebration { color: var(--celebration); }

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

section {
  padding: 100px 0;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

[data-theme="dark"] .nav {
  background: rgba(28, 25, 23, 0.85);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-blob);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.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 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

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

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
  color: var(--text-secondary);
}
.theme-toggle:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--accent-tint);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* ===== Hero Section ===== */
.hero {
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent-tint);
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-live);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 24px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-primary), #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-visual {
  margin-top: 72px;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-profile {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.blob-container {
  width: 80px;
  height: 80px;
  position: relative;
  flex-shrink: 0;
}

.blob {
  width: 80px;
  height: 80px;
  background: var(--gradient-blob);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: blob-morph 7s ease-in-out infinite;
  opacity: 0.9;
}

.blob-ring {
  position: absolute;
  inset: -8px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: var(--gradient-blob);
  opacity: 0.15;
  animation: blob-morph 7s ease-in-out infinite, pulse-ring 2.5s ease-in-out infinite;
}

.profile-info h3 {
  margin-bottom: 4px;
}

.profile-info p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--status-live-tint);
  color: var(--status-live);
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-live);
  animation: pulse-dot 2s ease-in-out infinite;
}

.capability-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.chip {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--accent-tint);
  color: var(--accent-primary);
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

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

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ===== Logos/Trust Bar ===== */
.trust-bar {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.trust-bar p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}

.trust-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
}

/* ===== How It Works ===== */
.how-it-works {
  background: var(--bg-primary);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-tint);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
  border: 2px solid var(--accent-primary);
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.step-card p {
  font-size: 0.95rem;
}

.step-time {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--status-live-tint);
  color: var(--status-live);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ===== Features ===== */
.features {
  background: var(--bg-card);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon.indigo { background: var(--accent-tint); }
.feature-icon.green { background: var(--status-live-tint); }
.feature-icon.amber { background: var(--celebration-tint); }

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.92rem;
}

/* ===== AI Agent Section ===== */
.agent-section {
  background: var(--bg-primary);
}

.agent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.agent-content h2 {
  margin-bottom: 16px;
}

.agent-content > p {
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.agent-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agent-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.agent-features li .check {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--status-live-tint);
  color: var(--status-live);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

.agent-code-block {
  background: var(--code-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #2D2A26;
}

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

.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3D3733;
}

.code-lang {
  color: #A8A29E;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.code-body {
  padding: 24px;
  overflow-x: auto;
}

.code-body pre {
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #E8E6E1;
}

.code-key { color: var(--code-key); }
.code-string { color: var(--code-string); }
.code-number { color: var(--code-number); }
.code-bool { color: var(--code-bool); }
.code-comment { color: #57534E; font-style: italic; }

/* ===== Journeys / Use Cases ===== */
.journeys {
  background: var(--bg-card);
}

.journey-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.journey-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.journey-emoji {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.journey-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.journey-card .scenario {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-style: italic;
}

.journey-card .result {
  font-size: 0.88rem;
  color: var(--status-live);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== Pricing ===== */
.pricing {
  background: var(--bg-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-card .price-sub {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.pricing-card .description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

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

.pricing-features li .icon {
  color: var(--status-live);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* ===== Developer Section ===== */
.developer {
  background: var(--bg-card);
}

.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.dev-content .section-label { text-align: left; }

.dev-content h2 {
  margin-bottom: 16px;
}

.dev-content > p {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.dev-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dev-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
}

.dev-step-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-tint);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.dev-step p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.dev-step strong {
  color: var(--text-primary);
}

.endpoint-block {
  background: var(--code-bg);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.endpoint-url {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.88rem;
  color: var(--code-string);
  word-break: break-all;
}

.copy-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #3D3733;
  background: transparent;
  color: #A8A29E;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.2s;
}
.copy-btn:hover {
  border-color: var(--code-string);
  color: var(--code-string);
}
.copy-btn.copied {
  border-color: var(--code-string);
  color: var(--code-string);
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg-primary);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--accent-primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--bg-card);
  transition: background 0.2s;
  width: 100%;
  border: none;
  font-family: inherit;
  color: var(--text-primary);
  text-align: left;
}

.faq-question:hover {
  background: var(--bg-subtle);
}

.faq-question h4 {
  font-size: 1rem;
  font-weight: 600;
}

.faq-arrow {
  font-size: 1.2rem;
  color: var(--text-tertiary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--gradient-blob);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--accent-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  position: relative;
}
.cta-section .btn-primary:hover {
  background: #F3F2EF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--accent-hover);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.footer-col a:hover { color: var(--accent-primary); }

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

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.footer-bottom .social-links {
  display: flex;
  gap: 16px;
}

.footer-bottom .social-links a {
  color: var(--text-tertiary);
  font-size: 1.1rem;
  transition: color 0.2s;
}
.footer-bottom .social-links a:hover {
  color: var(--accent-primary);
}

/* ===== Animations ===== */
@keyframes blob-morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 60% 40% / 57% 62% 38% 43%; }
  50% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; }
  75% { border-radius: 40% 60% 54% 46% / 49% 40% 60% 51%; }
}

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

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.08); opacity: 0.25; }
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.3s; }

/* ===== 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 ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .agent-grid { grid-template-columns: 1fr; gap: 48px; }
  .dev-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  section { padding: 72px 0; }

  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
  }

  .hero { padding: 120px 0 64px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps-grid::before { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .journey-cards { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }

  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-number { font-size: 1.35rem; }

  .hero-profile { flex-direction: column; text-align: center; }
  .profile-info { text-align: center; }
  .capability-chips { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .endpoint-block { flex-direction: column; }
  .endpoint-url { font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-card { padding: 24px; }
  .feature-card { padding: 24px; }
  .pricing-card { padding: 28px; }
}
