@import url("../../css/style.css");

:root {
  --color-bg: #050806;
  --color-surface: #0d120f;
  --color-surface-hover: #141c16;
  --color-border: rgba(214, 255, 204, .14);
  --color-primary: #4cff22;
  --color-primary-hover: #7dff5f;
  --color-secondary: #d4ddd1;
  --color-muted: #879083;
  --radius-card: 16px;
  --radius-shot: 34px;
  --container: 1320px;
}

body {
  background:
    radial-gradient(circle at 78% 4%, rgba(76, 255, 34, .16), transparent 34rem),
    radial-gradient(circle at 15% 82%, rgba(72, 113, 255, .11), transparent 36rem),
    linear-gradient(180deg, #050806 0%, #071009 42%, #050806 100%);
}

.container {
  max-width: calc(var(--container) + 96px);
}

.header.is-scrolled,
.header.is-open {
  background: rgba(5, 8, 6, .72);
}

.header__nav .header__download,
.error-page__link {
  background: linear-gradient(135deg, #46f41e, #b9ff8b);
  color: #031005;
  box-shadow: 0 16px 42px rgba(76, 255, 34, .25);
}

.brand__mark {
  box-shadow: 0 18px 46px rgba(0, 0, 0, .34), 0 0 28px rgba(76, 255, 34, .22);
}

.hero--en {
  min-height: clamp(840px, 100svh, 1080px);
  padding-block: clamp(64px, 7vw, 104px);
  overflow: clip;
  background:
    linear-gradient(90deg, rgba(4, 6, 5, .99) 0%, rgba(4, 7, 5, .94) 38%, rgba(4, 8, 5, .40) 67%, rgba(4, 7, 5, .82) 100%),
    radial-gradient(circle at 83% 47%, rgba(87, 255, 38, .30), transparent 34rem),
    radial-gradient(circle at 62% 8%, rgba(180, 255, 156, .12), transparent 30rem),
    linear-gradient(180deg, #050806, #071009 70%, #040604);
}

.hero--en::before {
  inset: auto -16% 0 38%;
  height: 54%;
  background:
    linear-gradient(180deg, transparent 0 49%, rgba(145, 255, 112, .26) 49% 50%, rgba(255, 255, 255, .045) 50% 52%, transparent 52%),
    repeating-linear-gradient(90deg, rgba(145, 255, 112, .18) 0 1px, transparent 1px 30px);
  opacity: .86;
  transform: skewY(-8deg);
}

.hero--en::after {
  inset: -8% -14% auto 46%;
  width: min(76vw, 1180px);
  height: min(76vw, 1180px);
  background: radial-gradient(circle at 50% 48%, rgba(93, 255, 46, .42), rgba(76, 255, 34, .14) 38%, transparent 70%);
  filter: blur(44px);
}

.hero__background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(125, 255, 95, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 255, 95, .075) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0 44%, rgba(130, 255, 96, .15) 44.2% 44.6%, transparent 44.8% 100%);
  background-size: 50px 50px, 50px 50px, 100% 100%;
  mask-image: radial-gradient(circle at 76% 44%, #000 0 36%, transparent 72%);
  opacity: .95;
}

.hero__inner--en {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(18px, 3vw, 64px);
  align-items: center;
}

.hero--en .eyebrow,
.feature__number,
.trader-card svg,
.hero h1 span,
.download-cta h2 span {
  color: var(--color-primary-hover);
}

.hero--en h1 {
  max-width: 820px;
  font-size: clamp(4.35rem, 7vw, 8rem);
  line-height: .88;
  letter-spacing: 0;
}

.hero--en h1 .hero__line {
  white-space: normal;
}

.hero--en .hero__lead {
  max-width: 560px;
  color: #e0e8dd;
  font-size: clamp(1.16rem, 1.62vw, 1.32rem);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding-inline: 14px;
  border: 1px solid rgba(201, 255, 185, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: #e9f3e6;
  font-size: 13px;
  font-weight: 800;
}

.hero__cta-panel {
  width: fit-content;
  margin-top: 34px;
  padding: 14px;
  border: 1px solid rgba(210, 255, 198, .14);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
}

.hero__cta-kicker {
  margin: 0 0 10px;
  color: #c8ffc0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.store-actions--text {
  gap: 12px;
}

.store-button {
  width: auto;
  min-width: 198px;
  min-height: 66px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 36%),
    linear-gradient(180deg, #151715, #030403);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.store-button:hover {
  border-color: rgba(119, 255, 82, .52);
  box-shadow: 0 22px 56px rgba(0, 0, 0, .44), 0 0 28px rgba(76, 255, 34, .18), inset 0 1px 0 rgba(255, 255, 255, .2);
  transform: translateY(-2px);
}

.store-button strong {
  font-size: 21px;
}

.store-button small {
  color: #e8ece7;
}

.hero__visual--en {
  position: relative;
  height: clamp(690px, 82svh, 880px);
  min-height: 0;
  display: grid;
  place-items: center end;
  perspective: 1800px;
  isolation: isolate;
}

.hero-market-panel {
  --c-up: #5dff2e;
  --c-down: #ff9f1a;
  position: absolute;
  right: min(23vw, 320px);
  bottom: 7%;
  z-index: 0;
  width: min(42vw, 520px);
  min-width: 360px;
  padding: 18px;
  border: 1px solid rgba(142, 255, 112, .16);
  border-radius: 24px;
  background:
    linear-gradient(rgba(126, 255, 95, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 255, 95, .06) 1px, transparent 1px),
    linear-gradient(145deg, rgba(6, 14, 8, .74), rgba(3, 7, 5, .38));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 90px rgba(0, 0, 0, .26);
  opacity: .72;
  transform: rotateX(54deg) rotateZ(-7deg) translateY(34px);
}

.hero-market-panel__top,
.hero-market-panel__metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(235, 255, 229, .72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-market-panel__chart {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 18px;
  height: 160px;
  margin-block: 16px;
  padding-inline: 8px;
}

.hero-market-panel__chart span {
  position: relative;
  display: block;
  height: var(--h);
  margin-top: var(--y);
  border-radius: 999px;
  background: var(--c);
  box-shadow: 0 0 22px rgba(94, 255, 46, .24);
}

.hero-market-panel__chart span::before {
  position: absolute;
  inset: -18px 50%;
  width: 1px;
  content: "";
  background: rgba(145, 255, 112, .38);
  transform: translateX(-50%);
}

.hero-market-panel__metric strong {
  color: #62ff2e;
  font-size: 26px;
  letter-spacing: 0;
}

.hero-phone-stage {
  position: relative;
  z-index: 1;
  width: min(86vw, 1140px);
  min-width: 780px;
  transform: translateX(34%) translateY(1%) rotateX(2deg) rotateY(-10deg);
  transform-style: preserve-3d;
}

.hero-phone-stage::before {
  position: absolute;
  inset: 18% 8% 8% 12%;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 255, 63, .28), transparent 68%);
  filter: blur(36px);
  transform: translateZ(-80px);
}

.hero__device--premium {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  filter:
    drop-shadow(0 54px 84px rgba(0, 0, 0, .55))
    drop-shadow(0 18px 38px rgba(0, 0, 0, .34))
    drop-shadow(0 0 64px rgba(76, 255, 34, .22));
  transform: translateY(-1%);
}

.feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, .006), rgba(255, 255, 255, 0));
}

