:root {
  --red: #3d0000;
  --blue: #0f1956;
  --bg-dark: #050816;
  --text: #edf0ff;
  --muted: #b9c0e3;
  --line: rgba(173, 187, 255, 0.24);
  --glass: rgba(17, 19, 58, 0.62);
  --title-font: "SF Pro Rounded", "Avenir Next Rounded", ui-rounded, "Nunito", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background-color: var(--bg-dark);
  min-height: 100vh;
  line-height: 1.5;
}

body.intro-lock {
  overflow: hidden;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  opacity: 1;
  transition: opacity 0.85s ease, background-color 0.85s ease;
}

.intro-video {
  width: min(46vw, 520px);
  max-width: calc(100vw - 2rem);
  height: auto;
  opacity: 0;
  transform: scale(0.965);
  transition: opacity 0.8s ease, transform 0.8s ease;
  filter: drop-shadow(0 16px 42px rgba(0, 0, 0, 0.7));
}

body.intro-reveal .intro-video {
  opacity: 1;
  transform: scale(1);
}

body.intro-reveal .intro-overlay {
  background-color: rgba(0, 0, 0, 0.82);
}

body.intro-fade .intro-overlay {
  opacity: 0;
  pointer-events: none;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(165deg, rgba(6, 10, 36, 0.9) 0%, rgba(11, 19, 68, 0.85) 48%, rgba(56, 10, 23, 0.86) 100%),
    radial-gradient(circle at 16% 12%, rgba(15, 25, 86, 0.4), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(61, 0, 0, 0.35), transparent 38%),
    url("./assets/fond.png") center / cover no-repeat;
}

.topbar,
.page,
.footer-inner,
.footer-bottom {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 14;
  margin-top: 0.9rem;
  padding: 0.7rem 0.9rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(190, 201, 255, 0.35);
  background: #07070b;
  object-fit: cover;
}

nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

nav a:hover {
  color: #dbe2ff;
}

.appstore-badge-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  transition: opacity 0.2s ease;
}

.appstore-badge-link:hover {
  opacity: 0.95;
}

.topbar-download {
  justify-self: end;
}

.appstore-badge {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  filter: none;
  mix-blend-mode: normal;
  -webkit-filter: none;
}

.appstore-badge--header {
  width: 165px;
}

.hero .appstore-badge-link {
  margin-top: 1.35rem;
}

.appstore-badge--hero {
  width: 230px;
}

.appstore-badge--final {
  width: 240px;
}

.page {
  padding: 3.5rem 0 6.6rem;
}

.hero {
  max-width: 900px;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #c4d0ff;
  font-size: 0.72rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4,
.footer-brand strong {
  font-family: var(--title-font);
  margin: 0;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.08;
}

h1 span {
  color: #aebdff;
}

.lead {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 72ch;
}

.cta {
  margin-top: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  color: #f2f4ff;
  font-weight: 700;
  background: linear-gradient(130deg, #15267b 0%, #2f1f68 54%, #560f19 100%);
}

.panel,
.card {
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.panel {
  margin-top: 1.5rem;
  padding: 0;
}

.bodymap-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(173, 187, 255, 0.18);
  border-bottom: 1px solid rgba(173, 187, 255, 0.18);
}

.bodymap-copy p {
  color: var(--muted);
  margin: 0.65rem 0 0;
}

.bodymaps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.bodymap-scale {
  margin-top: 1rem;
  width: min(100%, 520px);
}

.scale-title {
  margin: 0;
  color: #dbe4ff;
  font-family: var(--title-font);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.bodymap-scale img {
  margin-top: 0.45rem;
  width: 100%;
  height: auto;
  display: block;
}

.scale-caption {
  margin: 0.45rem 0 0;
  color: #b9c4ec;
  font-size: 0.88rem;
}

.body-card {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.body-card h3 {
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  color: #cfd9ff;
  text-align: left;
  letter-spacing: 0.02em;
}

.body-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.body-slot p {
  margin: 0 0 0.35rem;
  color: #aab6e6;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.body-frame {
  position: relative;
  width: min(100%, 70px);
  margin-inline: auto;
  aspect-ratio: 936 / 2668;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  isolation: isolate;
}

.body-frame::after {
  content: none;
}

.body-frame-female {
  aspect-ratio: 956 / 2604;
}

.body-frame-male-back {
  aspect-ratio: 960 / 2667;
}

.body-frame-female-back {
  aspect-ratio: 233 / 650;
}

.body-figure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  opacity: 0.98;
}

.features {
  margin-top: 1.35rem;
  display: grid;
  gap: 0;
}

.feature-head p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.feature-head {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(173, 187, 255, 0.18);
}

.features-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c6d2ff;
  font-size: 0.72rem;
  font-weight: 700;
}

.feature-band {
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  padding: 1.7rem 0;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1rem;
  align-items: stretch;
  min-height: 0;
  border-bottom: 1px solid rgba(173, 187, 255, 0.15);
}

.feature-band--reverse .feature-copy {
  order: 2;
}

.feature-band--reverse .feature-visual {
  order: 1;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(186, 199, 255, 0.35);
  background: rgba(26, 32, 87, 0.52);
  color: #dce4ff;
  font-weight: 700;
  font-size: 0.86rem;
}

.feature-copy h3 {
  margin-top: 0.72rem;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.14;
}

.feature-copy p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 56ch;
  font-size: 1.03rem;
}

.feature-points {
  margin: 0.82rem 0 0;
  padding-left: 1rem;
  color: #c7cfef;
  display: grid;
  gap: 0.28rem;
}

.feature-visual {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.feature-metric {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #e4e9ff;
}

.feature-visual p:last-child {
  margin: 0.62rem 0 0;
  color: #b5c0ea;
  font-size: 0.98rem;
}

.final-cta {
  margin-top: 1.5rem;
  text-align: left;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(173, 187, 255, 0.18);
  border-bottom: 1px solid rgba(173, 187, 255, 0.18);
}

.final-cta p {
  margin: 0.62rem 0 0;
  color: var(--muted);
}

.final-cta .cta {
  margin-top: 1rem;
}

.footer {
  background: #050505;
  border-top: 1px solid #181818;
  padding: 1rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.footer-brand p {
  margin: 0.25rem 0 0;
  color: #a8a8a8;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: #e1e6ff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-col li {
  color: #b7b7b7;
  font-size: 0.9rem;
}

.footer-col a {
  color: #d1d7f9;
  text-decoration: none;
}

.footer-col a:hover {
  color: #eef1ff;
}

.footer-bottom {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid #1f1f1f;
}

.footer-bottom p {
  margin: 0;
  color: #868686;
  font-size: 0.84rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (max-width: 980px) {
  nav {
    justify-content: flex-start;
  }

  .topbar {
    grid-template-columns: auto 1fr;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .topbar-download {
    grid-column: 2;
    grid-row: 1;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 0.2rem;
  }

  .appstore-badge--header {
    width: 148px;
  }

  .bodymap-panel {
    grid-template-columns: 1fr;
  }

  .feature-band {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .feature-band--reverse .feature-copy {
    order: 1;
  }

  .feature-band--reverse .feature-visual {
    order: 2;
  }

  .feature-visual {
    min-height: 170px;
  }

  .bodymaps {
    grid-template-columns: 1fr;
  }

  .bodymap-scale {
    width: min(100%, 460px);
  }

  .body-frame {
    width: min(100%, 86px);
  }

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

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
