:root {
  --bg: #f6f5fb;
  --surface: #ffffff;
  --surface-2: #efedf7;
  --fg: #17151f;
  --muted: #67637a;
  --line: rgb(23 21 31 / 0.08);
  --accent: #5b3fe0;
  --from: #7357f6;
  --to: #3e6bf2;
  --glass: rgb(255 255 255 / 0.7);
  --shadow: 0 2px 6px rgb(30 20 80 / 0.06), 0 22px 60px rgb(40 24 120 / 0.16);
  --a1: rgb(139 108 255 / 0.32);
  --a2: rgb(62 107 242 / 0.24);
  --a3: rgb(255 140 200 / 0.16);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e15;
    --surface: #17161f;
    --surface-2: #201e2b;
    --fg: #f3f1fa;
    --muted: #a19db5;
    --line: rgb(255 255 255 / 0.08);
    --accent: #a996ff;
    --glass: rgb(23 22 31 / 0.66);
    --shadow: 0 2px 8px rgb(0 0 0 / 0.35), 0 24px 64px rgb(0 0 0 / 0.5);
    --a1: rgb(139 108 255 / 0.28);
    --a2: rgb(62 107 242 / 0.22);
    --a3: rgb(255 120 190 / 0.1);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font:
    16px/1.55 'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aurora {
  position: fixed;
  inset: -20vh -10vw auto;
  height: 110vh;
  z-index: -1;
  background:
    radial-gradient(40% 40% at 18% 20%, var(--a1), transparent 70%),
    radial-gradient(35% 35% at 82% 12%, var(--a2), transparent 70%),
    radial-gradient(30% 30% at 60% 70%, var(--a3), transparent 70%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    transform: translate3d(2vw, 3vh, 0) scale(1.05);
  }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(24px, calc((100% - 1160px) / 2 + 24px));
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--muted);
}
.nav-links a:not(.btn):hover {
  color: var(--fg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 16px;
  transition:
    transform 0.15s,
    filter 0.15s,
    background 0.15s;
}
.btn:active {
  transform: scale(0.97);
}
.btn-small {
  height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--from), var(--to));
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--from), var(--to));
  box-shadow: 0 12px 32px -10px rgb(91 63 224 / 0.7);
}
.btn-primary:hover,
.btn-small:hover {
  filter: brightness(1.1);
}
.btn-ghost {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--surface);
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 96px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #12a150;
  box-shadow: 0 0 0 4px rgb(18 161 80 / 0.18);
}
h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.gradient {
  background: linear-gradient(135deg, var(--from), var(--to) 60%, #c06cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 22px 0 32px;
  max-width: 34em;
  font-size: 19px;
  color: var(--muted);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.version {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}
.window {
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-visual:hover .window {
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}
.window-bar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.window-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}
.window-bar i:nth-child(2) {
  background: #febc2e;
}
.window-bar i:nth-child(3) {
  background: #28c840;
}
.window img {
  display: block;
  width: 100%;
  height: auto;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: var(--shadow);
  font-size: 14px;
  animation: float 6s ease-in-out infinite;
}
.float-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.call-card {
  left: -36px;
  bottom: 36px;
}
.lock-card {
  right: -20px;
  top: 64px;
  font-weight: 600;
  animation-delay: -3s;
}
.lock-card svg {
  color: #12a150;
}
.pulse {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1fb866;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #1fb866;
  animation: ping 1.6s ease-out infinite;
}
@keyframes ping {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

section h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: -0.03em;
  text-align: center;
}
.features {
  padding: 40px 0 80px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.grid article {
  padding: 26px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.grid h3 {
  margin: 16px 0 6px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--from), var(--to));
  box-shadow: 0 10px 24px -10px rgb(91 63 224 / 0.8);
}
.icon svg {
  width: 22px;
  height: 22px;
}

.download {
  padding: 40px 0 96px;
  text-align: center;
}
.sub {
  margin: 0 0 36px;
  color: var(--muted);
}
.platforms {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 14px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.platform:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.platform svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.4;
}
.platform strong {
  display: block;
  font-size: 17px;
}
.platform small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.platform.recommended {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--from), var(--to)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 16px 40px -18px rgb(91 63 224 / 0.6);
}
.help {
  max-width: 720px;
  margin: 36px auto 0;
  text-align: left;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--line);
}
.help summary {
  cursor: pointer;
  font-weight: 600;
}
.help li {
  margin: 10px 0;
  color: var(--muted);
}
.help strong {
  color: var(--fg);
}
code {
  display: block;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--fg);
  font-size: 13px;
  overflow-x: auto;
  white-space: nowrap;
}

.footer {
  display: flex;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 64px;
    gap: 48px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platforms {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform[data-os='web'] {
    grid-column: 1 / -1;
  }
  .call-card {
    left: 8px;
  }
  .lock-card {
    right: 8px;
  }
}
@media (max-width: 600px) {
  .nav {
    padding: 12px 16px;
  }
  .nav .btn-small {
    width: auto;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  main {
    padding: 0 16px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .window {
    transform: none;
  }
  .float-card {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aurora,
  .float-card,
  .pulse::after {
    animation: none;
  }
}
