/* Homepage Styles */

body.homepage {
  background: #FFFFFF;
  font-family: var(--wt-body-font);
  color: var(--wt-text-on-background-color);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Header Styles */
.site-header {
  background: transparent;
  padding: 25px 0 0 30px;
  width: 100%;
  box-sizing: border-box;
  border: none;
}

.header-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.header-logo img {
  max-width: 120px;
  height: auto;
}

/* Main Content */
.homepage-main {
  width: 100%;
  background: #F6F5F4;
  padding: 80px 20px;
  box-sizing: border-box;
  min-height: calc(100vh - 200px);
}

.homepage-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.homepage-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.homepage-header h1 {
  font-family: var(--wt-header-font);
  font-size: 3rem;
  font-weight: 800;
  color: var(--wt-text-on-secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.homepage-header p {
  font-size: 1.25rem;
  color: var(--wt-text-on-secondary-color);
  line-height: 1.6;
  opacity: 0.85;
  font-weight: 400;
}

/* Course Cards */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.course-card {
  background: white;
  border-radius: 2px;
  padding: 40px 35px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
}

.course-card:hover {
  border-color: #3EB57B;
  text-decoration: none;
}

.card-content {
  flex: 1;
  margin-bottom: 25px;
}

.card-content h3 {
  font-family: var(--wt-header-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 15px;
  line-height: 1.3;
}

.card-content p {
  font-size: 1.05rem;
  color: #303136;
  line-height: 1.6;
  margin-bottom: 0;
  opacity: 0.9;
}

.card-price {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.price-original {
  font-family: var(--wt-button-font);
  font-size: 1.2rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: line-through;
}

.price-amount {
  font-family: var(--wt-button-font);
  font-size: 2rem;
  font-weight: 700;
  color: #3EB57B;
}

.cta-button {
  display: block;
  width: 100%;
  background: #ef4444;
  color: white;
  padding: 18px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-align: center;
  font-family: var(--wt-button-font);
  border: none;
  box-shadow: none;
}

.course-card:hover .cta-button {
  background: #dc2626;
  text-decoration: none;
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 20px 0 0 20px;
  }

  .header-logo img {
    max-width: 100px;
  }

  .homepage-main {
    padding: 50px 20px;
  }

  .homepage-header {
    margin-bottom: 45px;
  }

  .homepage-header h1 {
    font-size: 2.2rem;
  }

  .homepage-header p {
    font-size: 1.1rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .course-card {
    padding: 35px 25px;
  }

  .card-content h3 {
    font-size: 1.6rem;
  }

  .card-content p {
    font-size: 1rem;
  }

  .card-price {
    padding: 18px 0;
    margin-bottom: 18px;
    gap: 10px;
  }

  .price-original {
    font-size: 1.1rem;
  }

  .price-amount {
    font-size: 1.8rem;
  }

  .cta-button {
    font-size: 1.2rem;
    padding: 16px 18px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 15px 0 0 15px;
  }

  .header-logo img {
    max-width: 90px;
  }

  .homepage-main {
    padding: 40px 15px;
  }

  .homepage-header h1 {
    font-size: 1.8rem;
  }

  .homepage-header p {
    font-size: 1rem;
  }

  .course-card {
    padding: 30px 20px;
  }

  .card-content h3 {
    font-size: 1.4rem;
  }

  .card-content p {
    font-size: 0.95rem;
  }

  .card-price {
    padding: 15px 0;
    margin-bottom: 15px;
    gap: 8px;
  }

  .price-original {
    font-size: 1rem;
  }

  .price-amount {
    font-size: 1.6rem;
  }

  .cta-button {
    font-size: 1.1rem;
    padding: 15px 18px;
  }
}
