/* ============================================================
   MOTIVE — FiveM Roleplay Website
   ============================================================ */

/* ============================================================
   1. VARIABLES & RESET
   ============================================================ */

:root {
  /* Colors */
  --bg: #07070d;
  --bg-2: #0c0c18;
  --bg-3: #111125;
  --accent: #7c3aed;
  --accent-h: #8b4ff5;
  --accent-light: #a855f7;
  --accent-sub: rgba(124, 58, 237, 0.12);
  --accent-glow: rgba(124, 58, 237, 0.35);
  --text: #ffffff;
  --text-muted: #8888aa;
  --text-subtle: #55557a;
  --border: rgba(124, 58, 237, 0.18);
  --border-h: rgba(168, 85, 247, 0.45);

  /* Typography */
  --font-head: "Rajdhani", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout */
  --max-w: 1200px;
  --pad-x: clamp(16px, 4vw, 32px);
  --section-y: clamp(80px, 10vw, 120px);

  /* Misc */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select,
  body.has-custom-cursor [role="button"] {
    cursor: none;
  }
}

/* ============================================================
   2. UTILITY
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

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

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 60px;
}

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

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

.text-strong {
  color: var(--text);
}

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

.glass-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */

.cursor-diamond {
  position: fixed;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
  background: linear-gradient(
    135deg,
    #b57cff 0%,
    var(--accent-light) 45%,
    #37d5ff 100%
  );
  box-shadow:
    0 0 10px rgba(168, 85, 247, 0.72),
    0 0 20px rgba(34, 211, 238, 0.28);
  transform: translate3d(-50%, -50%, 0) rotate(45deg);
  transform-origin: center;
  transition:
    width 0.18s var(--ease),
    height 0.18s var(--ease),
    border-radius 0.18s var(--ease),
    opacity 0.18s var(--ease);
  animation: cursorGlow 1.9s ease-in-out infinite;
  will-change: transform, opacity;
}

body.cursor-ready .cursor-diamond {
  opacity: 1;
}

body.cursor-hovering .cursor-diamond {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  box-shadow:
    0 0 12px rgba(168, 85, 247, 0.88),
    0 0 26px rgba(34, 211, 238, 0.38);
}

body.cursor-clicking .cursor-diamond {
  width: 8px;
  height: 8px;
}

@keyframes cursorGlow {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.35);
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-diamond {
    display: none;
  }
}

/* ============================================================
   3. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  height: 46px;
  padding: 0 20px;
  line-height: 1;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  vertical-align: top;
}

.btn img,
.btn svg {
  flex: 0 0 auto;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5b21b6);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-h), var(--accent));
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.65);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-h);
}
.btn-outline:hover {
  background: var(--accent-sub);
  border-color: var(--accent-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  height: 54px;
  padding: 0 28px;
  font-size: 15px;
  border-radius: 10px;
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

/* ============================================================
   4. NAVBAR
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
  /* backdrop-filter lives on ::before so it never clips dropdown children */
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    background 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  pointer-events: none;
  z-index: -1;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
}

