/* PMOstats Landing Page – landing.css */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

p, h1, h2, h3, h4, h5, h6 { text-wrap: balance; }

:root {
  --black: #050303;
  --white: #ffffff;
  --muted: #9f9f9f;
  --red-from: #ff1014;
  --red-to: #ff7b00;
  --border-subtle: rgba(255,255,255,0.08);
  --border-medium: rgba(255,255,255,0.16);
  --card-bg: rgba(20,20,20,0.8);
}

html { scroll-behavior: smooth; overflow-x: hidden; -webkit-overflow-scrolling: touch; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── FONTS ── */
.title-large,
.title-medium,
.navbar-logo-text,
.footer-logo-text {
  font-family: 'Clash Display', 'Inter', system-ui, sans-serif;
}

/* ── TYPOGRAPHY ── */
.title-large {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--white);
}

.title-medium {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.004em;
  color: var(--white);
}

.title-small {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.41;
  color: var(--white);
}

.body-text {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--white);
}

.body-text.muted { color: var(--muted); }

.label-gradient {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.69;
  background: linear-gradient(180deg, var(--red-from), var(--red-to));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.section-copy.text-center { text-align: center; align-items: center; }

/* ── NAVBAR ── */


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0;
  padding: 16px 40px;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-signin {
  background: none;
  border: none;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.nav-signup {
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: transparent;
  background-image: linear-gradient(180deg, #e0f5ff, #ffe4f2);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 100px;
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.3);
}

.nav-getapp-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nav-getapp {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  color: #000;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 5px 14px 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.5);
}

.nav-getapp svg { flex-shrink: 0; }

/* ── AUTH MODAL ── */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.auth-modal {
  position: relative;
  background: #141414;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 380px;
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.auth-panel { display: block; }

.auth-panel-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}

.auth-panel-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.auth-panel input[type="email"],
.auth-panel input[type="password"] {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
}

.auth-panel input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.3);
}

.auth-panel input::placeholder { color: var(--muted); }

.btn-primary {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--red-from), var(--red-to));
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.btn-primary:hover { opacity: 0.9; }

.auth-forgot {
  margin-top: 12px;
  font-size: 13px;
}

.auth-forgot a { color: var(--muted); text-decoration: none; }
.auth-forgot a:hover { color: var(--white); }

.form-msg { margin-top: 12px; font-size: 13px; }
.form-msg.success { color: #22c55e; }
.form-msg.error { color: #f87171; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Astronaut floats — will-change for GPU compositing */
.hero-astronaut {
  will-change: transform;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}


.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 339px;
  background: linear-gradient(to bottom, rgba(38,68,102,0) 0%, rgba(20,35,53,0.5) 50%, #000 100%);
  pointer-events: none;
  z-index: 5;
}

/* Progressive blur strips — stacked, each covering bottom to its top,
   with a gradient mask to feather the top edge smoothly */
.hero-progressive-blur {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
  z-index: 3;
}

.hpb-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 50%);
  mask-image:         linear-gradient(to bottom, transparent 0%, black 50%);
}

