.container {
  max-width: var(--container-width);
  margin: auto;
  padding: 0 20px;
}

/* ---------- HEADER ---------- */
.main-header {
  background: var(--purple);
  color: var(--white);
  padding: 18px 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
}

.nav-links a {
  margin-left: 24px;
  font-weight: 500;
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(
    135deg,
    var(--purple) 0%,
    var(--purple-dark) 100%
  );
  color: var(--white);
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 30px;
}

/* ---------- SECTIONS ---------- */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

/* ---------- CARDS ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h4 {
  margin-bottom: 12px;
  color: var(--purple);
}

/* ---------- FEATURES ---------- */
.feature-list {
  max-width: 700px;
  margin: auto;
  font-size: 18px;
}

.feature-list li {
  margin-bottom: 14px;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--yellow);
}

.cta-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-box h3 {
  font-size: 30px;
  margin-bottom: 10px;
}

/* ---------- FOOTER ---------- */
.main-footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-grid h4 {
  margin-bottom: 10px;
}

.footer-grid a {
  color: var(--yellow);
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}
