:root {
  --bg: #05030a;
  --ink: #fff7fb;
  --muted: #c4aed6;
  --pink: #f472b6;
  --pink2: #f9a8d4;
  --violet: #a855f7;
  --line: rgba(244, 114, 182, 0.28);
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  overflow-x: hidden;
  position: relative;
}

/* —— Atmosphere —— */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(168, 85, 247, 0.2), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(244, 114, 182, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 35% at 10% 70%, rgba(52, 211, 153, 0.06), transparent 50%),
    linear-gradient(180deg, #08050f 0%, #05030a 45%, #0a0614 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite;
}

.orb-a {
  width: 420px;
  height: 420px;
  left: -80px;
  top: -60px;
  background: rgba(168, 85, 247, 0.45);
}

.orb-b {
  width: 380px;
  height: 380px;
  right: -40px;
  top: 18%;
  background: rgba(244, 114, 182, 0.38);
  animation-delay: -4s;
}

.orb-c {
  width: 280px;
  height: 280px;
  left: 35%;
  bottom: 8%;
  background: rgba(192, 132, 252, 0.22);
  animation-delay: -8s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.page {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 32px 28px 64px;
}

/* —— Hero —— */
.hero {
  min-height: calc(100dvh - 64px);
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 480px;
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0;
  font-size: clamp(64px, 12vw, 104px);
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 0.88;
  background: linear-gradient(115deg, #ffffff 0%, #fce7f3 35%, #f9a8d4 58%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(244, 114, 182, 0.25));
}

h1 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
}

.lead {
  margin: 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 10px;
}

.cta-previews {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-previews .dot {
  color: rgba(237, 216, 247, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 18px;
  padding: 16px 26px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: #1a0614;
  background: linear-gradient(135deg, #fbcfe8 0%, #f472b6 42%, #c084fc 100%);
  box-shadow:
    0 18px 48px rgba(168, 85, 247, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 56px rgba(168, 85, 247, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.link {
  color: #edd8f7;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(237, 216, 247, 0.45);
  padding-bottom: 2px;
  transition: color 140ms ease, border-color 140ms ease;
}

.link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

/* —— Phone stage —— */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(720px, 82dvh);
  animation: floatIn 950ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.phone-glow {
  position: absolute;
  width: min(460px, 90%);
  height: min(620px, 90%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(244, 114, 182, 0.35) 0%, rgba(168, 85, 247, 0.18) 40%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
  animation: pulseGlow 5s ease-in-out infinite;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(360px, 86vw);
  padding: 0 18px 18px;
  border-radius: 40px;
  background:
    radial-gradient(320px 220px at 50% -5%, rgba(244, 114, 182, 0.32), transparent 55%),
    linear-gradient(165deg, #1a0d2e 0%, #0c0616 48%, #12081f 100%);
  border: 1px solid rgba(244, 114, 182, 0.38);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 100px rgba(168, 85, 247, 0.18);
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}

.phone-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 28%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.phone-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 44px;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.phone-bar span:last-child {
  text-align: right;
}

.notch {
  width: 88px;
  height: 22px;
  border-radius: 999px;
  background: #05030a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 6px 0 14px;
}

.phone-brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, #fff, #f9a8d4 45%, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.phone-tag {
  margin: 5px 0 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.phone-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--pink2);
  background: rgba(244, 114, 182, 0.14);
  border: 1px solid rgba(244, 114, 182, 0.32);
}

.phone-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  animation: ping 1.4s infinite;
}

.phone-balance {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 16px 12px 14px;
  margin-bottom: 12px;
  border-radius: 22px;
  background:
    radial-gradient(220px 90px at 50% 0%, rgba(244, 114, 182, 0.22), transparent 70%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.phone-balance > span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.phone-balance > strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.phone-card {
  position: relative;
  z-index: 1;
  padding: 14px;
  border-radius: 20px;
  background: rgba(32, 14, 54, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.phone-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.phone-q {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.phone-odds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.phone-odds > div {
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.phone-odds > div.on {
  border-color: rgba(251, 113, 133, 0.55);
  background: rgba(251, 113, 133, 0.14);
  box-shadow: 0 8px 22px rgba(244, 63, 94, 0.12);
}

.phone-odds span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 3px;
}

.phone-odds b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.phone-bar-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 8px;
}

.phone-bar-track i {
  display: block;
  width: 85%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f472b6, #a855f7);
  animation: fillBar 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.phone-lean {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.phone-lean b {
  color: #fff;
}

.phone-dock {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  text-align: center;
  padding: 14px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  color: #1a0614;
  background: linear-gradient(135deg, #fbcfe8, #f472b6 45%, #c084fc);
  box-shadow: 0 12px 28px rgba(168, 85, 247, 0.28);
}

/* —— How —— */
.how {
  margin-top: 20px;
  padding-top: 40px;
  border-top: 1px solid rgba(244, 114, 182, 0.14);
  animation: rise 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.how h2 {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.how ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.how li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 4px 0;
}

.how .n {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--pink2);
  padding-top: 2px;
}

.how strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.how p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.foot {
  margin: 40px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(196, 174, 214, 0.55);
}

/* —— Motion —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, -12px) scale(1.05);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 114, 182, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(244, 114, 182, 0);
  }
}

@keyframes fillBar {
  from {
    width: 0;
  }
  to {
    width: 85%;
  }
}

/* —— Responsive —— */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 36px;
    padding-top: 8px;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
    align-items: center;
  }

  .lead {
    max-width: 34ch;
  }

  .cta {
    justify-content: center;
  }

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

  .how ol {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 20px 16px 48px;
  }

  .btn {
    width: 100%;
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .link {
    text-align: center;
  }

  .phone {
    width: min(340px, 92vw);
    border-radius: 34px;
  }

  .brand {
    letter-spacing: 0.05em;
  }
}