.feature__inner {
  gap: clamp(40px, 7vw, 112px);
}

.feature__content {
  max-width: 560px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.feature__number {
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.feature__number::before {
  content: "Feature ";
}

.feature h2,
.section-heading h2 {
  font-size: clamp(2.25rem, 4.1vw, 4.05rem);
  line-height: 1.05;
}

.feature p:not(.feature__number) {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.8;
}

.feature__visual::before {
  inset: 7% 8% 5%;
  border-radius: 46px;
  background:
    radial-gradient(circle at 50% 18%, rgba(76, 255, 34, .18), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
}

.device-shot {
  position: relative;
  width: min(100%, 360px);
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)),
    rgba(5, 8, 6, .82);
  box-shadow: 0 34px 92px rgba(0, 0, 0, .42), 0 0 64px rgba(76, 255, 34, .13);
}

.device-shot--large {
  width: min(100%, 390px);
}

.device-shot img,
.screen-card img {
  width: 100%;
  aspect-ratio: 430 / 932;
  object-fit: cover;
  object-position: top;
  border-radius: 32px;
  background: #101214;
}

.recommend {
  padding-top: clamp(72px, 9vw, 128px);
}

.trader-card {
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 50% 0, rgba(76, 255, 34, .12), transparent 50%),
    linear-gradient(180deg, rgba(21, 28, 23, .88), rgba(7, 10, 8, .98));
}

