/* MY PC DOCTOR — shared site styles. Same palette as the Windows app's Theme/Colors.xaml. */

:root {
  --bg: #F6F8FA;
  --surface: #FFFFFF;
  --surface-alt: #EEF3F8;
  --ink: #0F1B2A;
  --ink-soft: #48586B;
  --ink-faint: #7C8CA0;
  --border: #DCE4EC;
  --border-strong: #C4D0DE;
  --accent: #2A6DF0;
  --accent-ink: #1848B0;
  --accent-soft: #E4EDFC;
  --cyan: #12A5B0;
  --cyan-soft: #E1F5F5;
  --good: #1E9E6B;
  --good-soft: #E3F5EC;
  --attn: #B8760E;
  --attn-soft: #FBF0DD;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */

header.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 248, 250, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.brand .dot {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent-ink);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.nav-cta:hover { background: var(--accent-ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); }

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links li:first-child { border-top: none; }
  .nav-links a { display: block; padding: 14px 4px; }
  .nav-links .nav-cta { display: inline-block; margin: 12px 4px 4px; text-align: center; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 68px 0 52px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.badge.badge-cyan { background: var(--cyan-soft); color: #0C7A82; }
.badge.badge-soon { background: var(--surface-alt); color: var(--ink-soft); border: 1px solid var(--border); }

h1 {
  font-size: 42px;
  line-height: 1.16;
  margin: 0 0 16px;
  letter-spacing: -0.6px;
}

h1 span.grad {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 13px 26px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }

.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }

.btn-disabled {
  background: var(--surface-alt);
  color: var(--ink-faint);
  border-color: var(--border);
  cursor: not-allowed;
  pointer-events: none;
}

.platform-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* ---------- Sections ---------- */

section { padding: 56px 0; }
section.tight { padding: 32px 0; }

.section-title {
  font-size: 28px;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.4px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 auto 40px;
  font-size: 15px;
  max-width: 560px;
}

.eyebrow {
  display: block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 10px;
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.card .icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.pill-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.pill-status.available { background: var(--good-soft); color: var(--good); }
.pill-status.soon { background: var(--attn-soft); color: var(--attn); }

/* ---------- Steps ---------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.step {
  text-align: center;
  padding: 8px;
}

.step .num {
  counter-increment: step;
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.step .num::before { content: counter(step); }
.step h4 { margin: 0 0 6px; font-size: 15px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 13.5px; }

/* ---------- Status / callout boxes ---------- */

.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  max-width: 640px;
  margin: 0 auto;
}

.callout .pill-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--good);
  margin-top: 6px;
}

.callout b { color: var(--good); }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

/* ---------- Download page ---------- */

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.download-card .os-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.download-card h2 { margin: 0 0 6px; font-size: 22px; }
.download-card .sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 26px; }

.download-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* ---------- Lists ---------- */

ul.check-list, ul.plain-list { margin: 0; padding: 0; list-style: none; }

ul.check-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--ink-soft);
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}

ul.check-list li:last-child { border-bottom: none; }

ul.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--good-soft);
  box-shadow: inset 0 0 0 4px var(--good);
}

ul.cross-list li::before {
  background: #FBEAEE;
  box-shadow: inset 0 0 0 4px var(--crit, #D1445A);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .lede { font-size: 16px; }
  .download-card { padding: 30px 22px; }
  .panel { padding: 24px; }
}

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  color: var(--ink-faint);
  font-size: 13.5px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.footer-links a:hover { color: var(--accent-ink); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
