:root {
  color-scheme: light;
  --blue: #2563eb;
  --blue-strong: #1557e8;
  --blue-soft: #edf4ff;
  --ink: #172033;
  --muted: #667085;
  --line: #e5eaf2;
  --surface: rgba(255, 255, 255, .82);
  --tint: #f6f9fe;
  --green: #28c664;
  --shadow: 0 24px 70px rgba(26, 55, 105, .13);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 8% 6%, rgba(66, 133, 255, .10), transparent 25rem),
    radial-gradient(circle at 93% 16%, rgba(66, 214, 255, .09), transparent 24rem);
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 12px;
  color: white;
  background: var(--blue);
}

.skip-link:focus { top: 12px; }

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(222, 229, 240, .72);
  background: rgba(250, 252, 255, .74);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.nav-wrap {
  width: min(calc(100% - 40px), var(--max));
  min-height: 72px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.brand img { filter: drop-shadow(0 6px 12px rgba(37, 99, 235, .18)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #536079;
  font-size: 14px;
}

.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--blue); }

.nav-wrap > .button { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 680;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .25);
  outline-offset: 3px;
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  color: var(--blue);
  background: #edf3ff;
  border-radius: 12px;
  font-size: 13px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #3474f5, #1c5fe8);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .24), inset 0 1px rgba(255, 255, 255, .25);
}

.button-primary:hover { box-shadow: 0 14px 32px rgba(37, 99, 235, .31); }

.button-secondary {
  color: #344054;
  background: rgba(255, 255, 255, .72);
  border-color: #dfe5ee;
  box-shadow: 0 8px 24px rgba(38, 54, 84, .06);
}

.button-secondary:hover { border-color: #cbd5e3; background: white; }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 58px;
  padding-top: 78px;
  padding-bottom: 82px;
}

.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.eyebrow {
  padding: 9px 13px;
  border: 1px solid #dce8ff;
  border-radius: 999px;
  background: rgba(241, 246, 255, .84);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(40, 198, 100, .12);
}

.hero h1 {
  margin: 25px 0 22px;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 1.03;
  letter-spacing: -.065em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #1e60e7, #3f8cff 58%, #51b8e7);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.hero-actions .button { min-height: 52px; padding-inline: 23px; }
.windows-mark { font-size: 22px; line-height: 0; transform: rotate(45deg); }
.download-note { margin: 15px 0 0; color: #8a94a6; font-size: 12px; }

.hero-visual { position: relative; isolation: isolate; }

.window-card {
  position: relative;
  z-index: 2;
  padding: 8px;
  border: 1px solid rgba(214, 223, 237, .86);
  border-radius: 34px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 36px 90px rgba(31, 64, 119, .17), inset 0 1px white;
  backdrop-filter: blur(18px);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
}

.window-card img { width: 100%; border-radius: 27px; }

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  opacity: .8;
  z-index: -1;
}

.glow-one { width: 330px; height: 330px; right: -40px; top: -30px; background: rgba(60, 145, 255, .20); }
.glow-two { width: 250px; height: 250px; left: -50px; bottom: -50px; background: rgba(66, 218, 232, .15); }

.float-pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  color: #41506c;
  border: 1px solid rgba(223, 229, 239, .92);
  border-radius: 15px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 30px rgba(27, 54, 98, .13);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 650;
}

.float-pill span { color: var(--blue); font-size: 16px; }
.pill-top { top: 14%; right: -28px; }
.pill-bottom { left: -35px; bottom: 12%; }

