/* ═══════════════════════════════════════════════════
   Meridian Stream — Premium Decoy CSS
   2026 Design System
   ═══════════════════════════════════════════════════ */

:root {
  --bg-primary: #09090b;
  --bg-secondary: #111114;
  --bg-tertiary: #18181b;
  --bg-card: rgba(24, 24, 27, 0.7);
  --bg-card-hover: rgba(39, 39, 42, 0.6);
  --border: rgba(63, 63, 70, 0.5);
  --border-hover: rgba(99, 102, 241, 0.4);
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --purple: #8b5cf6;
  --cyan: #06b6d4;
  --green: #22c55e;
  --yellow: #eab308;
  --orange: #f97316;
  --red: #ef4444;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

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

a { color: inherit; text-decoration: none; }

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

/* ═══ Navigation ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(0px);
}

.nav.scrolled {
  padding: 10px 0;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.4));
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-accent { color: var(--accent-light); }

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--accent-glow);
}

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

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--green);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 99px;
  font-weight: 500;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-green 2s ease-in-out infinite;
  flex-shrink: 0;
}

.status-dot.large {
  width: 10px;
  height: 10px;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-sm { padding: 7px 16px; font-size: 0.8rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: white;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.nav-toggle { display: none; }

/* ═══ Hero ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 8s ease-in-out infinite;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(99, 102, 241, 0.12);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.1);
  bottom: -100px;
  left: -100px;
  animation-delay: -3s;
}

.glow-3 {
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.08);
  top: 30%;
  left: 50%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.dev-badge {
  position: absolute;
  top: 120px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(139, 92, 246, 0.6);
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
  z-index: 5;
  transition: all 0.4s var(--ease);
  animation: fadeUp 1.2s var(--ease) 0.8s both;
  cursor: default;
  user-select: none;
}

.dev-badge:hover {
  color: rgba(139, 92, 246, 0.9);
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.12);
  transform: scale(1.05);
}

.dev-badge svg {
  opacity: 0.7;
  animation: pulse-accent 3s ease-in-out infinite;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-light);
  animation: fadeUp 0.8s var(--ease) both;
}

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

@keyframes pulse-accent {
  0%, 100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(129, 140, 248, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  animation: fadeUp 0.8s var(--ease) 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  max-width: 560px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

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

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.hero-metrics {
  display: flex;
  gap: 0;
  margin-top: 20px;
  animation: fadeUp 0.8s var(--ease) 0.4s both;
}

.metric { text-align: center; padding: 0 28px; }

.metric-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-suffix {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

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

/* ═══ Code Window ═══ */
.hero-visual {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  z-index: 3;
  animation: fadeUp 1s var(--ease) 0.5s both;
}

.code-window {
  background: rgba(17, 17, 20, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(24, 24, 27, 0.8);
  border-bottom: 1px solid var(--border);
}

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

.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ef4444; }
.code-dots span:nth-child(2) { background: #eab308; }
.code-dots span:nth-child(3) { background: #22c55e; }

.code-title {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.code-body {
  padding: 20px;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.8;
  overflow-x: auto;
  color: var(--text-secondary);
}

.code-comment { color: var(--text-muted); }
.code-keyword { color: var(--cyan); }
.code-flag { color: var(--accent-light); }
.code-string { color: var(--green); }
.code-key { color: var(--purple); }
.code-number { color: var(--orange); }

/* ═══ Ticker ═══ */
.ticker {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  overflow: hidden;
}

.ticker-track { overflow: hidden; }

.ticker-items {
  display: flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--mono);
  white-space: nowrap;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ticker-dot.green { background: var(--green); }
.ticker-dot.yellow { background: var(--yellow); }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ Sections ═══ */
.section {
  padding: 120px 0;
  position: relative;
}

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

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

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.section-desc {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ═══ Features ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.2), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.feature-large {
  grid-column: span 2;
  grid-row: span 2;
  padding: 48px;
}

.feature-large h3 { font-size: 1.5rem; }

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-glow);
  color: var(--accent-light);
  margin-bottom: 20px;
}

.feature-icon.purple { background: rgba(139, 92, 246, 0.12); color: var(--purple); }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.12); color: var(--cyan); }
.feature-icon.green { background: rgba(34, 197, 94, 0.12); color: var(--green); }
.feature-icon.orange { background: rgba(249, 115, 22, 0.12); color: var(--orange); }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-stat {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.feature-stat-value {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══ Infrastructure ═══ */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.infra-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s var(--ease);
}

.infra-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.infra-region {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.infra-nodes {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.infra-bar {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 12px;
}

.infra-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 99px;
  transition: width 1s var(--ease);
}

.infra-fill.yellow { background: linear-gradient(90deg, var(--yellow), var(--orange)); }

.infra-latency {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 500;
}

/* ═══ API ═══ */
.api-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.api-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s var(--ease);
}

.api-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.api-method {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.api-method.get { background: rgba(34, 197, 94, 0.12); color: var(--green); border: 1px solid rgba(34, 197, 94, 0.2); }
.api-method.post { background: rgba(99, 102, 241, 0.12); color: var(--accent-light); border: 1px solid rgba(99, 102, 241, 0.2); }
.api-method.delete { background: rgba(239, 68, 68, 0.12); color: var(--red); border: 1px solid rgba(239, 68, 68, 0.2); }
.api-method.ws { background: rgba(139, 92, 246, 0.12); color: var(--purple); border: 1px solid rgba(139, 92, 246, 0.2); }

.api-path {
  display: block;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.api-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.api-tags { display: flex; gap: 6px; }

.api-tag {
  padding: 3px 10px;
  background: var(--bg-tertiary);
  border-radius: 99px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══ Status ═══ */
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.status-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.status-uptime {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 16px;
}

.status-bars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.status-bar {
  flex: 1;
  height: 28px;
  border-radius: 3px;
  transition: all 0.3s var(--ease);
}

.status-bar.green { background: rgba(34, 197, 94, 0.25); }
.status-bar.green:hover { background: rgba(34, 197, 94, 0.5); }
.status-bar.yellow { background: rgba(234, 179, 8, 0.3); }
.status-bar.yellow:hover { background: rgba(234, 179, 8, 0.5); }

.status-range {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ═══ Footer ═══ */
.footer {
  background: var(--bg-primary);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

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

.footer-tagline {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color 0.2s var(--ease);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

/* ═══ Partners ═══ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.partner-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.partner-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

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

/* ═══ Contacts ═══ */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s var(--ease);
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-glow);
  color: var(--accent-light);
  margin-bottom: 20px;
}

.contact-icon.purple { background: rgba(139, 92, 246, 0.12); color: var(--purple); }
.contact-icon.cyan { background: rgba(6, 182, 212, 0.12); color: var(--cyan); }

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ═══ Footer Legal ═══ */
.footer-legal {
  margin-bottom: 32px;
  padding: 20px 24px;
  background: rgba(24, 24, 27, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.legal-block {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-block strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 2; grid-row: span 1; }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .api-grid { grid-template-columns: repeat(2, 1fr); }
  .status-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .contacts-grid { grid-template-columns: repeat(3, 1fr); }
  .dev-badge { top: auto; bottom: 24px; left: 24px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .status-badge { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s;
  }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-metrics { flex-wrap: wrap; gap: 16px; }
  .metric { padding: 0 16px; }
  .metric-divider { display: none; }
  .features-grid,
  .infra-grid,
  .api-grid,
  .status-grid,
  .partners-grid,
  .contacts-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: span 1; }
  .section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .dev-badge { display: none; }
}
