:root {
  color-scheme: dark;
  --bg: #110718;
  --bg-2: #1d0a2b;
  --panel: rgba(28, 15, 43, 0.72);
  --panel-strong: rgba(36, 19, 55, 0.9);
  --text: #fff7ff;
  --muted: #c9b8d6;
  --pink: #ff4fd8;
  --cyan: #31e7ff;
  --violet: #9a6cff;
  --amber: #ffd166;
  --green: #7dffb2;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 79, 216, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(49, 231, 255, 0.18), transparent 26rem),
    linear-gradient(145deg, var(--bg), #08040e 48%, var(--bg-2));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.city-glow {
  position: fixed;
  inset: auto -8vw 0 -8vw;
  height: 34vh;
  background:
    linear-gradient(to top, rgba(255, 79, 216, 0.28), transparent),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,0.12) 22px 24px, transparent 24px 52px);
  filter: blur(1px);
  opacity: 0.65;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background: repeating-linear-gradient(to bottom, transparent 0 6px, #fff 7px 8px);
  mix-blend-mode: screen;
}

.shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 54px;
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  font-family: "Kosugi Maru", sans-serif;
  font-size: 24px;
  color: #16061f;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  box-shadow: 0 0 32px rgba(255, 79, 216, 0.4), inset 0 0 18px rgba(255,255,255,0.34);
}

.brand strong { display: block; font-weight: 900; letter-spacing: -0.04em; }
.brand small { display: block; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; }

.nav-pill {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.78fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 79, 216, 0.35);
  border-radius: 999px;
  background: rgba(255, 79, 216, 0.09);
  color: #ffd6f5;
  font-weight: 700;
  font-size: 13px;
}
.spark { color: var(--amber); text-shadow: 0 0 18px var(--amber); }

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.primary {
  color: #17081f;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow: 0 14px 44px rgba(49, 231, 255, 0.22), 0 14px 44px rgba(255, 79, 216, 0.16);
}
.ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.07);
}
.ghost:hover { border-color: rgba(49,231,255,0.55); box-shadow: 0 0 28px rgba(49,231,255,0.16); }

.scene-card {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.1), transparent 32%),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.18), transparent 10rem),
    linear-gradient(145deg, rgba(60,27,85,0.9), rgba(12,7,24,0.96));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.04);
}

.scene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-18deg) translateX(-130%);
  animation: sheen 7s infinite;
}
@keyframes sheen { 55%, 100% { transform: skewX(-18deg) translateX(150%); } }

.moon {
  position: absolute;
  top: 44px;
  right: 42px;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-family: "Kosugi Maru", sans-serif;
  font-size: 28px;
  color: #2b0a34;
  background: #ffe5a7;
  box-shadow: 0 0 54px rgba(255, 209, 102, 0.58);
}

.billboard {
  position: absolute;
  left: 36px;
  border: 2px solid currentColor;
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.05em;
  background: rgba(0,0,0,0.26);
  backdrop-filter: blur(10px);
}
.sign-1 { top: 68px; color: var(--pink); text-shadow: 0 0 18px var(--pink); box-shadow: 0 0 32px rgba(255,79,216,0.32); }
.sign-2 { top: 184px; left: auto; right: 48px; color: var(--cyan); text-shadow: 0 0 18px var(--cyan); box-shadow: 0 0 32px rgba(49,231,255,0.28); }

.chibi {
  position: absolute;
  left: 50%;
  bottom: 118px;
  width: 150px;
  height: 230px;
  transform: translateX(-50%);
}
.hair {
  position: absolute;
  inset: 0 10px 72px;
  border-radius: 58% 58% 44% 44%;
  background: linear-gradient(135deg, #302245, #13091f 58%, #563089);
  box-shadow: 0 0 40px rgba(154,108,255,0.3);
}
.face {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 46px;
  height: 94px;
  border-radius: 46% 46% 48% 48%;
  background: linear-gradient(#ffe0d9, #f7bdbd);
  box-shadow: inset 0 -12px 20px rgba(255,79,216,0.16);
}
.face span {
  position: absolute;
  top: 42px;
  width: 13px;
  height: 18px;
  border-radius: 999px;
  background: #201124;
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}
.face span:first-child { left: 25px; }
.face span:last-child { right: 25px; }
.body {
  position: absolute;
  left: 35px;
  right: 35px;
  bottom: 0;
  height: 105px;
  border-radius: 34px 34px 22px 22px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 18px 42px rgba(255,79,216,0.24);
}
.body::before {
  content: "★";
  position: absolute;
  inset: 20px 0 auto;
  text-align: center;
  color: var(--amber);
  text-shadow: 0 0 16px var(--amber);
}
.street {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(to top, #090512, rgba(9,5,18,0));
  perspective: 220px;
}
.street span {
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: 4px;
  height: 180px;
  border-radius: 999px;
  background: linear-gradient(var(--cyan), transparent);
  transform-origin: bottom;
  opacity: 0.58;
}
.street span:nth-child(1) { transform: translateX(-78px) rotate(18deg); }
.street span:nth-child(2) { transform: translateX(0); background: linear-gradient(var(--pink), transparent); }
.street span:nth-child(3) { transform: translateX(78px) rotate(-18deg); }

.apps { margin-top: 74px; }
.section-heading p {
  margin: 0 0 8px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
}
.section-heading h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.05em;
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,79,216,0.48);
  background: linear-gradient(135deg, rgba(255,79,216,0.16), rgba(49,231,255,0.08));
}
.app-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  font-family: "Kosugi Maru", sans-serif;
  font-size: 32px;
  color: #1b0924;
  background: linear-gradient(135deg, var(--amber), var(--pink));
  box-shadow: 0 0 34px rgba(255,209,102,0.22);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
}
.status i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}
.app-card h3 { margin: 0; font-size: 26px; letter-spacing: -0.03em; }
.app-card p { margin: 8px 0 0; max-width: 700px; color: var(--muted); line-height: 1.62; }
.app-arrow { color: var(--cyan); font-size: 28px; }

.note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.18);
}
.note span { display: block; color: var(--pink); font-size: 12px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.note strong { display: block; margin-top: 4px; }
.note p { margin: 0; color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .scene-card { min-height: 430px; }
  .note { flex-direction: column; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1120px); padding-top: 18px; }
  .nav { align-items: flex-start; flex-direction: column; margin-bottom: 38px; }
  .app-card { grid-template-columns: 1fr; }
  .app-arrow { display: none; }
  .scene-card { min-height: 390px; border-radius: 26px; }
  .sign-2 { right: 20px; }
  .billboard { left: 20px; }
  .moon { right: 22px; top: 26px; }
}
