/* ============================================================
   DeadGraph - Grateful Dead Knowledge Graph Landing Page
   Style: Psychedelic concert poster meets modern dark mode
   ============================================================ */

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

/* --- Custom Properties --- */
:root {
  --color-bg:       #08060f;
  --color-bg-card:  rgba(15, 10, 30, 0.82);
  --color-bg-card2: rgba(20, 12, 40, 0.75);

  --color-purple-deep:    #4a0e8f;
  --color-purple:         #7b3fe4;
  --color-purple-light:   #b06aff;
  --color-blue-electric:  #3b9eff;
  --color-blue-deep:      #1a2a6c;
  --color-orange:         #ff7b2c;
  --color-red:            #e03c3c;
  --color-teal:           #00d4b1;
  --color-gold:           #f5c518;

  --gradient-main:    linear-gradient(135deg, #1a0533 0%, #0d1a4a 40%, #0a0f1f 100%);
  --gradient-title:   linear-gradient(90deg, #ff7b2c, #b06aff, #3b9eff, #00d4b1, #f5c518);
  --gradient-card:    linear-gradient(135deg, rgba(123,63,228,0.15) 0%, rgba(59,158,255,0.1) 100%);
  --gradient-pipe:    linear-gradient(180deg, var(--color-purple) 0%, var(--color-blue-electric) 100%);

  --text-primary:   #f0eaff;
  --text-secondary: #a89ec0;
  --text-muted:     #6b5f8a;

  --border-glow:    rgba(123, 63, 228, 0.35);
  --border-subtle:  rgba(176, 106, 255, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body:    'Inter', sans-serif;

  --section-pad: clamp(60px, 8vw, 120px);
  --content-max: 1200px;

  --shadow-glow: 0 0 40px rgba(176, 106, 255, 0.25), 0 0 80px rgba(59, 158, 255, 0.1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-subtle);
}

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

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

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

/* Psychedelic canvas background */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
  will-change: contents;
}

/* Content sits above canvas */
#content-root {
  position: relative;
  z-index: 1;
  will-change: transform;
  transform: translateZ(0);
}

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

.display-font { font-family: var(--font-display); }

a {
  color: var(--color-purple-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--color-teal); }

p { max-width: 65ch; }

/* --- Layout Utilities --- */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.section {
  padding: var(--section-pad) 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-purple-light);
  margin-bottom: 12px;
  opacity: 0.8;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: 1.7;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.site-nav.scrolled {
  background: rgba(8, 6, 15, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  background: var(--gradient-title);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
  letter-spacing: 0.05em;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-purple-light); }

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 900;
  background: var(--gradient-title);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s linear infinite, fadeInUp 0.9s ease 0.5s both;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: none;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 30px rgba(176, 106, 255, 0.4));
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2vw, 1.25rem);
  color: var(--color-gold);
  letter-spacing: 0.08em;
  max-width: 62ch;
  margin: 0 auto 24px;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.75s forwards;
  line-height: 1.5;
}

.hero-tagline {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--text-secondary);
  max-width: 48ch;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.95s forwards;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.9s ease 1.1s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-purple), var(--color-blue-electric));
  color: #fff;
  box-shadow: 0 4px 20px rgba(123, 63, 228, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(123, 63, 228, 0.6);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-purple-light);
  border: 1.5px solid var(--border-glow);
}
.btn-ghost:hover {
  background: rgba(123, 63, 228, 0.12);
  border-color: var(--color-purple-light);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 1s ease 1.6s forwards;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--color-purple-light);
  border-bottom: 2px solid var(--color-purple-light);
  transform: rotate(45deg);
  animation: bounce 1.8s ease-in-out infinite;
  opacity: 0.6;
}

/* ============================================================
   What Is This Section
   ============================================================ */
.what-is {
  background: rgba(10, 6, 22, 0.7);
  backdrop-filter: blur(8px);
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
  margin-top: 48px;
  align-items: start;
}

.what-text { grid-column: 1; }
.what-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.what-features {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, transform 0.3s;
}

.feature-item:hover {
  border-color: var(--border-glow);
  transform: translateX(6px);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-purple-light);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: none;
}

/* ============================================================
   Pipeline Section
   ============================================================ */
.pipeline-section {
  background: linear-gradient(180deg, transparent 0%, rgba(26, 10, 51, 0.5) 50%, transparent 100%);
}

.pipeline-visual {
  margin-top: 56px;
  position: relative;
}

