/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #f8f9fa;
  --bg-alt:      #eef2f7;
  --surface:     #ffffff;
  --text:        #1a1a2e;
  --text-muted:  #5a6476;
  --accent:      #2563eb;
  --accent-dark: #1d4ed8;
  --border:      #dde3ee;
  --radius:      12px;
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── Header ─────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
}

nav { display: flex; gap: 2rem; }

nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover { color: #fff; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: var(--text);
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
}

.hero-inner { max-width: 700px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
}

.hero-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
}

.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--bg-alt); }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 2.5rem;
}

/* ── Card Grid ──────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.card-icon { font-size: 2rem; margin-bottom: 0.25rem; }

.card h3 { font-size: 1.1rem; font-weight: 700; }

.card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.5; }

.card-placeholder { opacity: 0.8; }

/* ── Badge ──────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  width: fit-content;
}

/* ── CTA block ──────────────────────────────────────────────── */
.cta-block { margin-top: 2.5rem; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.5);
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  nav { gap: 1rem; }
  .hero { padding: 4rem 1.5rem; }
  .section { padding: 3.5rem 1.5rem; }
}
