:root {
  --ink: #19213b;
  --muted: #65708c;
  --violet: #6d43e5;
  --violet-dark: #4f2eb4;
  --lilac: #a77bf5;
  --surface: #f7f8ff;
  --surface-strong: #e8ebff;
  --line: rgba(63, 50, 134, 0.12);
  --shadow: 0 28px 70px rgba(67, 46, 142, 0.16);
  --page: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #edf0ff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.page-width,
.nav-wrap {
  width: min(var(--page), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(87, 66, 151, 0.1);
  background: rgba(237, 240, 255, 0.88);
  box-shadow: 0 8px 28px rgba(56, 42, 112, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(55, 29, 117, 0.22);
}

.brand strong { color: var(--violet); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav > a:not(.nav-download) { color: #4b5572; }
.site-nav > a:hover { color: var(--violet-dark); }

.nav-download {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(25, 33, 59, 0.17);
}

.nav-download:hover { color: #fff !important; background: var(--violet-dark); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  padding: 142px 0 88px;
  background:
    radial-gradient(circle at 13% 15%, rgba(166, 142, 255, 0.35), transparent 27%),
    linear-gradient(135deg, #e6e9ff 0%, #f3efff 48%, #e4edff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 86px;
  background: linear-gradient(to bottom, transparent, rgba(237, 240, 255, 0.92));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border: 1px solid rgba(112, 74, 226, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-one { width: 600px; height: 600px; right: -160px; top: -130px; }
.hero-glow-two { width: 320px; height: 320px; left: 42%; bottom: -180px; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: 46px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--violet-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 22px; height: 2px; background: var(--violet); }

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 5.5vw, 5.45rem);
  line-height: 0.97;
  letter-spacing: -0.065em;
}

h1 em {
  color: var(--violet);
  font-style: normal;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 32px;
  color: #53607f;
  font-size: 1.15rem;
  line-height: 1.75;
}

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

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 22px 10px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 1.07rem;
  font-weight: 720;
  line-height: 1.15;
  box-shadow: 0 16px 30px rgba(31, 37, 67, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-button:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(31, 37, 67, 0.27); }
.play-button small { display: block; margin-bottom: 2px; font-size: 0.6rem; font-weight: 650; letter-spacing: 0.08em; }
.play-mark { width: 32px; height: 32px; }
.play-mark svg { width: 100%; height: 100%; fill: currentColor; }

.text-link {
  color: var(--violet-dark);
  font-weight: 760;
}

.text-link span { display: inline-block; margin-left: 4px; transition: transform 0.2s ease; }
.text-link:hover span { transform: translateY(3px); }

.quick-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  color: #596582;
  font-size: 0.88rem;
  font-weight: 650;
  list-style: none;
}

.quick-points li { display: flex; align-items: center; gap: 7px; }
.quick-points span { color: var(--violet); font-weight: 900; }

.hero-visual {
  position: relative;
  min-height: 550px;
  display: grid;
  place-items: center;
}

.visual-backdrop {
  position: absolute;
  width: min(520px, 95%);
  aspect-ratio: 1;
  border-radius: 46% 54% 52% 48% / 55% 46% 54% 45%;
  background: linear-gradient(145deg, rgba(92, 58, 183, 0.13), rgba(255, 255, 255, 0.66));
  box-shadow: inset 0 0 0 1px rgba(119, 86, 208, 0.12), var(--shadow);
  transform: rotate(-8deg);
}

.hero-phones {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  max-height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 32px 34px rgba(36, 25, 87, 0.24));
}

.status-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 164px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(249, 249, 255, 0.86);
  box-shadow: 0 18px 42px rgba(58, 39, 125, 0.16);
  backdrop-filter: blur(12px);
}

.status-chip-top { top: 74px; right: 2px; }
.status-chip-bottom { bottom: 60px; left: 12px; }
.status-chip small { display: block; color: var(--muted); font-size: 0.68rem; line-height: 1.1; }
.status-chip strong { display: block; margin-top: 3px; font-size: 0.82rem; line-height: 1.2; }
.status-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #eee9ff; }
.live-dot { width: 12px; height: 12px; margin: 0 8px 0 4px; border-radius: 50%; background: #28b98d; box-shadow: 0 0 0 6px rgba(40, 185, 141, 0.13); }

.section { padding: 112px 0; }
#features,
#preview,
#faq { scroll-margin-top: 84px; }
.section-heading { max-width: 760px; margin: 0 auto 52px; text-align: center; }

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.preview-copy > p:not(.kicker) { color: var(--muted); font-size: 1.05rem; }

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

.feature-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  background: rgba(250, 250, 255, 0.66);
  box-shadow: 0 20px 48px rgba(71, 55, 135, 0.08);
}

.feature-card:nth-child(2) { background: rgba(229, 231, 255, 0.8); }
.feature-card:nth-child(3) { background: rgba(244, 238, 255, 0.78); }

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 46px;
  border-radius: 16px;
  background: #ded6ff;
  color: var(--violet-dark);
}

.feature-icon svg { width: 26px; height: 26px; fill: currentColor; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.3rem; letter-spacing: -0.025em; }
.feature-card p { margin-bottom: 0; color: var(--muted); }

.preview {
  overflow: hidden;
  background: #e3e7fb;
}

.preview-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 80px;
}

.preview-copy { max-width: 470px; }
.preview-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.preview-tab {
  --carousel-duration: 1800ms;
  position: relative;
  overflow: hidden;
  padding: 9px 15px;
  border: 1px solid rgba(85, 61, 161, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #58617e;
  font-size: 0.88rem;
  font-weight: 720;
  cursor: pointer;
}

.preview-tab::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 3px;
  left: 10px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.78);
  transform: scaleX(0);
  transform-origin: left;
}

