/* ========================================
   DELIVERY RUSH — Landing Page Styles
   Steam-inspired dark gaming theme
   ======================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark:       #0f1923;
  --bg-mid:        #171a21;
  --bg-card:       #1b2838;
  --bg-card-hover: #1e3146;
  --border:        rgba(255, 255, 255, 0.06);
  --border-glow:   rgba(249, 168, 37, 0.35);
  --accent:        #f9a825;
  --accent-light:  #ffcc02;
  --accent-dark:   #e65100;
  --text-primary:  #c6d4df;
  --text-bright:   #ffffff;
  --text-muted:    #7a9ab0;
  --text-dim:      #4a6478;
  --green:         #5ba32b;
  --blue:          #1a9fff;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-glow:   0 0 30px rgba(249, 168, 37, 0.2);
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', 'Rajdhani', system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: 'Rajdhani', 'Orbitron', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.15;
}

/* ---- Utility ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 10px 0;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-bright);
  transition: color var(--transition);
}
.nav-logo:hover { color: var(--accent); }
.logo-icon { font-size: 1.4rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text-bright); background: rgba(255,255,255,0.06); }

.nav-links .nav-cta {
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 700;
  padding: 8px 18px;
}
.nav-links .nav-cta:hover { background: var(--accent-light); color: var(--bg-dark); }

/* Language toggle */
.lang-toggle {
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--accent);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.lang-toggle:hover {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(249, 168, 37, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(26, 159, 255, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0a1520 0%, var(--bg-dark) 50%, #0a1520 100%);
  animation: gradientShift 8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0%   { opacity: 1; }
  100% { opacity: 0.8; filter: hue-rotate(15deg); }
}

/* Particle canvas background */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(91, 163, 43, 0.15);
  border: 1px solid rgba(91, 163, 43, 0.4);
  border-radius: 100px;
  color: #7ec850;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  animation: fadeInDown 0.6s ease both;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
  animation: fadeInDown 0.7s ease 0.1s both;
}

.title-line { display: block; }
.title-line.accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(249, 168, 37, 0.5), 0 0 80px rgba(249, 168, 37, 0.2);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 40px rgba(249, 168, 37, 0.5), 0 0 80px rgba(249, 168, 37, 0.2); }
  50%       { text-shadow: 0 0 60px rgba(249, 168, 37, 0.8), 0 0 120px rgba(249, 168, 37, 0.35); }
}

.hero-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 6px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-sub {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  animation: fadeInUp 0.7s ease 0.5s both;
}

.stat {
  text-align: center;
  padding: 0 28px;
}
.stat-value {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1s both;
}
.scroll-arrow {
  font-size: 1rem;
  margin-top: 4px;
  animation: bounce 1.8s ease infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-icon { font-size: 1.1em; line-height: 1; }

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 168, 37, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-bright);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: rgba(249, 168, 37, 0.1);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* ========================================
   SECTIONS SHARED
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(249, 168, 37, 0.1);
  border: 1px solid rgba(249, 168, 37, 0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-bright);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  background: var(--bg-mid);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.about-text strong { color: var(--text-bright); }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.tag {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color var(--transition), background var(--transition);
}
.tag:hover { border-color: var(--accent); background: rgba(249, 168, 37, 0.06); }

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.about-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}
.about-card-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }
.about-card h3 { font-size: 1rem; margin-bottom: 4px; color: var(--text-bright); }
.about-card p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }

/* ========================================
   FEATURES
   ======================================== */
.features {
  background: var(--bg-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.feature-card.coming-soon { opacity: 0.7; }
.feature-card.coming-soon:hover { opacity: 0.9; }

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: block;
}
.feature-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-bright);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.badge-soon {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(249, 168, 37, 0.15);
  border: 1px solid rgba(249, 168, 37, 0.3);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================
   HOW TO PLAY
   ======================================== */
.how-to-play {
  background: var(--bg-mid);
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 56px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}

.step-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(249, 168, 37, 0.3);
  line-height: 1;
  min-width: 80px;
  text-align: center;
  user-select: none;
}

.step-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.step-content h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--text-bright);
}
.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.step-content strong { color: var(--text-primary); }

/* Code block */
.code-block {
  background: #0a0f18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-family: 'Courier New', 'Consolas', monospace;
}
.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.code-lang {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: 'Inter', sans-serif;
}
.copy-btn {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-bright); }
.copy-btn.copied { color: #7ec850; border-color: rgba(91, 163, 43, 0.4); }

.code-block pre {
  padding: 14px 18px;
  overflow-x: auto;
}
.code-block code {
  font-size: 0.92rem;
  color: #7ec850;
}

/* Controls */
.controls-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.controls-title {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--text-bright);
}
.controls-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.control-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  text-align: center;
}
.control-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 5px 8px;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom-width: 3px;
  border-radius: 5px;
  font-family: 'Inter', monospace;
  font-size: 0.8rem;
  color: var(--text-bright);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

/* ========================================
   REQUIREMENTS
   ======================================== */
