/* ===================================
   SENTINEL — Landing Page Styles
   Premium Dark SaaS Design
   =================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Core Colors */
  --bg-primary: #06080f;
  --bg-secondary: #0c1021;
  --bg-tertiary: #111733;
  --bg-card: rgba(15, 23, 55, 0.6);
  --bg-card-hover: rgba(20, 30, 70, 0.7);

  /* Accent Colors */
  --accent-primary: #3b82f6;
  --accent-secondary: #06b6d4;
  --accent-tertiary: #8b5cf6;
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #8b5cf6 100%);
  --gradient-hero: linear-gradient(180deg, #06080f 0%, #0c1021 40%, #111733 100%);
  --gradient-card: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
  --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.06), transparent 40%);

  /* Text */
  --text-primary: #f0f4ff;
  --text-secondary: #94a3c8;
  --text-muted: #5b6b8a;
  --text-accent: #60a5fa;

  /* Borders */
  --border-subtle: rgba(59, 130, 246, 0.12);
  --border-active: rgba(59, 130, 246, 0.3);
  --border-glow: rgba(59, 130, 246, 0.5);

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;
  --container-padding: 24px;

  /* Fonts */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-subtle);
  --shadow-card-hover: 0 8px 40px rgba(59, 130, 246, 0.15), 0 0 0 1px var(--border-active);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.2);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

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

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

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

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

a:hover {
  color: var(--accent-secondary);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-active);
  border-radius: var(--radius-full);
}

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

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Lucide Icons --- */
.lucide-icon {
  display: inline-flex;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.section-label .lucide-icon {
  width: 16px;
  height: 16px;
}

.mode-icon .lucide-icon {
  width: 28px;
  height: 28px;
}

.mode-card.passive .mode-icon .lucide-icon {
  color: var(--accent-primary);
}

.mode-card.realtime .mode-icon .lucide-icon {
  color: var(--accent-tertiary);
}

.category-icon .lucide-icon {
  width: 28px;
  height: 28px;
}

.tech-icon .lucide-icon {
  width: 28px;
  height: 28px;
}

.philosophy-icon .lucide-icon {
  width: 32px;
  height: 32px;
}

.mcp-agent-icon .lucide-icon {
  width: 20px;
  height: 20px;
}

.problem-list .icon .lucide-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-danger);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* --- Animated Background --- */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 75%);
}

.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb:nth-child(1) {
  width: 600px;
  height: 600px;
  background: rgba(59, 130, 246, 0.15);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.bg-orb:nth-child(2) {
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.1);
  bottom: 20%;
  left: -150px;
  animation-delay: -7s;
}

.bg-orb:nth-child(3) {
  width: 400px;
  height: 400px;
  background: rgba(6, 182, 212, 0.08);
  top: 40%;
  right: 10%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(10px, 30px) scale(1.02); }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

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

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-primary);
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 2px 16px rgba(59, 130, 246, 0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.5);
  color: #fff !important;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-success);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease-out;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.5);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-active);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stat .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-glow);
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  opacity: 0.15;
  z-index: -1;
  filter: blur(20px);
}

/* Floating elements around hero visual */
.hero-float {
  position: absolute;
  padding: 10px 16px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 6s ease-in-out infinite;
  z-index: 5;
  white-space: nowrap;
}

.hero-float:nth-child(2) {
  top: 10%;
  right: -20px;
  color: var(--accent-success);
  animation-delay: 0s;
}

.hero-float:nth-child(3) {
  bottom: 15%;
  left: -30px;
  color: var(--accent-warning);
  animation-delay: -2s;
}

.hero-float:nth-child(4) {
  bottom: 5%;
  right: 10%;
  color: var(--accent-tertiary);
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===================================
   PROBLEM SECTION
   =================================== */
.problem-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

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

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--transition-base);
}

.problem-list li:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  transform: translateX(4px);
}

.problem-list li .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
}

.problem-highlight {
  position: relative;
  padding: 32px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.problem-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.problem-highlight blockquote {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  padding-left: 20px;
}

.problem-highlight .quote-author {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */
.how-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
}

.how-section .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.how-section .section-description {
  margin: 0 auto;
}

.how-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
}

