* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  /* ✅ Consistent font */
}

body {
  background-color: #ffffff;
  color: #333;
}

/* ---------------- Header ---------------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  border-bottom: 1px solid #e5e5e5;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 32px;
  height: 32px;
  background-color: #4169e1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.teacher-login {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 6px;
}

.teacher-login:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
  color: #000000;
}

.btn-primary {
  background-color: #4169e1;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

/* ---------------- Hero Section ---------------- */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000;
}

.hero h1 .highlight {
  color: #4169e1;
}

.hero p {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
}

.btn-teacher a,
.btn-student a {
  color: inherit;
  text-decoration: none;
}

.btn-teacher {
  background-color: #4169e1;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-student {
  background-color: white;
  color: #4169e1;
  border: 1px solid #4169e1;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------------- Stats Section ---------------- */
.stats {
  display: flex;
  justify-content: center;
  gap: 120px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-number.blue {
  color: #4169e1;
}

.stat-number.green {
  color: #22c55e;
}

.stat-number.yellow {
  color: #fbbf24;
}

.stat-label {
  font-size: 14px;
  color: #666;
}

/* ---------------- Section: Features ---------------- */
.section {
  padding: 60px 80px;
  text-align: center;
}

.section h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #000;
}

.section-description {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 60px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.feature-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 40px 30px;
  flex: 1;
  text-align: left;
  min-width: 280px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.feature-icon.blue {
  background-color: #dbeafe;
  color: #4169e1;
}

.feature-icon.green {
  background-color: #d4f4dd;
  color: #22c55e;
}

.feature-icon.yellow {
  background-color: #fef3c7;
  color: #fbbf24;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #000;
}

.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ---------------- How It Works ---------------- */
.how-it-works {
  background-color: #f9fafb;
  padding: 80px 80px;
}

.how-it-works h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 60px;
  color: #000;
  text-align: center;
}

.workflow-container {
  display: flex;
  justify-content: center;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.workflow-column {
  flex: 1;
  min-width: 300px;
}

.workflow-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
}

.workflow-title.blue {
  color: #4169e1;
}

.workflow-title.green {
  color: #22c55e;
}

.workflow-step {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}

.step-number.blue {
  background-color: #4169e1;
}

.step-number.green {
  background-color: #22c55e;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #000;
}

.step-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ---------------- CTA Section ---------------- */
.cta {
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #000;
}

.cta p {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.btn-cta {
  background-color: #4169e1;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.btn-cta a {
  color: white;
  text-decoration: none;
}

/* ---------------- Footer ----------------*/
footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8faff;
  color: #666;
  font-size: 14px;
}

/* ---------------- Responsive Design ---------------- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .header {
    padding: 20px 40px;
  }

  .section {
    padding: 60px 40px;
  }

  .how-it-works {
    padding: 80px 40px;
  }

  .stats {
    gap: 60px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }

  .header-buttons {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-teacher,
  .btn-student {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 40px 20px;
  }

  .how-it-works {
    padding: 40px 20px;
  }

  .workflow-container {
    gap: 50px;
  }

  .workflow-column {
    width: 100%;
  }

  .stats {
    gap: 40px;
  }

  .feature-card {
    min-width: 100%;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .stat-number {
    font-size: 28px;
  }

  .section h2,
  .cta h2,
  .how-it-works h2 {
    font-size: 24px;
  }

  .logo-text {
    font-size: 18px;
  }
}