:root {
  color-scheme: dark;
  --bg: #080e19;
  --bg-soft: #0d1625;
  --surface: #111d2d;
  --surface-2: #152338;
  --line: #263851;
  --text: #f5f7ff;
  --muted: #aebbd0;
  --blue: #5772ff;
  --blue-2: #3854d8;
  --green: #55d7a7;
  --radius: 22px;
  --max: 1180px;
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 6%, rgba(78, 105, 245, .18), transparent 28rem),
    radial-gradient(circle at 10% 34%, rgba(50, 202, 164, .07), transparent 24rem),
    var(--bg);
  font-size: 1rem;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 99;
  padding: 10px 14px;
  border-radius: 10px;
  color: #07101d;
  background: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  min-height: 78px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(153, 172, 204, .18);
  background: rgba(8, 14, 25, .82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.03rem;
  font-weight: 700;
  text-decoration: none;
}
.brand img { border-radius: 11px; }
.brand small {
  margin-left: 4px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
}

nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}
nav a {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
nav a:hover, nav a:focus-visible { color: var(--text); }

.header-download {
  padding: 10px 16px;
  border: 1px solid #42577a;
  border-radius: 11px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.header-download:hover { border-color: var(--blue); background: rgba(87, 114, 255, .12); }

.menu-button { display: none; }

main { overflow: hidden; }
.hero, .section, footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  min-height: 680px;
  padding: 92px 0 106px;
}

.eyebrow, .kicker {
  color: #a9b8ff;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid #2e4261;
  border-radius: 999px;
  background: rgba(18, 31, 50, .7);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(85, 215, 167, .12);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 24px 0 24px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .99;
  letter-spacing: -.055em;
}
h1 span { color: #7f94ff; }
h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}
h3 { margin-bottom: 8px; font-size: 1.15rem; line-height: 1.3; }
.lead {
  max-width: 580px;
  margin-bottom: 30px;
  color: #c5d0e2;
  font-size: 1.16rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button.primary { background: var(--blue); box-shadow: 0 14px 34px rgba(63, 84, 218, .3); }
.button.primary:hover { background: #6880ff; }
.button.secondary { border-color: #334763; background: rgba(15, 27, 44, .72); }
.button.secondary:hover { border-color: #58709a; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: .84rem;
  list-style: none;
}
.hero-facts li::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 800; }

.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20% -14%;
  z-index: -1;
  background: radial-gradient(circle, rgba(83, 110, 245, .22), transparent 62%);
  filter: blur(10px);
}
.app-shot {
  overflow: hidden;
  border: 1px solid #304461;
  border-radius: 20px;
  background: #0e1826;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .46), 0 0 0 8px rgba(255, 255, 255, .018);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}
.app-shot img { width: 100%; }
.floating-card {
  position: absolute;
  right: -18px;
  bottom: -34px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 14px 16px;
  border: 1px solid #38506d;
  border-radius: 16px;
  background: rgba(15, 28, 44, .94);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .38);
  backdrop-filter: blur(12px);
}
.floating-card small { display: block; color: var(--muted); font-size: .67rem; letter-spacing: .1em; }
.floating-card strong { font-size: .9rem; }
.power-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #31bd8b;
  border-radius: 12px;
  color: var(--green);
  background: rgba(41, 196, 141, .12);
}
.power-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.section { padding: 104px 0; }
.section-heading { max-width: 840px; }
.section-heading.compact { max-width: 700px; margin-bottom: 44px; }
.kicker { display: block; margin-bottom: 14px; }

.purpose { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: clamp(36px, 8vw, 110px);
  margin-top: 44px;
}
.purpose-lead { color: #d6dfed; font-size: 1.22rem; line-height: 1.75; }
.purpose-note {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid #2b3f5c;
  border-radius: var(--radius);
  background: var(--surface);
}
.purpose-note svg { flex: 0 0 auto; width: 30px; fill: none; stroke: #8195ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.purpose-note p { margin: 0; color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20, 34, 54, .95), rgba(12, 22, 36, .95));
}
.feature.featured { border-color: #40559d; background: linear-gradient(145deg, #1b2b59, #121f39); }
.feature p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border-radius: 12px;
  color: #9dacf9;
  background: rgba(91, 114, 244, .13);
}
.feature-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 220px;
}
.feature.wide > div { max-width: 650px; }
.feature.wide .feature-icon { margin-bottom: 18px; }
.feature.wide img {
  width: 232px;
  border: 1px solid #344964;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}

.guide {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(48px, 9vw, 124px);
  border-top: 1px solid var(--line);
}
.guide-intro { position: sticky; top: 118px; align-self: start; }
.guide-intro p { color: var(--muted); font-size: 1.05rem; }
.text-link { color: #9eaeff; font-weight: 700; text-decoration: none; }
.text-link:hover { color: #fff; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-number { color: #7f94ff; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.steps p { margin: 0; color: var(--muted); }
.steps strong { color: #dfe6f4; }

.popup-showcase {
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  gap: clamp(48px, 9vw, 120px);
}
.popup-image {
  padding: 24px;
  border: 1px solid #293e5a;
  border-radius: 30px;
  background: radial-gradient(circle at 50% 10%, #1c3162, #0d1726 72%);
}
.popup-image img {
  width: 100%;
  border-radius: 17px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4);
}
.popup-copy p { color: var(--muted); font-size: 1.05rem; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 13px 0; padding-left: 30px; color: #d3dcec; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #071d16;
  background: var(--green);
  font-size: .72rem;
  font-weight: 900;
}

.gallery { border-top: 1px solid var(--line); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid #293d57;
  border-radius: 18px;
  color: var(--text);
  background: var(--surface);
  cursor: zoom-in;
}
.gallery-item.large { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.015); }
.gallery-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  background: rgba(5, 11, 20, .78);
  font-size: .8rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.download-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 80px;
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(120deg, #4965ed, #3049c1);
  box-shadow: 0 24px 60px rgba(30, 50, 160, .25);
}
.download-panel img { border-radius: 18px; box-shadow: 0 12px 26px rgba(12, 24, 93, .3); }
.download-panel .kicker { margin-bottom: 6px; color: #dfe5ff; }
.download-panel h2 { margin-bottom: 2px; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.download-panel p { margin: 0; color: #e3e8ff; }
.button.light { color: #19234c; background: #fff; }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}
footer p { margin: 0; }
.footer-brand img { border-radius: 9px; }

.lightbox {
  width: min(1100px, calc(100% - 36px));
  max-width: none;
  padding: 16px;
  border: 1px solid #3a4f6e;
  border-radius: 20px;
  color: var(--text);
  background: #0b1421;
  box-shadow: 0 30px 90px rgba(0,0,0,.7);
}
.lightbox::backdrop { background: rgba(1, 5, 11, .82); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 12px; }
.lightbox p { margin: 13px 48px 0 4px; color: var(--muted); }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #52647d;
  border-radius: 11px;
  color: #fff;
  background: rgba(7, 13, 23, .9);
  font-size: 1.5rem;
  cursor: pointer;
}

:focus-visible { outline: 3px solid #9aabff; outline-offset: 3px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .menu-button {
    display: grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    margin-left: 20px;
    place-content: center;
    border: 1px solid #344761;
    border-radius: 11px;
    background: transparent;
  }
  .menu-button span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #d9e2f2; }
  nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid #2c405b;
    border-radius: 14px;
    background: #0e1827;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
  }
  nav.open { display: flex; }
  nav a { padding: 10px 12px; }
  .header-download { justify-self: end; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { max-width: 800px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-header { width: min(calc(100% - 24px), var(--max)); min-height: 68px; }
  .site-header .brand span { font-size: .9rem; }
  .site-header .brand small { display: none; }
  .header-download { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { margin-left: 0; justify-self: end; }
  .hero, .section, footer { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 56px 0 84px; gap: 48px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .lead { font-size: 1.04rem; }
  .app-shot { transform: none; border-radius: 14px; }
  .floating-card { right: 12px; bottom: -40px; min-width: 205px; }
  .section { padding: 78px 0; }
  .purpose-grid, .guide, .popup-showcase { grid-template-columns: 1fr; gap: 34px; }
  .guide-intro { position: static; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .feature.wide { grid-column: auto; grid-template-columns: 1fr; }
  .feature.wide img { width: min(100%, 270px); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-row: auto; }
  .download-panel { grid-template-columns: auto 1fr; padding: 28px 24px; }
  .download-panel .button { grid-column: 1 / -1; }
  footer { grid-template-columns: 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