.mode-card {
  position: relative;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  overflow: hidden;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-full) var(--radius-full) 0 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mode-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.mode-card:hover::before {
  opacity: 1;
}

.mode-card.passive::before {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.mode-card.realtime::before {
  background: linear-gradient(90deg, var(--accent-tertiary), var(--accent-primary));
}

.mode-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.mode-card.passive .mode-icon {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.mode-card.realtime .mode-icon {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.mode-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.mode-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

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

.mode-features li .check {
  flex-shrink: 0;
  color: var(--accent-success);
  font-size: 0.9rem;
}

/* --- Flow Diagram --- */
.flow-wrapper {
  position: relative;
}

.flow-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  width: 3px;
  height: calc(100% - 60px);
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
  border-radius: var(--radius-full);
  opacity: 0.3;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
  position: relative;
}

.flow-step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  border: 2px solid var(--border-active);
  background: var(--bg-secondary);
  color: var(--accent-primary);
  z-index: 2;
}

.flow-step-content {
  padding-top: 12px;
}

.flow-step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.flow-step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===================================
   CATEGORIES SECTION
   =================================== */
.categories-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
}

.categories-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.categories-section .section-description {
  margin: 0 auto;
}

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

.category-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  cursor: default;
}

.category-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.category-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.category-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.category-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================
   MCP INTEGRATION SECTION
   =================================== */
.mcp-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
}

.mcp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.mcp-visual {
  position: relative;
}

.mcp-code-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
}

.mcp-code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(59, 130, 246, 0.05);
  border-bottom: 1px solid var(--border-subtle);
}

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

.mcp-code-dot:nth-child(1) { background: #ef4444; }
.mcp-code-dot:nth-child(2) { background: #f59e0b; }
.mcp-code-dot:nth-child(3) { background: #10b981; }

.mcp-code-title {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-primary);
}

.mcp-code-body {
  padding: 24px;
  font-size: 0.82rem;
  line-height: 1.8;
  overflow-x: auto;
}

.mcp-code-body .line {
  display: block;
}

.mcp-code-body .comment {
  color: var(--text-muted);
}

.mcp-code-body .keyword {
  color: var(--accent-tertiary);
}

.mcp-code-body .function {
  color: var(--accent-secondary);
}

.mcp-code-body .string {
  color: var(--accent-success);
}

.mcp-code-body .property {
  color: var(--accent-primary);
}

.mcp-code-body .punctuation {
  color: var(--text-muted);
}

.mcp-agents {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.mcp-agent {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.mcp-agent:hover {
  border-color: var(--border-active);
  transform: translateX(4px);
}

.mcp-agent-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.1);
  font-size: 1rem;
}

.mcp-agent-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.mcp-agent-status {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--accent-success);
  font-weight: 500;
}

/* ===================================
   TECH STACK SECTION
   =================================== */
.tech-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
}

.tech-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.tech-section .section-description {
  margin: 0 auto;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tech-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.tech-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.tech-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.tech-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===================================
   PHILOSOPHY SECTION
   =================================== */
.philosophy-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
}

.philosophy-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.philosophy-section .section-description {
  margin: 0 auto;
}

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

.philosophy-card {
  position: relative;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.philosophy-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.philosophy-card:hover::before {
  opacity: 1;
}

.philosophy-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.philosophy-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.philosophy-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 80px 60px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  opacity: 0.08;
  z-index: -1;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  position: relative;
  z-index: 1;
  padding: 60px 0 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-brand img {
  width: 28px;
  height: 28px;
}

.footer-brand span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(59, 130, 246, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children animation */
.stagger-children .reveal {
  transition-delay: calc(var(--stagger-index, 0) * 0.1s);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

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

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

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

  .hero-float:nth-child(3) {
    left: 0;
  }

  .problem-grid,
  .mcp-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .how-modes {
    grid-template-columns: 1fr;
  }

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

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

  .philosophy-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
    --container-padding: 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 24px;
    background: rgba(6, 8, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    gap: 16px;
  }

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

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

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

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

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

  .flow-steps::before {
    left: 18px;
  }

  .flow-step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

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