.hpb-strip:nth-child(1)  { top: 95%; backdrop-filter: blur(0.5px);  -webkit-backdrop-filter: blur(0.5px);  }
.hpb-strip:nth-child(2)  { top: 90%; backdrop-filter: blur(0.8px);  -webkit-backdrop-filter: blur(0.8px);  }
.hpb-strip:nth-child(3)  { top: 85%; backdrop-filter: blur(1px);    -webkit-backdrop-filter: blur(1px);    }
.hpb-strip:nth-child(4)  { top: 80%; backdrop-filter: blur(1.5px);  -webkit-backdrop-filter: blur(1.5px);  }
.hpb-strip:nth-child(5)  { top: 75%; backdrop-filter: blur(2px);    -webkit-backdrop-filter: blur(2px);    }
.hpb-strip:nth-child(6)  { top: 70%; backdrop-filter: blur(2.5px);  -webkit-backdrop-filter: blur(2.5px);  }
.hpb-strip:nth-child(7)  { top: 65%; backdrop-filter: blur(3px);    -webkit-backdrop-filter: blur(3px);    }
.hpb-strip:nth-child(8)  { top: 60%; backdrop-filter: blur(3.5px);  -webkit-backdrop-filter: blur(3.5px);  }
.hpb-strip:nth-child(9)  { top: 55%; backdrop-filter: blur(4px);    -webkit-backdrop-filter: blur(4px);    }
.hpb-strip:nth-child(10) { top: 50%; backdrop-filter: blur(4.5px);  -webkit-backdrop-filter: blur(4.5px);  }
.hpb-strip:nth-child(11) { top: 45%; backdrop-filter: blur(5px);    -webkit-backdrop-filter: blur(5px);    }
.hpb-strip:nth-child(12) { top: 40%; backdrop-filter: blur(5.5px);  -webkit-backdrop-filter: blur(5.5px);  }
.hpb-strip:nth-child(13) { top: 35%; backdrop-filter: blur(6px);    -webkit-backdrop-filter: blur(6px);    }
.hpb-strip:nth-child(14) { top: 30%; backdrop-filter: blur(6.5px);  -webkit-backdrop-filter: blur(6.5px);  }
.hpb-strip:nth-child(15) { top: 25%; backdrop-filter: blur(7px);    -webkit-backdrop-filter: blur(7px);    }
.hpb-strip:nth-child(16) { top: 20%; backdrop-filter: blur(7.5px);  -webkit-backdrop-filter: blur(7.5px);  }
.hpb-strip:nth-child(17) { top: 15%; backdrop-filter: blur(8px);    -webkit-backdrop-filter: blur(8px);    }
.hpb-strip:nth-child(18) { top: 10%; backdrop-filter: blur(8.5px);  -webkit-backdrop-filter: blur(8.5px);  }
.hpb-strip:nth-child(19) { top:  5%; backdrop-filter: blur(9px);    -webkit-backdrop-filter: blur(9px);    }
.hpb-strip:nth-child(20) { top:  0%; backdrop-filter: blur(10px);   -webkit-backdrop-filter: blur(10px);   }

.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 100vh;
  padding: 100px;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  opacity: 0.7;
  animation: scrollHintBounce 1.6s ease-in-out infinite;
}

@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
  min-width: 0;
}

.hero-copy * {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.80);
}

.hero-copy .label-gradient,
.graph-section .label-gradient,
.gamification-section .label-gradient,
.squads-section .label-gradient,
.features-section .label-gradient {
  font-family: 'Clash Display', 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.125rem;
  letter-spacing: 0.00813rem;
  text-transform: uppercase;
}

.hero-copy .label-gradient {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--white);
  color: var(--white);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-copy .body-text {
  font-size: 14px;
  line-height: 1.5;
}

.appstore-badge img,
.appstore-badge svg {
  height: 40px;
  width: auto;
  display: block;
}

.hero-quote {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 404px;
}

.hero-quote-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--white);
}

.hero-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.hero-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-right {
  position: relative;
  flex: 1;
  min-height: 500px;
}

.hero-phone-wrap {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(503px, 100%);
  height: auto;
  aspect-ratio: 503 / 575;
}

.hero-phone {
  width: 100%;
  height: auto;
  display: block;
}

.hero-astronaut-wrap {
  position: absolute;
  left: 50%;
  top: 75%;
  width: min(225px, 44.7%);
  height: auto;
  aspect-ratio: 225 / 204;
}

.hero-astronaut {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

/* ── GRAPH ── */
.graph-section {
  position: relative;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  overflow: hidden;
  padding: 80px 0 0;
}

.graph-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.graph-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
  z-index: 1;
}

.graph-section .section-copy {
  position: relative;
  z-index: 2;
}

.graph-section .section-copy .body-text,
.gamification-section .section-copy .body-text,
.squads-title-block .section-copy .body-text {
  font-size: 14px;
  line-height: 1.5;
}

.graph-image-wrap {
  position: relative;
  width: 778px;
  max-width: 100%;
  z-index: 2;
}

.graph-image {
  width: 100%;
  height: auto;
  display: block;
}

.graph-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 50%, #000 100%);
  pointer-events: none;
  z-index: 4;
}

.graph-progressive-blur {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
  z-index: 3;
}

.graph-progressive-blur .hpb-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 50%);
  mask-image:         linear-gradient(to bottom, transparent 0%, black 50%);
}