.screens {
  padding-block: clamp(72px, 9vw, 128px);
}

.screens__grid--real {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  align-items: start;
}

.screen-card {
  padding: 10px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
    rgba(12, 16, 13, .78);
  box-shadow: 0 22px 68px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.screen-card img {
  border-radius: 20px;
}

.screen-card figcaption {
  color: #edf5ea;
  font-size: 14px;
  letter-spacing: .02em;
}

.article-section__inner,
.download-cta__inner {
  border-radius: 24px;
}

.article-section__inner {
  background:
    radial-gradient(circle at 88% 8%, rgba(76, 255, 34, .17), transparent 26rem),
    linear-gradient(180deg, rgba(18, 24, 19, .78), rgba(7, 10, 8, .36));
}

.download-cta__inner {
  background:
    radial-gradient(circle at 78% 22%, rgba(76, 255, 34, .25), transparent 30rem),
    radial-gradient(circle at 8% 86%, rgba(72, 113, 255, .12), transparent 22rem),
    linear-gradient(180deg, rgba(18, 24, 19, .94), rgba(5, 8, 6, .98));
}

@media (max-width: 1279px) {
  .hero__inner--en {
    grid-template-columns: 1fr;
  }

  .hero__visual--en {
    height: clamp(610px, 72vw, 790px);
    place-items: center;
  }

  .hero-market-panel {
    right: 50%;
    bottom: 5%;
    width: min(70vw, 560px);
    min-width: 0;
    transform: translateX(50%) rotateX(54deg) rotateZ(-7deg) translateY(22px);
  }

  .hero-phone-stage {
    width: min(122vw, 940px);
    min-width: 0;
    transform: translateX(18%) rotateX(2deg) rotateY(-8deg);
  }

  .screens__grid--real {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) and (max-width: 1279px) {
  .hero__inner--en {
    grid-template-columns: .92fr 1.08fr;
  }

  .hero--en h1 {
    font-size: clamp(2.9rem, 4.8vw, 4.1rem);
  }

  .hero-phone-stage {
    width: min(78vw, 880px);
    transform: translateX(28%) rotateX(2deg) rotateY(-9deg);
  }
}

@media (max-width: 767px) {
  .hero--en {
    min-height: 960px;
    padding-top: 92px;
    padding-bottom: 0;
  }

  .hero__inner--en {
    display: block;
    min-height: 790px;
  }

  .hero__content {
    position: relative;
    z-index: 2;
  }

  .hero--en h1 {
    font-size: clamp(2.86rem, 12.6vw, 4.25rem);
  }

  .hero__cta-panel {
    width: 100%;
    padding: 12px;
  }

  .store-actions--text {
    width: 100%;
  }

  .store-button {
    min-width: min(100%, 214px);
  }

  .hero--en .availability {
    display: none;
  }

  .hero__proof {
    gap: 8px;
  }

  .hero__visual--en {
    position: absolute;
    right: -328px;
    bottom: 30px;
    z-index: 1;
    width: 710px;
    height: 510px;
    margin: 0;
    place-items: center;
  }

  .hero-phone-stage {
    width: 710px;
    transform: rotateX(2deg) rotateY(-7deg);
  }

  .hero-market-panel {
    right: 280px;
    bottom: 22px;
    width: 430px;
    padding: 14px;
    opacity: .42;
    transform: rotateX(54deg) rotateZ(-7deg) translateY(14px);
  }

  .hero-market-panel__chart {
    height: 104px;
    gap: 10px;
  }

  .hero-market-panel__metric strong {
    font-size: 21px;
  }

  .feature__content {
    max-width: calc(100vw - 48px);
  }

  .device-shot,
  .device-shot--large {
    width: min(100%, 320px);
  }

  .screens__grid--real {
    grid-template-columns: 1fr;
  }

  .screen-card {
    width: min(100%, 330px);
    justify-self: center;
  }
}
