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

:root {
  --purple: #6b21a8;
  --purple-dark: #4c1d7a;
  --purple-light: #f3e8ff;
  --gold: #b45309;
  --gold-light: #fef3c7;
  --text: #1c1917;
  --text-muted: #78716c;
  --border: #e7e5e4;
  --bg: #fafaf9;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ── Navigation ── */
nav {
  background: var(--purple);
  color: var(--white);
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 56px;
}
.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: background 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.15);
  color: var(--white);
  text-decoration: none;
}

/* ── Main content ── */
main { flex: 1; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero h1 { font-size: 2.25rem; font-weight: 800; margin-bottom: 0.75rem; }
.hero p { font-size: 1.1rem; opacity: 0.9; max-width: 560px; margin: 0 auto; }

/* ── Section ── */
.section { padding: 3rem 0; }
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 1.5rem;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple-light); text-decoration: none; }
.btn-sm { padding: 0.35rem 0.7rem; font-size: 0.82rem; }

/* ── Footer ── */
footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 1.25rem;
  font-size: 0.85rem;
  margin-top: auto;
}

/* ── Utilities ── */
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.6rem; }
  .nav-brand { font-size: 0.95rem; }
  .nav-links a { padding: 0.4rem 0.5rem; font-size: 0.88rem; }
}
