* {
  box-sizing: border-box;
}

:root {
  --bg-a: #6259ee;
  --bg-b: #3f8df8;
  --bg-c: #38c8e8;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --phone: #121820;
  --paper: #ffffff;
  --line: #e9edf5;
  --text: #111827;
  --subtle: #7b8492;
  --green: #28c7a9;
  --violet: #6263ed;
  --blue: #30bff0;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: var(--bg-a);
}

body {
  min-width: 320px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 42px 24px;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 18% 24%,
      rgba(255, 255, 255, 0.18),
      transparent 23%
    ),
    radial-gradient(
      circle at 80% 18%,
      rgba(255, 255, 255, 0.1),
      transparent 22%
    ),
    linear-gradient(135deg, var(--bg-a) 0%, var(--bg-b) 56%, var(--bg-c) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(
      circle at 12% 22%,
      rgba(255, 255, 255, 0.45) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(255, 255, 255, 0.36) 0 3px,
      transparent 4px
    ),
    radial-gradient(
      circle at 67% 62%,
      rgba(255, 255, 255, 0.28) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 90% 76%,
      rgba(255, 255, 255, 0.3) 0 3px,
      transparent 4px
    ),
    radial-gradient(
      circle at 32% 82%,
      rgba(255, 255, 255, 0.28) 0 2px,
      transparent 3px
    );
  background-size: 280px 240px;
  pointer-events: none;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
  pointer-events: none;
}

.ambient--one {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -70px;
}

.ambient--two {
  width: 180px;
  height: 180px;
  right: 8%;
  top: -55px;
}

.ambient--three {
  width: 110px;
  height: 110px;
  right: 33%;
  bottom: 8%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  align-items: center;
  gap: clamp(58px, 9vw, 130px);
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 300px;
  height: 610px;
  padding: 18px 14px 22px;
  border-radius: 45px;
  background: linear-gradient(160deg, #283340, #0e141b 72%);
  box-shadow:
    0 34px 70px rgba(19, 31, 63, 0.32),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    inset 0 0 0 6px rgba(0, 0, 0, 0.14);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.phone__speaker {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 6px;
  margin-top: 3px;
  border-radius: 99px;
  background: #090d12;
}

.phone__speaker::before {
  content: "";
  position: absolute;
  left: -20px;
  top: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0a0f14;
  box-shadow: inset 0 0 0 2px #1a2430;
}

.phone__screen {
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: var(--paper);
  color: var(--text);
}

.statusbar {
  height: 34px;
  padding: 11px 17px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  font-size: 10px;
  font-weight: 700;
  color: #48515d;
  background: #f6f7f9;
}

.statusbar__right {
  justify-self: end;
  letter-spacing: 0.02em;
}

.app {
  position: relative;
  height: calc(100% - 34px);
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(76, 191, 240, 0.12),
      transparent 32%
    ),
    linear-gradient(#fff, #fff);
}

.app__brand {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.04em;
  color: var(--violet);
}

.app__brand span {
  color: #37bee9;
}

.app h2 {
  max-width: 220px;
  margin: 28px auto 14px;
  font-size: 20px;
  line-height: 1.22;
  text-align: center;
  letter-spacing: -0.03em;
}

.app > p {
  margin: 0 auto;
  max-width: 235px;
  color: var(--subtle);
  font-size: 12.5px;
  line-height: 1.55;
  text-align: center;
}

.market-card {
  margin-top: 24px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #eef0f5;
  box-shadow: 0 18px 38px rgba(73, 101, 150, 0.12);
}

.market-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chip {
  padding: 8px 10px;
  border: 1px solid #e7eaf0;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  background: #fff;
}

.chip--green {
  color: #18ad90;
  background: #e9fbf6;
  border-color: #d6f4eb;
}

.chart-card {
  margin-top: 15px;
  border: 1px solid #e8ebf1;
  border-radius: 14px;
  padding: 14px 12px 12px;
}

.chart-card__label {
  color: #7b8492;
  font-size: 9px;
}

.chart {
  height: 98px;
  margin-top: 14px;
  display: flex;
  align-items: end;
  gap: 7px;
  padding: 0 4px;
}

.chart i {
  flex: 1;
  height: var(--h);
  min-width: 8px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, #35c8ea, #6363ef);
  box-shadow: 0 5px 12px rgba(84, 101, 240, 0.16);
}

.swipe {
  margin-top: auto;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #68707c;
  font-size: 10px;
}

.swipe__button {
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 10px 18px rgba(76, 102, 238, 0.3);
}

.phone__home {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 34px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.intro {
  max-width: 650px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.72);
}

.intro h1 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.intro h1 strong {
  font-weight: 800;
}

.intro__copy {
  max-width: 610px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.65;
}

.download {
  margin-top: 42px;
}

.download__label {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.store-button {
  min-width: 176px;
  height: 58px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 26px rgba(15, 25, 61, 0.16);
}

.store-button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  flex: 0 0 auto;
}

.store-button span {
  display: grid;
  text-align: left;
  line-height: 1.02;
}

.store-button small {
  font-size: 9px;
  letter-spacing: 0.02em;
  opacity: 0.82;
}

.store-button b {
  margin-top: 3px;
  font-size: 17px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero {
    padding-block: 34px 42px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .phone {
    width: 252px;
    height: 512px;
    border-radius: 39px;
    padding: 15px 12px 18px;
  }

  .phone__screen {
    border-radius: 28px;
  }

  .statusbar {
    height: 28px;
    padding-top: 8px;
  }

  .app {
    height: calc(100% - 28px);
    padding: 20px 16px 16px;
  }

  .app__brand {
    font-size: 23px;
  }

  .app h2 {
    margin-top: 20px;
    font-size: 17px;
  }

  .app > p {
    font-size: 10.5px;
  }

  .market-card {
    margin-top: 18px;
    padding: 13px;
  }

  .chart {
    height: 70px;
  }

  .swipe {
    gap: 9px;
  }

  .swipe__button {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .intro {
    margin-inline: auto;
  }

  .intro h1 {
    font-size: clamp(38px, 9vw, 56px);
  }

  .intro__copy {
    max-width: 560px;
  }

  .download {
    margin-top: 30px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 100svh;
    padding: 28px 18px 34px;
  }

  .hero__inner {
    gap: 28px;
  }

  .phone-wrap {
    order: 2;
  }

  .intro {
    order: 1;
  }

  .eyebrow {
    margin-bottom: 11px;
    font-size: 10px;
  }

  .intro h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .intro__copy {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .download {
    margin-top: 24px;
  }

  .download__label {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .store-buttons {
    gap: 10px;
  }

  .store-button {
    min-width: 0;
    width: calc(50% - 5px);
    max-width: 190px;
    height: 52px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .store-button svg {
    width: 21px;
    height: 21px;
  }

  .store-button small {
    font-size: 8px;
  }

  .store-button b {
    font-size: 14px;
  }

  .phone {
    width: min(235px, 68vw);
    height: auto;
    /* aspect-ratio: 300 / 610; */
  }

  .market-card {
    margin-top: 15px;
  }

  .chart-card {
    margin-top: 10px;
  }

  .chart {
    height: 58px;
    gap: 5px;
  }

  .swipe {
    margin-top: 14px;
  }
}

@media (max-width: 380px) {
  .store-button {
    width: 100%;
    max-width: 220px;
  }
}

.swipe__button {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding-top: 7px;
}
