/* Isolated Frame — NeuralBeat Studio marketing site */
:root {
  --bg: #050508;
  --bg-elevated: #0c0c14;
  --bg-card: rgba(12, 12, 20, 0.82);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(45, 212, 191, 0.4);
  --text: #ececf4;
  --text-muted: #7a7a94;
  --cyan: #2dd4bf;
  --teal: #22d3ee;
  --orange: #fb923c;
  --copper: #e8945a;
  --purple: #a78bfa;
  --green: #34d399;
  --gradient: linear-gradient(135deg, var(--teal) 0%, var(--cyan) 35%, var(--copper) 75%, var(--orange) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.15) 0%, rgba(251, 146, 60, 0.12) 100%);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --glow-cyan: 0 0 40px rgba(45, 212, 191, 0.25);
  --glow-orange: 0 0 40px rgba(251, 146, 60, 0.2);
  --radius: 16px;
  --radius-lg: 24px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Hero background from assets */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.35;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.7) 0%, rgba(5, 5, 8, 0.92) 55%, var(--bg) 100%),
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(34, 211, 238, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(251, 146, 60, 0.06), transparent);
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: float 20s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: #0d3d4a; top: -8%; left: -6%; }
.orb-2 { width: 440px; height: 440px; background: #3d1f0a; top: 45%; right: -10%; animation-delay: -7s; }
.orb-3 { width: 320px; height: 320px; background: #1a1040; bottom: 0; left: 35%; animation-delay: -14s; }

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -16px) scale(1.04); }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(5, 5, 8, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.35));
}
.logo em { font-style: normal; color: var(--cyan); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a:not(.btn) {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--cyan); }

.lang-switch { display: flex; gap: 0.25rem; }
.lang-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-btn:hover { border-color: var(--border-hover); color: var(--cyan); }
.lang-btn.active { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.88rem; }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; }
.btn-primary {
  background: var(--gradient);
  color: #050508;
  box-shadow: var(--glow-cyan);
}
.btn-primary:hover { box-shadow: var(--glow-cyan), var(--glow-orange); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--border-hover); background: rgba(45, 212, 191, 0.06); }
.btn-steam {
  background: linear-gradient(135deg, #1b2838, #2a475e);
  border: 1px solid #3d5a73;
  color: #c7d5e0;
}
.btn-steam:hover { border-color: #66c0f4; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
}
.product-logo {
  width: min(320px, 100%);
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 32px rgba(34, 211, 238, 0.2));
}
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(45, 212, 191, 0.3);
  background: rgba(45, 212, 191, 0.06);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.hero-hybrid {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}
.hero-lead a,
.cta-content p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-lead a:hover,
.cta-content p a:hover { color: var(--accent-bright); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-stats {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span { font-size: 0.82rem; color: var(--text-muted); }

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), var(--glow-cyan);
}
.hero-screenshot {
  width: 100%;
  display: block;
}
.hero-frame-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08) 0%, transparent 40%, rgba(251, 146, 60, 0.06) 100%);
  border-radius: inherit;
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee-track span:nth-child(odd) { color: rgba(45, 212, 191, 0.55); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 5.5rem 0; }
.section-alt { background: rgba(0, 0, 0, 0.25); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-desc { color: var(--text-muted); font-size: 1.05rem; }

.about-composer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.about-composer h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.about-composer p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.about-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.about-highlight--wide { grid-column: 1 / -1; }
.about-highlight strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.about-highlight span { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }
.about-capabilities {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.about-capabilities h3,
.about-exports h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.cap-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.25rem;
}
.cap-list li {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 0;
}
.cap-list li::before { content: "→ "; color: var(--orange); }
.about-exports {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.about-export-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0.75rem 0 0.5rem;
}
.about-export-label:first-of-type { margin-top: 0; }
.export-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.export-tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--cyan);
}
.about-ideal {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 52rem;
}

