/* WiseCode Label Designer — landing page. Dark navy theme matching the
   app's login screen. No frameworks, no external fonts — self-contained
   so the page renders instantly and offline-cacheable. */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d1321;
  --bg-soft: #141c30;
  --card: #1a2440;
  --line: #2a3658;
  --text: #e8ecf6;
  --muted: #9aa7c7;
  --accent: #5b7cfa;
  --accent-hover: #6f8cff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 19, 33, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #8a5bfa);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: white;
}
.brand-name { font-weight: 700; letter-spacing: 0.2px; }
.brand-sub { color: var(--muted); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 14.5px; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: white !important;
  padding: 8px 18px; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-hover); }

/* ── Hero + login card ───────────────────────────────── */
.hero {
  max-width: 1100px; margin: 0 auto; padding: 72px 24px 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
  align-items: start;
}
.hero h1 { font-size: 40px; line-height: 1.18; letter-spacing: -0.5px; }
.lede { color: var(--muted); margin-top: 18px; font-size: 17px; max-width: 54ch; }
.hero-points { margin-top: 22px; list-style: none; }
.hero-points li {
  padding-left: 26px; position: relative; margin-bottom: 10px; color: var(--text);
  font-size: 15px;
}
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}

.login-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.login-card h2 { font-size: 20px; margin-bottom: 18px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px 16px; border-radius: 9px; font-weight: 600;
  font-size: 15px; cursor: pointer; border: 1px solid transparent;
}
.btn-google {
  background: white; color: #1f1f1f !important; border-color: #d6dbe8;
}
.btn-google:hover { background: #f1f4fb; }
.btn-primary { background: var(--accent); color: white !important; }
.btn-primary:hover { background: var(--accent-hover); }
.divider {
  display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted);
  font-size: 12.5px;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.register-line { margin-top: 16px; text-align: center; color: var(--muted); font-size: 14px; }

/* ── Features ────────────────────────────────────────── */
.features { max-width: 1100px; margin: 0 auto; padding: 40px 24px 24px; }
.features h2 { font-size: 26px; margin-bottom: 26px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px;
}
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }
.card code {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  padding: 1px 5px; font-size: 12.5px;
}

/* ── Printing strip ──────────────────────────────────── */
.printing {
  max-width: 1100px; margin: 28px auto 0; padding: 28px 24px 64px; text-align: center;
}
.printing h2 { font-size: 22px; margin-bottom: 10px; }
.printing p { color: var(--muted); max-width: 72ch; margin: 0 auto; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line); padding: 22px 24px; color: var(--muted);
  font-size: 13.5px; display: flex; justify-content: space-between;
  max-width: 1100px; margin: 0 auto;
}
.footer-links { display: flex; gap: 18px; }

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero h1 { font-size: 31px; }
  .grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}