.graph-progressive-blur .hpb-strip:nth-child(1)  { top: 95%; backdrop-filter: blur(0.5px);  -webkit-backdrop-filter: blur(0.5px);  }
.graph-progressive-blur .hpb-strip:nth-child(2)  { top: 90%; backdrop-filter: blur(0.8px);  -webkit-backdrop-filter: blur(0.8px);  }
.graph-progressive-blur .hpb-strip:nth-child(3)  { top: 85%; backdrop-filter: blur(1px);    -webkit-backdrop-filter: blur(1px);    }
.graph-progressive-blur .hpb-strip:nth-child(4)  { top: 80%; backdrop-filter: blur(1.5px);  -webkit-backdrop-filter: blur(1.5px);  }
.graph-progressive-blur .hpb-strip:nth-child(5)  { top: 75%; backdrop-filter: blur(2px);    -webkit-backdrop-filter: blur(2px);    }
.graph-progressive-blur .hpb-strip:nth-child(6)  { top: 70%; backdrop-filter: blur(2.5px);  -webkit-backdrop-filter: blur(2.5px);  }
.graph-progressive-blur .hpb-strip:nth-child(7)  { top: 65%; backdrop-filter: blur(3px);    -webkit-backdrop-filter: blur(3px);    }
.graph-progressive-blur .hpb-strip:nth-child(8)  { top: 60%; backdrop-filter: blur(3.5px);  -webkit-backdrop-filter: blur(3.5px);  }
.graph-progressive-blur .hpb-strip:nth-child(9)  { top: 55%; backdrop-filter: blur(4px);    -webkit-backdrop-filter: blur(4px);    }
.graph-progressive-blur .hpb-strip:nth-child(10) { top: 50%; backdrop-filter: blur(4.5px);  -webkit-backdrop-filter: blur(4.5px);  }
.graph-progressive-blur .hpb-strip:nth-child(11) { top: 45%; backdrop-filter: blur(5px);    -webkit-backdrop-filter: blur(5px);    }
.graph-progressive-blur .hpb-strip:nth-child(12) { top: 40%; backdrop-filter: blur(5.5px);  -webkit-backdrop-filter: blur(5.5px);  }
.graph-progressive-blur .hpb-strip:nth-child(13) { top: 35%; backdrop-filter: blur(6px);    -webkit-backdrop-filter: blur(6px);    }
.graph-progressive-blur .hpb-strip:nth-child(14) { top: 30%; backdrop-filter: blur(6.5px);  -webkit-backdrop-filter: blur(6.5px);  }
.graph-progressive-blur .hpb-strip:nth-child(15) { top: 25%; backdrop-filter: blur(7px);    -webkit-backdrop-filter: blur(7px);    }
.graph-progressive-blur .hpb-strip:nth-child(16) { top: 20%; backdrop-filter: blur(7.5px);  -webkit-backdrop-filter: blur(7.5px);  }
.graph-progressive-blur .hpb-strip:nth-child(17) { top: 15%; backdrop-filter: blur(8px);    -webkit-backdrop-filter: blur(8px);    }
.graph-progressive-blur .hpb-strip:nth-child(18) { top: 10%; backdrop-filter: blur(8.5px);  -webkit-backdrop-filter: blur(8.5px);  }
.graph-progressive-blur .hpb-strip:nth-child(19) { top:  5%; backdrop-filter: blur(9px);    -webkit-backdrop-filter: blur(9px);    }
.graph-progressive-blur .hpb-strip:nth-child(20) { top:  0%; backdrop-filter: blur(10px);   -webkit-backdrop-filter: blur(10px);   }

/* ── GAMIFICATION ── */
.gamification-section {
  position: relative;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding-bottom: 120px;
  overflow: hidden;
}

.planets-row {
  position: relative;
  width: 100%;
  height: 421px;
  overflow: hidden;
}

.planet { position: absolute; object-fit: cover; }
.planet-mars   { width: 164px; height: 162px; left: 109px; top: 223px; opacity: 1; }
.planet-neptune { width: 105px; height: 105px; right: 70px; top: 24px; opacity: 1; }
.planet-uranus { width: 48px; height: 48px; left: 34px; top: 57px; opacity: 1; }
.planet-saturn { width: 114px; height: 114px; right: 230px; top: 282px; opacity: 1; }
.planet-jupiter { width: 120px; height: 120px; left: 292px; top: 45px; opacity: 1; }

.gamification-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 720px;
  max-width: 100%;
  padding: 0 24px;
}

.rocket-icon {
  width: 67px;
  height: auto;
  transform: rotate(90deg);
}

.gamification-cards {
  display: flex;
  gap: 24px;
  padding: 0 100px;
}

.gami-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.gami-card-image {
  position: relative;
  height: 530px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.gami-card-image img {
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Dark gradient fade — no backdrop-filter to avoid compositing flicker */
.gami-card-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.3) 30%,
    rgba(0,0,0,0.7) 60%,
    #000 100%
  );
  z-index: 2;
  pointer-events: none;
}

