:root {
  --blue: #3daee9;
  --blue-deep: #1565c0;
  --ink: #1d212f;
  --ink-2: #141821;
  --surface: #eff0f0;
  --paper: #ffffff;
  --text: #1f2430;
  --muted: #5c6474;
  --accent: #ff80e0;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(20, 24, 33, .14);
  --font: "Noto Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; }
code, pre {
  font-family: "Noto Sans Mono", ui-monospace, monospace;
  font-size: .92em;
}
.container { width: min(1120px, 92%); margin: 0 auto; }
.container.narrow { width: min(860px, 92%); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 24, 33, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
  display: flex; align-items: center; gap: 28px;
  padding: 12px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem;
}
.topbar nav { display: flex; gap: 22px; margin-left: auto; }
.topbar nav a {
  color: #cfd6e4; text-decoration: none; font-size: .95rem;
}
.topbar nav a:hover { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 12px 24px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; box-shadow: 0 8px 24px rgba(21, 101, 192, .35);
}
.btn-ghost {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.25);
}
.btn-small { padding: 8px 16px; font-size: .9rem; background: var(--blue); color: #fff; }
.btn-big { padding: 16px 28px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 96px 0 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("assets/Big-blue.jpg") center/cover no-repeat;
  transform: scale(1.04);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,17,28,.78), rgba(13,17,28,.55) 45%, rgba(13,17,28,.85));
}
.hero-inner { position: relative; z-index: 1; }
.hero-logo { filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin: 18px 0 6px;
  letter-spacing: -.02em;
}
.tagline {
  max-width: 720px; margin: 0 auto 30px;
  font-size: 1.15rem; color: #dbe4f2;
}
.tagline strong { color: var(--blue); font-weight: 700; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 26px; color: #9fb0c8; font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--surface); }
.section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 12px; letter-spacing: -.02em;
}
.section-lead {
  color: var(--muted); max-width: 720px; margin: 0 0 40px; font-size: 1.05rem;
}

/* ---------- Cards ---------- */
.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--paper);
  border: 1px solid #e3e6ec;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 2px 10px rgba(20,24,33,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.section-alt .card { background: var(--paper); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 1.8rem; margin-bottom: 8px; }
.card h3 { margin: 6px 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Mock desktop ---------- */
.mock-desktop {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  min-height: 340px;
  margin-bottom: 34px;
}
.mock-wallpaper {
  position: absolute; inset: 0;
  background: url("assets/Big-tech.jpg") center/cover no-repeat;
}
.mock-window {
  position: absolute; left: 8%; top: 10%; width: 68%; height: 68%;
  background: rgba(248, 249, 251, .96);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  display: flex; flex-direction: column;
}
.mock-titlebar {
  background: #eff0f0; border-bottom: 1px solid #dcdfe4;
  padding: 8px 12px; display: flex; align-items: center; gap: 7px;
  font-size: .8rem; color: #444;
}
.mock-title { margin-left: 8px; font-weight: 600; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.red { background: #e74c3c; } .dot.yellow { background: #f1c40f; } .dot.green { background: #2ecc71; }
.mock-body { display: flex; flex: 1; min-height: 0; }
.mock-sidebar {
  width: 30%; background: #f3f4f6; padding: 14px 12px;
  display: flex; flex-direction: column; gap: 10px;
  border-right: 1px solid #e5e7eb;
}
.mock-sidebar span { height: 10px; border-radius: 5px; background: #d7dbe2; }
.mock-sidebar span:first-child { background: var(--blue); width: 80%; }
.mock-content { flex: 1; padding: 16px; background: #fff; }
.mock-folders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mock-folders i {
  display: block; aspect-ratio: 4/3; border-radius: 8px;
  background: linear-gradient(160deg, #d9ecfb, #b7d9f5);
  border: 1px solid #cfe4f6;
}
.mock-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 44px;
  background: rgba(20, 24, 33, .88);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 16px;
  padding: 0 18px; color: #e7edf7; font-size: .85rem;
}
.mock-start { font-weight: 700; color: var(--blue); }
.mock-task { flex: 1; }
.mock-clock { color: #9fb0c8; }

/* ---------- Swatches ---------- */
.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.swatch {
  flex: 1 1 140px;
  background: var(--c); border-radius: 12px;
  min-height: 92px; padding: 14px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; font-weight: 600; font-size: .9rem;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.swatch code { font-weight: 400; opacity: .85; font-size: .78rem; }

/* ---------- Download ---------- */
.download-card {
  display: flex; gap: 30px; flex-wrap: wrap;
  background: var(--ink); color: #eef2f8;
  border-radius: 18px; padding: 34px;
  box-shadow: var(--shadow);
  align-items: center;
}
.download-info { flex: 1 1 340px; }
.download-info h3 { margin: 0 0 14px; font-size: 1.25rem; color: #fff; }
.meta-list { list-style: none; margin: 0; padding: 0; }
.meta-list li { padding: 5px 0; color: #c4cede; font-size: .95rem; overflow-wrap: anywhere; }
.meta-list code { color: var(--blue); }
.download-action {
  display: flex; flex-direction: column; gap: 12px; min-width: 240px;
}
.download-action .btn { text-align: center; }
.btn.is-disabled {
  opacity: .45; cursor: not-allowed; pointer-events: none;
  box-shadow: none; transform: none;
}
.download-status {
  margin: 2px 0 0; font-size: .88rem; color: #f0c674; text-align: center;
}

.note {
  margin-top: 26px; background: #f4f8fd;
  border-left: 4px solid var(--blue);
  padding: 16px 20px; border-radius: 0 10px 10px 0;
  color: var(--text); font-size: .97rem;
}
.note pre {
  background: var(--ink); color: #d7e3f4;
  padding: 12px 14px; border-radius: 8px; overflow-x: auto; margin: 10px 0 0;
}

/* ---------- Steps ---------- */
.steps { padding-left: 20px; }
.steps li { margin-bottom: 14px; font-size: 1.02rem; color: var(--text); }
.steps strong { color: var(--blue-deep); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-2); color: #aeb9cc;
  padding: 44px 0; text-align: center;
}
.footer .brand { justify-content: center; margin-bottom: 12px; }
.footer p { margin: 6px 0; font-size: .92rem; }
.footer .tiny { font-size: .78rem; color: #6d7890; }

@media (max-width: 720px) {
  .topbar nav { display: none; }
  .hero { padding: 64px 0 80px; }
  .download-card { padding: 24px; }
  .mock-window { left: 4%; width: 80%; }
}