.preview-tab.is-active.is-running::after {
  animation: carousel-progress var(--carousel-duration) linear forwards;
}

.preview-tabs.is-paused .preview-tab.is-running::after {
  animation-play-state: paused;
}

@keyframes carousel-progress {
  to { transform: scaleX(1); }
}

.preview-tab:hover,
.preview-tab.is-active { border-color: var(--violet); background: var(--violet); color: #fff; }

.phone-stage {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}

.phone-orbit {
  position: absolute;
  width: 540px;
  height: 300px;
  border: 1px solid rgba(100, 64, 207, 0.22);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.phone-orbit::before,
.phone-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.phone-orbit::before { inset: 28px; border: 1px solid rgba(100, 64, 207, 0.13); }
.phone-orbit::after { width: 14px; height: 14px; top: 24px; right: 70px; background: var(--lilac); box-shadow: 0 0 0 8px rgba(167, 123, 245, 0.15); }

.phone-frame {
  position: relative;
  z-index: 2;
  height: 530px;
  filter: drop-shadow(0 30px 28px rgba(45, 35, 88, 0.22));
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.18s ease, transform 0.3s ease;
}

.phone-frame img.is-changing { opacity: 0; transform: translateY(8px) scale(0.985); }

.screen-caption {
  position: absolute;
  z-index: 4;
  right: 6%;
  bottom: 75px;
  margin: 0;
  padding: 11px 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--violet-dark);
  font-size: 0.86rem;
  font-weight: 760;
  box-shadow: 0 12px 28px rgba(60, 42, 127, 0.13);
  backdrop-filter: blur(10px);
}

.faq {
  background: #edf0ff;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 90px;
}

.faq-intro {
  position: sticky;
  top: 118px;
}

.faq-intro > p:not(.kicker) {
  max-width: 390px;
  color: var(--muted);
}

.faq-contact {
  display: inline-flex;
  margin-top: 12px;
  color: var(--violet-dark);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(79, 46, 180, 0.3);
  text-underline-offset: 5px;
}

.faq-contact:hover {
  text-decoration-color: currentColor;
}

.faq-list {
  border-top: 1px solid rgba(73, 55, 137, 0.18);
}

.faq-item {
  border-bottom: 1px solid rgba(73, 55, 137, 0.18);
}

.faq-item summary {
  position: relative;
  padding: 25px 56px 25px 2px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 760;
  line-height: 1.4;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--violet-dark);
  transition: transform 0.22s ease;
}

.faq-item summary::after {
  transform: rotate(90deg);
}

.faq-item[open] summary::after {
  transform: rotate(0deg);
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(109, 67, 229, 0.25);
  outline-offset: 3px;
  border-radius: 8px;
}

.faq-answer {
  overflow: hidden;
}

.faq-answer p {
  max-width: 650px;
  margin-bottom: 25px;
  padding-right: 52px;
  color: var(--muted);
}

.faq-answer a {
  color: var(--violet-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-section { padding: 88px 0; }

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  padding: 34px 38px;
  border: 1px solid rgba(92, 63, 176, 0.15);
  border-radius: 28px;
  background: #f8f8ff;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(58, 45, 114, 0.1);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--violet);
}

.cta-app-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: #e8e2ff;
}

.cta-app-icon img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(50, 28, 108, 0.22);
}

.cta-card .kicker { margin-bottom: 6px; }
.cta-card h2 { max-width: 650px; margin: 0; font-size: clamp(1.75rem, 2.8vw, 2.65rem); }
.cta-note { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
.cta-download { flex: none; background: var(--violet-dark); box-shadow: 0 14px 28px rgba(79, 46, 180, 0.2); }
.cta-download:hover { background: var(--violet); }

.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: #e7eafb;
}