.pipeline-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.pipeline-track::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-purple) 0%, var(--color-teal) 100%);
  opacity: 0.4;
  z-index: 0;
}

.pipeline-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  cursor: default;
}

.pipeline-step:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateX(8px);
}

.pipeline-step.dimmed {
  opacity: 0.35;
}

.pipeline-step.focused {
  opacity: 1;
  border-color: var(--color-purple-light);
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-purple-deep), var(--color-purple));
  border: 2px solid var(--color-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--color-purple-light);
  box-shadow: 0 0 16px rgba(176, 106, 255, 0.3);
  flex-shrink: 0;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: none;
}

.step-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
  background: rgba(123, 63, 228, 0.18);
  color: var(--color-purple-light);
  border: 1px solid rgba(123, 63, 228, 0.3);
}

/* ============================================================
   MCP Tools Section
   ============================================================ */
.tools-section {
  background: rgba(8, 6, 15, 0.6);
  backdrop-filter: blur(4px);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.tool-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.3s;
}

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

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

.tool-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--color-purple-light);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  opacity: 0.6;
  position: relative;
}

.tool-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  position: relative;
}

.tool-name code {
  font-family: 'Courier New', monospace;
  font-size: 0.95em;
  color: var(--color-teal);
  background: rgba(0, 212, 177, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.tool-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  position: relative;
}

.tool-example {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(176, 106, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  position: relative;
}

.tool-example-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.tool-example code {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: var(--color-orange);
  display: block;
  line-height: 1.5;
}

/* ============================================================
   Example Queries Section
   ============================================================ */
.examples-section {}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.example-card {
  background: var(--color-bg-card2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.example-query {
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
}

.example-query p {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-gold);
  line-height: 1.5;
  max-width: none;
}

.example-query p::before {
  content: '"';
  color: var(--color-purple-light);
  font-size: 1.2em;
}
.example-query p::after {
  content: '"';
  color: var(--color-purple-light);
  font-size: 1.2em;
}

.screenshot-placeholder {
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 140px;
}

.placeholder-icon {
  font-size: 2rem;
  opacity: 0.3;
}

.placeholder-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   Stats Section
   ============================================================ */
.stats-section {
  background: linear-gradient(180deg, transparent 0%, rgba(74, 14, 143, 0.08) 50%, transparent 100%);
}

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

.stat-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

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

.stat-card.highlight {
  background: linear-gradient(135deg, rgba(123, 63, 228, 0.2) 0%, rgba(59, 158, 255, 0.12) 100%);
  border-color: rgba(123, 63, 228, 0.4);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-title);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s linear infinite;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ============================================================
   Tech Stack Section
   ============================================================ */
.tech-section {
  background: rgba(8, 6, 15, 0.5);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.tech-item {
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.tech-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(123, 63, 228, 0.2);
}

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

.tech-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-purple-light);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.tech-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   Connect Section
   ============================================================ */
.connect-section {
  padding-bottom: 80px;
}

.connect-steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.connect-code {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 12px;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--color-purple-light);
}

.connect-code code {
  font-family: var(--font-mono, 'JetBrains Mono', 'Fira Code', monospace);
  white-space: pre;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: rgba(5, 4, 12, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 36px;
  text-align: center;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  background: var(--gradient-title);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s linear infinite;
  margin-bottom: 32px;
  font-weight: 900;
}

.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-purple-light); }

.footer-legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 auto 24px;
}

.footer-credit {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.5;
  letter-spacing: 0.05em;
}

/* ============================================================
   Divider
   ============================================================ */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-purple), var(--color-blue-electric), var(--color-teal), transparent);
  opacity: 0.3;
  margin: 0;
}

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

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

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(176, 106, 255, 0.3); }
  50%       { box-shadow: 0 0 32px rgba(176, 106, 255, 0.6); }
}

/* ============================================================
   Responsive - Tablet
   ============================================================ */
@media (max-width: 960px) {
  .what-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .what-text { grid-column: 1; }
  .what-features { grid-column: 1; }

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

  .nav-links { display: none; }
}

/* ============================================================
   Responsive - Mobile
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --section-pad: 48px;
  }

  .hero {
    padding: 100px 16px 60px;
  }

  .hero-title {
    font-size: clamp(3rem, 18vw, 5rem);
  }

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

  .pipeline-track::before { display: none; }

  .pipeline-step {
    flex-direction: column;
    gap: 16px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 0.8rem;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stat-card {
    padding: 24px 16px;
  }

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

  .footer-links {
    gap: 20px;
  }
}

@media (max-width: 400px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
