:root {
  color-scheme: dark;
  --bg: #080912;
  --ink: #fff7ec;
  --muted: rgba(255, 247, 236, 0.68);
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #32f1e4;
  --pink: #ff43d3;
  --lime: #d8ff4f;
  --violet: #8367ff;
  --glass: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(50, 241, 228, 0.2), transparent 28rem),
    radial-gradient(circle at 78% 8%, rgba(255, 67, 211, 0.18), transparent 25rem),
    radial-gradient(circle at 70% 70%, rgba(216, 255, 79, 0.12), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(8, 9, 18, 0.72);
  backdrop-filter: blur(22px);
}

.brand,
.mini-download,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

nav {
  gap: 8px;
}

nav a,
.mini-download {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  transition: 180ms ease;
}

nav a:hover,
.mini-download:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}

.mini-download {
  justify-content: center;
  color: #071014;
  background: var(--lime);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 34px;
  align-items: center;
  padding: 54px 0 72px;
}

.hello {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: clamp(28px, 5vw, 62px);
  font-weight: 950;
  line-height: 0.95;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(54px, 8.6vw, 126px);
  line-height: 0.82;
  font-weight: 950;
  text-transform: lowercase;
}

.lead {
  max-width: 620px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.22;
  font-weight: 650;
}

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

.download-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border-radius: 32px;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.download-button {
  flex-direction: column;
  align-items: flex-start;
  min-width: 232px;
  padding: 12px 24px;
  color: #071014;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 18px 44px rgba(50, 241, 228, 0.26);
}

.download-button span {
  font-size: 18px;
}

.download-button small {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(7, 16, 20, 0.7);
}

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

.ghost-button {
  padding: 0 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.pulse-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.pulse-row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 850;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.map-orbit {
  position: absolute;
  inset: 0;
  border-radius: 44px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 24% 28%, rgba(50, 241, 228, 0.22), transparent 14rem),
    radial-gradient(circle at 76% 64%, rgba(255, 67, 211, 0.18), transparent 15rem);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 30px 80px rgba(0, 0, 0, 0.34);
}

.map-orbit::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.09) 49%, transparent 50%),
    linear-gradient(transparent 48%, rgba(255, 255, 255, 0.08) 49%, transparent 50%);
  background-size: 62px 62px;
  transform: rotate(-12deg);
}

.map-orbit svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-orbit path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 12px rgba(50, 241, 228, 0.24));
}

.node {
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 12px rgba(50, 241, 228, 0.14), 0 0 34px var(--cyan);
  animation: pulse 2.5s ease-in-out infinite;
}

.node-a { left: 18%; top: 25%; }
.node-b { right: 16%; top: 32%; background: var(--pink); box-shadow: 0 0 0 12px rgba(255, 67, 211, 0.14), 0 0 34px var(--pink); animation-delay: 0.35s; }
.node-c { left: 32%; bottom: 18%; background: var(--lime); box-shadow: 0 0 0 12px rgba(216, 255, 79, 0.12), 0 0 34px var(--lime); animation-delay: 0.7s; }
.node-d { right: 28%; bottom: 26%; background: var(--violet); box-shadow: 0 0 0 12px rgba(131, 103, 255, 0.14), 0 0 34px var(--violet); animation-delay: 1s; }

.phone {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 38px;
  background: rgba(11, 12, 24, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(24px);
}

.phone-main {
  left: 11%;
  top: 62px;
  width: min(78%, 380px);
  padding: 16px;
  transform: rotate(-4deg);
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 14px;
  font-weight: 900;
}

.phone-header strong {
  min-width: 54px;
  padding: 8px 10px;
  border-radius: 18px;
  color: #071014;
  text-align: center;
  background: var(--lime);
}

.outfit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.fit {
  min-height: 112px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fit-big {
  grid-column: 1 / -1;
  min-height: 310px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.26), transparent 4rem),
    linear-gradient(145deg, rgba(50, 241, 228, 0.34), rgba(255, 67, 211, 0.2)),
    #161827;
}

.fit-cyan { background: linear-gradient(145deg, rgba(50, 241, 228, 0.44), rgba(255, 255, 255, 0.08)); }
.fit-pink { background: linear-gradient(145deg, rgba(255, 67, 211, 0.44), rgba(255, 255, 255, 0.08)); }
.fit-green { background: linear-gradient(145deg, rgba(216, 255, 79, 0.36), rgba(255, 255, 255, 0.08)); }

.phone-caption {
  margin-top: 12px;
  padding: 12px;
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.phone-mini {
  right: 8%;
  bottom: 86px;
  display: grid;
  gap: 12px;
  width: 190px;
  padding: 16px;
  transform: rotate(7deg);
}

.phone-mini img {
  width: 100%;
  border-radius: 28px;
}

.phone-mini span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 34px 0 76px;
}

.strip article,
.feature-card,
.download-zone {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(22px);
}

.strip article {
  min-height: 245px;
  padding: 24px;
}

.strip article span,
.feature-card span {
  color: var(--lime);
  font-size: 14px;
  font-weight: 950;
}

.strip h2,
.feed-section h2,
.download-zone h2 {
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.9;
  font-weight: 950;
  text-transform: lowercase;
}

.strip p,
.feature-card p,
.download-zone p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 620;
}

.feed-section {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 46px 0 92px;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-card {
  min-height: 150px;
  padding: 24px;
}

.feature-card.hot { background: linear-gradient(135deg, rgba(255, 67, 211, 0.18), rgba(255, 255, 255, 0.06)); }
.feature-card.saved { background: linear-gradient(135deg, rgba(50, 241, 228, 0.16), rgba(255, 255, 255, 0.06)); }
.feature-card.store { background: linear-gradient(135deg, rgba(216, 255, 79, 0.14), rgba(255, 255, 255, 0.06)); }

.download-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(50, 241, 228, 0.16), transparent 18rem),
    rgba(255, 255, 255, 0.08);
}

.download-button.big {
  min-width: 280px;
}

footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 0 16px 38px;
  color: rgba(255, 247, 236, 0.48);
  font-size: 13px;
  font-weight: 800;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.24); opacity: 0.72; }
}

@media (max-width: 880px) {
  .topbar {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  nav {
    display: none;
  }

  main {
    width: calc(100% - 20px);
  }

  .hero,
  .feed-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 26px;
    padding-top: 42px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(36px, 10.6vw, 42px);
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .hero-visual {
    min-height: 570px;
  }

  .phone-main {
    left: 6%;
    width: 82%;
  }

  .phone-mini {
    right: 4%;
    bottom: 56px;
    width: 156px;
  }

  .strip {
    grid-template-columns: 1fr;
    padding-bottom: 44px;
  }

  .strip article {
    min-height: 0;
  }

  .download-zone {
    align-items: stretch;
    flex-direction: column;
  }

  .download-button.big,
  .download-button {
    width: 100%;
    min-width: 0;
  }

  .ghost-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
