/* ============================================
   BMU CRAFT — Design System & Styles
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-primary: #0A0E17;
  --bg-secondary: #111827;
  --bg-tertiary: #1A2235;
  --accent-green: #4ADE80;
  --accent-green-glow: #22C55E;
  --accent-emerald: #10B981;
  --accent-lime: #84CC16;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;
  --border-subtle: #1E293B;
  --border-glow: rgba(74, 222, 128, 0.15);
  --surface-glass: rgba(17, 24, 39, 0.7);
  --danger: #EF4444;
  --gradient-hero: linear-gradient(135deg, #0A0E17 0%, #132A13 50%, #0A0E17 100%);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-section: 120px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-btn: 12px;
  --radius-card: 16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card-hover: 0 0 40px rgba(74, 222, 128, 0.06);
  --shadow-btn-hover: 0 0 30px rgba(74, 222, 128, 0.4), 0 0 60px rgba(74, 222, 128, 0.15);
  --shadow-navbar: 0 4px 30px rgba(0, 0, 0, 0.3);

  /* Transitions */
  --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-card: all 0.35s ease;
  --transition-accordion: max-height 0.4s ease;
  --transition-hero: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Noise texture overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: 'Exo 2', sans-serif;
  line-height: 1.15;
}

h1 {
  font-weight: 900;
  font-size: 4.5rem;
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 800;
  font-size: 2.625rem;
  letter-spacing: -0.02em;
}

h3 {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.body-lg {
  font-weight: 500;
  font-size: 1.125rem;
}

.caption {
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

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

ul, ol {
  list-style: none;
}

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

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.section-title::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-green);
  margin: 0 auto var(--space-md);
  border-radius: 2px;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: var(--transition-default);
}

.navbar.scrolled {
  background: rgba(17, 24, 39, 0.92);
  box-shadow: var(--shadow-navbar);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

/* Pixel block icon - 3x3 grid */
.pixel-icon {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  grid-template-rows: repeat(3, 6px);
  gap: 1px;
}

.pixel-icon span {
  width: 6px;
  height: 6px;
  border-radius: 1px;
}

.pixel-icon span:nth-child(1) { background: var(--accent-green); }
.pixel-icon span:nth-child(2) { background: var(--accent-emerald); }
.pixel-icon span:nth-child(3) { background: var(--accent-green); }
.pixel-icon span:nth-child(4) { background: var(--accent-emerald); }
.pixel-icon span:nth-child(5) { background: var(--accent-lime); }
.pixel-icon span:nth-child(6) { background: var(--accent-emerald); }
.pixel-icon span:nth-child(7) { background: var(--accent-green); }
.pixel-icon span:nth-child(8) { background: var(--accent-emerald); }
.pixel-icon span:nth-child(9) { background: var(--accent-green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition-default);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: width 0.3s ease;
}

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

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

.nav-cta {
  display: inline-flex;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-default);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: var(--transition-default);
  position: relative;
}

.btn-primary {
  background: var(--accent-green);
  color: var(--bg-primary);
  padding: 14px 32px;
}

.btn-primary:hover {
  box-shadow: var(--shadow-btn-hover);
  transform: scale(1.03);
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--accent-green);
  color: var(--accent-green);
  padding: 14px 32px;
}

.btn-secondary:hover {
  background: rgba(74, 222, 128, 0.08);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Copy tooltip */
.copy-tooltip {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: var(--accent-green);
  color: var(--bg-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.copy-tooltip.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent-green);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  transition: var(--transition-card);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  background: var(--gradient-hero);
  overflow: hidden;
}

/* Radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 30%, rgba(74, 222, 128, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Grid pattern */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content .badge {
  margin-bottom: var(--space-xl);
}

.hero h1 {
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.hero-ip {
  color: var(--accent-green);
  font-size: 1.25rem;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-green);
  border-radius: 50%;
  opacity: 0.15;
  animation: float-particle 20s infinite linear;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: -3s; animation-duration: 22s; }
.particle:nth-child(3) { left: 40%; top: 10%; animation-delay: -6s; animation-duration: 20s; width: 3px; height: 3px; }
.particle:nth-child(4) { left: 60%; top: 80%; animation-delay: -9s; animation-duration: 24s; }
.particle:nth-child(5) { left: 75%; top: 30%; animation-delay: -12s; animation-duration: 19s; width: 5px; height: 5px; }
.particle:nth-child(6) { left: 85%; top: 70%; animation-delay: -15s; animation-duration: 21s; }
.particle:nth-child(7) { left: 15%; top: 85%; animation-delay: -4s; animation-duration: 23s; width: 3px; height: 3px; }
.particle:nth-child(8) { left: 50%; top: 45%; animation-delay: -8s; animation-duration: 17s; }
.particle:nth-child(9) { left: 90%; top: 15%; animation-delay: -11s; animation-duration: 25s; width: 6px; height: 6px; opacity: 0.1; }
.particle:nth-child(10) { left: 35%; top: 90%; animation-delay: -16s; animation-duration: 20s; }
.particle:nth-child(11) { left: 5%; top: 50%; animation-delay: -2s; animation-duration: 26s; width: 3px; height: 3px; }
.particle:nth-child(12) { left: 70%; top: 5%; animation-delay: -7s; animation-duration: 22s; }

@keyframes float-particle {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translate(60px, -120px) rotate(360deg); opacity: 0; }
}

