@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700;900&display=swap');

:root {
  --gold: #c9a96e;
  --gold-light: #e8d5a8;
  --dark: #1a1a2e;
  --darker: #0f0f1a;
  --accent: #e74c6f;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-600: #6c757d;
  --glass: rgba(255,255,255,0.08);
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 16px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', sans-serif;
  color: #333;
  background: var(--white);
  overflow-x: hidden;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: linear-gradient(135deg, var(--dark), var(--darker));
  color: var(--gold-light);
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: 1px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a {
  color: var(--gold-light);
  text-decoration: none;
  margin-left: 20px;
  transition: var(--transition);
}
.top-bar a:hover { color: var(--gold); }
.top-bar-links { display: flex; align-items: center; gap: 6px; }
.top-bar-links a {
  background: var(--gold);
  color: var(--dark);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  margin-left: 0;
}
.top-bar-links a:hover { background: var(--gold-light); }

/* ===== HEADER / NAV ===== */
header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 72px;
}
.logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 20px; font-weight: 900;
}
.logo span { color: var(--gold); }

nav { display: flex; align-items: center; }
nav a {
  color: var(--dark);
  text-decoration: none;
  padding: 24px 16px;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 18px; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 2px;
  transition: var(--transition);
}
nav a:hover { color: var(--gold); }
nav a:hover::after { width: 60%; }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), #d4a853) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  margin-left: 12px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,169,110,0.4); }

.mobile-menu-btn {
  display: none;
  background: none; border: none;
  font-size: 28px; cursor: pointer; color: var(--dark);
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85), rgba(15,15,26,0.6));
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.hero-content { max-width: 700px; padding: 20px; }
.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero-content h1 span {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #d4a853);
  color: var(--white);
  padding: 14px 36px;
  border: none; border-radius: 30px;
  font-size: 16px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(201,169,110,0.4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 36px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 30px;
  font-size: 16px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-dots {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer; border: none;
  transition: var(--transition);
}
.hero-dot.active { background: var(--gold); transform: scale(1.3); }

/* ===== ANNOUNCEMENT ===== */
.announcement {
  background: linear-gradient(135deg, var(--accent), #d63384);
  color: var(--white);
  padding: 14px 0;
  overflow: hidden;
}
.announcement-inner {
  display: flex; align-items: center;
  animation: marquee 30s linear infinite;
}
.announcement-inner span { white-space: nowrap; font-size: 15px; font-weight: 500; padding: 0 60px; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===== SECTION ===== */
.section { padding: 80px 0; }
.section-dark { background: var(--gray-100); }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-title h2 span { color: var(--gold); }
.section-title p {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}
.section-title-line {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== LIVE ENROLLMENT ===== */
.enrollment-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  padding: 40px 0;
}
.enrollment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.enrollment-info h3 {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 12px;
}
.enrollment-info p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }

.enrollment-table {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,169,110,0.2);
}
.enrollment-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: center;
  transition: var(--transition);
}
.enrollment-row:hover { background: rgba(201,169,110,0.08); }
.enrollment-row.header {
  background: rgba(201,169,110,0.15);
  font-weight: 600;
  color: var(--gold);
}
.enrollment-row span { color: rgba(255,255,255,0.8); font-size: 14px; }
.enrollment-row .seats {
  color: var(--accent);
  font-weight: 700;
}
.enrollment-row .enroll-btn {
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.enrollment-row .enroll-btn:hover { background: var(--gold-light); transform: scale(1.05); }

/* ===== COURSES ===== */
.course-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.course-tab {
  padding: 10px 28px;
  border: 2px solid var(--gray-300);
  border-radius: 30px;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-600);
  font-family: inherit;
}
.course-tab.active, .course-tab:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.course-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.course-card img { width: 100%; height: 200px; object-fit: cover; }
.course-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.course-card-body { padding: 20px; }
.course-card-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.course-card-body p { font-size: 13px; color: var(--gray-600); margin-bottom: 16px; line-height: 1.5; }
.course-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.course-duration { font-size: 13px; color: var(--gold); font-weight: 600; }
.course-detail-btn {
  background: linear-gradient(135deg, var(--gold), #d4a853);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.course-detail-btn:hover { transform: scale(1.05); }
.course-panel { display: none; }
.course-panel.active { display: grid; }

/* ===== TEACHERS ===== */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.teacher-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.teacher-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.teacher-card img { width: 100%; height: 320px; object-fit: cover; }
.teacher-card-body { padding: 24px; }
.teacher-card-body h4 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.teacher-card-body .teacher-title { color: var(--gold); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.teacher-card-body ul { list-style: none; text-align: left; }
.teacher-card-body ul li {
  font-size: 13px; color: var(--gray-600);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.teacher-card-body ul li::before {
  content: '✦';
  position: absolute; left: 0;
  color: var(--gold);
  font-size: 10px;
}

/* ===== WORKS GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* ===== SUCCESS STORIES ===== */
.success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.success-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.success-card:hover { transform: translateY(-6px); }
.success-card img { width: 100%; height: 240px; object-fit: cover; }
.success-card-body { padding: 20px; }
.success-card-body h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.success-card-body p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ===== NEWS ===== */
.news-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--gray-200);
}
.news-tab {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  font-family: inherit;
}
.news-tab.active, .news-tab:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.news-list { list-style: none; }
.news-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
}
.news-item:hover { padding-left: 10px; }
.news-date {
  min-width: 100px;
  font-size: 13px;
  color: var(--gray-600);
}
.news-item a {
  color: var(--dark);
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition);
}
.news-item:hover a { color: var(--gold); }

/* ===== ADVANTAGES ===== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}
.adv-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.adv-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}
.adv-card h4 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.adv-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--dark), var(--darker));
  color: rgba(255,255,255,0.7);
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-col h4 {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== FLOATING BAR ===== */
.float-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg, var(--dark), #16213e);
  padding: 12px 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.float-bar-inner {
  display: flex;
  gap: 6px;
  max-width: 600px;
  width: 100%;
  padding: 0 20px;
}
.float-btn {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 6px 0;
  border-radius: 10px;
  transition: var(--transition);
  font-size: 11px;
  gap: 2px;
}
.float-btn:hover { background: rgba(201,169,110,0.15); color: var(--gold); }
.float-btn .icon { font-size: 20px; }
.float-btn.cta {
  background: linear-gradient(135deg, var(--gold), #d4a853);
  color: var(--white);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  animation: modalIn 0.4s ease;
}
@keyframes modalIn { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:translateY(0)} }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  font-size: 24px; cursor: pointer; color: var(--gray-600);
}
.modal h3 { font-size: 24px; font-weight: 700; color: var(--dark); margin-bottom: 20px; text-align: center; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 15px;
  transition: var(--transition);
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold), #d4a853);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  font-family: inherit;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.4); }

/* ===== STATS ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--gold), #d4a853);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item h3 { font-size: 42px; font-weight: 900; color: var(--white); }
.stat-item p { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 4px; }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .course-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .enrollment-grid { grid-template-columns: 1fr; }
}
@media(max-width:768px) {
  nav { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { height: 450px; }
  .hero-content h1 { font-size: 30px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .teacher-grid, .success-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid, .gallery-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 26px; }
  body { padding-bottom: 60px; }
}
