:root {
  color-scheme: light;
  --background: #fbfbfe;
  --background-soft: #f3f7fb;
  --surface: #ffffff;
  --surface-strong: #111827;
  --text: #172033;
  --muted: #5d667a;
  --line: #dde5ef;
  --primary: #5b5fe9;
  --primary-dark: #3438ad;
  --primary-soft: #eceeff;
  --accent: #ff6b8f;
  --accent-soft: #fff0f4;
  --mint: #00a88f;
  --warning: #f59e0b;
  --shadow: 0 24px 70px rgba(32, 44, 84, 0.14);
  --shadow-soft: 0 14px 40px rgba(32, 44, 84, 0.08);
  --radius: 22px;
  --container: 1160px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(91, 95, 233, 0.16), transparent 34rem),
    radial-gradient(circle at 80% 18%, rgba(255, 107, 143, 0.12), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--background) 42%, #ffffff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #ffffff;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader__brand img {
  display: block;
  width: min(120px, 28vw);
  height: min(120px, 28vw);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.loader__ring {
  width: 38px;
  height: 38px;
  border: 3px solid var(--primary-soft);
  border-top-color: var(--primary);
  border-radius: 999px;
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(221, 229, 239, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--container), calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 142px;
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav__links a {
  transition: color 160ms ease, transform 160ms ease;
}

.nav__links a:hover {
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.nav__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

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

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 34px rgba(91, 95, 233, 0.26);
}

.button--primary:hover {
  box-shadow: 0 20px 48px rgba(91, 95, 233, 0.34);
}

.button--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.button--ghost {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.section {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 64px;
  min-height: calc(100vh - 78px);
  padding-top: 28px;
  padding-bottom: 42px;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid rgba(91, 95, 233, 0.2);
  border-radius: 999px;
  background: rgba(236, 238, 255, 0.74);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.65rem, 7.8vw, 6.15rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--primary);
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.68;
}

.hero__actions,
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.store-badge {
  min-width: 178px;
  min-height: 58px;
  padding: 10px 18px;
  border-radius: 16px;
  background: #111827;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 35px rgba(17, 24, 39, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(17, 24, 39, 0.24);
}

.store-badge__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

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

.store-badge small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.store-badge strong {
  font-size: 1.02rem;
}

.hero__visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}

.phone-stack {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.phone-shot {
  position: absolute;
  width: min(330px, 46vw);
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: var(--surface);
  transition: transform 240ms ease;
}

.phone-shot--front {
  z-index: 3;
  transform: translateY(0) rotate(0deg);
}

.phone-shot--left {
  z-index: 2;
  transform: translate(-34%, 10%) rotate(-8deg) scale(0.88);
  opacity: 0.88;
}

.phone-shot--right {
  z-index: 1;
  transform: translate(34%, 7%) rotate(8deg) scale(0.88);
  opacity: 0.88;
}

.hero__visual:hover .phone-shot--front {
  transform: translateY(-10px);
}

.hero__visual:hover .phone-shot--left {
  transform: translate(-40%, 8%) rotate(-10deg) scale(0.88);
}

.hero__visual:hover .phone-shot--right {
  transform: translate(40%, 5%) rotate(10deg) scale(0.88);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(221, 229, 239, 0.8);
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary-dark);
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.page-hero h1 {
  margin: 12px 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.section-head p,
.page-hero p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.06rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
  margin-bottom: 22px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.showcase__panel {
  padding: 26px;
  border-radius: 30px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.showcase__panel img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
}

.marketing-showcase {
  padding-top: 32px;
  padding-bottom: 32px;
  align-items: start;
  gap: 36px;
}

.marketing-showcase .showcase__panel {
  justify-self: center;
  width: fit-content;
  max-width: min(300px, 100%);
  padding: 12px;
  align-self: start;
}

.marketing-showcase .showcase__panel img {
  display: block;
  width: min(260px, 100%);
  height: auto;
  max-width: 100%;
  max-height: none;
  margin: 0;
  aspect-ratio: 1220 / 2712;
  object-fit: contain;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.step__number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: #b20f3d;
  font-weight: 900;
}

.step h3 {
  margin: 0 0 6px;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta {
  width: min(var(--container), calc(100% - 36px));
  margin: 40px auto 90px;
  padding: clamp(34px, 7vw, 70px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(91, 95, 233, 0.94), rgba(52, 56, 173, 0.96)),
    var(--primary);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 28px 80px rgba(52, 56, 173, 0.28);
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.page-hero {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 80px 0 34px;
}

.content-layout {
  width: min(940px, calc(100% - 36px));
  margin: 0 auto 90px;
}

.legal-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 42px);
}

.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-section ul {
  padding-left: 22px;
}

.notice {
  border-left: 4px solid var(--warning);
  background: #fff8e6;
  border-radius: 16px;
  padding: 16px 18px;
  color: #6b4d08;
}

.support-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--background-soft);
}

.support-form {
  display: grid;
  gap: 14px;
}

.support-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--text);
  background: #ffffff;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.support-form textarea {
  min-height: 150px;
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91, 95, 233, 0.12);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  color: var(--muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer a:hover {
  color: var(--primary-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
  }

  .nav__links {
    display: none;
  }

  .hero,
  .showcase,
  .support-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 64px;
  }

  .hero__visual {
    min-height: 520px;
  }

  .phone-shot {
    width: min(280px, 62vw);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .cta {
    margin-bottom: 56px;
  }

  .marketing-showcase {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .marketing-showcase .showcase__panel {
    max-width: min(280px, 100%);
    padding: 10px;
  }

  .marketing-showcase .showcase__panel img {
    width: min(240px, 100%);
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 24px, var(--container));
  }

  .brand img {
    width: 126px;
  }

  .nav__actions .button--ghost {
    display: none;
  }

  .section,
  .cta,
  .page-hero,
  .content-layout,
  .footer {
    width: min(100% - 24px, var(--container));
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.3rem, 16vw, 4.2rem);
  }

  .hero__visual {
    min-height: 520px;
    margin-top: 10px;
  }

  .phone-stack {
    position: relative;
    height: 520px;
  }

  .phone-shot {
    width: min(260px, 70vw);
    left: 50%;
    top: 0;
  }

  .phone-shot--front {
    transform: translateX(-50%);
  }

  .phone-shot--left,
  .phone-shot--right {
    display: none;
  }

  .hero__visual:hover .phone-shot--front {
    transform: translateX(-50%) translateY(-6px);
  }

  .store-badge {
    width: 100%;
  }

  .loader__brand img {
    width: min(104px, 30vw);
    height: min(104px, 30vw);
  }

  .marketing-showcase {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .marketing-showcase .showcase__panel {
    max-width: min(260px, 100%);
    padding: 8px;
  }

  .marketing-showcase .showcase__panel img {
    width: min(220px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
