:root {
  --ink: #111418;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --primary: #1b3a8c;
  --primary-hover: #16306f;
  --bg: #f4f4f5;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

.page {
  max-width: 1240px;
  margin: 24px auto;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(17, 20, 24, 0.12);
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; color: inherit; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: inherit; font-size: 14.5px; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-actions .link { font-size: 14.5px; color: inherit; text-decoration: none; }

.btn { display: inline-block; border-radius: 10px; text-decoration: none; font-weight: 600; border: 1px solid transparent; cursor: pointer; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 14px 30px; font-size: 15.5px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border-color: #c9ced6; color: inherit; background: #fff; padding: 13px 29px; }
span.btn-outline { cursor: default; opacity: 0.6; }
article .btn { padding: 12px 22px; font-size: 14.5px; }

.hero {
  position: relative;
  margin: 0 24px;
  border-radius: 24px;
  background-color: #fafafa;
  background-image: radial-gradient(#d4d4d8 1px, transparent 1px);
  background-size: 14px 14px;
  padding: 90px 40px 110px;
  text-align: center;
  overflow: hidden;
}
.hero-center { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.hero-logo { filter: drop-shadow(0 16px 30px rgba(27, 58, 140, 0.25)); }
h1 { font-size: 56px; line-height: 1.12; margin: 26px 0 0; letter-spacing: -0.02em; }
h1 .muted { color: #9aa0aa; }
.subtitle { margin: 18px 0 0; font-size: 16px; }
.cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.os-hint { margin-top: 14px; font-size: 13px; color: var(--muted); }

.float {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(17, 20, 24, 0.12);
  padding: 14px 16px;
  font-size: 13px;
  text-align: left;
  z-index: 1;
}
.float strong { display: block; margin-bottom: 8px; font-size: 13.5px; }
.float-note { top: 60px; left: 48px; background: #fef9c3; transform: rotate(-4deg); font-style: italic; padding: 13px 17px; font-size: 14.5px; }
.float-note p { margin: 0; line-height: 1.4; }
.float-note::before { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #dc2626; }
.float-check { top: 210px; left: 90px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; }
.float-check span { background: #2563eb; color: #fff; font-size: 24px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.float-reminder { top: 48px; right: 56px; transform: rotate(5deg); width: 210px; }
.reminder-card { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.reminder-sub { color: var(--muted); font-size: 12px; }
.reminder-time { margin-top: 6px; font-size: 12px; background: #e0f2fe; border-radius: 6px; padding: 2px 8px; width: fit-content; }
.float-tasks { bottom: 36px; left: 48px; width: 250px; transform: rotate(-2deg); }
.task { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.task-dot { width: 20px; height: 20px; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.task-dot.orange { background: #f97316; }
.task-dot.green { background: #16a34a; }
.task-label { font-size: 12px; flex: 1; }
.bar { height: 5px; background: #e5e7eb; border-radius: 99px; overflow: hidden; flex: 1; }
.bar i { display: block; height: 100%; background: #2563eb; }
.float-platforms { bottom: 48px; right: 56px; transform: rotate(2deg); }
.chips { display: flex; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; font-size: 12.5px; font-weight: 600; }
.chip.soon { opacity: 0.55; }
.chip.detected { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(27, 58, 140, 0.25); }

.download, .features { padding: 70px 48px 10px; text-align: center; }
h2 { font-size: 32px; margin: 0; letter-spacing: -0.01em; }
.section-sub { color: var(--muted); }
.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 960px; margin: 30px auto 0; }
.os-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; background: #fff; }
.os-card.highlight { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(27, 58, 140, 0.2); }
.os-card h3 { margin: 0 0 6px; }
.os-card p { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; }
.os-card.disabled { opacity: 0.75; background: #fafafa; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1020px; margin: 30px auto 0; text-align: left; }
.feat-grid article { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.feat-grid h3 { margin: 0 0 8px; font-size: 16px; }
.feat-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.cta-band { text-align: center; padding: 70px 24px 10px; }
.cta-band .btn { margin-top: 20px; }
.pricing { text-align: center; padding: 60px 24px; }
.price-card { max-width: 460px; margin: 28px auto 0; border: 1px solid var(--primary); border-radius: 18px; padding: 34px 30px; background: #fff; box-shadow: 0 18px 50px rgba(27, 58, 140, 0.14); }
.price { margin: 0 0 18px; }
.price strong { font-size: 40px; letter-spacing: -0.02em; }
.price span { color: var(--muted); font-size: 16px; }
.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.price-card li::before { content: "✓ "; color: var(--primary); font-weight: 700; }
.footer { display: flex; justify-content: space-between; padding: 20px 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer a { color: inherit; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(17, 20, 24, 0.5); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.modal-backdrop.open { display: flex; }
.modal { background: #fff; border-radius: 18px; max-width: 620px; width: 100%; max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px 0; }
.modal-head h2 { font-size: 22px; }
.modal-close { border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 34px; height: 34px; cursor: pointer; font-size: 14px; }
.modal-body { padding: 12px 26px 28px; overflow-y: auto; font-size: 14.5px; line-height: 1.6; text-align: left; }
.modal-body h3 { font-size: 15.5px; margin: 18px 0 6px; }
.modal-body p { margin: 6px 0; color: inherit; }
.muted-text { color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  h1 { font-size: 36px; }
  .float { display: none; }
  .os-grid, .feat-grid { grid-template-columns: 1fr; }
  .download, .features { padding: 50px 24px 10px; }
  .nav { padding: 14px 18px; gap: 10px; }
  .nav-actions { gap: 10px; }
  .nav-actions .link { display: none; }
  .nav-actions .btn { white-space: nowrap; }
}

@media (max-width: 560px) {
  .page { margin: 0; border-radius: 0; }
  .hero { margin: 0 12px; padding: 56px 20px 64px; }
  h1 { font-size: 31px; }
  .cta-row .btn-lg { width: 100%; text-align: center; }
  .footer { flex-direction: column; gap: 8px; text-align: center; }
}
