/* Hero */
.hero {
  padding: calc(var(--header-height) + 4rem) 0 5rem;
  background: linear-gradient(160deg, var(--gray-50) 0%, var(--white) 50%, #ecfdf5 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
}

.hero-card-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.hero-card-sub {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.hero-lesson {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  transition: background var(--transition);
}

.hero-lesson:hover {
  background: var(--gray-50);
}

.lesson-play {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lesson-play svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
  margin-left: 2px;
}

.lesson-info {
  flex: 1;
  min-width: 0;
}

.lesson-info strong {
  display: block;
  font-size: 0.875rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lesson-info span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.lesson-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: #d1fae5;
  color: var(--emerald);
  flex-shrink: 0;
}

.hero-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gray-100);
}

/* Tutor */
.tutor {
  background: var(--white);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.tutor-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 3.5rem;
  align-items: center;
}

.tutor-image-wrap {
  position: relative;
}

.tutor-image-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  opacity: 0.15;
  z-index: 0;
}

.tutor-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.tutor-content .section-label {
  text-align: left;
  display: block;
}

.tutor-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.tutor-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.tutor-bio {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.tutor-highlights {
  list-style: none;
  margin-bottom: 2rem;
}

.tutor-highlights li {
  font-size: 0.95rem;
  color: var(--gray-700);
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}

.tutor-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* Features */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* How It Works */
.how-it-works {
  background: var(--navy);
  color: var(--white);
}

.how-it-works .section-label {
  color: var(--teal-light);
}

.how-it-works .section-header h2 {
  color: var(--white);
}

.how-it-works .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light), var(--teal));
  opacity: 0.4;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--navy), 0 0 0 8px rgba(13, 148, 136, 0.3);
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.step p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

/* Courses */
.courses {
  background: var(--gray-50);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Contact & Footer */
.contact-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4rem 0;
  text-align: center;
}

.contact-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.contact-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.footer {
  background: var(--navy-dark);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-logo {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: var(--teal-light);
}

.footer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .tutor-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 480px;
    margin: 0 auto;
  }

  .tutor-image-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  .tutor-content {
    text-align: center;
  }

  .tutor-content .section-label {
    text-align: center;
  }

  .tutor-highlights li {
    text-align: left;
  }

  .features-grid,
  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    padding: 0.875rem 1rem;
  }

  .nav-cta-wrap {
    display: none;
  }

  .nav-links .nav-cta-mobile {
    display: block;
    margin-top: 0.5rem;
    text-align: center;
    width: 100%;
  }

  .nav-links .nav-login-mobile {
    display: block;
    width: 100%;
  }

  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .course-card-actions {
    flex-direction: column;
  }
}

@media (min-width: 769px) {
  .nav-links .nav-cta-mobile,
  .nav-links .nav-login-mobile {
    display: none;
  }
}