.video-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow), var(--glow-cyan);
}
.video-frame video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.video-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow), var(--glow-cyan);
}
.video-frame video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.bento-card.span-2 { grid-column: span 2; }
.bento-visual { padding: 0; min-height: 200px; }
.bento-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.bento-inner {
  position: relative;
  padding: 1.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 8, 0.85) 70%);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card-icon { font-size: 1.6rem; margin-bottom: 1rem; }
.bento-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.bento-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Modules */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.module-card:hover {
  border-color: rgba(251, 146, 60, 0.35);
  box-shadow: var(--glow-orange);
}
.module-card--media { padding: 0; }
.module-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--border);
}
.module-media img,
.module-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #000;
}
.module-body { padding: 1.25rem 1.5rem 1.5rem; }
.module-card header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.module-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.12);
  color: var(--cyan);
}
.module-card h3 { font-size: 1.15rem; font-weight: 700; }
.module-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.module-card ul {
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.module-card li {
  padding: 0.3rem 0;
  border-top: 1px solid var(--border);
}
.module-card li::before { content: "→ "; color: var(--orange); }

.steam-ach-locked {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.25rem 0 0.85rem;
  padding: 0.65rem 0 0.85rem;
  border-top: 1px solid var(--border);
}
.steam-ach-locked img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.55;
  filter: grayscale(100%) brightness(0.85);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  transition: border-color 0.3s, transform 0.3s;
}
.gallery-item:hover {
  border-color: var(--border-hover);
  transform: scale(1.02);
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Workflow */
.workflow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.steps { list-style: none; margin-top: 2rem; }
.steps li {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.steps li span {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--orange);
  opacity: 0.85;
}
.steps strong { display: block; margin-bottom: 0.25rem; }
.steps p { font-size: 0.9rem; color: var(--text-muted); }
.workflow-capsule {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Specs */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.spec {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color 0.2s;
}
.spec:hover { border-color: var(--border-hover); }
.spec-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.spec strong { font-size: 1rem; font-weight: 600; }

/* System requirements */
.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.req-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  backdrop-filter: blur(10px);
}
.req-col--rec {
  border-color: rgba(45, 212, 191, 0.2);
  background: linear-gradient(135deg, rgba(12, 12, 20, 0.9) 0%, rgba(45, 212, 191, 0.04) 100%);
}
.req-tier {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.req-tier--rec { color: var(--cyan); }
.req-list { display: flex; flex-direction: column; gap: 0; }
.req-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}
.req-row:last-child { border-bottom: none; }
.req-row dt {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.req-row dd { color: var(--text); line-height: 1.45; }
.req-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* CTA */
.cta-section { padding: 4rem 0 6rem; }
.cta-box {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 320px;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.cta-content {
  position: relative;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.75) 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-logo {
  width: min(240px, 70%);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 24px rgba(34, 211, 238, 0.25));
}
.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.cta-content p { color: var(--text-muted); max-width: 36rem; margin-bottom: 1.5rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: rgba(0, 0, 0, 0.45);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}
.footer-nb-logo { width: 140px; opacity: 0.9; }
.footer-tagline { font-size: 0.88rem; color: var(--text-muted); }
.footer-meta { text-align: right; font-size: 0.85rem; color: var(--text-muted); }
.footer-meta a { color: var(--cyan); }
.footer-legal { margin-top: 0.5rem; font-size: 0.78rem; opacity: 0.7; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .product-logo { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { max-width: 600px; margin-inline: auto; }
  .bento, .modules-grid, .specs-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .bento-card.span-2, .gallery-item--wide { grid-column: span 2; }
  .workflow { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    background: rgba(5, 5, 8, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .bento, .modules-grid, .specs-grid, .gallery-grid { grid-template-columns: 1fr; }
  .about-highlights, .cap-list { grid-template-columns: 1fr; }
  .bento-card.span-2, .gallery-item--wide { grid-column: span 1; }
  .footer-meta { text-align: left; }
  .footer-logos { flex-direction: column; align-items: flex-start; }
  .cta-content { padding: 2rem 1.5rem; }
}
