:root {
  --bg: #e8f1fc;
  --bg-2: #f4f8fe;
  --ink: #142239;
  --muted: #60728b;
  --blue: #4c7fd6;
  --blue-2: #75a2ec;
  --blue-deep: #2f5fae;
  --blue-soft: #dfeafb;
  --line: rgba(77, 112, 166, 0.16);
  --line-strong: rgba(77, 112, 166, 0.26);
  --panel: rgba(255, 255, 255, 0.7);
  --shadow: 0 30px 80px rgba(47, 83, 137, 0.16);
  --radius: 28px;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1000px 700px at 8% -8%, #fbfdff 0%, transparent 55%),
    radial-gradient(900px 700px at 100% 8%, #cfe1f9 0%, transparent 52%),
    linear-gradient(145deg, #edf5ff 0%, #dce9f9 50%, #edf5ff 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(76, 127, 214, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 127, 214, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 72%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
::selection { background: rgba(76, 127, 214, 0.24); color: var(--ink); }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.page-glow { position: fixed; border-radius: 50%; filter: blur(20px); pointer-events: none; z-index: -1; }
.page-glow-a { width: 520px; height: 520px; top: 12%; left: -220px; background: rgba(160, 196, 244, 0.35); }
.page-glow-b { width: 460px; height: 460px; top: 48%; right: -180px; background: rgba(188, 216, 250, 0.45); }

.site-header {
  width: min(1180px, calc(100% - 48px));
  margin: 20px auto 0;
  padding: 10px 12px 10px 18px;
  display: flex; align-items: center; gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(47, 83, 137, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px) saturate(1.1);
  position: sticky; top: 16px; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: Unbounded, Manrope, sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.03em; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 11px; object-fit: cover;
  box-shadow: 0 8px 18px rgba(47, 83, 137, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.05); box-shadow: 0 10px 22px rgba(47, 83, 137, 0.3); }
.site-nav {
  display: flex; gap: 3px; margin-left: auto; padding: 4px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.34);
}
.site-nav a {
  padding: 7px 13px; border-radius: 999px;
  color: #4f6481; font-size: 12.5px; font-weight: 700;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.site-nav a:hover { color: var(--blue-deep); background: rgba(255, 255, 255, 0.85); box-shadow: 0 4px 12px rgba(47, 83, 137, 0.08); }
.site-nav a.is-active {
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 4px 14px rgba(47, 83, 137, 0.12), inset 0 0 0 1px rgba(76, 127, 214, 0.16);
}

.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 13px; padding: 13px 19px;
  font-size: 13px; font-weight: 800; line-height: 1.2; overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue) 55%, var(--blue-2));
  box-shadow: 0 12px 26px rgba(76, 127, 214, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.3) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}
