/* Hero */
:root {
  --container-padding: clamp(18px, 4vw, 48px);
}

.container {
  width: min(1180px, calc(100% - var(--container-padding) * 2));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  perspective: 1400px;
  padding: clamp(80px, 8vw, 120px) 0 clamp(40px, 4vw, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 630px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1rem, 1.05vw, 1.18rem);
  line-height: 1.72;
  font-weight: 520;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  min-height: 48px;
  padding: 0.9rem 1.15rem;
  text-align: center;
}

.market-device {
  position: relative;
  width: min(100%, 620px);
  min-height: clamp(460px, 52vw, 660px);
  perspective: 1300px;
}

.dashboard-motion {
  position: absolute;
  top: 74px;
  right: 0;
  width: clamp(360px, 44vw, 535px);
  height: clamp(360px, 43vw, 520px);
  will-change: transform;
}

.dashboard {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 16px;
  border-radius: 42px;
  background: #101010;
  transform: rotateY(-13deg) rotateX(7deg) rotateZ(2deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  color: #fff;
  padding: 21px;
  background:
    radial-gradient(circle at 18% 7%, rgba(255, 255, 255, 0.16), transparent 25%),
    radial-gradient(circle at 85% 75%, rgba(255, 122, 26, 0.17), transparent 30%),
    linear-gradient(135deg, #2d2d2d, #0d0d0d);
}

.screen-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(600px) rotateX(55deg) translateY(65px);
}

.screen-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.mini-badge {
  padding: 7px 10px;
  border-radius: 999px;
  color: #111;
  background: #fff;
  font-size: var(--text-xs);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.4px);
  opacity: 0.95;
  will-change: transform;
}

.orb.one {
  top: 20px;
  right: 40px;
  width: 142px;
  height: 142px;
  background: var(--blue);
}

.orb.two {
  left: 8px;
  bottom: 88px;
  width: 104px;
  height: 104px;
  background: var(--green);
}

.orb.three {
  right: 46px;
  bottom: 22px;
  width: 74px;
  height: 74px;
  background: var(--purple);
}

