:root {
  color-scheme: dark;
  --bg: #07070d;
  --text: #fff8fd;
  --muted: #c8bfd3;
  --soft: #91899e;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.075);
  --violet: #a78bfa;
  --rose: #fb5fa6;
  --amber: #f8c65c;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 540px at 18% -12%, rgba(167, 139, 250, 0.24), transparent 64%),
    radial-gradient(820px 520px at 92% 4%, rgba(251, 95, 166, 0.18), transparent 58%),
    radial-gradient(560px 320px at 56% 44%, rgba(248, 198, 92, 0.07), transparent 64%),
    linear-gradient(180deg, #080810 0%, #0d0a16 54%, #08080e 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 72%);
  pointer-events: none;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("./assets/hero-logo.png") repeat center / 118px 118px;
  opacity: 0.055;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header,
main,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(251, 95, 166, 0.2);
}

.site-nav {
  display: flex;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(9, 8, 18, 0.58);
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 48px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.88fr);
  gap: 54px;
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 12px;
  border: 1px solid rgba(167, 139, 250, 0.26);
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.1);
  color: #ddceff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 730px;
  margin: 0 0 22px;
  font-size: clamp(52px, 7.2vw, 86px);
  line-height: 0.94;
  text-wrap: balance;
}

.intro {
  max-width: 620px;
  margin: 0 0 18px;
  color: #ded5e8;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.62;
}

.hero-pricing {
  margin: 0 0 22px;
  color: #b9a9d6;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

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

.store-btn {
  width: 238px;
  min-height: 64px;
  display: inline-grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  justify-items: start;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 19px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(24, 20, 34, 0.94), rgba(9, 8, 16, 0.94));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 48px rgba(0, 0, 0, 0.32);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.store-btn-primary {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(24, 20, 34, 0.96), rgba(9, 8, 16, 0.96)) padding-box,
    linear-gradient(135deg, rgba(167, 139, 250, 0.9), rgba(251, 95, 166, 0.78)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 20px 58px rgba(233, 65, 141, 0.2),
    0 0 0 5px rgba(167, 139, 250, 0.04);
}

.store-btn-muted {
  color: rgba(255, 255, 255, 0.72);
  cursor: default;
  background:
    linear-gradient(180deg, rgba(22, 19, 30, 0.62), rgba(12, 10, 18, 0.66));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 38px rgba(0, 0, 0, 0.22);
}

.store-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.085);
  text-align: center;
  font-size: 23px;
  line-height: 1;
}

.store-btn-primary .store-icon {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.9), rgba(251, 95, 166, 0.82));
  box-shadow: 0 8px 22px rgba(167, 139, 250, 0.22);
}

.store-btn small,
.store-btn strong {
  display: block;
}

.store-btn small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.store-btn strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 510px;
  height: 510px;
  border-radius: 42%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.25), transparent 18%),
    conic-gradient(from 220deg, rgba(167, 139, 250, 0.72), rgba(251, 95, 166, 0.7), rgba(248, 198, 92, 0.4), rgba(167, 139, 250, 0.72));
  filter: blur(4px);
  opacity: 0.34;
  transform: rotate(-10deg);
  z-index: -2;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(7, 7, 13, 0.78);
  z-index: -1;
}

.phone {
  margin: 0;
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #080914;
  box-shadow:
    inset 0 0 0 7px #0c0d18,
    inset 0 0 0 8px rgba(255, 255, 255, 0.08),
    var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 68px;
  height: 10px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.16);
  z-index: 2;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 13px 8px 10px;
  border-radius: 32px;
}

.phone-front {
  width: 240px;
  height: 520px;
  z-index: 4;
  transform: translateY(8px);
  box-shadow:
    inset 0 0 0 7px #0c0d18,
    inset 0 0 0 8px rgba(255, 255, 255, 0.08),
    0 38px 110px rgba(0, 0, 0, 0.62),
    0 0 70px rgba(251, 95, 166, 0.16);
}

.phone-back {
  width: 210px;
  height: 455px;
  z-index: 2;
  transform: translateX(-142px) rotate(-10deg) translateY(34px);
  opacity: 0.76;
}

.phone-side {
  width: 198px;
  height: 429px;
  z-index: 3;
  transform: translateX(142px) rotate(10deg) translateY(48px);
  opacity: 0.82;
}

.bottom-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bottom-cta span {
  position: relative;
}

.bottom-cta span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -15px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(251, 95, 166, 0.55);
  transform: translateY(-50%);
}

.site-footer {
  padding: 52px 0 44px;
  text-align: center;
  color: var(--soft);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer-links a:hover {
  color: #fff;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
    gap: 24px;
  }

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

  .hero h1,
  .intro {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 520px;
  }

}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 620px);
  }

  .site-header {
    align-items: center;
    padding: 16px 0 10px;
  }

  .site-nav {
    display: none;
  }

  .brand span {
    display: inline;
    font-size: 18px;
  }

  .hero {
    padding: 28px 0 34px;
    gap: 0;
  }

  .hero h1 {
    max-width: 390px;
    font-size: clamp(40px, 12vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.06em;
  }

  .intro {
    max-width: 360px;
    font-size: 15.5px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .eyebrow {
    margin-bottom: 14px;
    padding: 6px 10px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .store-btn {
    width: 222px;
    min-height: 56px;
    grid-template-columns: 34px 1fr;
    gap: 11px;
    padding: 9px 12px;
    border-radius: 15px;
  }

  .store-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 21px;
  }

  .store-btn-muted {
    min-height: 52px;
    opacity: 0.68;
  }

  .store-btn small {
    font-size: 9.5px;
  }

  .store-btn strong {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 390px;
    margin-top: 30px;
    margin-bottom: -36px;
    transform: none;
  }

  .hero-visual::before {
    top: 26px;
    left: 50%;
    width: 330px;
    height: 330px;
    transform: translateX(-50%) rotate(-10deg);
  }

  .hero-visual::after {
    top: 48px;
    left: 50%;
    width: 280px;
    height: 280px;
    transform: translateX(-50%);
  }

  .phone-front {
    top: 0;
    left: 50%;
    width: 176px;
    height: 382px;
    transform: translateX(-50%);
  }

  .phone-back {
    top: 42px;
    left: 50%;
    width: 150px;
    height: 325px;
    transform: translateX(-162px) rotate(-10deg);
  }

  .phone-side {
    top: 52px;
    left: 50%;
    width: 142px;
    height: 308px;
    transform: translateX(26px) rotate(10deg);
  }

  .bottom-cta {
    margin-top: 18px;
    gap: 10px 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 430px) {
  .hero-visual {
    min-height: 342px;
    margin-top: 28px;
    margin-bottom: -44px;
  }

  .hero-visual::before {
    width: 292px;
    height: 292px;
  }

  .hero-visual::after {
    width: 244px;
    height: 244px;
  }

  .phone-front {
    width: 156px;
    height: 338px;
  }

  .phone-back {
    width: 134px;
    height: 290px;
    transform: translateX(-140px) rotate(-10deg);
  }

  .phone-side {
    width: 126px;
    height: 273px;
    transform: translateX(16px) rotate(10deg);
  }

  .bottom-cta span + span::before {
    left: -11px;
  }
}