.btn-primary:hover { box-shadow: 0 18px 36px rgba(76, 127, 214, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-soft {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(76, 127, 214, 0.2);
  box-shadow: 0 8px 22px rgba(47, 83, 137, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.btn-soft:hover { background: #fff; border-color: rgba(76, 127, 214, 0.34); box-shadow: 0 14px 30px rgba(47, 83, 137, 0.12); }
.btn-small { padding: 10px 15px; font-size: 12px; border-radius: 999px; }

.hero {
  width: min(1180px, calc(100% - 48px));
  margin: 46px auto 0;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 42px; align-items: center;
}
.hero-copy { position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0; border: 0; background: none; box-shadow: none;
  color: #4d7f73; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.01em; text-transform: none;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #58a68f; box-shadow: 0 0 0 4px rgba(88, 166, 143, 0.15); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(88, 166, 143, 0.15); }
  50% { box-shadow: 0 0 0 7px rgba(88, 166, 143, 0.05); }
}
h1 {
  margin: 16px 0 14px;
  font-family: Unbounded, Manrope, sans-serif; font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.02; letter-spacing: -0.055em; font-weight: 700;
  text-wrap: balance;
}
h1 span {
  color: var(--blue);
  background: linear-gradient(115deg, var(--blue-deep) 0%, var(--blue) 45%, #90bcf5 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { max-width: 525px; margin: 0; color: #526983; font-size: 14.5px; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-download { min-width: 224px; justify-content: flex-start; padding: 14px 17px; border-radius: 15px; }
.btn-download strong { display: block; font-size: 13px; }
.btn-icon {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.2); font-size: 17px; flex: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease;
}
.btn-download:hover .btn-icon { transform: translateY(2px); }
.btn-soft .btn-icon { background: rgba(76, 127, 214, 0.12); box-shadow: none; }

.download-menu { position: relative; }
.btn-caret {
  width: 8px; height: 8px; margin-left: auto;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn[aria-expanded="true"] .btn-caret { transform: translateY(2px) rotate(-135deg); opacity: 0.9; }
.download-popover {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30;
  display: none; padding: 6px;
  min-width: 100%; width: max-content; max-width: calc(100vw - 28px);
  border-radius: 16px; background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(47, 83, 137, 0.24), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px) saturate(1.1);
}
.download-popover.is-open { display: grid; gap: 3px; animation: pop 0.16s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.download-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 13px; border-radius: 11px;
  transition: background 0.15s ease;
}
.download-option:hover, .download-option:focus-visible { background: var(--blue-soft); }
.download-format { font-size: 12.5px; font-weight: 800; color: var(--ink); }

.hero-visual { position: relative; min-height: 370px; display: grid; place-items: center; }
.hero-visual::before {
  content: "";
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 127, 214, 0.26), transparent 68%);
  filter: blur(26px); z-index: 0;
}
.window-card {
  width: 96%; border-radius: 24px; overflow: hidden; background: #f7fbff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 40px 90px rgba(47, 83, 137, 0.22),
    0 12px 30px rgba(47, 83, 137, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: rotate(-1.2deg); position: relative; z-index: 2;
  transition: transform 0.35s ease;
}
.hero-visual:hover .window-card { transform: rotate(0deg) translateY(-3px); }
.window-top { display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: linear-gradient(180deg, rgba(243, 249, 255, 0.96), rgba(232, 243, 255, 0.9)); border-bottom: 1px solid var(--line); color: #6d8099; font-size: 10px; font-weight: 700; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c9d8ea; }
.window-dots i:first-child { background: #f0b7b7; }
.window-dots i:nth-child(2) { background: #f0d6a8; }
.window-dots i:nth-child(3) { background: #b6dfca; }
.window-mini { margin-left: auto; letter-spacing: 0.15em; }
.window-card img { width: 100%; aspect-ratio: 1.28 / 1; object-fit: cover; object-position: top center; }
.visual-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(76, 127, 214, 0.16); z-index: 0; }
.orbit-a { width: 500px; height: 500px; }
.orbit-b { width: 350px; height: 350px; border-style: dashed; transform: rotate(20deg); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(380deg); } }
.float-card {
  position: absolute; z-index: 3; display: grid; gap: 2px; padding: 12px 15px;
  border-radius: 16px; background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(47, 83, 137, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  animation: float 5s ease-in-out infinite;
}
.float-card strong { font-size: 12px; }
.float-card > span:last-child { color: #7b8da3; font-size: 10px; }
.float-server { left: -20px; bottom: 34px; }
.float-version { right: -14px; top: 44px; animation-delay: -2.4s; }
.float-status { display: inline-flex; align-items: center; gap: 5px; color: #4d8d7d !important; }
.float-status i { width: 6px; height: 6px; border-radius: 50%; background: #58a68f; box-shadow: 0 0 0 3px rgba(88, 166, 143, 0.16); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.section { position: relative; isolation: isolate; width: min(1180px, calc(100% - 48px)); margin: 64px auto 0; }
section[id] { scroll-margin-top: 96px; }
#download { scroll-margin-top: 110px; }

.section + .section::before {
  content: ""; position: absolute; top: -32px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 22%, rgba(76, 127, 214, 0.42) 50%, var(--line-strong) 78%, transparent);
  pointer-events: none;
}

#features::after,
#how::after,
#faq::after {
  position: absolute; z-index: -1; top: -26px;
  font-family: Unbounded, Manrope, sans-serif; font-weight: 700;
  font-size: clamp(110px, 14vw, 190px); line-height: 0.8; letter-spacing: -0.08em;
  color: transparent; -webkit-text-stroke: 1px rgba(76, 127, 214, 0.13);
  pointer-events: none; user-select: none;
}
#features::after { content: "01"; right: 0; }
#how::after { content: "02"; left: 0; }
#faq::after { content: "03"; right: 0; }
.hero + .section { margin-top: 34px; }
.section-head { max-width: 670px; }
.section-head h2 {
  margin: 0; font-family: Unbounded, Manrope, sans-serif; font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.12; letter-spacing: -0.045em; text-wrap: balance;
}
.section-head > p:last-child { margin: 12px 0 0; color: #5c7089; font-size: 13.5px; line-height: 1.65; }
.section-head.compact { max-width: none; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; counter-reset: feature; }
.feature-card {
  position: relative; overflow: hidden; counter-increment: feature;
  padding: 21px 20px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 36px rgba(47, 83, 137, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature-card::before {
  content: "0" counter(feature);
  position: absolute; top: 18px; right: 18px;
  font-family: Unbounded, Manrope, sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; color: rgba(76, 127, 214, 0.42);
}
.feature-card::after {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(76, 127, 214, 0.75), transparent);
  opacity: 0; transition: opacity 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 127, 214, 0.24);
  box-shadow: 0 24px 52px rgba(47, 83, 137, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.feature-card:hover::after { opacity: 1; }
.feature-wide {
  grid-column: span 2;
  background:
    radial-gradient(360px 200px at 100% 0%, rgba(159, 196, 245, 0.32), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(225, 237, 253, 0.62));
}
.feature-card h3 { margin: 0 0 8px; padding-right: 34px; font-size: 14px; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: #61758e; font-size: 12px; line-height: 1.68; }

.how { padding-top: 6px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.steps::before {
  content: ""; position: absolute; top: 41px; left: 7%; right: 7%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  z-index: 0;
}
.step {
  position: relative; z-index: 1; padding: 21px;
  border-radius: 18px; background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(47, 83, 137, 0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 127, 214, 0.22);
  box-shadow: 0 22px 46px rgba(47, 83, 137, 0.11);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 10px 22px rgba(76, 127, 214, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff; font-family: Unbounded, Manrope, sans-serif; font-size: 11px;
}
.step h3 { margin: 0 0 8px; font-size: 14px; }
.step p { margin: 0; color: #61758e; font-size: 12px; line-height: 1.68; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
details {
  padding: 18px 20px; border-radius: 17px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
details:hover { border-color: rgba(76, 127, 214, 0.22); background: rgba(255, 255, 255, 0.66); }
details[open] {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(76, 127, 214, 0.26);
  box-shadow: 0 14px 34px rgba(47, 83, 137, 0.08);
}
summary { cursor: pointer; font-size: 12.5px; font-weight: 800; color: #344b68; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep);
  font-size: 15px; line-height: 1; transition: transform 0.2s ease, background 0.2s ease;
}
details[open] summary::after { content: "−"; background: var(--blue); color: #fff; transform: rotate(180deg); }
details p { margin: 12px 0 0; color: #62768e; font-size: 12px; line-height: 1.68; }

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 56px auto 0; padding: 24px 0 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--line); color: #70839b; font-size: 11px;
}
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-logo { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; }
.footer-brand strong { display: block; color: var(--ink); font-family: Unbounded, Manrope, sans-serif; font-size: 13px; }
.footer-brand span { display: block; margin-top: 2px; font-size: 10px; }
.footer-links { display: flex; gap: 6px; }
.footer-links a { padding: 6px 10px; border-radius: 999px; transition: color 0.15s ease, background 0.15s ease; }
.footer-links a:hover { color: var(--blue-deep); background: rgba(255, 255, 255, 0.6); }

.toast { position: fixed; right: 24px; bottom: 24px; padding: 11px 15px; border-radius: 12px; background: #1d3049; color: #eaf3ff; font-size: 12px; box-shadow: 0 14px 34px rgba(22, 36, 58, 0.3); z-index: 40; }
.hidden { display: none !important; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 34px; margin-top: 34px; }
  .hero-visual { min-height: 340px; max-width: 620px; width: 100%; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-wide { grid-column: span 2; }
  .site-nav { display: none; }
  .header-download { margin-left: auto; }
}
@media (max-width: 720px) {
  .site-header, .hero, .section, .site-footer { width: calc(100% - 28px); }
  .site-header { margin-top: 10px; padding: 8px 9px 8px 12px; }
  .brand { font-size: 16px; }
  .brand-logo { width: 30px; height: 30px; }
  .hero { margin-top: 28px; }
  h1 { font-size: clamp(34px, 10vw, 50px); }
  .hero-lead { font-size: 14px; }
  .btn-download { width: 100%; min-width: 0; }
  .download-menu { width: 100%; }
  .feature-grid, .steps, .faq-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: span 1; }
  .steps::before { display: none; }
  .section { margin-top: 48px; }
  .section + .section::before { top: -24px; }
  #features::after, #how::after, #faq::after { display: none; }
  .site-footer { flex-direction: column; align-items: flex-start; margin-top: 40px; }
  .float-server { left: -6px; bottom: 12px; }
  .float-version { right: -4px; top: 20px; }
  .visual-orbit { display: none; }
}

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