/* ──────────────────────────────────────────────────────────
   BIMquants Lite — shared base styles
   Used by index.html (landing) and manual.html (docs).
   ────────────────────────────────────────────────────────── */

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

:root {
  --accent:    #2f6bff;
  --accent-h:  #1b4fd6;
  --accent-2:  #8b5cf6;
  --dark:      #0f172a;
  --mid:       #1e293b;
  --surface:   #f4f7ff;
  --border:    #e2e8f0;
  --text:      #1e293b;
  --muted:     #64748b;
  --radius:    10px;
  --hero-grad: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #4f46e5 100%);
}

html { scroll-behavior: smooth; }

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

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 1.75rem; list-style: none; }

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: .45rem 1.1rem;
  border-radius: 6px;
  transition: background .15s !important;
}

.nav-cta:hover { background: var(--accent-h) !important; color: #fff !important; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: var(--hero-grad);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem 3.5rem;
}

.badge {
  display: inline-block;
  background: rgba(139, 92, 246, .28);
  border: 1px solid rgba(139, 92, 246, .55);
  color: #c4b5fd;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero h1 span { color: #60a5fa; }

.hero p {
  color: #94a3b8;
  margin: 0 auto;
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: #94a3b8;
  text-align: center;
  padding: 2rem;
  font-size: .85rem;
}

footer a { color: #60a5fa; text-decoration: none; }
footer a:hover { text-decoration: underline; }