.footer-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.footer-brand { font-size: 0.96rem; }
.footer-row p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.footer-links { display: flex; align-items: center; gap: 20px; color: #4f5a78; font-size: 0.84rem; font-weight: 650; }
.footer-links a:hover { color: var(--violet-dark); }
.copyright { white-space: nowrap; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .preview-tab::after { display: none; }
}

@media (max-width: 960px) {
  .hero { min-height: auto; padding-bottom: 74px; }
  .hero-grid { grid-template-columns: 1fr 0.9fr; gap: 20px; }
  .hero-visual { min-height: 480px; }
  .status-chip { display: none; }
  .feature-card { padding: 28px; }
  .preview-grid { gap: 30px; }
  .faq-layout { gap: 48px; }
  .footer-row { grid-template-columns: auto 1fr auto; }
  .footer-row > p:not(.copyright) { display: none; }
}

@media (max-width: 760px) {
  .page-width,
  .nav-wrap { width: min(100% - 32px, var(--page)); }

  .nav-wrap { min-height: 72px; }
  .menu-button { display: block; position: relative; z-index: 22; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 21;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    height: calc(100dvh - 72px);
    min-height: 360px;
    padding: 24px 20px 36px;
    border-top: 1px solid rgba(87, 66, 151, 0.1);
    background: #edf0ff;
    font-size: 1.08rem;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  }

  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav > a {
    width: min(100%, 420px);
    padding: 17px 6px;
    border-bottom: 1px solid rgba(87, 66, 151, 0.13);
    text-align: left;
  }
  .site-nav > a:not(.nav-download) { color: var(--ink); }
  .site-nav .nav-download {
    margin-top: 22px;
    padding: 14px 22px;
    border-bottom: 0;
    text-align: center;
  }

  .hero { padding: 116px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  h1 { margin-inline: auto; font-size: clamp(3rem, 14vw, 4.3rem); }
  .hero-lead { margin-inline: auto; font-size: 1.04rem; }
  .hero-actions { justify-content: center; }
  .quick-points { justify-content: center; }
  .hero-visual { min-height: 430px; margin-top: 20px; }
  .visual-backdrop { width: min(420px, 96%); }
  .hero-phones { width: min(410px, 95%); max-height: 450px; }

  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-icon { margin-bottom: 28px; }

  .preview-grid { grid-template-columns: 1fr; text-align: center; }
  .preview-copy { max-width: 620px; margin-inline: auto; }
  .preview-tabs { justify-content: center; }
  .phone-stage { min-height: 530px; }
  .phone-orbit { width: min(520px, 105%); }
  .phone-frame { height: 480px; }
  .screen-caption { right: 9%; bottom: 50px; }

  .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .faq-intro { position: static; text-align: center; }
  .faq-intro > p:not(.kicker) { margin-inline: auto; }
  .faq-item summary { padding-block: 22px; text-align: left; }
  .faq-answer p { padding-right: 42px; text-align: left; }

  .cta-section { padding: 64px 0; }
  .cta-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    padding: 28px 24px 28px 28px;
  }
  .cta-app-icon { width: 72px; height: 72px; border-radius: 20px; }
  .cta-app-icon img { width: 58px; height: 58px; border-radius: 15px; }
  .cta-copy { text-align: left; }
  .cta-card h2 { font-size: clamp(1.55rem, 7vw, 2rem); }
  .cta-note { font-size: 0.86rem; }
  .cta-download { grid-column: 1 / -1; justify-content: center; width: 100%; margin-top: 4px; }

  .footer-row { grid-template-columns: 1fr auto; gap: 18px; }
  .footer-links { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
  .footer-brand { grid-column: 1; grid-row: 2; }
  .copyright { grid-column: 2; grid-row: 2; }
}

@media (max-width: 430px) {
  .hero-actions { flex-direction: column; gap: 15px; }
  .quick-points { gap: 9px 13px; font-size: 0.8rem; }
  .hero-visual { min-height: 365px; }
  .hero-phones { max-height: 380px; }
  .phone-stage { min-height: 470px; }
  .phone-frame { height: 430px; }
  .screen-caption { bottom: 20px; right: 2%; }
  .cta-card { grid-template-columns: 1fr; justify-items: center; padding: 28px 22px 24px; text-align: center; }
  .cta-copy { text-align: center; }
  .cta-app-icon { width: 76px; height: 76px; }
  .cta-download { grid-column: 1; }
  .footer-row { display: flex; flex-direction: column; gap: 14px; }
  .footer-links { order: 1; gap: 14px; }
  .footer-brand { order: 2; }
  .copyright { order: 3; }
}