.navbar.scrolled::before {
  background: rgba(7, 7, 13, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-container {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
}

.nav-logo img {
  height: 26px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 1 auto;
  min-width: 0;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 5px 9px;
  border-radius: var(--r-sm);
  transition:
    color 0.2s,
    background 0.2s;
  text-transform: uppercase;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-link.active {
  color: var(--accent-light);
  background: var(--accent-sub);
}

.nav-cta {
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   4b. NAVBAR DROPDOWN
   ============================================================ */

.nav-dropdown-wrap {
  position: relative;
  flex: 0 0 auto;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 5px 9px;
  border-radius: var(--r-sm);
  transition:
    color 0.2s,
    background 0.2s;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  height: auto;
}

.nav-dropdown-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown-wrap.open .nav-dropdown-btn,
.nav-dropdown-btn.active {
  color: var(--accent-light);
  background: var(--accent-sub);
}

.nav-chevron {
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.nav-dropdown-wrap.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  left: auto;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: rgba(10, 10, 20, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 6px;
  display: none;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
  z-index: 9999;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(124, 58, 237, 0.1);
}

.nav-dropdown.is-open {
  display: grid;
  gap: 4px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  transition:
    color 0.2s,
    background 0.2s;
  width: 100%;
}

.nav-dropdown-item::before {
  grid-row: 1 / 3;
  content: "";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--text-subtle);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1;
  transition: color 0.2s;
}

.nav-dropdown-item--install::before {
  content: "↓";
}

.nav-dropdown-item--manual::before {
  content: "";
  font-size: inherit;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355557a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/><path d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.nav-dropdown-item--manual:hover::before,
.nav-dropdown-item--manual.active::before {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/><path d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/></svg>");
}

.nav-dropdown-item--keys::before {
  content: "⌘";
}

.nav-dropdown-item strong {
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-dropdown-item small {
  color: var(--text-subtle);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.nav-dropdown-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown-item:hover::before {
  color: var(--accent-light);
}

.nav-dropdown-item.active {
  color: var(--accent-light);
  background: var(--accent-sub);
}

.nav-dropdown-item.active::before {
  color: var(--accent-light);
}

/* Mobile dropdown */
@media (max-width: 1100px) {
  .nav-links {
    align-items: flex-start;
  }

  .nav-dropdown-wrap {
    width: 100%;
  }

  .nav-dropdown-btn {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: none;
    background: transparent;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0 4px 12px;
    margin-top: 4px;
    margin-left: 14px;
    opacity: 1;
    pointer-events: auto;
    display: none;
  }

  .nav-dropdown.is-open {
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: none;
  }

  .nav-dropdown-item::before {
    width: 24px;
    height: 24px;
  }
}

/* ============================================================
   5. HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px var(--pad-x) 60px;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(7, 7, 13, 0.6) 0%,
      rgba(7, 7, 13, 0.18) 35%,
      rgba(7, 7, 13, 0.82) 100%
    ),
    radial-gradient(
      ellipse at 50% 100%,
      rgba(124, 58, 237, 0.38) 0%,
      transparent 58%
    ),
    url("../images/og-preview.jpg") center/cover no-repeat;
  z-index: 0;
  opacity: 0.2;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 50%,
    black 20%,
    transparent 75%
  );
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}
.hero-glow--center {
  width: 600px;
  height: 400px;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(124, 58, 237, 0.18);
}
.hero-glow--left {
  width: 300px;
  height: 300px;
  top: 20%;
  left: -80px;
  background: rgba(88, 28, 200, 0.12);
  animation-delay: -2s;
}
.hero-glow--right {
  width: 280px;
  height: 280px;
  top: 30%;
  right: -80px;
  background: rgba(124, 58, 237, 0.1);
  animation-delay: -4s;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1.08);
  }
}
.hero-glow--left {
  animation: pulse-glow-lr 7s ease-in-out infinite;
}
.hero-glow--right {
  animation: pulse-glow-lr 8s ease-in-out infinite reverse;
}
@keyframes pulse-glow-lr {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(7, 7, 13, 0.62);
  border: 1px solid rgba(168, 85, 247, 0.24);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow:
    0 0 28px rgba(124, 58, 237, 0.22),
    inset 0 0 18px rgba(168, 85, 247, 0.05);
}

.hero-status-dot {
  color: var(--accent-light);
  font-size: 10px;
}

@media (max-width: 600px) {
  .hero-status-badge {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    padding: 10px 18px;
  }
  .hero-status-dot {
    display: none;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-light);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
  background: rgba(124, 58, 237, 0.08);
}

.badge-dot {
  display: none;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.brand-e {
  position: relative;
  display: inline-block;
  margin-left: 0.02em;
  background: linear-gradient(
    120deg,
    #a855f7 0%,
    #22d3ee 34%,
    #f5f3ff 50%,
    #7c3aed 68%,
    #a855f7 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(168, 85, 247, 0.36);
  animation: brandEFlow 3.8s ease-in-out infinite;
}

@keyframes brandEFlow {
  0%,
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.28));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.32));
  }
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 44px;
}

.hero-btns {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-hint-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent-light),
    transparent
  );
  animation: scroll-drop 2s ease-in-out infinite;
}
@keyframes scroll-drop {
  0% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
  100% {
    opacity: 0;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

.br-desktop {
  display: block;
}

/* ============================================================
   6. STATS BAR
   ============================================================ */

.stats-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.stat-item:hover {
  color: var(--text);
}
.stat-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-light);
}

.stat-sep {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   7. FEATURES / ABOUT
   ============================================================ */

.about-section {
  text-align: center;
}
.about-section .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.feature-card.wide {
  grid-column: span 2;
}

.feature-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.feature-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 24px var(--accent-glow);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--accent-sub);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.feature-card:hover .feature-icon-wrap {
  background: rgba(124, 58, 237, 0.22);
  border-color: var(--accent-light);
}
.feature-icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--accent-light);
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  transition:
    color 0.2s,
    gap 0.2s;
}
.card-link:hover {
  color: #fff;
}

/* ============================================================
   8. STATUS SECTION
   ============================================================ */

.status-section {
  background: linear-gradient(to bottom, var(--bg), var(--bg-2), var(--bg));
}

.status-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Numbers card */
.status-nums-card {
  padding: 0;
  overflow: hidden;
  border-top: 2px solid var(--accent);
}

.num-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.num-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.num-stat:hover {
  background: rgba(255, 255, 255, 0.02);
}
.num-stat:nth-child(even) {
  border-right: none;
}
.num-stat:nth-child(n + 3) {
  border-bottom: none;
}
.num-val {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.num-stat svg {
  color: var(--accent-light);
}
.num-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-light);
  text-transform: uppercase;
}
.num-stat-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.num-stat p {
  font-size: 13px;
  color: var(--text-subtle);
  line-height: 1.6;
  margin: 0;
}

/* Dev status card */
.dev-status-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--accent);
}
.dev-status-card > *:last-child {
  margin-top: auto;
  padding-top: 24px;
}
.dev-status-card .section-label {
  margin-bottom: 12px;
}

