:root {
  --bg: #0f042b;
  --bg-deep: #070017;
  --panel: #080016;
  --panel-2: #15042f;
  --ink: #fff;
  --muted: #c8bdd5;
  --line: rgba(177, 65, 255, 0.45);
  --pink: #ff4feb;
  --purple: #8238ff;
  --violet: #260a55;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --radius: 18px;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background-color: var(--bg);
  background-image: url("./new_assets/backgrounds/laptop_background.png");
  background-position: top center;
  background-repeat: repeat-y;
  background-size: 100% auto;
  font-weight: 1000;
  overflow-x: hidden;
}

body::before {
  content: none;
}

.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 20;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

.nav-shell {
  width: min(100% - 34px, 1068px);
  min-height: 62px;
  padding: 8px 12px 8px 18px;
  border: 2px solid rgba(132, 51, 255, 0.58);
  border-radius: 999px;
  background: rgba(3, 0, 13, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  gap: 12px;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 0;
  box-shadow: none;
}

.brand-title {
  font-size: 0.92rem;
  font-weight: 1000;
}

.brand-caption {
  color: #bdb2ca;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0;
}

.top-nav {
  gap: clamp(22px, 5vw, 72px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 1000;
}

.top-nav a {
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
}

.top-nav a:hover,
body[data-page="home"] .top-nav a[data-page-link="home"],
body[data-page="privacy"] .top-nav a[data-page-link="privacy"],
body[data-page="terms"] .top-nav a[data-page-link="terms"],
body[data-page="support"] .top-nav a[data-page-link="support"],
body[data-page="legal"] .top-nav a[data-page-link="legal"] {
  color: #fff;
  background: linear-gradient(180deg, #a75cff, #6820dc);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 22px rgba(132, 56, 255, 0.48);
}

.nav-cta,
.store-button {
  min-height: 38px;
  padding: 0 20px;
  color: #fff;
  border: 1px solid rgba(179, 93, 255, 0.52);
  background: linear-gradient(180deg, #ad5cff, #7027e4);
  box-shadow: 0 12px 30px rgba(132, 56, 255, 0.44);
  font-size: 0.72rem;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(179, 93, 255, 0.58);
  border-radius: 15px;
  background: linear-gradient(180deg, #8b40ff, #5316bf);
}

.mobile-nav {
  margin-top: 10px;
  border: 1px solid rgba(177, 65, 255, 0.44);
  border-radius: 22px;
  background: rgba(3, 0, 13, 0.95);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  color: #fff;
}

.hero {
  min-height: 730px;
  padding: 245px 0 96px;
  border: 0;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: clamp(42px, 7vw, 120px);
}

.eyebrow {
  margin-bottom: 20px;
  color: #d9cdea;
  font-size: clamp(0.92rem, 1.24vw, 1.28rem);
  font-weight: 1000;
  letter-spacing: 0.035em;
}

h1,
h2,
h3 {
  color: #fff;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  width: min(100%, 900px);
  max-width: 900px;
  color: var(--pink);
  font-size: clamp(2.35rem, 3.08vw, 3.9rem);
  line-height: 1.18;
  text-align: center;
  text-shadow: 0 0 26px rgba(255, 79, 235, 0.25);
}

h2 {
  margin-bottom: 18px;
  color: var(--pink);
  font-size: clamp(2.45rem, 3.72vw, 4.05rem);
  line-height: 1.02;
}

.hero-copy {
  justify-self: end;
  max-width: 930px;
  text-align: center;
}

.floating-stage {
  position: relative;
  min-height: 330px;
}

.float-item,
.float-star {
  position: absolute;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.42));
  animation: bob 5.2s ease-in-out infinite;
}

.logo-float { display: block; width: clamp(248px, 28vw, 390px); left: 7%; top: 18px; animation-delay: -0.4s; }
.eiffel-float { width: 74px; left: 40%; top: 38px; animation-delay: -0.8s; }
.scrabble-float { width: 70px; left: 3%; top: 92px; transform: rotate(-11deg); animation-delay: -2.1s; }
.pizza-float { width: 68px; left: 22%; top: 228px; transform: rotate(9deg); animation-delay: -1.4s; }
.morgan-float { width: 70px; left: 62%; top: 152px; animation-delay: -2.8s; }
.minecraft-float { width: 73px; left: 80%; top: 236px; transform: rotate(-7deg); animation-delay: -3.4s; }
.star-1 { width: 54px; left: 11%; top: 38px; }
.star-2 { width: 36px; left: 74%; top: 100px; animation-delay: -1.5s; }
.star-3 { width: 34px; left: 22%; top: 305px; animation-delay: -2.4s; }
.star-4 { width: 24px; left: 84%; top: 44px; animation-delay: -3.1s; }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.category-strip {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: transparent;
  color: #fff;
}

.category-strip::before,
.category-strip::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(220px, 18vw);
  pointer-events: none;
}

.category-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.category-strip::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.marquee {
  display: grid;
  gap: 12px;
  width: 100%;
}

.marquee-row {
  display: flex;
  gap: 13px;
  width: max-content;
  animation: capsuleDrift 180s linear infinite;
}

.marquee-row:nth-child(2) {
  animation-duration: 204s;
  animation-direction: reverse;
}

.marquee-row:nth-child(3) {
  animation-duration: 192s;
}

.marquee img {
  width: auto;
  height: 29px;
  max-width: none;
  flex: 0 0 auto;
  user-select: none;
}

@keyframes capsuleDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.create-section,
.features-section,
.blind-section {
  padding: 190px 0 120px;
}

.create-grid,
.blind-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(60px, 9vw, 180px);
}

.phone-showcase {
  display: grid;
  justify-items: center;
  text-align: center;
}

.phone-showcase img {
  width: min(43vw, 312px);
  border-radius: 42px;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.5));
}