.gami-card-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding-top: 12px;
}

.gami-card-copy .body-text {
  font-size: 14px;
  line-height: 1.5;
}

.gami-bg-planet-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 24px;
  width: 397px;
  height: 397px;
  pointer-events: none;
}

.gami-bg-planet {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  display: block;
}

/* ── SQUADS ── */
.squads-section {
  position: relative;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding-bottom: 120px;
  overflow: hidden;
}

.squads-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 720px;
  max-width: 100%;
  padding: 0 24px;
}

.squads-image-wrap {
  position: relative;
  width: 398px;
  margin-bottom: 40px;
  overflow: hidden;
}

.squads-header-img {
  width: 100%;
  height: auto;
  display: block;
}

.squads-img-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, #000 100%);
  z-index: 4;
  pointer-events: none;
}


.squads-body {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 80px 100px;
  width: 100%;
}

.squads-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.squads-phone {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  position: relative;
  z-index: 1;
}

.squads-phone img {
  width: 398px;
  max-width: 100%;
  height: auto;
}

.squads-values {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 608px;
  max-width: 100%;
  flex-shrink: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
  align-self: center;
}

.squad-value-card {
  display: flex;
  align-items: center;
  gap: 23px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 40px;
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.squad-icon {
  width: 40px;
  height: 40px;
  object-fit: cover;
  flex-shrink: 0;
}

.squad-value-card .title-small { margin-bottom: 4px; text-wrap: unset; }
.squad-value-card .body-text { text-wrap: unset; }

.squad-value-card .body-text {
  font-size: 14px;
  line-height: 1.5;
}

/* ── FEATURES ── */
.features-section {
  position: relative;
  background: #000;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 100px 120px;
  overflow: hidden;
}

.features-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.features-section .section-copy {
  position: relative;
  z-index: 1;
}

.features-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #000;
  border: 1px solid var(--border-medium);
  border-radius: 40px;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-self: stretch;
}

.feature-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 40px 40px 0;
  min-height: 180px;
}

.feature-card-copy .title-small,
.feature-card-copy .body-text {
  text-wrap: unset;
}

.feature-card-copy .body-text {
  font-size: 14px;
  line-height: 1.5;
}