.status-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.status-heading h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, #a855f7 0%, #22d3ee 100%);
  flex-shrink: 0;
  box-shadow:
    0 0 10px rgba(168, 85, 247, 0.75),
    0 0 18px rgba(34, 211, 238, 0.35);
  transform: rotate(45deg);
  animation: statusPulse 2.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 1;
    box-shadow:
      0 0 10px rgba(168, 85, 247, 0.75),
      0 0 18px rgba(34, 211, 238, 0.35);
  }
  50% {
    opacity: 0.75;
    box-shadow:
      0 0 16px rgba(168, 85, 247, 0.95),
      0 0 26px rgba(34, 211, 238, 0.5);
  }
}

.dev-status-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.progress-wrap {
  margin-bottom: 28px;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.progress-pct {
  color: var(--accent-light);
}

.progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 100px;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Updates card */
.devlog-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.devlog-card .section-label {
  margin-bottom: 4px;
}

.devlog-num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.devlog-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.devlog-cta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  transition: color 0.2s;
  margin-top: 8px;
}
.devlog-cta:hover {
  color: #fff;
}

/* ============================================================
   9. SYSTEM CARDS (SHOWCASE)
   ============================================================ */

.systems-section {
  text-align: center;
}

.system-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.system-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  border: 1px solid var(--border);
}
.system-card {
  cursor: pointer;
}
.system-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 30px var(--accent-glow);
  border-color: var(--border-h);
}
.system-card.active {
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px var(--accent),
    0 0 24px var(--accent-glow);
  transform: translateY(-4px);
}

.system-card-img {
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease);
}
.system-card:hover .system-card-img {
  transform: scale(1.06);
}

