:root {
  --bg: #f7faff;
  --surface: rgba(255,255,255,.78);
  --surface-solid: #ffffff;
  --text: #101828;
  --muted: #667085;
  --line: rgba(38, 88, 180, .11);
  --blue: #2f67f6;
  --blue-2: #65a4ff;
  --blue-soft: #edf4ff;
  --shadow: 0 24px 70px rgba(45, 93, 176, .12);
  --shadow-soft: 0 14px 34px rgba(32, 76, 155, .08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 30%, #f8fbff 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0 36px; }

.page-glow { position: fixed; pointer-events: none; z-index: -1; filter: blur(20px); opacity: .7; }
.glow-one { width: 620px; height: 620px; right: -220px; top: 80px; background: radial-gradient(circle, rgba(87,154,255,.18), transparent 66%); }
.glow-two { width: 520px; height: 520px; left: -260px; top: 760px; background: radial-gradient(circle, rgba(120,176,255,.12), transparent 68%); }

.site-header {
  margin-top: 18px;
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(18px) saturate(140%);
  border-radius: 20px;
  box-shadow: 0 10px 36px rgba(71, 108, 172, .08);
  position: sticky;
  top: 12px;
  z-index: 30;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; width: max-content; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; color: #fff; font-weight: 800; font-size: 19px;
  background: linear-gradient(145deg, #7db7ff, #2457e5);
  box-shadow: 0 8px 20px rgba(47,103,246,.25);
}
.brand-name { letter-spacing: -.02em; }
.nav { display: flex; gap: 28px; color: #44506a; font-size: 14px; font-weight: 600; }
.nav a { transition: .2s ease; }
.nav a:hover { color: var(--blue); }
.site-header > .btn { justify-self: end; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 24px; color: var(--text); }

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 15px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #285be7, #3f83ff); box-shadow: 0 12px 28px rgba(47,103,246,.24); }
.btn-secondary { color: #1f2b46; background: rgba(255,255,255,.72); border-color: var(--line); box-shadow: var(--shadow-soft); }
.btn-small { min-height: 42px; padding: 0 18px; border-radius: 12px; }
.btn strong, .btn small { display: block; text-align: left; }
.btn small { font-size: 11px; font-weight: 500; opacity: .82; margin-top: 3px; }
.os-icon { font-size: 24px; line-height: 1; }

.hero { padding-top: 96px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.eyebrow { color: #3b6fe8; font-size: 12px; font-weight: 800; letter-spacing: .12em; margin-bottom: 18px; }
.hero h1, .section-heading h2, .requirements-grid h2 { margin: 0; letter-spacing: -.045em; line-height: 1.03; }
.hero h1 { font-size: clamp(50px, 6vw, 78px); }
.hero h1 span, .section-heading h2 span, .requirements-grid h2 span { color: var(--blue); }
.hero-lead { max-width: 620px; margin: 24px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.meta-line { margin-top: 20px; display: flex; align-items: center; gap: 10px; color: #7b879f; font-size: 13px; }
.meta-line i { width: 3px; height: 3px; background: #a7b3c9; border-radius: 50%; }

.app-window-wrap { position: relative; }
.app-window-wrap::before { content:""; position:absolute; inset: 8% -4% -10% 8%; background: radial-gradient(circle at 55% 40%, rgba(63,131,255,.25), transparent 60%); filter: blur(22px); z-index: -1; }
.app-window {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.92);
  background: rgba(255,255,255,.78);
  box-shadow: 0 36px 90px rgba(50, 88, 155, .2);
  backdrop-filter: blur(20px);
}
.window-bar { height: 52px; display:flex; align-items:center; justify-content:space-between; padding:0 18px; border-bottom:1px solid var(--line); font-size:13px; }
.window-brand { display:flex; align-items:center; gap:8px; font-weight:700; }
.mini-logo { display:inline-grid; place-items:center; width:22px; height:22px; border-radius:7px; color:#fff; font-size:11px; background:linear-gradient(145deg,#77b3ff,#2b60e9); }
.window-controls { display:flex; gap:15px; color:#8490a5; }
.app-body { display:grid; grid-template-columns: 168px 1fr; min-height: 420px; }
.app-nav { padding: 18px 12px; border-right:1px solid var(--line); background: rgba(245,248,255,.72); }
.nav-item { display:flex; gap:9px; align-items:center; padding:10px 11px; border-radius:11px; color:#667085; font-size:12px; margin-bottom:4px; }
.nav-item.active { color:#285be7; background:#eaf1ff; font-weight:700; }
.app-content { padding: 30px; }
.app-kicker { color:var(--blue); font-size:11px; font-weight:800; margin:0 0 8px; }
.app-content h3 { font-size:25px; margin:0; }
.muted { color:var(--muted); font-size:12px; margin:8px 0 24px; }
.status-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.status-card { display:flex; gap:12px; align-items:center; padding:15px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.status-card b, .status-card small { display:block; }
.status-card b { font-size:11px; }
.status-card small { margin-top:5px; color:#4d8a65; font-size:10px; }
.status-dot { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:#eef4ff; color:var(--blue); font-weight:800; }
.status-dot.ok { background:#e9f8ef; color:#2ba56a; }
.app-section-title { margin:24px 0 10px; font-size:11px; font-weight:800; }
.quick-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
.quick-card { min-height:85px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:8px; text-align:center; border:1px solid var(--line); border-radius:13px; background:#fff; }
.quick-card span { font-size:21px; color:var(--blue); }
.quick-card b { font-size:10px; }

.benefits { margin-top: 58px; display:grid; grid-template-columns:repeat(4,1fr); gap:1px; overflow:hidden; border:1px solid var(--line); border-radius:22px; background:var(--line); box-shadow:var(--shadow-soft); }
.benefit { display:flex; align-items:center; gap:14px; padding:24px 22px; background:rgba(255,255,255,.76); }
.benefit > span { color:var(--blue); font-size:24px; }
.benefit b, .benefit small { display:block; }
.benefit b { font-size:13px; }
.benefit small { color:var(--muted); font-size:11px; margin-top:4px; }

.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2, .requirements-grid h2 { font-size: clamp(36px, 4vw, 54px); }
.section-heading > p, .split-heading > p { color:var(--muted); line-height:1.7; }
.split-heading { max-width:none; display:grid; grid-template-columns:1.15fr .85fr; gap:80px; align-items:end; }

.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.feature-card { padding:26px; min-height:200px; border:1px solid var(--line); border-radius:var(--radius-lg); background:rgba(255,255,255,.76); box-shadow:var(--shadow-soft); }
.feature-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:var(--blue-soft); color:var(--blue); font-size:22px; }
.feature-card h3 { margin:20px 0 10px; font-size:17px; }
.feature-card p { margin:0; color:var(--muted); font-size:14px; line-height:1.7; }

.screen-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:center; }
.screen-card { border:1px solid var(--line); border-radius:22px; background:#fff; box-shadow:var(--shadow-soft); overflow:hidden; transform:scale(.98); }
.screen-card.featured { transform:translateY(-10px) scale(1.02); box-shadow:0 30px 64px rgba(44,90,170,.14); }
.screen-top { height:48px; display:flex; align-items:center; gap:8px; padding:0 16px; border-bottom:1px solid var(--line); font-size:12px; font-weight:700; }
.screen-dots { margin-left:auto; color:#aab4c5; }
.screen-content { padding:18px; min-height:280px; }
.screen-chip { display:inline-block; padding:7px 10px; margin:0 6px 14px 0; border-radius:9px; font-size:10px; background:#f4f6fa; color:#667085; }
.screen-chip.active { background:#eaf1ff; color:var(--blue); font-weight:700; }
.screen-row { display:flex; align-items:center; gap:10px; padding:12px 0; border-bottom:1px solid #eef1f6; }
.screen-row:last-child { border-bottom:0; }
.screen-row div { flex:1; }
.screen-row b, .screen-row small { display:block; }
.screen-row b { font-size:11px; }
.screen-row small { color:var(--muted); font-size:9px; margin-top:4px; }
.screen-row em { font-style:normal; color:#667085; font-size:10px; }
.row-icon { width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:#edf4ff; color:var(--blue); }
.metric { padding:18px; border-radius:16px; background:linear-gradient(145deg,#f0f6ff,#fbfdff); margin-bottom:10px; }
.metric small, .metric strong { display:block; }
.metric small { color:var(--muted); font-size:10px; }
.metric strong { margin:5px 0 12px; font-size:28px; }
.metric-bar { display:block; height:7px; background:#e4ebf7; border-radius:999px; overflow:hidden; }
.metric-bar i { display:block; height:100%; background:linear-gradient(90deg,#285be7,#69a8ff); border-radius:inherit; }
.status-large { display:flex; gap:12px; align-items:center; padding:16px; border-radius:14px; background:#eefaf3; }
.status-large > span { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:#d8f3e3; color:#299660; font-weight:800; }
.status-large b, .status-large small { display:block; }
.status-large b { font-size:11px; }
.status-large small { color:#5c7a69; font-size:9px; margin-top:4px; }
.mini-stats { margin-top:20px; display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.mini-stats div { padding:18px 10px; text-align:center; border:1px solid var(--line); border-radius:12px; }
.mini-stats small, .mini-stats b { display:block; }
.mini-stats small { color:var(--muted); font-size:9px; }
.mini-stats b { margin-top:6px; font-size:16px; }

.download-panel { padding:42px; border:1px solid var(--line); border-radius:30px; background:linear-gradient(145deg,rgba(241,247,255,.88),rgba(255,255,255,.9)); box-shadow:var(--shadow); }
.download-heading { max-width:none; display:flex; align-items:end; justify-content:space-between; gap:20px; }
.release-badge { min-width:120px; padding:14px 18px; border-radius:14px; background:#fff; border:1px solid var(--line); text-align:right; }
.release-badge small, .release-badge strong { display:block; }
.release-badge small { color:var(--muted); font-size:10px; }
.release-badge strong { font-size:20px; margin-top:4px; }
.download-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.download-card { display:grid; grid-template-columns:auto 1fr; gap:14px; align-items:center; padding:18px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.86); }
.download-card .btn { grid-column:1/-1; width:100%; min-height:46px; }
.download-os { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:#edf4ff; color:var(--blue); font-size:27px; }
.download-os.apple { color:#27314b; }
.download-info h3 { margin:0; font-size:15px; }
.download-info p { margin:4px 0 0; color:var(--muted); font-size:11px; }
.download-note { margin:18px 2px 0; color:#758198; font-size:11px; line-height:1.6; }
.download-note code { background:#fff; border:1px solid var(--line); padding:2px 5px; border-radius:6px; }

.requirements-grid { display:grid; grid-template-columns:1.2fr .8fr .8fr; gap:18px; align-items:stretch; }
.req-card { padding:28px; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:var(--shadow-soft); }
.req-card b { font-size:18px; }
.req-card p { margin:12px 0 6px; color:#475467; }
.req-card small { color:var(--muted); }

.footer { margin-top:90px; padding:30px 0 40px; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; }
.footer-brand { display:flex; gap:11px; align-items:center; }
.footer-brand b, .footer-brand small { display:block; }
.footer-brand small { color:var(--muted); font-size:10px; margin-top:3px; }
.footer-links { display:flex; gap:22px; color:#667085; font-size:12px; }
.copyright { justify-self:end; color:#98a2b3; font-size:11px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns:1fr auto; }
  .site-header > .btn { display:none; }
  .nav { position:absolute; top:78px; left:0; right:0; padding:16px; flex-direction:column; gap:8px; border:1px solid var(--line); background:rgba(255,255,255,.95); border-radius:18px; box-shadow:var(--shadow); opacity:0; pointer-events:none; transform:translateY(-8px); transition:.2s ease; }
  .nav.open { opacity:1; pointer-events:auto; transform:none; }
  .nav a { padding:10px; }
  .menu-toggle { display:block; }
  .hero { grid-template-columns:1fr; padding-top:70px; gap:50px; }
  .hero-copy { max-width:760px; }
  .benefits { grid-template-columns:repeat(2,1fr); }
  .feature-grid { grid-template-columns:repeat(2,1fr); }
  .screen-grid { grid-template-columns:1fr; max-width:660px; margin:auto; }
  .screen-card, .screen-card.featured { transform:none; }
  .download-grid { grid-template-columns:1fr; }
  .requirements-grid { grid-template-columns:1fr 1fr; }
  .requirements-grid > div:first-child { grid-column:1/-1; }
}

@media (max-width: 680px) {
  .shell { width:min(100% - 24px, 1180px); }
  .section { padding-top:76px; }
  .site-header { height:62px; padding:0 14px; border-radius:16px; }
  .hero { padding-top:58px; }
  .hero h1 { font-size:46px; }
  .hero-lead { font-size:16px; }
  .hero-actions { flex-direction:column; }
  .hero-actions .btn { width:100%; justify-content:flex-start; }
  .app-body { grid-template-columns:1fr; }
  .app-nav { display:none; }
  .app-content { padding:20px; }
  .status-grid, .quick-grid { grid-template-columns:repeat(2,1fr); }
  .benefits { grid-template-columns:1fr; }
  .split-heading { grid-template-columns:1fr; gap:16px; }
  .feature-grid { grid-template-columns:1fr; }
  .section-heading h2, .requirements-grid h2 { font-size:38px; }
  .download-panel { padding:24px 16px; }
  .download-heading { align-items:flex-start; flex-direction:column; }
  .requirements-grid { grid-template-columns:1fr; }
  .requirements-grid > div:first-child { grid-column:auto; }
  .footer { grid-template-columns:1fr; text-align:left; }
  .footer-links { flex-wrap:wrap; }
  .copyright { justify-self:start; }
}
