@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700&display=swap");

/* =========================================================

   TIẾNG HÀN MR LEE

   STYLE.CSS - VERSION 1

   ========================================================= */

/* =========================

   1. RESET

   ========================= */

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}

html {

  scroll-behavior: smooth;

}

body {

  font-family: "Be Vietnam Pro", "Noto Sans KR", Arial, sans-serif;

  background: #f6f8fc;

  color: #1f2937;

  line-height: 1.6;

}

a {

  text-decoration: none;

  color: inherit;

}

/* =========================

   2. HEADER

   ========================= */

.header {

  width: 100%;

  background: #ffffff;

  border-bottom: 1px solid #e5e7eb;

  position: sticky;

  top: 0;

  z-index: 1000;

}

.header-inner {

  max-width: 1200px;

  margin: 0 auto;

  min-height: 78px;

  padding: 0 24px;

  display: flex;

  align-items: center;

  justify-content: space-between;

}

/* LOGO */

.logo {

  display: flex;

  align-items: center;

  gap: 12px;

}

.logo-icon {

  width: 45px;

  height: 45px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f1f5f9;

  border-radius: 12px;

  font-size: 25px;

}

.logo-text {

  display: flex;

  flex-direction: column;

}

.logo-text strong {

  font-size: 18px;

  color: #111827;

}

.logo-text small {

  color: #6b7280;

  font-size: 12px;

}

/* =========================

   3. NAVIGATION

   ========================= */

.nav {

  display: flex;

  align-items: center;

  gap: 6px;

}

.nav a {

  padding: 10px 16px;

  border-radius: 8px;

  font-size: 15px;

  font-weight: 600;

  color: #4b5563;

  transition: 0.2s ease;

}

.nav a:hover {

  background: #f1f5f9;

  color: #111827;

}

.nav a.active {

  background: #111827;

  color: #ffffff;

}

/* MOBILE MENU BUTTON */

.menu-toggle {

  display: none;

  border: none;

  background: transparent;

  font-size: 26px;

  cursor: pointer;

}

/* =========================

   4. HERO

   ========================= */

.hero {

  min-height: 520px;

  display: flex;

  align-items: center;

  background:

    linear-gradient(

      135deg,

      #ffffff 0%,

      #f8fafc 55%,

      #eef2ff 100%

    );

}

.hero-content {

  width: 1200px;

  max-width: calc(100% - 48px);

  margin: 0 auto;

  padding: 80px 0;

}

.hero-label {

  display: inline-block;

  margin-bottom: 20px;

  padding: 7px 14px;

  background: #eef2ff;

  color: #4f46e5;

  border-radius: 50px;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 0.5px;

}

.hero h1 {

  max-width: 700px;

  font-size: clamp(40px, 6vw, 68px);

  line-height: 1.08;

  color: #111827;

  margin-bottom: 24px;

}

.hero h1 span {

  color: #4f46e5;

}

.hero p {

  max-width: 600px;

  margin-bottom: 32px;

  color: #6b7280;

  font-size: 18px;

}

/* HERO BUTTONS */

.hero-buttons {

  display: flex;

  gap: 12px;

  flex-wrap: wrap;

}

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 48px;

  padding: 0 22px;

  border-radius: 10px;

  font-size: 15px;

  font-weight: 700;

  transition: 0.2s ease;

}

.btn-primary {

  background: #111827;

  color: #ffffff;

}

.btn-primary:hover {

  background: #374151;

  transform: translateY(-2px);

}

.btn-secondary {

  background: #ffffff;

  color: #111827;

  border: 1px solid #d1d5db;

}

.btn-secondary:hover {

  background: #f9fafb;

  transform: translateY(-2px);

}

/* =========================

   5. CONTAINER

   ========================= */

.container {

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 24px;

}

.section {

  padding: 80px 0;

}

/* =========================

   6. SECTION HEADING

   ========================= */

.section-heading {

  max-width: 700px;

  margin-bottom: 40px;

}

.section-label {

  display: block;

  margin-bottom: 10px;

  color: #4f46e5;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 1.5px;

}

.section-heading h2 {

  margin-bottom: 12px;

  color: #111827;

  font-size: 36px;

  line-height: 1.2;

}

.section-heading p {

  color: #6b7280;

  font-size: 16px;

}

/* =========================

   7. COURSE CARDS

   ========================= */

.card-grid {

  display: grid;

  grid-template-columns:

    repeat(3, 1fr);

  gap: 24px;

}

.course-card {

  display: block;

  padding: 30px;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 18px;

  box-shadow:

    0 8px 30px rgba(15, 23, 42, 0.05);

  transition:

    transform 0.25s ease,

    box-shadow 0.25s ease,

    border-color 0.25s ease;

}

.course-card:hover {

  transform: translateY(-7px);

  border-color: #c7d2fe;

  box-shadow:

    0 18px 40px rgba(15, 23, 42, 0.10);

}

/* CARD ICON */

.card-icon {

  width: 58px;

  height: 58px;

  margin-bottom: 24px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f3f4f6;

  border-radius: 14px;

  font-size: 28px;

}

/* CARD TEXT */

.card-level {

  display: block;

  margin-bottom: 7px;

  color: #6366f1;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1px;

}

.card-content h3 {

  margin-bottom: 10px;

  color: #111827;

  font-size: 24px;

}

