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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #333;
  background: #fafafa;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── Navigation ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
}

nav .logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul a {
  font-weight: 500;
  transition: color 0.2s;
}

nav ul a:hover { color: #7c5cbf; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 6rem 1rem 4rem;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  color: #fff;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
}

/* ── Sections ── */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #7c3aed;
  margin-top: 0.4rem;
  border-radius: 2px;
}

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

.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.card h3 { margin-bottom: 0.5rem; }

/* ── Contact ── */
#contact a {
  color: #7c3aed;
  font-weight: 500;
}

#contact a:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: #888;
}