.requirements {
  background: var(--bg-dark);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.req-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.req-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}
.req-icon { font-size: 2rem; margin-bottom: 12px; }
.req-card h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--text-bright); }
.req-version {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.req-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.req-card a { color: var(--blue); }
.req-card a:hover { text-decoration: underline; }

.req-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(249, 168, 37, 0.06);
  border: 1px solid rgba(249, 168, 37, 0.18);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.req-note-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.req-note p { font-size: 0.9rem; color: var(--text-primary); }
.req-note code {
  font-family: 'Courier New', monospace;
  font-size: 0.88em;
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 6px;
  border-radius: 3px;
  color: #7ec850;
}

/* ========================================
   DOWNLOAD
   ======================================== */
.download {
  background: var(--bg-mid);
}

.download-box {
  background: var(--bg-card);
  border: 1px solid rgba(249, 168, 37, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-glow);
}

.download-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
}

.download-content {
  padding: 64px 48px;
  text-align: center;
}

.download-icon { font-size: 3.5rem; margin-bottom: 20px; }
.download-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--text-bright);
}
.download-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
}
.download-desc strong { color: var(--text-primary); }

.download-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.github-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.github-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.github-link:hover { color: var(--text-bright); }
.github-meta-sep { color: var(--text-dim); }
.github-meta-item { color: var(--text-muted); }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #080e15;
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-bright);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-links h4,
.footer-tech h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links ul,
.footer-tech ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-tech li { font-size: 0.9rem; color: var(--text-dim); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .features-grid        { grid-template-columns: repeat(2, 1fr); }
  .requirements-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section              { padding: 64px 0; }

  /* Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(300px, 80vw);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    background: rgba(10, 18, 28, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    transition: right var(--transition);
    gap: 4px;
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a    { padding: 12px 16px; width: 100%; font-size: 1.05rem; }
  .hamburger      { display: flex; z-index: 1001; }

  /* Hero */
  .hero-stats { gap: 0; }
  .stat       { padding: 0 18px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Steps */
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step-number { font-size: 2.2rem; text-align: left; min-width: unset; }

  /* Controls */
  .controls-grid { grid-template-columns: repeat(2, 1fr); }

  /* Requirements */
  .requirements-grid { grid-template-columns: 1fr 1fr; }

  /* Download */
  .download-content { padding: 40px 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-title       { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-buttons     { flex-direction: column; align-items: center; }
  .hero-stats       { flex-wrap: wrap; gap: 12px; }
  .stat-divider     { display: none; }
  .requirements-grid { grid-template-columns: 1fr; }
  .controls-grid    { grid-template-columns: 1fr; }
  .download-buttons { flex-direction: column; align-items: center; }
}

/* ========================================
   SECTION SUBTITLE
   ======================================== */
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 12px auto 0;
  line-height: 1.6;
}

/* ========================================
   TEAM
   ======================================== */
.team {
  background: var(--bg-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--avatar-color, var(--accent));
  box-shadow: 0 0 20px color-mix(in srgb, var(--avatar-color, var(--accent)) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--avatar-color, var(--accent));
  margin: 0 auto 18px;
}

.team-name {
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.team-role {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.team-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.team-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(249, 168, 37, 0.06);
  border: 1px solid rgba(249, 168, 37, 0.18);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.team-note p { font-size: 0.9rem; color: var(--text-primary); }
.team-note strong { color: var(--text-bright); }

/* ========================================
   RESOURCES
   ======================================== */
.resources {
  background: var(--bg-mid);
}

.resources-category {
  margin-bottom: 48px;
}
.resources-category:last-child { margin-bottom: 0; }

.resources-cat-title {
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.resources-cat-icon { font-size: 1.25rem; }

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.resource-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  cursor: pointer;
  color: inherit;
}
.resource-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.resource-card--static {
  cursor: default;
}
.resource-card--static:hover {
  transform: none;
  border-color: var(--border);
  background: var(--bg-card);
}

.resource-icon {
  font-size: 1.8rem;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
}
.resource-info { flex: 1; min-width: 0; }
.resource-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 6px;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.resource-version {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(249, 168, 37, 0.12);
  border: 1px solid rgba(249, 168, 37, 0.3);
  padding: 1px 7px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  font-family: 'Inter', sans-serif;
}
.resource-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.resource-link {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.resource-card:hover .resource-link { color: var(--accent); }

/* ========================================
   DOWNLOAD REPORT BLOCK
   ======================================== */
.download-report {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 36px 0;
  text-align: left;
}
.download-report-icon { font-size: 2.5rem; flex-shrink: 0; }
.download-report-info h3 {
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.download-report-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ========================================
   RESPONSIVE — NEW SECTIONS
   ======================================== */
@media (max-width: 1024px) {
  .team-grid       { grid-template-columns: repeat(2, 1fr); }
  .resources-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
  .resources-grid   { grid-template-columns: 1fr; }
  .download-report  { flex-direction: column; gap: 14px; padding: 24px 20px; }
  .footer-grid      { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