.app-card {
  position: absolute;
  z-index: 3;
  width: clamp(168px, 18vw, 214px);
  min-height: clamp(118px, 14vw, 145px);
  padding: clamp(12px, 1.3vw, 16px);
  border-radius: 25px;
  background: #fff;
  color: #111;
  transform-style: preserve-3d;
  will-change: transform;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.app-card h3 {
  margin-top: 14px;
  font-size: clamp(0.82rem, 0.9vw, 1rem);
  letter-spacing: -0.035em;
}

.app-card p {
  margin-top: 6px;
  color: #626262;
  font-size: clamp(0.66rem, 0.72vw, 0.79rem);
  line-height: 1.38;
}

.icon {
  width: clamp(36px, 3.4vw, 44px);
  height: clamp(36px, 3.4vw, 44px);
  border-radius: clamp(13px, 1.2vw, 16px);
  display: grid;
  place-items: center;
  font-weight: 950;
  color: #fff;
  font-size: clamp(0.72rem, 0.8vw, 0.88rem);
}

.card-a {
  top: 86px;
  left: 35px;
}

.card-a .icon {
  background: var(--green);
}

.card-b {
  top: 216px;
  right: 35px;
}

.card-b .icon {
  background: var(--blue);
}

.card-c {
  left: 94px;
  bottom: 35px;
}

.card-c .icon {
  background: var(--purple);
}

.market-device,
.dashboard,
.app-card {
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

@media (max-width: 1280px) {
  .hero {
    top: -20px;
  }

  .hero-grid {
    gap: 48px;
  }

  #hero-heading {
    font-size: clamp(2.9rem, 6.2vw, 5.8rem);
  }

  .dashboard-motion {
    top: 58px;
    width: clamp(350px, 42vw, 500px);
    height: clamp(350px, 41vw, 490px);
  }

  .card-a {
    top: 82px;
    left: 26px;
  }

  .card-b {
    top: 208px;
    right: 24px;
  }

  .card-c {
    left: 82px;
    bottom: 28px;
  }
}

@media (max-width: 1120px) {
  .hero {
    min-height: 84svh;
    padding-top: 92px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.92;
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.66;
  }

  .market-device {
    width: min(100%, 540px);
    min-height: 520px;
  }

  .dashboard-motion {
    top: 48px;
    width: min(460px, 100%);
    height: 440px;
  }

  .screen {
    padding: 18px;
  }

  .card-a {
    top: 78px;
    left: 20px;
  }

  .card-b {
    top: 194px;
    right: 18px;
  }

  .card-c {
    left: 60px;
    bottom: 22px;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding-top: 84px;
    padding-bottom: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 5.7vw, 4.6rem);
    letter-spacing: -0.065em;
  }

  .hero-copy p {
    max-width: 560px;
  }

  .market-device {
    width: min(100%, 500px);
    min-height: 500px;
  }

  .dashboard-motion {
    top: 38px;
    width: min(430px, 100%);
    height: 410px;
  }

  .dashboard {
    padding: 14px;
    border-radius: 34px;
  }

  .screen {
    border-radius: 26px;
    padding: 17px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    top: 0;
    padding-top: 56px;
    padding-bottom: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 28px;
  }

  .market-device {
    min-height: 560px;
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .dashboard-motion {
    top: 36px;
    left: 50%;
    right: auto;
    width: min(500px, 92vw);
    height: min(500px, 92vw);
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 8.2vw, 4.1rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
  }

  .hero-copy p {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .market-device {
    min-height: 500px;
    width: min(100%, 500px);
  }

  .dashboard-motion {
    top: 28px;
    width: min(430px, 92vw);
    height: min(430px, 92vw);
  }

  .app-card {
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 14vw, 4.6rem);
    letter-spacing: -0.06em;
  }

  .hero-copy p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .market-device {
    min-height: 440px;
  }

  .dashboard-motion {
    top: 22px;
    width: min(390px, 92vw);
    height: 390px;
  }

  .dashboard {
    padding: 12px;
    border-radius: 30px;
  }

  .screen {
    border-radius: 22px;
    padding: 16px;
  }

  .screen-top {
    flex-wrap: wrap;
  }

  .mini-badge {
    font-size: 0.7rem;
  }

  .app-card {
    width: 170px;
    min-height: 120px;
    padding: 12px;
    border-radius: 20px;
  }

  .app-card h3 {
    font-size: 0.85rem;
  }

  .app-card p {
    font-size: 0.68rem;
  }

  .icon {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    font-size: 0.75rem;
  }

  .card-a {
    top: 76px;
    left: 18px;
  }

  .card-b {
    top: 188px;
    right: 18px;
  }

  .card-c {
    left: 52px;
    bottom: 24px;
  }

  .orb.one {
    top: 8px;
    right: 20px;
    width: 90px;
    height: 90px;
  }

  .orb.two {
    left: 4px;
    bottom: 72px;
    width: 76px;
    height: 76px;
  }

  .orb.three {
    right: 18px;
    bottom: 20px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: clamp(2.2rem, 12.6vw, 3.4rem);
    line-height: 0.98;
  }

  .hero-copy p {
    font-size: 0.9rem;
  }

  .market-device {
    min-height: 420px;
  }

  .dashboard-motion {
    width: min(350px, 92vw);
    height: 350px;
  }

  .screen {
    padding: 14px;
  }

  .screen-top {
    gap: 10px;
    margin-bottom: 14px;
  }
}

@media (max-width: 420px) {
  .market-device {
    min-height: 400px;
  }

  .dashboard-motion {
    width: min(340px, 92vw);
    height: 340px;
  }

  .screen {
    padding: 14px;
  }

  .app-card {
    width: 142px;
    min-height: 112px;
    padding: 10px;
  }

  .app-card h3 {
    margin-top: 10px;
    font-size: 0.78rem;
  }

  .app-card p {
    font-size: 0.64rem;
    line-height: 1.32;
  }

  .card-a {
    top: 70px;
    left: 10px;
  }

  .card-b {
    top: 174px;
    right: 10px;
  }

  .card-c {
    left: 28px;
    bottom: 20px;
  }
}

@media (max-width: 360px) {
  .hero {
    padding-top: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(1.95rem, 12vw, 2.75rem);
    letter-spacing: -0.045em;
  }

  .hero-copy p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .market-device {
    min-height: 360px;
  }

  .dashboard-motion {
    top: 18px;
    width: min(300px, 92vw);
    height: 300px;
  }

  .dashboard {
    padding: 10px;
    border-radius: 24px;
  }

  .screen {
    border-radius: 18px;
    padding: 12px;
  }

  .app-card {
    width: 128px;
    min-height: 98px;
    padding: 9px;
    border-radius: 18px;
  }

  .app-card h3 {
    margin-top: 8px;
    font-size: 0.72rem;
  }

  .app-card p {
    font-size: 0.58rem;
    line-height: 1.28;
  }

  .icon {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    font-size: 0.64rem;
  }

  .card-a {
    top: 58px;
    left: 10px;
  }

  .card-b {
    top: 150px;
    right: 8px;
  }

  .card-c {
    left: 18px;
    bottom: 14px;
  }
}
