:root {
  --bg: #05070b;
  --panel: rgba(17, 21, 29, 0.82);
  --panel-2: rgba(13, 17, 24, 0.92);
  --line: rgba(255, 255, 255, 0.10);
  --text: #f6f7fa;
  --muted: #b9c2d2;
  --soft: #8c96a7;
  --pink: #ff4d9e;
  --orange: #ff9870;
  --violet: #b455ff;
  --green: #27e985;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 56% 43%, rgba(111, 68, 255, 0.10), transparent 26%),
    radial-gradient(circle at 47% 65%, rgba(255, 61, 141, 0.08), transparent 30%),
    #05070b;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Segoe UI, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 0 28px 24px;
}

.ambient {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  filter: blur(95px);
  opacity: .14;
  pointer-events: none;
}
.ambient-one { background: #6d39ff; right: 27%; top: 18%; }
.ambient-two { background: #ff5c9d; left: 44%; top: 48%; width: 320px; height: 320px; opacity: .09; }

.site-header,
.hero,
.flow-card,
.site-footer {
  width: min(1450px, 100%);
  margin-inline: auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.brand-icon {
  width: 49px;
  height: 49px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-name {
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 720;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.ticker {
  color: #b6c0d4;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 500;
  letter-spacing: .01em;
  margin-left: 6px;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.icon-button,
.connect-button {
  height: 50px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.13);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.icon-button {
  width: 82px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(25,30,41,.96), rgba(13,17,24,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.icon-button svg,
.icon-button img {
  width: 30px;
  height: 30px;
  display: block;
  flex: 0 0 30px;
  object-fit: contain;
  background: transparent;
}
.icon-button svg { fill: #f9fafc; }
.connect-button {
  min-width: 154px;
  padding: 0 26px;
  color: #05070b;
  background: #fff;
  border-color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(255,255,255,.08);
}
.icon-button:hover,
.connect-button:hover { transform: translateY(-2px); }
.icon-button:hover { border-color: rgba(255,255,255,.25); background: rgba(29,35,48,.96); }
.connect-button:hover { box-shadow: 0 14px 34px rgba(255,255,255,.12); }

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr);
  gap: clamp(20px, 3vw, 64px);
  align-items: center;
  min-height: 585px;
  padding: 22px 36px 8px;
}

.hero-copy { position: relative; z-index: 4; padding-bottom: 18px; }
.eyebrow {
  color: #a8b8d5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .30em;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 5.5vw, 84px);
  line-height: .93;
  letter-spacing: -.058em;
  font-weight: 820;
  max-width: 730px;
}
h1 > span { display: block; }
.gradient-text {
  margin-top: 12px;
  background: linear-gradient(100deg, #ff5a9f 0%, #ff8178 30%, #ff9a70 48%, #d76bff 79%, #ac52ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-description {
  margin: 24px 0 25px;
  color: #bdc6d5;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.35;
  font-weight: 450;
}
.hero-cta-row { display: flex; align-items: center; gap: 15px; }
.primary-cta {
  min-height: 60px;
  min-width: 310px;
  padding: 0 22px;
  border-radius: 18px;
  color: #080a0f;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 18px;
  font-weight: 760;
  box-shadow: 0 13px 38px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 45px rgba(0,0,0,.36); }
.primary-cta .rocket {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #0c1118;
  color: #fff;
  font-size: 18px;
}
.primary-cta .arrow { margin-left: auto; font-size: 27px; font-weight: 400; }

.stats {
  margin-top: 34px;
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 640px;
}
.stat {
  padding: 0 42px;
  border-left: 1px solid rgba(255,255,255,.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat strong { font-size: 29px; letter-spacing: -.03em; line-height: 1.05; }
.stat span { margin-top: 9px; color: #a8b8d5; font-size: 12px; font-weight: 700; letter-spacing: .16em; white-space: nowrap; }

.hero-visual {
  position: relative;
  min-height: 560px;
  height: 100%;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 17% 4% 7% 0;
  background: radial-gradient(circle at 44% 42%, rgba(125, 72, 255, .16), rgba(255, 96, 148, .06) 38%, transparent 69%);
  filter: blur(10px);
}

.phone {
  position: absolute;
  width: 310px;
  aspect-ratio: 0.52;
  border: 2px solid rgba(222,228,239,.48);
  border-radius: 52px;
  padding: 8px;
  background: linear-gradient(145deg, #222733, #07090e 44%, #131621 70%, #020306);
  box-shadow: 0 40px 70px rgba(0,0,0,.57), inset 0 0 0 1px rgba(255,255,255,.18);
  transform-origin: center center;
}
.phone::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 48px;
  pointer-events: none;
  box-shadow: inset 1px 0 0 rgba(255,108,161,.28), inset -1px 0 0 rgba(105,79,255,.30);
}
.phone-left {
  left: 11%;
  top: 2%;
  z-index: 3;
  transform: rotate(8deg);
}
.phone-right {
  right: 2%;
  top: 13%;
  z-index: 2;
  transform: rotate(-2deg);
}
.speaker {
  position: absolute;
  z-index: 6;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 18px;
  background: #020306;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.05);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  background: linear-gradient(160deg, #070a11, #111522 48%, #06070c 100%);
}
.phone-status {
  position: relative;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  padding: 20px 23px 0;
  font-size: 11px;
  font-weight: 700;
  color: #f2f4f8;
}
.phone-status span:last-child { letter-spacing: 2px; font-size: 8px; opacity: .88; }
.launch-app { position: relative; z-index: 5; text-align: center; padding: 42px 25px 0; }
.phone-fruit { width: 66px; height: 66px; object-fit: contain; }
.phone-brand { margin-top: 2px; font-size: 26px; font-weight: 780; font-style: italic; letter-spacing: -.04em; }
.phone-ticker { color: #adbad4; font-size: 13px; margin-top: 2px; }
.phone-tagline { margin-top: 44px; font-size: 33px; line-height: 1.07; font-weight: 780; font-style: italic; letter-spacing: -.05em; }
.phone-subcopy { color: #aeb8c9; margin-top: 20px; font-size: 13px; line-height: 1.35; font-style: italic; }
.phone-launch-pill {
  margin: 21px auto 0;
  width: 200px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #080a0f;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,.30);
}
.fruit-crop {
  position: absolute;
  z-index: 2;
  bottom: -85px;
  left: 50%;
  transform: translateX(-50%);
  width: 330px;
  max-width: none;
}

.payout-card { padding: 82px 22px 0; text-align: center; }
.apple-pay { font-size: 31px; font-weight: 660; letter-spacing: -.03em; }
.apple-mark { font-size: 34px; margin-right: 2px; }
.check-ring {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin: 30px auto 19px;
  border: 3px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(39,233,133,.10);
}
.payment-label { font-size: 14px; line-height: 1.25; }
.payment-label small { color: #d2d7df; font-size: 12px; }
.payment-amount { font-size: 30px; margin-top: 16px; letter-spacing: -.03em; }
.payment-toast {
  margin-top: 28px;
  min-height: 76px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(29,34,44,.95), rgba(17,20,27,.95));
  border: 1px solid rgba(255,255,255,.055);
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  text-align: left;
  padding: 0 13px;
  box-shadow: 0 13px 30px rgba(0,0,0,.28);
}
.bolt { color: #7dff4a; font-size: 34px; text-shadow: 0 0 15px rgba(125,255,74,.30); }
.payment-toast strong { display: block; font-size: 13px; }
.payment-toast small { display: block; color: #8e98a9; margin-top: 4px; font-size: 10px; }
.just-now { color: #838d9d; font-size: 9px; align-self: end; margin-bottom: 18px; }

.flow-card {
  position: relative;
  z-index: 6;
  margin-top: -1px;
  border-radius: 31px;
  background: linear-gradient(180deg, rgba(18,22,30,.97), rgba(7,9,14,.97));
  border: 1px solid rgba(255,255,255,.10);
  padding: 23px 34px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.025);
  display: grid;
  grid-template-columns: 1fr 46px 1fr 46px 1fr;
  align-items: center;
  gap: 18px;
}
.flow-step {
  min-height: 160px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 18px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(22,27,37,.76), rgba(12,15,21,.72));
}
.flow-step h2 { margin: 0 0 12px; font-size: 16px; }
.flow-step p { margin: 0 0 12px; color: #c1cad8; font-size: 14px; line-height: 1.4; }
.flow-step strong, .flow-step small { display: block; }
.flow-step strong { font-size: 14px; margin-bottom: 4px; }
.flow-step small { color: #9aa5b8; font-size: 12px; }
.step-icon {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.06);
  font-size: 42px;
}
.pump-icon { color: #fff; background: linear-gradient(150deg, rgba(28,36,50,.94), rgba(14,18,25,.94)); }
.fruit-step-icon img { width: 64px; height: 64px; object-fit: contain; }
.apple-step-icon { font-size: 58px; }
.featured-step {
  background: linear-gradient(145deg, rgba(45,30,47,.80), rgba(30,22,43,.78));
  border-color: rgba(255,79,183,.66);
  box-shadow: inset 0 0 0 1px rgba(123,70,255,.20), 0 0 42px rgba(135,59,255,.05);
}
.flow-arrow { color: #ba72ff; font-size: 40px; text-align: center; font-weight: 280; }

.site-footer {
  position: relative;
  z-index: 2;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #687385;
  font-size: 12px;
  gap: 18px;
  padding-inline: 8px;
}

.wallet-modal[hidden] { display: none; }
.wallet-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.wallet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.70); backdrop-filter: blur(12px); }
.wallet-dialog {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(165deg, rgba(24,28,38,.98), rgba(8,10,15,.98));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 35px 90px rgba(0,0,0,.55);
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #8d98aa;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.modal-fruit { width: 82px; height: 82px; object-fit: contain; }
.wallet-dialog h2 { margin: 8px 0 8px; font-size: 27px; letter-spacing: -.03em; }
.wallet-dialog p { margin: 0 0 22px; color: #9eabba; line-height: 1.45; }
.wallet-option {
  width: 100%;
  min-height: 52px;
  margin-top: 11px;
  border-radius: 15px;
  border: 0;
  background: #fff;
  color: #05070b;
  font-weight: 760;
  cursor: pointer;
}
.wallet-option.secondary { background: rgba(255,255,255,.07); color: #fff; border: 1px solid rgba(255,255,255,.10); }

@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(440px, .9fr); padding-inline: 18px; }
  h1 { font-size: clamp(50px, 6.6vw, 70px); }
  .phone { width: 275px; }
  .phone-left { left: 3%; }
  .phone-right { right: -6%; }
  .flow-card { padding: 22px; gap: 10px; grid-template-columns: 1fr 30px 1fr 30px 1fr; }
  .flow-step { padding: 18px 13px; gap: 14px; }
  .step-icon { flex-basis: 67px; width: 67px; height: 67px; }
}

@media (max-width: 900px) {
  .page-shell { padding-inline: 18px; }
  .site-header { min-height: 78px; }
  .brand-icon { width: 42px; height: 42px; }
  .brand-name { font-size: 25px; }
  .ticker { font-size: 15px; }
  .icon-button { width: 52px; height: 46px; }
  .icon-button svg,
  .icon-button img { width: 26px; height: 26px; flex-basis: 26px; }
  .connect-button { min-width: 108px; height: 46px; padding-inline: 18px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 36px 4px 0;
    min-height: auto;
  }
  .hero-copy { text-align: center; }
  .eyebrow { font-size: 11px; letter-spacing: .23em; }
  h1 { margin-inline: auto; font-size: clamp(48px, 10vw, 76px); }
  .hero-description { font-size: 18px; }
  .hero-cta-row { justify-content: center; }
  .stats { margin-inline: auto; justify-content: center; }
  .stat { padding-inline: 28px; }
  .hero-visual { min-height: 565px; margin-top: 5px; }
  .phone { width: 280px; }
  .phone-left { left: calc(50% - 260px); }
  .phone-right { right: calc(50% - 260px); }

  .flow-card {
    margin-top: -10px;
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 18px;
  }
  .flow-step { min-height: 135px; }
  .flow-arrow { transform: rotate(90deg); line-height: .5; }
  .site-footer { flex-direction: column; justify-content: center; text-align: center; padding-block: 22px; }
}

@media (max-width: 620px) {
  .page-shell { padding-inline: 13px; }
  .site-header { min-height: 70px; gap: 10px; }
  .brand { gap: 8px; }
  .brand-icon { width: 36px; height: 36px; }
  .brand-name { font-size: 21px; }
  .ticker { display: none; }
  .header-actions { gap: 7px; }
  .icon-button { width: 43px; height: 43px; border-radius: 22px; }
  .icon-button svg,
  .icon-button img { width: 24px; height: 24px; flex-basis: 24px; }
  .connect-button { min-width: 84px; height: 43px; padding-inline: 14px; font-size: 14px; }

  .hero { padding-top: 34px; }
  .eyebrow { font-size: 9px; margin-bottom: 16px; }
  h1 { font-size: clamp(43px, 12.3vw, 58px); line-height: .94; }
  .gradient-text { margin-top: 9px; }
  .hero-description { margin: 20px auto 22px; max-width: 430px; font-size: 16px; }
  .desktop-only { display: none; }
  .primary-cta { width: min(100%, 360px); min-width: 0; min-height: 56px; font-size: 16px; }
  .stats { width: 100%; margin-top: 28px; }
  .stat { flex: 1; padding-inline: 9px; }
  .stat strong { font-size: 23px; }
  .stat span { font-size: 9px; letter-spacing: .10em; white-space: normal; }

  .hero-visual { min-height: 455px; width: 100%; overflow: visible; }
  .phone { width: 218px; border-radius: 39px; padding: 6px; }
  .phone-left { left: calc(50% - 197px); top: 18px; transform: rotate(7deg); }
  .phone-right { right: calc(50% - 197px); top: 70px; }
  .phone-screen { border-radius: 34px; }
  .speaker { width: 69px; height: 20px; top: 11px; }
  .phone-status { padding: 16px 17px 0; font-size: 8px; }
  .launch-app { padding: 32px 15px 0; }
  .phone-fruit { width: 49px; height: 49px; }
  .phone-brand { font-size: 19px; }
  .phone-ticker { font-size: 10px; }
  .phone-tagline { margin-top: 27px; font-size: 24px; }
  .phone-subcopy { margin-top: 13px; font-size: 10px; }
  .phone-launch-pill { width: 152px; height: 36px; margin-top: 15px; font-size: 10px; }
  .fruit-crop { width: 248px; bottom: -61px; }
  .payout-card { padding: 60px 15px 0; }
  .apple-pay { font-size: 23px; }
  .apple-mark { font-size: 26px; }
  .check-ring { width: 43px; height: 43px; margin: 21px auto 14px; font-size: 20px; }
  .payment-label { font-size: 10px; }
  .payment-label small { font-size: 9px; }
  .payment-amount { font-size: 21px; margin-top: 12px; }
  .payment-toast { margin-top: 19px; min-height: 57px; grid-template-columns: 27px 1fr auto; padding-inline: 9px; }
  .bolt { font-size: 26px; }
  .payment-toast strong { font-size: 9px; }
  .payment-toast small { font-size: 7px; margin-top: 3px; }
  .just-now { font-size: 6px; margin-bottom: 13px; }

  .flow-card { border-radius: 24px; margin-top: -5px; }
  .flow-step { min-height: 124px; border-radius: 20px; }
  .step-icon { flex-basis: 60px; width: 60px; height: 60px; border-radius: 14px; font-size: 33px; }
  .fruit-step-icon img { width: 48px; height: 48px; }
  .apple-step-icon { font-size: 44px; }
  .flow-step h2 { font-size: 15px; }
  .flow-step p { font-size: 12px; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 19px; }
  .connect-button { min-width: 76px; padding-inline: 10px; }
  .hero-visual { min-height: 425px; }
  .phone { width: 200px; }
  .phone-left { left: calc(50% - 183px); }
  .phone-right { right: calc(50% - 183px); }
}

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