.phone-showcase img[data-create-simulation] {
  opacity: 1;
  transition: opacity 0.55s ease;
}

.phone-showcase img[data-create-simulation].is-swapping {
  opacity: 0;
}

.phone-showcase h3 {
  margin: 26px 0 8px;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.phone-showcase p,
.create-copy > p,
.blind-copy > p,
.feature-card p {
  color: #cbc1d7;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.42;
}

.create-copy > p,
.blind-copy > p {
  max-width: 570px;
  margin-bottom: 52px;
  font-size: 1.03rem;
}

.create-copy .eyebrow {
  margin-bottom: 10px;
}

.create-copy h2 {
  white-space: nowrap;
}

.step-list {
  display: grid;
  gap: 42px;
}

.step-list article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.step-list img,
.feature-card img {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  filter: drop-shadow(0 0 24px rgba(186, 66, 255, 0.34));
}

.step-list h3,
.feature-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.step-list p {
  max-width: 500px;
  margin: 0;
  color: #c4b7d1;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.platform-band {
  padding: 62px 0;
  border-block: 1px solid rgba(150, 61, 255, 0.34);
  background: rgba(3, 0, 13, 0.72);
}

.platform-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(64px, 12vw, 170px);
}

.platform-grid > img {
  width: clamp(82px, 8vw, 124px);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(165, 72, 255, 0.28));
}

.center-title {
  margin: 0 0 86px;
  color: #fff;
  text-align: center;
  font-size: clamp(2.1rem, 3vw, 3rem);
}

.feature-grid.mini {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  max-width: 1260px;
  margin: 0 auto;
}

.feature-card {
  min-height: 186px;
  padding: 30px 24px 24px;
  border: 1px solid rgba(186, 66, 255, 0.62);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 4, 43, 0.96), rgba(4, 0, 17, 0.96));
  box-shadow: 0 20px 54px rgba(91, 12, 165, 0.22);
  text-align: center;
}

.feature-card img {
  margin: 0 auto 24px;
}

.feature-card p {
  margin: 0;
  font-size: 0.69rem;
}

.blind-section {
  padding-top: 150px;
}

.blind-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
}

.blind-copy {
  justify-self: end;
  max-width: 640px;
  text-align: right;
}

.blind-copy .step-list article {
  grid-template-columns: 70px minmax(0, 1fr);
  text-align: left;
}

.blind-phone img {
  width: min(36vw, 310px);
}