.sc-img-1 {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 55%),
    radial-gradient(
      ellipse at 30% 80%,
      rgba(255, 140, 0, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 30%,
      rgba(60, 40, 180, 0.15) 0%,
      transparent 45%
    ),
    linear-gradient(135deg, #0d0d1c 0%, #1a0e3c 60%, #0d0d1c 100%);
}
.sc-img-2 {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%),
    radial-gradient(
      ellipse at 50% 70%,
      rgba(124, 58, 237, 0.18) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 20% 20%,
      rgba(30, 20, 100, 0.2) 0%,
      transparent 40%
    ),
    linear-gradient(135deg, #090914 0%, #0f0a28 50%, #090914 100%);
}
.sc-img-3 {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 55%),
    radial-gradient(
      ellipse at 60% 80%,
      rgba(255, 200, 50, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 30% 30%,
      rgba(80, 40, 200, 0.15) 0%,
      transparent 45%
    ),
    linear-gradient(135deg, #0b0b18 0%, #160c30 60%, #0b0b18 100%);
}
.sc-img-4 {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%),
    radial-gradient(
      ellipse at 40% 60%,
      rgba(168, 85, 247, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(50, 20, 150, 0.15) 0%,
      transparent 40%
    ),
    linear-gradient(135deg, #0a0a16 0%, #180a38 60%, #0a0a16 100%);
}

.system-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 16px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  z-index: 1;
}

/* ============================================================
   10. GALLERY / CAROUSEL
   ============================================================ */

.gallery-section {
  overflow: hidden;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 64px;
  margin-bottom: 32px;
}

.gallery-controls {
  display: flex;
  gap: 10px;
}

.gallery-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
}
.gallery-btn:hover {
  background: var(--accent-sub);
  border-color: var(--border-h);
  color: var(--text);
}
.gallery-btn svg {
  width: 18px;
  height: 18px;
}

.gallery-viewport {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  margin-top: 32px;
  aspect-ratio: 16/7;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.g-slide-1 {
  background:
    radial-gradient(
      ellipse at 40% 70%,
      rgba(255, 150, 30, 0.1) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse at 80% 40%,
      rgba(50, 30, 180, 0.12) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse at 10% 50%,
      rgba(124, 58, 237, 0.1) 0%,
      transparent 40%
    ),
    linear-gradient(to bottom right, #09090f 0%, #12092a 50%, #09090f 100%);
}
.g-slide-2 {
  background:
    radial-gradient(
      ellipse at 60% 80%,
      rgba(124, 58, 237, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 20% 30%,
      rgba(60, 20, 180, 0.12) 0%,
      transparent 40%
    ),
    linear-gradient(to bottom, #080813 0%, #100823 50%, #080813 100%);
}
.g-slide-3 {
  background:
    radial-gradient(
      ellipse at 50% 90%,
      rgba(255, 200, 80, 0.07) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 30% 30%,
      rgba(100, 40, 220, 0.15) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse at 80% 60%,
      rgba(80, 20, 200, 0.1) 0%,
      transparent 40%
    ),
    linear-gradient(135deg, #07070c 0%, #0f0920 50%, #07070c 100%);
}
.g-slide-4 {
  background:
    radial-gradient(
      ellipse at 70% 60%,
      rgba(168, 85, 247, 0.18) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 15% 80%,
      rgba(80, 20, 180, 0.12) 0%,
      transparent 40%
    ),
    linear-gradient(135deg, #08080e 0%, #130930 60%, #08080e 100%);
}
.g-slide-5 {
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(124, 58, 237, 0.15) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(200, 100, 50, 0.06) 0%,
      transparent 40%
    ),
    linear-gradient(to bottom, #070710 0%, #0d0820 50%, #070710 100%);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-subtle);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  border: none;
}
.gallery-dot.active {
  background: var(--accent-light);
  width: 20px;
  border-radius: 100px;
  box-shadow: 0 0 6px var(--accent-glow);
}

.showcase-desc {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  min-height: 3em;
  transition: opacity 0.25s ease;
}

/* ============================================================
   11. CTA SECTION
   ============================================================ */

.cta-section {
  position: relative;
  padding: var(--section-y) var(--pad-x);
  text-align: center;
  overflow: hidden;
}

.cta-bg-glow {
  position: absolute;
  width: 700px;
  height: 400px;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(124, 58, 237, 0.2) 0%,
    transparent 65%
  );
  pointer-events: none;
  filter: blur(40px);
}

.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content .section-desc {
  margin: 0 auto 48px;
}

.cta-btns {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   12. FOOTER
   ============================================================ */

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-grid > * {
  min-width: 0;
}

.footer-col a {
  overflow-wrap: break-word;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}
.social-btn svg {
  width: 16px;
  height: 16px;
}
.social-btn:hover {
  background: var(--accent-sub);
  border-color: var(--border-h);
  color: var(--text);
}
.social-btn--disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(1);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p,
.footer-legal a {
  font-size: 13px;
  color: var(--text-subtle);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a:hover {
  color: var(--text-muted);
}

/* ============================================================
   13. ANIMATIONS
   ============================================================ */

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

[data-animate] {
  animation: fadeInUp 0.7s var(--ease) both;
}
[data-delay="100"] {
  animation-delay: 0.1s;
}
[data-delay="200"] {
  animation-delay: 0.2s;
}
[data-delay="300"] {
  animation-delay: 0.3s;
}
[data-delay="400"] {
  animation-delay: 0.4s;
}
[data-delay="500"] {
  animation-delay: 0.5s;
}

/* ============================================================
   14. TEAM
   ============================================================ */

.team-section {
  text-align: center;
}
.team-section .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.team-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.team-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Avatar circle — change class to ta-blue / ta-green / ta-orange / ta-pink / ta-cyan */
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.ta-purple {
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}
.ta-blue {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
}
.ta-green {
  background: linear-gradient(135deg, #16a34a, #14532d);
  box-shadow: 0 0 20px rgba(22, 163, 74, 0.35);
}
.ta-orange {
  background: linear-gradient(135deg, #ea580c, #7c2d12);
  box-shadow: 0 0 20px rgba(234, 88, 12, 0.35);
}
.ta-pink {
  background: linear-gradient(135deg, #db2777, #831843);
  box-shadow: 0 0 20px rgba(219, 39, 119, 0.35);
}
.ta-cyan {
  background: linear-gradient(135deg, #0891b2, #164e63);
  box-shadow: 0 0 20px rgba(8, 145, 178, 0.35);
}

.team-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

/* Role badges — add class role-owner / role-coowner / role-dev / role-admin / role-mod / role-cm */
.team-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.role-owner {
  background: rgba(124, 58, 237, 0.18);
  color: #a855f7;
  border: 1px solid rgba(124, 58, 237, 0.35);
}
.role-coowner {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.35);
}
.role-dev {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.role-admin {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.role-mod {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.role-cm {
  background: rgba(8, 145, 178, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(8, 145, 178, 0.3);
}

.team-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

.team-discord {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  margin-top: auto;
}
.team-discord svg {
  color: #5865f2;
  flex-shrink: 0;
}

/* ============================================================
   15. FAQ
   ============================================================ */

.faq-section {
  background: linear-gradient(to bottom, var(--bg), var(--bg-2), var(--bg));
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.faq-left {
  position: sticky;
  top: 100px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: left;
  transition: color 0.2s;
  background: transparent;
}
.faq-q:hover {
  color: var(--text);
}
.faq-item.open .faq-q {
  color: var(--text);
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-light);
  transition: transform 0.35s var(--ease);
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}
.faq-item.open .faq-body {
  max-height: 700px;
}

.faq-body p {
  padding: 0 24px 12px 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-body p:last-child {
  padding-bottom: 20px;
}
.faq-body ul {
  margin: 0 0 12px 0;
  padding: 0 24px 0 18px;
  list-style: disc;
}
.faq-body li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 4px;
}
.faq-body a {
  color: var(--accent-light);
  text-decoration: none;
}
.faq-body a:hover {
  text-decoration: underline;
}

/* ============================================================
   17. RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .status-grid {
    grid-template-columns: 2fr 1fr;
  }
  .devlog-card {
    grid-column: 1 / -1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    position: static;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(7, 7, 13, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px var(--pad-x);
    gap: 4px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    display: block;
    padding: 10px 14px;
    width: 100%;
    font-size: 14px;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 900px) {
  .br-desktop {
    display: none;
  }

  /* Navbar */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(7, 7, 13, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px var(--pad-x);
    gap: 4px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    display: block;
    padding: 10px 14px;
    width: 100%;
    font-size: 14px;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    align-items: flex-start;
  }
  .nav-dropdown-wrap {
    width: 100%;
  }
  .nav-dropdown-btn {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: none;
    background: transparent;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0 4px 12px;
    margin-top: 4px;
    margin-left: 14px;
    opacity: 1;
    pointer-events: auto;
    display: none;
  }
  .nav-dropdown.is-open {
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: none;
  }

  /* Stats bar */
  .stats-bar-inner {
    flex-direction: column;
    gap: 0;
  }
  .stat-sep {
    width: 80px;
    height: 1px;
  }
  .stat-item {
    padding: 10px 20px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card.wide {
    grid-column: span 1;
  }

  /* Status */
  .status-grid {
    grid-template-columns: 1fr;
  }

  /* System cards */
  .system-cards {
    grid-template-columns: 1fr 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 38px;
  }
  .section-title {
    font-size: 28px;
  }
  .system-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .num-stats {
    grid-template-columns: 1fr;
  }
  .num-stat {
    padding: 20px;
    border-right: none;
    flex-direction: column;
    gap: 8px;
  }
  .num-stat:nth-child(even) {
    border-right: none;
  }
  .num-stat:nth-child(n + 3) {
    border-bottom: 1px solid var(--border);
  }
  .num-stat:last-child {
    border-bottom: none;
  }
  .num-stat-text {
    flex: 1;
  }
  .num-val {
    font-size: 28px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}
