:root {
  --ink: #071725;
  --muted: #5c7080;
  --line: #dce8ef;
  --surface: #f4f8fb;
  --blue: #087baa;
  --blue-dark: #005e8d;
  --cyan: #55d9ff;
  --white: #fff;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

.ambient { position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.ambient-one { width: 620px; height: 620px; right: -190px; top: -210px; background: radial-gradient(circle, rgba(85,217,255,.24), rgba(85,217,255,0) 68%); }
.ambient-two { width: 500px; height: 500px; left: -250px; top: 620px; background: radial-gradient(circle, rgba(125,111,255,.12), rgba(125,111,255,0) 70%); }

.site-header {
  width: var(--shell);
  height: 86px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(7,23,37,.08);
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 12px; }
.brand span { display: grid; }
.brand small { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.header-download { padding: 12px 20px; color: #fff; background: var(--ink); border-radius: 999px; font-size: 14px; font-weight: 750; transition: transform .2s, background .2s; }
.header-download:hover { background: var(--blue-dark); transform: translateY(-2px); }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.04fr .96fr; gap: 70px; align-items: center; padding-block: 76px 88px; }
.version-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; color: #075a7e; background: #eaf9ff; border: 1px solid #bceeff; border-radius: 999px; font-size: 13px; font-weight: 800; }
.version-pill span { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 5px rgba(18,183,106,.12); }
h1 { max-width: 700px; margin: 24px 0 22px; font-size: clamp(44px, 6vw, 76px); line-height: 1.03; letter-spacing: -.055em; }
.hero-lead { max-width: 650px; margin: 0; color: #435b6b; font-size: clamp(18px, 2vw, 22px); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 22px; border-radius: 16px; font-weight: 800; transition: transform .2s, box-shadow .2s, border-color .2s; }
.button:hover { transform: translateY(-3px); }
.button.primary { color: #fff; background: linear-gradient(135deg, #0078aa, #005c91); box-shadow: 0 16px 32px rgba(0,99,151,.22); }
.button.secondary { color: var(--ink); background: #fff; border: 1px solid #cbdbe4; }
.button.secondary:hover { border-color: var(--blue); box-shadow: 0 12px 28px rgba(24,72,98,.1); }
.button strong, .button small { display: block; }
.button small { margin-top: 2px; font-size: 11px; font-weight: 650; opacity: .78; }
.download-icon { width: 32px; height: 32px; display: grid; place-items: center; color: #005f8d; background: #fff; border-radius: 10px; font-size: 20px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; color: #5c7080; font-size: 12px; font-weight: 700; }

.hero-visual { position: relative; min-height: 570px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 48px; background: linear-gradient(145deg, #e9f9ff, #dfe8ff 55%, #f5eaff); transform: rotate(-3deg); }
.phone { position: relative; overflow: hidden; padding: 9px; background: #0a1c2a; border: 1px solid #294458; border-radius: 34px; box-shadow: 0 28px 70px rgba(7,23,37,.22); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 15px; left: 50%; width: 36%; height: 17px; transform: translateX(-50%); background: #0a1c2a; border-radius: 0 0 12px 12px; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; }
.phone-main { z-index: 1; width: 292px; height: 600px; transform: rotate(2deg); }
.float-card { position: absolute; z-index: 3; width: 205px; padding: 15px 17px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.8); border-radius: 17px; box-shadow: 0 18px 38px rgba(7,23,37,.15); backdrop-filter: blur(12px); }
.float-card b, .float-card span { display: block; }
.float-card b { margin-bottom: 5px; font-size: 15px; }
.float-card span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.float-top { top: 90px; right: -10px; }
.float-bottom { bottom: 78px; left: -18px; }

.proof-bar { color: #fff; background: var(--ink); }
.proof-grid { min-height: 132px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.proof-grid div { padding: 12px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.proof-grid div:first-child { padding-left: 0; }
.proof-grid div:last-child { border-right: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { margin-bottom: 5px; font-size: 19px; }
.proof-grid span { color: #a9bfcd; font-size: 13px; }

.section { padding-block: 112px; }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(34px, 4.2vw, 55px); line-height: 1.12; letter-spacing: -.04em; }
.section-heading > p:last-child, .showcase-copy > p, .download-panel p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 290px; overflow: hidden; padding: 34px; border: 1px solid var(--line); border-radius: 28px; }
.feature-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -65px; bottom: -70px; border-radius: 50%; opacity: .22; }
.feature-card h3 { margin: 55px 0 12px; font-size: 26px; letter-spacing: -.025em; }
.feature-card p { max-width: 500px; margin: 0; color: #516979; font-size: 15px; line-height: 1.75; }
.feature-number { color: #7890a0; font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.feature-blue { background: #eefaff; }.feature-blue::after { background: #46c8f3; }
.feature-violet { background: #f4f1ff; }.feature-violet::after { background: #8b72ff; }
.feature-green { background: #effbf6; }.feature-green::after { background: #44c98d; }
.feature-orange { background: #fff7ed; }.feature-orange::after { background: #ff9d45; }

.showcase { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; background: linear-gradient(180deg, #fff, #f6fafc); border-radius: 44px; }
.steps { display: grid; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.steps li > span { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 10px; font-weight: 900; }
.steps b { font-size: 15px; }
.steps p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.phones-pair { min-height: 670px; display: flex; align-items: center; justify-content: center; }
.phones-pair .phone { width: 285px; height: 615px; transform: rotate(-3deg); }
.phones-pair .phone-offset { margin-left: -38px; transform: translateY(42px) rotate(4deg); }

.privacy { padding: 74px; color: #fff; background: linear-gradient(135deg, #071725, #0b3148); border-radius: 38px; }
.privacy .eyebrow { color: var(--cyan); }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.privacy-grid div { padding: 23px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; }
.privacy-grid b, .privacy-grid span { display: block; }
.privacy-grid b { margin-bottom: 9px; }
.privacy-grid span { color: #b7cad5; font-size: 13px; line-height: 1.65; }

.download-section { padding-block: 112px; }
.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px; background: #edf9fe; border: 1px solid #c7ebf8; border-radius: 30px; }
.download-panel h2 { font-size: clamp(31px, 4vw, 48px); }
.download-panel p { margin-bottom: 0; }
.download-large { min-width: 230px; }
.install-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; margin-top: 18px; }
.install-card, .file-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.install-card h3, .file-card h3 { margin: 0 0 18px; font-size: 20px; }
.install-card ol { margin: 0; padding-left: 22px; color: var(--muted); line-height: 1.85; }
.file-card dl { margin: 0; }
.file-card dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid #e8eff3; }
.file-card dl div:first-child { border-top: 0; }
.file-card dt { color: var(--muted); }
.file-card dd { margin: 0; font-weight: 750; }
.hash { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.55; }

footer { color: #dbe9f0; background: var(--ink); }
.footer-inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; }
.footer-inner > div:first-child { display: grid; gap: 4px; }
.footer-inner span { color: #8ea6b5; font-size: 12px; }
.footer-inner > div:last-child { display: flex; gap: 20px; color: #a9bfcc; font-size: 13px; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 28px, 700px); }
  .site-header { height: 74px; }
  .brand img { width: 40px; height: 40px; }
  .header-download { padding: 10px 15px; }
  .hero { grid-template-columns: 1fr; gap: 46px; padding-block: 56px 74px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { min-height: 600px; }
  .float-top { right: 2%; }.float-bottom { left: 2%; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); padding-block: 18px; }
  .proof-grid div { padding: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .proof-grid div:nth-child(2) { border-right: 0; }
  .proof-grid div:nth-child(n+3) { border-bottom: 0; }
  .feature-grid, .showcase, .privacy-grid, .install-grid { grid-template-columns: 1fr; }
  .showcase { padding-inline: 28px; }
  .showcase-copy { max-width: 620px; }
  .phones-pair { min-height: 640px; }
  .privacy { padding: 48px 30px; }
  .download-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 24px); }
  .brand { gap: 8px; font-size: 17px; }.brand small { font-size: 9px; }
  .header-download { font-size: 12px; }
  .hero { padding-top: 42px; }
  h1 { margin-top: 18px; font-size: 44px; }
  .hero-lead { font-size: 17px; }
  .button.primary { width: 100%; }.button.secondary { flex: 1; }
  .hero-visual { min-height: 545px; }
  .phone-main { width: 245px; height: 510px; }
  .float-card { width: 170px; padding: 12px; }
  .float-top { top: 58px; right: -3px; }.float-bottom { bottom: 50px; left: -3px; }
  .proof-grid strong { font-size: 16px; }.proof-grid span { font-size: 11px; }
  .section { padding-block: 78px; }
  .feature-card { min-height: 260px; padding: 26px; }.feature-card h3 { margin-top: 45px; }
  .showcase { gap: 28px; padding-inline: 18px; border-radius: 28px; }
  .phones-pair { min-height: 500px; }
  .phones-pair .phone { width: 205px; height: 450px; border-radius: 26px; }
  .phones-pair .phone-offset { margin-left: -58px; }
  .privacy { width: 100%; border-radius: 0; }
  .download-panel { padding: 30px 24px; }
  .install-card, .file-card { padding: 24px; }
  .file-card dl div { grid-template-columns: 70px 1fr; }
  .footer-inner { padding-block: 30px; align-items: flex-start; flex-direction: column; gap: 20px; }
}

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