/* Hero entrance animations */
.hero-content .badge {
  animation: hero-fade-in var(--transition-hero) both;
  animation-delay: 0s;
}

.hero-content h1 {
  animation: hero-fade-in var(--transition-hero) both;
  animation-delay: 0.15s;
}

.hero-tagline {
  animation: hero-fade-in var(--transition-hero) both;
  animation-delay: 0.3s;
}

.hero-ctas {
  animation: hero-fade-in var(--transition-hero) both;
  animation-delay: 0.45s;
}

.hero-ip {
  animation: hero-fade-in var(--transition-hero) both;
  animation-delay: 0.55s;
}

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

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: var(--space-section) 0;
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

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

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-xl) 0;
}

.stats-bar .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

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

.stat-number {
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  font-size: 2.625rem;
  color: var(--accent-green);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
  margin-top: var(--space-xs);
  text-transform: uppercase;
}

/* ============================================
   HOW TO JOIN
   ============================================ */
.how-to-join {
  padding: var(--space-section) 0;
  background: var(--bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.step-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-card);
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: var(--transition-card);
}

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

.step-number {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: 5rem;
  color: rgba(74, 222, 128, 0.08);
  position: absolute;
  top: -10px;
  right: 12px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.step-card h3 {
  position: relative;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.step-card p {
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ============================================
   COMMUNITY GALLERY
   ============================================ */
.gallery {
  padding: var(--space-section) 0;
  background: var(--bg-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-md);
}

.gallery-item {
  background: var(--bg-tertiary);
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
  transition: var(--transition-card);
  cursor: pointer;
  aspect-ratio: 16/10;
}

.gallery-item:nth-child(2) {
  aspect-ratio: 1/1;
}

.gallery-item:nth-child(5) {
  aspect-ratio: 1/1;
}

.gallery-item:hover {
  transform: scale(1.03);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card-hover);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
  padding: var(--space-section) 0;
  background: var(--bg-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.team-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-card);
  background: var(--bg-tertiary);
  border: 2px solid var(--border-subtle);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: var(--transition-default);
}

.team-card:hover .team-avatar {
  border-color: var(--accent-green);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}

.team-card h3 {
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  font-size: 1.125rem;
}

.team-role {
  color: var(--accent-green);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: var(--space-section) 0;
  background: var(--bg-primary);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: var(--space-lg) 0;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  transition: var(--transition-default);
  gap: var(--space-md);
}

.faq-question:hover {
  color: var(--accent-green);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
  color: var(--text-tertiary);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-accordion);
}

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

.faq-answer p {
  padding-bottom: var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-brand-name {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-brand-tagline {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

.footer-ip {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  justify-content: center;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  justify-content: flex-end;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-default);
  background: transparent;
  cursor: pointer;
}

.social-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
  background: rgba(74, 222, 128, 0.05);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.footer-disclaimer {
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  line-height: 1.8;
}

/* ============================================
   RESPONSIVE — Tablet (768px – 1199px)
   ============================================ */
@media (max-width: 1199px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.25rem; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

  .footer-brand { justify-content: center; flex-direction: column; }
  .footer-socials { justify-content: center; }
}

/* ============================================
   RESPONSIVE — Mobile (below 768px)
   ============================================ */
@media (max-width: 767px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  :root {
    --space-section: 80px;
    --space-4xl: 64px;
  }

  /* Navbar mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(17, 24, 39, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-lg);
    gap: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
  }

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

  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Grids to single column */
  .features-grid,
  .steps-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-item,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(5) {
    aspect-ratio: 16/10;
  }

  .hero-ctas {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .stats-bar .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .stat-number {
    font-size: 2rem;
  }

  .step-number {
    font-size: 3.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
    flex-direction: column;
  }

  .footer-socials {
    justify-content: center;
  }
}