.trust-strip {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  display: grid;
  gap: 5px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { font-size: 14px; }
.trust-strip span { color: #8b95a6; font-size: 12px; }

.section { padding-top: 120px; padding-bottom: 120px; }
.section-tinted { background: linear-gradient(180deg, #f8faff, #f4f8fe); }

.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }

.section-heading h2, .demo-copy h2, .install-copy h2, .privacy-copy h2, .cta-card h2 {
  margin: 13px 0 17px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.16;
  letter-spacing: -.045em;
}

.section-heading p, .demo-copy > p, .install-copy > p, .privacy-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.problem-section { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 72px; }
.problem-section .section-heading { margin-bottom: 0; }

.path-compare {
  padding: 28px;
  border: 1px solid #e0e7f1;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,250,255,.9));
  box-shadow: var(--shadow);
}

.path-row { display: grid; gap: 12px; }
.path-label { width: fit-content; padding: 5px 9px; border-radius: 8px; font-size: 11px; font-weight: 700; }
.path-label.old { color: #895b16; background: #fff6df; }
.path-label.new { color: #166534; background: #eaf9ef; }
.path-row code { overflow-wrap: anywhere; color: #4b5870; font: 13px/1.75 "Cascadia Code", Consolas, monospace; }
.path-row mark { padding: 3px 5px; color: #a04430; border-radius: 6px; background: #fff0eb; }
.path-row.result mark { color: #1557e8; background: #e8f0ff; }
.path-arrow { margin: 16px 0; color: #aab3c2; font-size: 21px; }

.demo-layout { display: grid; grid-template-columns: .74fr 1.26fr; align-items: center; gap: 80px; }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: #526079; line-height: 1.6; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.demo-card {
  padding: 30px;
  border: 1px solid #dde6f4;
  border-radius: 30px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.demo-card label { display: block; margin: 0 0 9px; color: #536079; font-size: 12px; font-weight: 700; }
.demo-card label:not(:first-child) { margin-top: 19px; }
.ip-field { display: flex; align-items: center; border: 1px solid #dce3ed; border-radius: 14px; overflow: hidden; background: #fff; }
.ip-field span { display: grid; width: 46px; align-self: stretch; place-items: center; color: var(--blue); background: #edf4ff; font-size: 12px; font-weight: 800; }
.ip-field input { width: 100%; padding: 14px 15px; border: 0; outline: 0; color: var(--ink); background: transparent; }

.demo-card textarea {
  width: 100%;
  min-height: 132px;
  padding: 15px;
  resize: vertical;
  color: #354158;
  border: 1px solid #dce3ed;
  border-radius: 14px;
  outline: 0;
  background: #fbfcff;
  font: 12px/1.75 "Cascadia Code", Consolas, monospace;
}

.demo-button { width: 100%; margin-top: 18px; border: 0; }
.demo-result { margin-top: 18px; padding: 15px; border: 1px solid #dbe7ff; border-radius: 14px; background: #f3f7ff; }
.result-head { display: flex; align-items: center; justify-content: space-between; color: #42618f; font-size: 11px; font-weight: 700; }
.result-head button { padding: 5px 8px; color: var(--blue); border: 0; border-radius: 7px; background: #fff; cursor: pointer; }
.demo-result pre { margin: 11px 0 0; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: #24447d; font: 12px/1.7 "Cascadia Code", Consolas, monospace; }
.demo-error { margin: 13px 0 0; color: #d14343; font-size: 12px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  min-height: 248px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff, #fbfcff);
  box-shadow: 0 12px 32px rgba(38, 56, 91, .055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover { transform: translateY(-5px); border-color: #d3def0; box-shadow: 0 20px 46px rgba(38, 56, 91, .10); }
.feature-card h3 { margin: 18px 0 10px; font-size: 19px; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.78; }
.feature-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; font-size: 21px; font-weight: 750; }
.feature-icon.blue { color: #2261de; background: #eaf1ff; }
.feature-icon.cyan { color: #087a9e; background: #e6f8fc; }
.feature-icon.violet { color: #6d45cd; background: #f1ecff; }
.feature-icon.green { color: #18874a; background: #e8f9ef; }
.feature-icon.orange { color: #b56717; background: #fff2e2; }
.feature-icon.slate { color: #526079; background: #edf0f5; }
.mini-code { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: #60708c; font: 12px "Cascadia Code", Consolas, monospace; }
.mini-code span { padding: 8px 10px; border-radius: 9px; background: #f2f5fa; }
.mini-code span:last-child { color: var(--blue); background: #eaf1ff; }
.mini-code b { color: #9aa5b7; }

.steps { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: center; }
.step { min-height: 225px; padding: 28px; border: 1px solid #e0e7f1; border-radius: 24px; background: white; box-shadow: 0 12px 30px rgba(38, 56, 91, .06); }
.step-number { color: #8fb2f8; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.step h3 { margin: 38px 0 10px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.step-line { height: 1px; background: linear-gradient(90deg, #c9d5e7, #8fb2f8, #c9d5e7); }

.gallery { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 300px 210px; gap: 18px; }
.shot { position: relative; overflow: hidden; padding: 0; border: 1px solid #e1e6ef; border-radius: 26px; background: #f4f7fc; cursor: zoom-in; box-shadow: 0 13px 32px rgba(38, 56, 91, .06); }
.shot-main { grid-row: 1 / 3; }
.shot img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.shot-main img { object-fit: cover; object-position: top center; }
.shot-settings img { object-fit: cover; object-position: top center; }
.shot:hover img { transform: scale(1.025); }
.shot span { position: absolute; left: 16px; bottom: 16px; padding: 8px 11px; color: #39465d; border: 1px solid rgba(224,229,238,.92); border-radius: 10px; background: rgba(255,255,255,.9); box-shadow: 0 8px 18px rgba(32,52,88,.08); backdrop-filter: blur(10px); font-size: 12px; font-weight: 700; }

.install-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 45px;
  min-height: 600px;
  padding: 56px 54px;
  border: 1px solid #dfe7f3;
  border-radius: 36px;
  background: linear-gradient(135deg, #f3f7ff, #ffffff 58%, #eef6ff);
  box-shadow: var(--shadow);
}

.install-copy { align-self: center; }
.install-copy h2 { font-size: clamp(32px, 3.5vw, 47px); }
.installer-stack { position: relative; min-height: 480px; align-self: center; }
.installer-stack img { position: absolute; width: 100%; border: 1px solid #d9e1ed; border-radius: 22px; box-shadow: 0 24px 54px rgba(36, 61, 103, .17); }
.installer-back { right: -80px; top: 14px; transform: rotate(2.5deg); opacity: .82; }
.installer-front { left: 0; bottom: 0; transform: rotate(-1.2deg); }

.privacy-layout { display: grid; grid-template-columns: 270px 1fr; align-items: center; gap: 76px; }
.privacy-seal { text-align: center; color: #7a89a2; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.seal-ring { display: grid; width: 220px; height: 220px; margin: 0 auto 18px; place-items: center; border: 1px solid #dbe6f5; border-radius: 50%; background: radial-gradient(circle, #fff 0 38%, #eaf3ff 39% 45%, transparent 46%), repeating-radial-gradient(circle, #eef5ff 0 5px, #f8fbff 6px 12px); box-shadow: inset 0 0 0 15px rgba(255,255,255,.64), 0 24px 50px rgba(44,84,142,.12); }
.seal-ring span { display: grid; width: 68px; height: 68px; place-items: center; color: white; border-radius: 50%; background: linear-gradient(145deg, #3c81f6, #205fe3); box-shadow: 0 12px 28px rgba(37,99,235,.28); font-size: 34px; }
.privacy-copy h2 { max-width: 780px; }
.privacy-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 27px; }
.privacy-links a { color: var(--blue); font-size: 14px; font-weight: 700; }

.cta-section { padding-top: 90px; padding-bottom: 90px; }
.cta-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; padding: 38px 42px; border: 1px solid #dce6f5; border-radius: 30px; background: linear-gradient(135deg, #f3f8ff, #fff); box-shadow: 0 20px 55px rgba(42,70,115,.09); }
.cta-card img { filter: drop-shadow(0 12px 20px rgba(37,99,235,.18)); }
.cta-card h2 { margin: 0 0 7px; font-size: clamp(25px, 3vw, 35px); }
.cta-card p { margin: 0; color: var(--muted); }

.footer { padding: 36px 0 42px; border-top: 1px solid var(--line); background: #fbfcfe; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; }
.footer-author { display: flex; align-items: center; gap: 12px; }
.footer-author img { border-radius: 50%; background: #eef3fa; }
.footer-author div { display: grid; gap: 3px; }
.footer-author strong { font-size: 14px; }
.footer-author span, .footer-license { color: #8a94a5; font-size: 11px; }
.footer-links { display: flex; gap: 22px; color: #536079; font-size: 12px; }
.footer-links a:hover { color: var(--blue); }
.footer-license { grid-column: 1 / -1; margin: 10px 0 0; text-align: center; }

.mobile-download { display: none; }

.lightbox {
  width: min(94vw, 980px);
  max-height: 92vh;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 26px;
  background: rgba(14, 21, 34, .78);
  box-shadow: 0 34px 90px rgba(0,0,0,.4);
  backdrop-filter: blur(20px);
}

.lightbox::backdrop { background: rgba(10, 16, 26, .54); backdrop-filter: blur(8px); }
.lightbox img { max-height: calc(92vh - 36px); margin: auto; border-radius: 14px; }
.lightbox-close { position: absolute; right: 25px; top: 25px; z-index: 2; display: grid; width: 38px; height: 38px; place-items: center; color: #4a566b; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); cursor: pointer; font-size: 24px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 980px) {
  .nav-wrap { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .problem-section, .demo-layout { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step-line { width: 1px; height: 24px; margin: -16px auto; background: linear-gradient(#c9d5e7, #8fb2f8, #c9d5e7); }
  .step { min-height: auto; }
  .step h3 { margin-top: 24px; }
  .install-card { grid-template-columns: 1fr; }
  .installer-stack { min-height: 450px; }
  .privacy-layout { grid-template-columns: 1fr; gap: 45px; text-align: center; }
  .privacy-copy > p { max-width: 760px; margin-inline: auto; }
  .privacy-links { justify-content: center; }
  .cta-card { grid-template-columns: auto 1fr; }
  .cta-card .button { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .section-shell, .nav-wrap, .trust-strip { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: relative; }
  .nav-wrap { min-height: 66px; }
  .nav-wrap > .button { display: none; }
  .hero { gap: 45px; padding: 44px 0 65px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .window-card { padding: 5px; border-radius: 23px; transform: none; }
  .window-card img { border-radius: 19px; }
  .float-pill { display: none; }
  .trust-strip { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .section-heading h2, .demo-copy h2, .install-copy h2, .privacy-copy h2 { font-size: 34px; }
  .path-compare, .demo-card { padding: 20px; border-radius: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 370px 470px 190px; }
  .shot-main { grid-row: auto; }
  .shot-main img { object-fit: cover; }
  .install-card { min-height: auto; padding: 34px 22px; border-radius: 27px; }
  .installer-stack { min-height: 330px; }
  .installer-back { right: -45px; }
  .privacy-seal { transform: scale(.86); margin: -20px 0; }
  .cta-section { padding-bottom: 120px; }
  .cta-card { grid-template-columns: 1fr; padding: 30px 24px; text-align: center; }
  .cta-card img { margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { order: 3; }
  .mobile-download { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: block; }
  .mobile-download .button { min-height: 52px; box-shadow: 0 14px 36px rgba(37,99,235,.35); }
}
