@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap");

:root {
  --bg: #05080f;
  --bg-elevated: #0a1019;
  --bg-soft: #0f1722;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --text: #f7f9fc;
  --muted: #9ca9b9;
  --muted-strong: #c5ced9;
  --accent: #1f7cff;
  --accent-hover: #3f91ff;
  --accent-dark: #0c5ed8;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.14);
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --max: 1280px;
  --nav-h: 76px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.28);
  --shadow-blue: 0 18px 50px rgba(31, 124, 255, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font-body);
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(31, 124, 255, 0.12), transparent 30rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

/* NAV */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding:
    env(safe-area-inset-top)
    clamp(1.25rem, 4vw, 3.5rem)
    0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 8, 15, 0.95),
      rgba(5, 8, 15, 0.72) 55%,
      transparent
    );
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.nav.is-solid {
  background: rgba(5, 8, 15, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.nav-brand span,
.brand span,
.footer-brand span {
  margin-left: 0.12em;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  margin-right: auto;
}

.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow:
    0 10px 30px rgba(31, 124, 255, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, var(--accent-hover), var(--accent));
  box-shadow:
    0 14px 36px rgba(31, 124, 255, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.18);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
  background: #03060b;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
  pointer-events: none;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1.02);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(3, 7, 13, 0.95) 0%,
      rgba(3, 7, 13, 0.78) 38%,
      rgba(3, 7, 13, 0.32) 68%,
      rgba(3, 7, 13, 0.08) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 8, 15, 0.94) 0%,
      rgba(5, 8, 15, 0.12) 48%,
      rgba(5, 8, 15, 0.18) 100%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 700px);
  margin-left: clamp(1.25rem, 4vw, 3.5rem);
  padding:
    calc(var(--nav-h) + 4rem)
    clamp(1.25rem, 4vw, 3.5rem)
    clamp(4rem, 10vh, 7rem);
  animation: riseIn 0.85s ease 0.12s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-banner {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 1.2rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(6, 12, 22, 0.58);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.hero-banner-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-banner-main {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.brand {
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.6vw, 5.1rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 52ch;
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  color: var(--muted-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow:
    0 14px 34px rgba(31, 124, 255, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  background:
    linear-gradient(135deg, var(--accent-hover), var(--accent));
  box-shadow:
    0 18px 40px rgba(31, 124, 255, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.btn-lg {
  min-height: 58px;
  padding: 1rem 1.6rem;
  font-size: 1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin-top: 1.5rem;
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* PROOF */
.proof {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  max-width: var(--max);
  margin: -1.7rem auto 2.5rem;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

.proof-item {
  min-width: 0;
  padding: 1.15rem 0.85rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 22, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

.proof-item span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.77rem;
  color: var(--muted);
}

/* CATALOG */
.rail-section {
  position: relative;
  z-index: 3;
  padding: 1.5rem 0 2.5rem;
}

.rail {
  margin-bottom: 2.6rem;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.rail-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rail-controls {
  display: flex;
  gap: 0.45rem;
}

.rail-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.rail-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.rail-track {
  display: flex;
  gap: 0.95rem;
  overflow-x: auto;
  padding-bottom: 0.65rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rail-track::-webkit-scrollbar {
  display: none;
}

.poster {
  --poster-w: clamp(150px, 19vw, 210px);
  position: relative;
  flex: 0 0 var(--poster-w);
  width: var(--poster-w);
  min-width: var(--poster-w);
  max-width: var(--poster-w);
  scroll-snap-align: start;
  transition: transform 0.25s ease;
}

.poster img {
  width: 100% !important;
  max-width: none !important;
  height: calc(var(--poster-w) * 1.35) !important;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #111722;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.poster-rank {
  position: absolute;
  top: -7px;
  left: -7px;
  z-index: 2;
  display: grid;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  place-items: center;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(31, 124, 255, 0.34);
}

.poster-info {
  margin-top: 0.7rem;
}

.poster-info h3 {
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-info p {
  margin-top: 0.15rem;
  font-size: 0.76rem;
  color: var(--muted);
}

/* BENEFITS */
.benefits {
  padding:
    clamp(3.5rem, 7vw, 6rem)
    clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
}

.benefits h2 {
  max-width: 18ch;
  margin: 0 auto 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.7vw, 2.8rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.benefits-lead {
  max-width: 46ch;
  margin: 0 auto 2.4rem;
  color: var(--muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

.benefit {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 70%),
    var(--bg-elevated);
}

.benefit::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(31, 124, 255, 0.13);
  filter: blur(30px);
}

.benefit-index {
  display: block;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.benefit h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
}

.benefit p {
  position: relative;
  z-index: 1;
  max-width: 42ch;
  font-size: 0.91rem;
  color: var(--muted);
}

/* FEATURE */
.feature {
  position: relative;
  min-height: min(70vh, 620px);
  display: grid;
  align-items: end;
  margin: 1rem 0 3rem;
  overflow: hidden;
}

.feature-media {
  position: absolute;
  inset: 0;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 15, 0.95) 0%,
      rgba(5, 8, 15, 0.68) 44%,
      rgba(5, 8, 15, 0.08) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 8, 15, 0.95),
      transparent 55%
    );
}

.feature-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding:
    clamp(3rem, 7vw, 5rem)
    clamp(1.25rem, 4vw, 3.5rem);
}

.section-label {
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.feature-copy h2 {
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.feature-copy p {
  max-width: 42ch;
  font-size: 1.02rem;
  color: var(--muted-strong);
}

.feature-copy .btn {
  margin-top: 1.4rem;
}

/* DOWNLOAD */
.download-cta {
  padding:
    clamp(4rem, 8vw, 6.5rem)
    clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
  background:
    radial-gradient(
      ellipse 60% 55% at 50% 0%,
      rgba(31, 124, 255, 0.16),
      transparent 72%
    ),
    var(--bg);
}

.download-cta h2 {
  max-width: 18ch;
  margin: 0 auto 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.download-cta > p {
  max-width: 44ch;
  margin: 0 auto 1.4rem;
  color: var(--muted);
}

.download-points {
  display: grid;
  gap: 0.6rem;
  width: fit-content;
  margin: 0 auto 1.8rem;
  list-style: none;
  text-align: left;
}

.download-points li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.94rem;
}

.download-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* FINAL */
.final {
  padding:
    clamp(4rem, 9vw, 7rem)
    clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #09111d, var(--bg));
}

.final h2 {
  max-width: 18ch;
  margin: 0 auto 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.final p {
  margin-bottom: 1.8rem;
  color: var(--muted);
}

/* FOOTER */
.footer {
  padding:
    2.5rem
    clamp(1.25rem, 4vw, 3.5rem)
    calc(3rem + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.footer p:last-child {
  font-size: 0.82rem;
  color: var(--muted);
}

/* HOVER */
@media (hover: hover) and (pointer: fine) {
  .poster:hover {
    z-index: 2;
    transform: translateY(-6px);
  }
}

/* TABLET */
@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

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

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

/* MOBILE */
@media (max-width: 767px) {
  :root {
    --nav-h: 64px;
  }

  .nav {
    height: var(--nav-h);
    padding-inline: 1rem;
    background:
      linear-gradient(
        180deg,
        rgba(5, 8, 15, 0.96),
        rgba(5, 8, 15, 0.6) 72%,
        transparent
      );
  }

  .nav-brand {
    font-size: 1rem;
    letter-spacing: 0.03em;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0.55rem 0.82rem;
    border-radius: 10px;
    font-size: 0.77rem;
  }

  .hero {
    min-height: 820px;
    align-items: flex-end;
    background: var(--bg);
  }

  .hero-media,
  .hero-media picture {
    height: 48%;
    min-height: 360px;
  }

  .hero-image {
    object-position: center 24%;
    transform: none;
    animation: none;
  }

  .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(5, 8, 15, 0.04) 0%,
        rgba(5, 8, 15, 0.08) 34%,
        rgba(5, 8, 15, 0.58) 51%,
        rgba(5, 8, 15, 0.96) 68%,
        var(--bg) 78%,
        var(--bg) 100%
      );
  }

  .hero-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding:
      330px
      1.25rem
      2.75rem;
  }

  .hero-banner {
    margin-bottom: 0.9rem;
    padding: 0.62rem 0.78rem;
  }

  .hero-banner-sub {
    font-size: 0.64rem;
  }

  .hero-banner-main {
    font-size: 0.82rem;
  }

  .brand {
    font-size: 0.7rem;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(2.15rem, 9.5vw, 2.9rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .hero-lead {
    margin-top: 0.95rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 1.35rem;
  }

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

  .hero-trust {
    display: grid;
    gap: 0.45rem;
    margin-top: 1.1rem;
    font-size: 0.76rem;
  }

  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 auto 2.2rem;
    padding-inline: 1rem;
  }

  .proof-item {
    padding: 0.95rem 0.6rem;
  }

  .proof-item strong {
    font-size: 1.15rem;
  }

  .proof-item span {
    font-size: 0.72rem;
  }

  .rail {
    padding-inline: 1rem;
  }

  .poster {
    --poster-w: 152px;
  }

  .benefits {
    padding: 3.5rem 1rem;
    text-align: left;
  }

  .benefits h2,
  .benefits-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .benefits h2 {
    font-size: 1.9rem;
  }

  .benefits-grid {
    gap: 0.8rem;
  }

  .benefit {
    min-height: 170px;
    padding: 1.3rem;
  }

  .feature {
    min-height: 610px;
  }

  .feature-media::after {
    background:
      linear-gradient(
        0deg,
        rgba(5, 8, 15, 0.98) 0%,
        rgba(5, 8, 15, 0.8) 42%,
        rgba(5, 8, 15, 0.15) 72%,
        rgba(5, 8, 15, 0.05) 100%
      );
  }

  .feature-copy {
    padding: 2rem 1.25rem 3rem;
  }

  .feature-copy h2 {
    font-size: 2rem;
  }

  .download-cta,
  .final {
    padding-inline: 1.25rem;
  }
}

/* VERY SMALL PHONES */
@media (max-width: 420px) {
  .hero {
    min-height: 800px;
  }

  .hero-media,
  .hero-media picture {
    height: 46%;
    min-height: 340px;
  }

  .hero-content {
    padding-top: 310px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .nav-cta {
    padding-inline: 0.7rem;
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