.feature-card-image {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── FOOTER ── */
.site-footer {
  background: #000;
  padding: 0 100px 60px;
  position: relative;
  z-index: 1;
}

.footer-links-row {
  padding-bottom: 40px;
}

.footer-resources {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 335px;
}

.footer-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.footer-resources a {
  font-size: 17px;
  color: var(--white);
  text-decoration: none;
}

.footer-resources a:hover { opacity: 0.7; }

.footer-divider {
  border-top: 1px solid var(--border-medium);
  margin-bottom: 40px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-appstore img,
.footer-appstore svg {
  height: 40px;
  width: auto;
  display: block;
}

.footer-socials {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-socials a:hover { opacity: 0.6; }

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

/* ── MOON SECTION ── */
.moon-section {
  position: relative;
  height: 820px;
  overflow: hidden;
  background: #000;
}

.moon-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.moon-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 69px;
  background: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────────────────
   HAMBURGER + MOBILE MENU (base styles, always hidden on desktop)
──────────────────────────────────────────────────────────────────────────── */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-hamburger.is-open .nav-hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 96px 24px 32px; /* 96px pushes content below the navbar */
}

.nav-mobile-signin,
.nav-mobile-signup {
  width: 100%;
  max-width: 320px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
}

.nav-mobile-signin {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.nav-mobile-signup {
  background: var(--white);
  border: none;
  color: #000;
}

.nav-mobile-socials {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.nav-mobile-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: opacity 0.2s;
}

.nav-mobile-socials a:hover { opacity: 0.6; }

/* ─────────────────────────────────────────────────────────────────────────
   TABLET  ≤ 1024px
──────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {

  /* Navbar */
  .navbar { padding: 16px 24px; }

  /* Hero */
  .hero-content { padding: 80px 60px; }
  .hero-right { min-height: 400px; }

  /* Graph */
  .graph-image-wrap { width: 90%; }

  /* Gamification */
  .gamification-cards { padding: 0 40px; }
  .gami-card { flex: 1; }
  .gami-card-image { height: 420px; }
  /* Planets — scale to ~75% at tablet */
  .planets-row { height: 310px; }
  .planet-mars    { width: 123px; height: 122px; left: 82px;  top: 167px; }
  .planet-neptune { width:  79px; height:  79px; right: 53px; top:  18px; }
  .planet-uranus  { width:  36px; height:  36px; left: 26px;  top:  43px; }
  .planet-saturn  { width:  86px; height:  86px; right: 173px; top: 212px; }
  .planet-jupiter { width:  90px; height:  90px; left: 219px; top:  34px; }
  .gami-bg-planet-wrap { width: 300px; height: 300px; }

  /* Squads */
  .squads-body { padding: 60px 40px; }
  .squads-values { width: auto; flex: 1; }

  /* Features */
  .features-section { padding: 0 60px 80px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .site-footer { padding: 0 60px 60px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   MOBILE  ≤ 768px
──────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Navbar — show hamburger, hide desktop auth buttons */
  .navbar { padding: 14px 20px; }
  .navbar-right { gap: 8px; }
  .nav-signin,
  .nav-signup,
  .nav-divider { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: block; }

  /* Hero */
  .hero-content {
    flex-direction: column;
    padding: 100px 24px 60px;
    align-items: flex-start;
    gap: 40px;
  }
  .hero-left {
    width: 100%;
    gap: 24px;
  }
  .hero-right {
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero-phone-wrap {
    position: relative;
    left: auto;
    top: auto;
    transform: none !important;
    width: min(503px, 100%);
    margin: 0 auto;
  }
  .hero-astronaut-wrap {
    position: relative;
    left: auto;
    top: auto;
    transform: none !important;
    margin: -60px auto 0;
  }

  /* Graph */
  .graph-section { padding: 60px 0 0; gap: 48px; }
  .graph-section .section-copy { max-width: 100%; padding: 0 24px 80px; }
  .graph-section .graph-intro-copy { margin-bottom: 40px; }
  .graph-image-wrap { width: 100%; }

  /* Gamification */
  .gamification-section { gap: 60px; padding-bottom: 80px; }
  .gamification-title-block { width: 100%; padding: 0 24px; }
  .gamification-cards {
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    gap: 80px;
  }
  .gami-card { width: 100%; max-width: 480px; }
  .gami-card-image { height: 360px; }
  /* Planets — scale to ~55% on mobile */
  .planets-row { height: 220px; }
  .planet-mars    { width:  90px; height:  89px; left:  60px; top: 123px; }
  .planet-neptune { width:  58px; height:  58px; right: 39px; top:  13px; }
  .planet-uranus  { width:  26px; height:  26px; left:  19px; top:  31px; }
  .planet-saturn  { width:  63px; height:  63px; right: 127px; top: 155px; }
  .planet-jupiter { width:  66px; height:  66px; left: 161px; top:  25px; }
  .gami-bg-planet-wrap { width: 220px; height: 220px; }

  /* Squads */
  .squads-section { gap: 40px; padding-bottom: 80px; }
  .squads-title-block { width: 100%; padding: 0 24px; }
  .squads-image-wrap { width: 100%; }
  .squads-body {
    flex-direction: column;
    padding: 0 24px 40px;
    gap: 32px;
  }
  .squads-phone { order: -1; width: 100%; }
  .squads-phone img { width: 100%; max-width: 360px; margin: 0 auto; display: block; }
  .squads-values { width: 100%; }
  .squad-value-card { padding: 24px; border-radius: 24px; }

  /* Features */
  .features-section { padding: 0 24px 60px; gap: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-copy { padding: 40px 24px 0; min-height: auto; }
  .feature-card-image { min-height: 280px; }

  /* Footer */
  .site-footer { padding: 0 24px 60px; }
  .footer-links-row { padding-bottom: 24px; }
  .footer-resources { width: 100%; }
  .footer-resources a { font-size: 15px; }
  .footer-socials a {
    width: 44px;
    height: 44px;
  }

  /* Typography */
  .title-medium { font-size: 20px; }
  .title-small { font-size: 15px; }
  .body-text { font-size: 15px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   SMALL MOBILE  ≤ 480px
──────────────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .navbar { padding: 12px 16px; }
  .hero-content { padding: 90px 16px 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .gamification-cards,
  .squads-title-block,
  .graph-section .section-copy,
  .features-section,
  .site-footer { padding-left: 16px; padding-right: 16px; }
  .squads-body { padding-left: 16px; padding-right: 16px; }
  .title-large { font-size: clamp(24px, 7vw, 32px); }
}
