:root {
  --bg: #08111b;
  --bg-deep: #050b12;
  --panel: rgba(14, 28, 39, 0.82);
  --panel-strong: rgba(18, 36, 49, 0.94);
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(211, 232, 238, 0.12);
  --line-strong: rgba(211, 232, 238, 0.2);
  --text: #eef5f7;
  --muted: #a7bbc2;
  --muted-strong: #c6d6dc;
  --mint: #6ce1c5;
  --sky: #7cc6ff;
  --amber: #ffc26d;
  --coral: #ff7f66;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.24);
  --shadow-strong: 0 40px 120px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(124, 198, 255, 0.14), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(255, 194, 109, 0.12), transparent 22%),
    linear-gradient(180deg, #08111b 0%, #091520 55%, #060b11 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

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

img {
  max-width: 100%;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.background-glow {
  position: fixed;
  z-index: -3;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}

.background-glow-left {
  top: -8rem;
  left: -10rem;
  background: rgba(108, 225, 197, 0.18);
}

.background-glow-right {
  right: -10rem;
  top: 22rem;
  background: rgba(255, 127, 102, 0.16);
}

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(211, 232, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 232, 238, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 90%);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5.75rem 0;
}

.section-tight {
  padding: 1.4rem 0 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: rgba(8, 17, 27, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-shell,
.footer-shell,
.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-shell {
  min-height: 5.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark-shell {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(108, 225, 197, 0.2), rgba(124, 198, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 32px rgba(108, 225, 197, 0.18);
}

.brand-mark {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
}

.brand-copy strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  transition: color 180ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  color: #07111b;
  background: linear-gradient(135deg, var(--mint), var(--amber));
  box-shadow: 0 18px 36px rgba(255, 194, 109, 0.18);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
}

.hero-layout,
.split-layout,
.showcase-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero {
  padding-top: 4rem;
}

.eyebrow,
.mini-label,
.floating-label {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(108, 225, 197, 0.1);
  border: 1px solid rgba(108, 225, 197, 0.18);
}

.hero-copy h1,
.section-heading h2,
.story-panel h2,
.showcase-copy h2,
.cta-shell h2 {
  margin: 1.2rem 0 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 0.95;
}

.hero-copy h1 {
  max-width: 9ch;
  font-size: clamp(3.4rem, 10vw, 6.8rem);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-emblem-shell {
  width: 5rem;
  height: 5rem;
  display: inline-grid;
  place-items: center;
  padding: 0.35rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.hero-emblem,
.hero-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-text,
.section-heading p,
.story-panel > p,
.showcase-copy p,
.cta-shell p,
.faq-card p,
.feature-card p,
.comparison-list,
.proof-item,
.story-step p,
.footer-text {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 38rem;
  margin-top: 1.3rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-pills span,
.proof-item,
.board-tile,
.feature-card,
.comparison-card,
.story-panel,
.faq-card,
.cta-shell,
.site-footer {
  backdrop-filter: blur(18px);
}

.hero-pills span {
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40rem;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
}

.hero-composite {
  position: relative;
  width: min(520px, 100%);
  min-height: 38rem;
}

.hero-core-glow {
  position: absolute;
  top: 5.2rem;
  left: 5.75rem;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(124, 198, 255, 0.3), rgba(108, 225, 197, 0.16) 45%, transparent 72%);
  filter: blur(4px);
}

.hero-logo-shell {
  position: absolute;
  top: 4rem;
  left: 5rem;
  z-index: 2;
  width: 16rem;
  height: 16rem;
  padding: 0.8rem;
  overflow: hidden;
  border-radius: 3rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(7, 15, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-strong);
}

.hero-logo {
  filter: drop-shadow(0 0 36px rgba(110, 96, 255, 0.28));
}

.hero-shot {
  position: absolute;
  z-index: 3;
  margin: 0;
  overflow: hidden;
  padding: 0.55rem;
  border-radius: 1.8rem;
  border: 1px solid var(--line);
  background: rgba(8, 17, 27, 0.92);
  box-shadow: var(--shadow-strong);
}

.hero-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 1.25rem;
}

.hero-shot-main {
  top: 1rem;
  right: 0;
  width: 14rem;
  transform: rotate(7deg);
}

.hero-shot-secondary {
  bottom: 4rem;
  left: 0;
  width: 13.6rem;
  transform: rotate(-8deg);
}

.hero-shot-tertiary {
  right: 3.4rem;
  bottom: 0;
  width: 13.8rem;
  transform: rotate(6deg);
}

.device-shell {
  position: relative;
  width: min(390px, 100%);
  padding: 1rem;
  border-radius: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-strong);
  animation: float 7s ease-in-out infinite;
}

.device-screen {
  border-radius: 2rem;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(124, 198, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(11, 22, 31, 0.95), rgba(15, 28, 39, 0.98));
}

.device-status,
.quest-spotlight-top,
.stat-row,
.mission-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.device-status h2,
.comparison-card h3,
.feature-card h3,
.story-step h3,
.faq-card summary,
.board-tile strong {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.rank-badge,
.mission-value {
  white-space: nowrap;
}

.rank-badge {
  align-self: flex-start;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #09212b;
  font-size: 0.82rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--sky), var(--mint));
}

.mini-label,
.floating-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.quest-spotlight,
.stat-card,
.mission-card,
.feature-card,
.comparison-card,
.story-panel,
.faq-card,
.board-tile,
.proof-item,
.cta-shell {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.quest-spotlight {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(124, 198, 255, 0.14), rgba(124, 198, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
}

.quest-spotlight p {
  margin: 0.75rem 0 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
}

.progress-bar {
  height: 0.72rem;
  margin-top: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  width: 84%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--amber));
}

.stat-row {
  margin-top: 1rem;
}

.stat-card {
  flex: 1;
  padding: 1rem;
  border-radius: 1.25rem;
}

.stat-card strong {
  display: block;
  margin-top: 0.45rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.6rem;
}

.mission-stack {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.mission-card {
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
}

.mission-card strong {
  display: block;
  margin-top: 0.25rem;
}

.mission-card-complete {
  border-color: rgba(108, 225, 197, 0.18);
  background: rgba(108, 225, 197, 0.1);
}

.mission-card-active {
  border-color: rgba(255, 194, 109, 0.18);
  background: rgba(255, 194, 109, 0.1);
}

.mission-card-penalty {
  border-color: rgba(255, 127, 102, 0.18);
  background: rgba(255, 127, 102, 0.08);
}

.floating-badge {
  position: absolute;
  display: grid;
  gap: 0.3rem;
  min-width: 12rem;
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(8, 17, 27, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.floating-badge strong {
  font-size: 1rem;
}

.floating-badge-top {
  top: 0.7rem;
  left: 0;
  animation: drift 6s ease-in-out infinite;
}

.floating-badge-bottom {
  right: 0;
  bottom: 1.25rem;
  animation: drift 7s ease-in-out infinite reverse;
}

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

.proof-item {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: 1.2rem;
  text-align: center;
}

.section-heading {
  max-width: 47rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.story-panel h2,
.showcase-copy h2,
.cta-shell h2 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
}

.section-heading p:last-child {
  margin-top: 1rem;
}

.feature-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  color: #07111b;
  font-size: 0.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--mint), var(--sky));
}

.feature-card h3 {
  margin-top: 1rem;
  font-size: 1.45rem;
}

.story-panel {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.story-panel > p {
  margin-top: 1rem;
}

.story-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.story-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.story-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.story-step span {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  color: #07111b;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--amber), var(--mint));
}

.story-step p {
  margin: 0.45rem 0 0;
}

.comparison-panel {
  display: grid;
  gap: 1rem;
}

.comparison-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.comparison-card-primary {
  background:
    radial-gradient(circle at top right, rgba(108, 225, 197, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.06);
}

.comparison-card h3 {
  margin-top: 0.45rem;
  font-size: 1.7rem;
}

.comparison-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.comparison-list li + li {
  margin-top: 0.75rem;
}

.showcase-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.screenshot-card {
  margin: 0;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 1.2rem;
}

.screenshot-card figcaption {
  padding: 1rem 0.2rem 0.15rem;
}

.screenshot-card h3 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.08rem;
}

.screenshot-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.board-tile {
  display: grid;
  gap: 0.6rem;
  min-height: 9rem;
  align-content: end;
  padding: 1.4rem;
  border-radius: 1.6rem;
}

.board-tile-wide {
  grid-column: 1 / -1;
  min-height: 13rem;
  background:
    radial-gradient(circle at right top, rgba(124, 198, 255, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.06);
}

.board-tile-accent {
  background:
    linear-gradient(135deg, rgba(255, 194, 109, 0.18), rgba(108, 225, 197, 0.12)),
    rgba(255, 255, 255, 0.06);
}

.faq-card {
  padding: 1.35rem 1.4rem;
  border-radius: 1.4rem;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin: 0.95rem 0 0;
}

.faq-card a {
  color: var(--mint);
}

.cta-shell {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at left center, rgba(108, 225, 197, 0.12), transparent 32%),
    radial-gradient(circle at right center, rgba(255, 194, 109, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.05);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.site-footer {
  margin-top: 1rem;
  padding: 2rem 0 3.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 13, 20, 0.45);
}

.footer-brand {
  margin-bottom: 0.9rem;
}

.footer-text {
  max-width: 38rem;
  margin: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
}

.stagger-1 {
  animation-delay: 0.08s;
}

.stagger-2 {
  animation-delay: 0.18s;
}

.stagger-3 {
  animation-delay: 0.28s;
}

.stagger-4 {
  animation-delay: 0.38s;
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 1100px) {
  .nav-shell,
  .footer-shell,
  .cta-shell,
  .hero-layout,
  .split-layout,
  .showcase-layout {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .nav-shell,
  .footer-shell,
  .cta-shell {
    display: grid;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .hero-visual {
    padding: 1rem 0 0;
  }

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

@media (max-width: 820px) {
  .site-nav {
    gap: 0.9rem;
    font-size: 0.95rem;
  }

  .proof-grid,
  .feature-grid,
  .faq-grid,
  .showcase-board {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-composite {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    min-height: auto;
    width: 100%;
  }

  .hero-core-glow {
    display: none;
  }

  .hero-logo-shell,
  .hero-shot {
    position: static;
    transform: none;
    width: auto;
  }

  .hero-logo-shell {
    grid-column: 1 / -1;
    width: min(260px, 62%);
    height: auto;
    margin: 0 auto;
    aspect-ratio: 1;
  }

  .hero-shot-tertiary {
    grid-column: 1 / -1;
    max-width: 15rem;
    justify-self: center;
  }

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

  .board-tile-wide {
    min-height: 10rem;
  }

  .floating-badge {
    position: static;
    margin-bottom: 1rem;
  }

  .floating-badge-bottom {
    margin-top: 1rem;
    margin-bottom: 0;
  }

  .hero-visual {
    display: block;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.4rem 0;
  }

  .nav-shell {
    padding: 1rem 0;
  }

  .header-cta {
    width: 100%;
  }

  .button,
  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2.9rem, 16vw, 4.4rem);
  }

  .hero-emblem-shell {
    width: 4.25rem;
    height: 4.25rem;
  }

  .story-panel,
  .comparison-card,
  .feature-card,
  .faq-card,
  .cta-shell {
    padding: 1.2rem;
  }

  .device-shell {
    width: 100%;
  }

  .stat-row,
  .mission-card,
  .footer-links {
    display: grid;
  }

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