:root {
  --max: 1080px;
}

.brand-tagline {
  color: rgba(255, 213, 190, 0.8);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: stretch;
  padding: 38px 0 30px;
}

h1 {
  max-width: 720px;
  margin: 22px 0 18px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

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

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(250px, 100%);
  min-height: 74px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 190, 145, 0.18);
  border-radius: 16px;
  background: rgba(12, 4, 4, 0.68);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease,
    opacity 140ms ease;
}

.store-button:hover:not(.is-disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 209, 102, 0.45);
  background: rgba(255, 122, 50, 0.14);
}

.play-store {
  justify-content: center;
  gap: 16px;
  padding: 10px 14px;
}

.ios-store {
  justify-content: center;
  gap: 16px;
  padding: 10px 14px;
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  overflow: hidden;
  border-radius: 14px;
}
.store-icon-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ember), var(--sun));
}

.store-icon img,
.store-icon-apple img {
  display: block;
  width: 44px;
  height: auto;
}

.store-label {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 225, 216, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
}

.play-store > span:last-child,
.ios-store > span:last-child {
  min-width: 132px;
}

.play-store strong,
.ios-store strong {
  display: block;
  color: #fff7f2;
  font-size: 20px;
  line-height: 1.05;
}

.is-disabled,
.store-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.visual-stack {
  position: relative;
  min-height: 580px;
}

.phone {
  position: absolute;
  top: 10px;
  right: 8%;
  width: min(300px, 72vw);
  aspect-ratio: 9 / 18.6;
  border-radius: 38px;
  background: #000;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 214, 171, 0.08);
  transform: rotate(7deg);
}

.phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 26px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

.screen {
  position: absolute;
  inset: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 209, 170, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(14, 5, 5, 0.1), rgba(14, 5, 5, 0.92)),
    radial-gradient(circle at 30% 20%, rgba(255, 75, 43, 0.34), transparent 28%),
    radial-gradient(circle at 70% 18%, rgba(255, 159, 28, 0.3), transparent 24%),
    linear-gradient(180deg, #2b0d09 0%, #170706 56%, #100404 100%);
  isolation: isolate;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 5, 5, 0.18) 40%, rgba(14, 5, 5, 0.78) 100%);
}

.screen-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(220px, 60%);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 12px 22px rgba(255, 84, 35, 0.24));
  transform: translate(-50%, -66%);
}

.screen-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 84px 22px 24px;
  text-align: center;
}

.screen h3 {
  max-width: 260px;
  margin: 0 0 12px;
  font-size: clamp(20px, 5vw, 24px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.screen p {
  max-width: 270px;
  margin: 0;
  color: rgba(255, 233, 222, 0.82);
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.45;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0 20px;
  }

  .visual-stack {
    display: flex;
    justify-content: center;
    min-height: clamp(500px, 68vw, 600px);
  }

  .phone {
    position: relative;
    top: 0;
    right: auto;
    transform: rotate(7deg);
  }
}

@media (max-width: 760px) {
  .store-button {
    width: min(250px, calc(50% - 6px));
  }
}

@media (max-width: 620px) {
  .hero {
    gap: 0;
    padding: 14px 0 28px;
  }

  h1 {
    margin: 16px 0 14px;
  }

  .lead {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .store-button {
    width: 100%;
  }

  .visual-stack {
    display: none;
  }
}

@media (max-width: 400px) {
  h1 {
    margin: 12px 0;
    font-size: clamp(36px, 10vw, 48px);
  }

  .lead {
    margin-bottom: 16px;
    font-size: 15px;
  }

  .kicker {
    padding: 8px 12px;
    font-size: 11px;
  }

  .store-button {
    min-height: 72px;
    padding: 14px 16px;
  }

  .store-icon,
  .store-icon-apple {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .store-icon img,
  .store-icon-apple img {
    width: 39px;
  }
}
