:root {
  --text-main: #111111;
  --text-soft: #4a4856;
  --accent: #cbbffc;
  --accent-deep: #6b5fa6;
  --panel-border: rgba(255, 255, 255, 0.42);
  --shadow-soft: 0 30px 90px rgba(19, 14, 39, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background: #dbd0dc;
}

a {
  text-decoration: none;
}

.video-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background:
    radial-gradient(circle at top center, rgba(255, 249, 197, 0.28), transparent 28%),
    linear-gradient(180deg, #beb2dc 0%, #ead8d0 100%);
}

.video-backdrop video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(0.95) blur(1px);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(245, 255, 188, 0.34), transparent 22%),
    linear-gradient(180deg, rgba(180, 164, 214, 0.52) 0%, rgba(240, 220, 211, 0.55) 100%);
  backdrop-filter: blur(6px);
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 28px 16px;
}

.hero-wrap {
  max-width: 1280px;
  width: 100%;
}

.hero-panel {
  background:
    radial-gradient(circle at 53% 50%, rgba(235, 255, 149, 0.42), transparent 22%),
    linear-gradient(180deg, rgba(255, 248, 224, 0.82), rgba(248, 245, 225, 0.8));
  border: 1px solid var(--panel-border);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  padding: 26px 38px 30px;
  backdrop-filter: blur(16px);
}

.navbar .container-fluid {
  gap: 14px;
  flex-wrap: wrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.brand-icon-image {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(37, 26, 73, 0.14);
}

.nav-pill-list {
  gap: 10px;
}

.nav-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: #33295f;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-top-cta {
  background: rgba(203, 191, 252, 0.95);
  color: #201540;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(110, 97, 168, 0.18);
}

.hero-top-cta:hover,
.hero-top-cta:focus-visible {
  background: #bdb1f1;
  color: #201540;
}

.hero-grid {
  min-height: min(68vh, 620px);
}

.hero-copy {
  max-width: 540px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.9rem, 5.6vw, 5.2rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.lead-copy {
  max-width: 470px;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 12px 18px;
  border-radius: 18px;
  background: #101010;
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(16, 16, 16, 0.18);
}

.store-btn:hover,
.store-btn:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.store-btn-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.store-btn small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.75;
}

.store-btn strong {
  display: block;
  font-size: 1.1rem;
}

.phone-stage {
  --device-shift-x: 0px;
  --device-rotate-y: 0deg;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 430px;
  perspective: 1400px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.orb-one {
  width: 240px;
  height: 240px;
  top: 64px;
  right: 76px;
  background: rgba(235, 255, 147, 0.45);
}

.orb-two {
  width: 180px;
  height: 180px;
  bottom: 34px;
  left: 82px;
  background: rgba(221, 195, 255, 0.4);
}

.phone-frame {
  position: relative;
  width: min(100%, 334px);
  padding: 18px 12px 16px;
  border-radius: 40px;
  background: linear-gradient(180deg, #222222, #080808);
  box-shadow:
    0 25px 50px rgba(26, 20, 45, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  z-index: 2;
  transform: translate3d(var(--device-shift-x), 0, 0) rotateY(var(--device-rotate-y));
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 360ms ease;
  will-change: transform;
  transform-style: preserve-3d;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 28px;
  border-radius: 999px;
  background: #0f0f11;
  z-index: 3;
}

.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 30px;
  object-fit: cover;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.site-footer-links a {
  color: rgba(17, 17, 17, 0.7);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  color: #111111;
}

.phone-stage.is-active .phone-frame {
  box-shadow:
    0 30px 58px rgba(26, 20, 45, 0.33),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .phone-frame {
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .page-shell {
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero-panel {
    padding: 22px 20px 24px;
    border-radius: 28px;
  }

  .hero-grid {
    min-height: auto;
    row-gap: 1.5rem;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 12vw, 4.4rem);
  }

  .lead-copy {
    font-size: 1rem;
  }

  .phone-stage {
    min-height: 340px;
  }

  .site-footer-links {
    gap: 14px;
    padding-top: 14px;
  }
}

@media (max-width: 767.98px) {
  .page-shell {
    padding-inline: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero-panel {
    padding: 18px 16px 18px;
    border-radius: 24px;
  }

  .brand-mark {
    font-size: 1.1rem;
    gap: 10px;
  }

  .brand-icon-image {
    width: 28px;
    height: 28px;
  }

  .hero-top-cta {
    margin-left: auto;
    padding: 10px 16px;
    font-size: 0.92rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
    margin-bottom: 14px;
  }

  .eyebrow {
    margin-bottom: 14px;
    padding: 8px 12px;
    font-size: 0.74rem;
  }

  .lead-copy {
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
    min-height: 56px;
    padding: 11px 16px;
  }

  .phone-stage {
    min-height: 290px;
  }

  .orb-one {
    width: 170px;
    height: 170px;
    top: 30px;
    right: 30px;
  }

  .orb-two {
    width: 120px;
    height: 120px;
    bottom: 18px;
    left: 26px;
  }

  .phone-frame {
    width: min(100%, 238px);
    padding: 13px 8px 10px;
    border-radius: 28px;
  }

  .phone-frame img {
    border-radius: 20px;
  }

  .phone-notch {
    top: 8px;
    width: 88px;
    height: 22px;
  }

  .site-footer-links {
    gap: 10px 16px;
    padding-top: 12px;
  }

  .site-footer-links a {
    font-size: 0.86rem;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 2rem;
  }

  .lead-copy {
    font-size: 0.92rem;
  }

  .phone-frame {
    width: min(100%, 214px);
  }
}