.site-footer {
  padding: 120px 0 118px;
  background: transparent;
}

.footer-panel {
  max-width: 1600px;
  min-height: 260px;
  display: grid;
  align-content: center;
  gap: 54px;
  padding: 54px min(10vw, 260px);
  border: 2px solid rgba(194, 65, 255, 0.82);
  border-radius: 24px;
  background: rgba(3, 0, 13, 0.88);
  box-shadow: 0 0 50px rgba(154, 26, 255, 0.18);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: clamp(70px, 11vw, 160px);
}

.footer-links div {
  display: grid;
  gap: 8px;
}

.footer-links strong {
  color: #fff;
  font-size: 0.82rem;
}

.footer-links a {
  color: #d5cbdf;
  font-size: 0.72rem;
  font-weight: 850;
  text-decoration: underline;
}

.footer-links span {
  display: flex;
  gap: 8px;
}

.footer-links img {
  width: 24px;
  height: 24px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.footer-brand {
  margin: 0;
}

.site-footer p {
  margin: 0;
  color: #d5cbdf;
  font-size: 0.72rem;
  font-weight: 900;
}

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

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

@media (max-width: 900px) {
  body {
    background-image: url("./new_assets/backgrounds/mobile_background.png");
  }

  .site-header {
    top: 14px;
  }

  .nav-shell {
    min-height: 56px;
  }

  .top-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero {
    min-height: 560px;
    padding: 156px 0 22px;
  }

  .hero-grid,
  .create-grid,
  .blind-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    justify-self: center;
    order: 1;
  }

  h1 {
    width: min(100%, 610px);
    max-width: 610px;
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  .floating-stage {
    min-height: 250px;
    order: 2;
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .logo-float {
    width: 242px;
    left: 16%;
    top: 18px;
  }

  .eiffel-float,
  .scrabble-float,
  .pizza-float,
  .morgan-float,
  .minecraft-float { width: 52px; }

  .eiffel-float { left: 42%; top: 22px; }
  .scrabble-float { left: 6%; top: 70px; }
  .pizza-float { left: 25%; top: 166px; }
  .morgan-float { left: 63%; top: 112px; }
  .minecraft-float { left: 78%; top: 170px; }

  .marquee {
    gap: 8px;
  }

  .marquee-row {
    gap: 8px;
  }

  .marquee img {
    height: 18px;
  }

  .create-section,
  .features-section,
  .blind-section {
    padding: 96px 0 76px;
  }

  .create-copy {
    order: 1;
    text-align: center;
  }

  .phone-showcase {
    order: 2;
  }

  .create-copy > p,
  .blind-copy > p {
    margin-inline: auto;
    margin-bottom: 42px;
  }

  .step-list {
    gap: 28px;
  }

  .step-list article {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    text-align: left;
  }

  .step-list img,
  .feature-card img {
    width: 58px;
    height: 58px;
  }

  .phone-showcase img,
  .blind-phone img {
    width: min(65vw, 260px);
    border-radius: 34px;
  }

  .platform-grid {
    gap: 34px;
  }

  .platform-grid > img {
    width: clamp(74px, 20vw, 108px);
  }

  .feature-grid.mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 430px;
  }

  .feature-card {
    min-height: 150px;
    padding: 22px 12px 18px;
  }

  .blind-copy {
    justify-self: center;
    text-align: center;
  }

  .blind-copy .step-list article {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .footer-panel {
    min-height: 240px;
    padding: 36px 34px;
    border-radius: 18px;
  }

  .footer-links {
    justify-content: space-between;
    gap: 24px;
  }

  .footer-brand-row {
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 44px), var(--container));
  }

  .site-header {
    inset: 14px 0 auto;
  }

  .brand-caption {
    display: none;
  }

  .hero {
    padding-top: 136px;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  h2 {
    font-size: 2.32rem;
  }

  .create-copy h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .platform-band {
    padding: 58px 0 42px;
  }

  .platform-grid {
    gap: 24px;
  }

  .center-title {
    margin-bottom: 46px;
  }

  .footer-links {
    gap: 18px;
  }

  .footer-brand-row {
    display: grid;
    justify-items: center;
  }
}