.card-content p {

  min-height: 78px;

  margin-bottom: 20px;

  color: #6b7280;

  font-size: 14px;

}

.card-link {

  color: #111827;

  font-size: 14px;

  font-weight: 700;

}

/* TEST CARD */

.test-card {

  background: #111827;

  border-color: #111827;

}

.test-card .card-icon {

  background: #374151;

}

.test-card .card-level {

  color: #c7d2fe;

}

.test-card h3,

.test-card p {

  color: #ffffff;

}

.test-card p {

  color: #d1d5db;

}

.test-card .card-link {

  color: #ffffff;

}

.test-card:hover {

  border-color: #111827;

}

/* =========================

   8. FEATURES

   ========================= */

.features {

  padding-top: 20px;

  padding-bottom: 100px;

}

.feature-grid {

  display: grid;

  grid-template-columns:

    repeat(4, 1fr);

  gap: 20px;

}

.feature {

  padding: 28px;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 16px;

  transition: 0.2s ease;

}

.feature:hover {

  transform: translateY(-4px);

  box-shadow:

    0 12px 30px rgba(15, 23, 42, 0.07);

}

.feature-icon {

  width: 48px;

  height: 48px;

  margin-bottom: 18px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f3f4f6;

  border-radius: 12px;

  font-size: 23px;

}

.feature h3 {

  margin-bottom: 8px;

  color: #111827;

  font-size: 17px;

}

.feature p {

  color: #6b7280;

  font-size: 14px;

}

/* =========================

   9. FOOTER

   ========================= */

.footer {

  background: #111827;

  color: #ffffff;

}

.footer-inner {

  max-width: 1200px;

  margin: 0 auto;

  padding: 50px 24px;

  display: flex;

  justify-content: space-between;

  gap: 50px;

}

.footer h3 {

  margin-bottom: 10px;

  font-size: 18px;

}

.footer p {

  max-width: 400px;

  color: #9ca3af;

  font-size: 14px;

}

.footer-links {

  display: flex;

  flex-direction: column;

  gap: 8px;

}

.footer-links a {

  color: #d1d5db;

  font-size: 14px;

  transition: 0.2s ease;

}

.footer-links a:hover {

  color: #ffffff;

}

.copyright {

  padding: 18px 24px;

  border-top: 1px solid #374151;

  text-align: center;

  color: #9ca3af;

  font-size: 12px;

}

/* =========================

   10. MOBILE

   ========================= */

@media (max-width: 900px) {

  .card-grid {

    grid-template-columns: 1fr;

  }

  .feature-grid {

    grid-template-columns:

      repeat(2, 1fr);

  }

}

@media (max-width: 700px) {

  /* HEADER */

  .header-inner {

    min-height: 68px;

    padding: 0 18px;

  }

  .menu-toggle {

    display: block;

  }

  .nav {

    display: none;

    position: absolute;

    top: 68px;

    left: 0;

    right: 0;

    padding: 12px 18px;

    background: #ffffff;

    border-bottom: 1px solid #e5e7eb;

    flex-direction: column;

    align-items: stretch;

  }

  .nav.show {

    display: flex;

  }

  .nav a {

    padding: 12px 14px;

  }

  /* HERO */

  .hero {

    min-height: auto;

  }

  .hero-content {

    max-width: calc(100% - 36px);

    padding: 65px 0;

  }

  .hero h1 {

    font-size: 44px;

  }

  .hero p {

    font-size: 16px;

  }

  .hero-buttons {

    flex-direction: column;

    align-items: stretch;

  }

  .btn {

    width: 100%;

  }

  /* MAIN */

  .container {

    padding: 0 18px;

  }

  .section {

    padding: 60px 0;

  }

  .section-heading h2 {

    font-size: 30px;

  }

  /* CARDS */

  .course-card {

    padding: 24px;

  }

  .card-content p {

    min-height: auto;

  }

  /* FEATURES */

  .feature-grid {

    grid-template-columns: 1fr;

  }

  /* FOOTER */

  .footer-inner {

    padding: 40px 18px;

    flex-direction: column;

  }

  .footer-links {

    display: grid;

    grid-template-columns:

      repeat(2, 1fr);

  }

}

/* =========================

   11. SMALL PHONE

   ========================= */

@media (max-width: 400px) {

  .logo-text strong {

    font-size: 16px;

  }

  .logo-text small {

    display: none;

  }

  .hero h1 {

    font-size: 38px;

  }

}

/* ===== LOGO TIẾNG HÀN MR LEE ===== */

.logo {

    display: flex;

    align-items: center;

    text-decoration: none;

    flex-shrink: 0;

}

.logo-img {

    display: block;

    width: auto;

    height: 64px;

    object-fit: contain;

}

/* Logo trên điện thoại */

@media (max-width: 768px) {

    .logo-img {

        height: 48px;

    }

}

/* =========================================================

   TRANG BÀI HỌC

   ========================================================= */

.lesson-level-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

    max-width: 900px;

    margin-left: auto;

    margin-right: auto;

}

.lesson-level-grid .course-card {

    height: 100%;

}

/* Điện thoại */

@media (max-width: 700px) {

    .lesson-level-grid {

        grid-template-columns: 1fr;

        max-width: 100%;

    }

}

/* Font dành riêng cho nội dung tiếng Hàn */
:lang(ko) {
  font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  word-break: keep-all;
}
