/* 主题色变量 */
:root {
    --primary-purple: #8B5CF6;
    --secondary-purple: #A78BFA;
    --light-purple: #C4B5FD;
    --lavender: #E9D5FF;
    --violet: #7C3AED;
    --soft-purple: #F3F4F6;
    --white: #FFFFFF;
    --dark-purple: #5B21B6;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --gradient-primary: linear-gradient(135deg, var(--soft-purple) 0%, var(--lavender) 100%);
    --gradient-purple: linear-gradient(135deg, var(--primary-purple), var(--violet));
    --shadow-light: 0 4px 6px -1px rgba(139, 92, 246, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(139, 92, 246, 0.2);
    --shadow-heavy: 0 20px 25px -5px rgba(139, 92, 246, 0.3);
}

/* 全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary, .signup-btn {
  background: var(--gradient-purple) !important;
  color: var(--white) !important;
  box-shadow: var(--shadow-light);
}
.btn-primary:hover, .signup-btn:hover {
  box-shadow: var(--shadow-medium);
  filter: brightness(1.05);
}
.btn-secondary {
  background: var(--soft-purple) !important;
  color: var(--primary-purple) !important;
  border: 2px solid var(--primary-purple) !important;
}
.btn-secondary:hover {
  background: var(--primary-purple) !important;
  color: var(--white) !important;
}

/* 卡片 */
.card, .course-card, .highlight-item {
    background: var(--white) !important;
    color: var(--text-dark) !important;
    box-shadow: var(--shadow-light);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #d1c4e9;
    transition: all 0.3s ease;
}
.card:hover, .highlight-item:hover, .course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* 标题 */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(115, 46, 136) !important;
  text-align: center;
  margin-bottom: 10px;
}
.title-underline {
  width: 80px;
  height: 4px;
  background: var(--primary-purple);
  margin: 0 auto 20px;
  border-radius: 2px;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar-logo img { display: block; }
.navbar-menu { display: flex; align-items: center; gap: 30px; }
.nav-link {
  color: #6a4c93 !important;
  font-size: 1.4rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0 10px 6px 10px;
  position: relative;
  transition: color 0.25s, transform 0.25s;
  display: inline-block;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #a78bfa 0%, #7c3aed 100%);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.25s, transform 0.25s;
}
.nav-link:hover {
  color: #7c3aed !important;
  transform: scale(1.08);
}
.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav-link:hover { color: var(--primary-purple) !important; }
.desktop-menu { display: flex; }
.mobile-menu { display: none; }
.hamburger { display: none; flex-direction: column; background: none; border: none; cursor: pointer; padding: 5px; gap: 4px; }
.hamburger span { width: 25px; height: 3px; background: #7e57c2; border-radius: 2px; transition: all 0.3s ease; }
.mobile-dropdown { display: none; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); border-top: 1px solid rgba(149, 117, 205, 0.1); padding: 20px; flex-direction: column; gap: 15px; }
.mobile-dropdown.active { display: flex; }

    /* 下拉菜单样式 */
    .nav-dropdown { position: relative; display: inline-block; }
    .nav-link-dropdown { cursor: pointer; }
    .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 180px;
      background: #fff;
      box-shadow: 0 8px 24px #a78bfa22;
      border-radius: 10px;
      z-index: 1001;
      padding: 10px 0;
    }
    .nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu {
      display: block;
    }
    .dropdown-item {
      display: block;
      padding: 10px 24px;
      color: #6a4c93;
      text-decoration: none;
      font-size: 1.1rem;
      transition: background 0.2s, color 0.2s;
    }
    .dropdown-item:hover {
      background: #f3e8ff;
      color: #7c3aed;
    }
    /* 移动端下拉 */
    @media (max-width: 900px) {
      .dropdown-menu { position: static; box-shadow: none; border-radius: 0; padding: 0; display: block; }
      .dropdown-item { padding: 12px 18px; }
    }

/* 新 Hero 区域样式 */
.highlight { background: var(--gradient-purple); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; }
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content {
  text-align: left;
}
.hero-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.hero-brand-title {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--primary-purple);
  margin-bottom: 2rem;
}
.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-light) !important;
}
.hero-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}
.hero-features li {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-features li i {
  color: var(--violet);
  font-size: 1.2rem;
}
.hero-buttons {
  gap: 15px;
}

/* 轮播图样式 */
.hero-carousel {
  position: relative;
  width: 120%;
  height: 80%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}
.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
  display: block;
}
.carousel-item.active {
  opacity: 1;
  transform: scale(1);
}

/* 漂浮圆球 */
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.floating-shapes { position: absolute; width: 100%; height: 100%; }
.shape { position: absolute; border-radius: 50%; background: linear-gradient(135deg, rgba(149, 117, 205, 0.1) 0%, rgba(126, 87, 194, 0.1) 100%); animation: float 6s ease-in-out infinite; }
.shape-1 { width: 100px; height: 100px; top: 20%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 150px; height: 150px; top: 60%; right: 15%; animation-delay: 2s; }
.shape-3 { width: 80px; height: 80px; bottom: 20%; left: 30%; animation-delay: 4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(180deg); } }

/* 关于我们 */
.about { padding: 100px 0; background: #fff !important; }
.about-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.about-description {
  font-size: 1.4rem;
  color: var(--text-light) !important;
  line-height: 1.8;
  margin-bottom: 40px;
  margin-top: 32px;
}
.about-features { display: flex; flex-direction: column; gap: 25px; }
.feature { display: flex; align-items: flex-start; gap: 20px; }
.feature-text h3 { color: var(--text-dark); font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.feature-text p { color: var(--text-light); line-height: 1.6; }
.about-visual { display: flex; justify-content: center; align-items: center; }
.about-image { width: 100%; max-width: 400px; }

/* 课程 */
.courses { padding: 100px 0; background: #f7f5fa !important; }
.courses-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.courses-subtitle { font-size: 1.1rem; color: #6a4c93; margin-top: 20px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; text-align: center; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 60px;
  background: transparent !important;
}
.course-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.course-icon { font-size: 2.5rem; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--gradient-purple); border-radius: 15px; color: var(--white); flex-shrink: 0; }
.course-info { flex: 1; }
.course-title { font-size: 1.3rem; font-weight: 600; color: var(--text-dark) !important; margin-bottom: 10px; line-height: 1.3; }
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.course-age,
.course-duration {
  display: inline-block;
  font-size: 0.9rem;
  color: #b39ddb;
  font-weight: 500;
  padding: 4px 8px;
  background: rgba(179,157,219,0.12);
  border-radius: 8px;
  width: fit-content;
}
.course-description { color: var(--text-light) !important; line-height: 1.6; margin-bottom: 25px; flex: 1; }
.course-features { margin-bottom: 25px; }
.course-features h4 { font-size: 1rem; font-weight: 600; color: #3d246c; margin-bottom: 10px; }
.course-features ul { list-style: none; padding: 0; margin: 0; }
.course-features li { color: #6a4c93; padding: 5px 0; position: relative; padding-left: 20px; }
.course-features li::before { content: '✓'; position: absolute; left: 0; color: #7e57c2; font-weight: bold; }
.course-btn {
  align-self: center !important;
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.alert-banner {
  margin-top: 0px;
  padding: 6px 12px;
  border-radius: 0px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
}

.alert-banner strong {
  margin-right: 6px;
}

.status-button {
    background-color: #e8ddfc;
    color: #6a1b9a;
    font-weight: 600;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: default;
    font-size: 14px;
}

.status-button2 {
  background-color: #7b3fe4;
  color: #fdfdfd;
  font-weight: 600;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.status-button2:hover {
  background-color: #612ccf;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}




/* 项目亮点 */
.highlights { padding: 100px 0; background: linear-gradient(135deg, #F3F4F6 0%, #E9D5FF 100%) !important; backdrop-filter: blur(10px); }

.highlights-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.highlights-header { text-align: center; margin-bottom: 60px; }
.highlights-subtitle { font-size: 1.1rem; color: #6a4c93; margin-top: 20px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; text-align: center; }
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 80px; background: transparent !important; }
.highlight-item { display: flex; align-items: flex-start; gap: 20px; padding: 25px; transition: all 0.3s ease; position: relative; overflow: hidden; background: var(--white) !important; color: var(--text-dark) !important; box-shadow: var(--shadow-light); }
.highlight-item::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary-purple); transform: scaleY(0); transition: transform 0.3s ease; }
.highlight-item:hover::before { transform: scaleY(1); }
.highlight-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-medium); }
.highlight-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--gradient-purple); border-radius: 15px; color: var(--white); font-size: 1.5rem; flex-shrink: 0; transition: all 0.3s ease; }
.highlight-item:hover .highlight-icon { transform: scale(1.1) rotate(5deg); }
.highlight-content { flex: 1; }
.highlight-title { font-size: 1.2rem; font-weight: 600; color: var(--text-dark) !important; margin-bottom: 10px; }
.highlight-description { color: var(--text-light) !important; line-height: 1.6; font-size: 0.95rem; }

/* 页脚 */
.footer { background: var(--text-dark) !important; color: var(--white) !important; padding: 60px 0 20px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-section { display: flex; flex-direction: column; gap: 0px; }
.footer-logo img { display: block; }
.social-links { display: flex}
.social-link { width: 56px !important; height: 56px !important; font-size: 2rem !important; display: flex; align-items: center; justify-content: center; background: var(--primary-gradient-dark); border-radius: 10px; color: white; text-decoration: none; transition: all 0.3s ease; }
.social-link:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(179, 157, 219, 0.3); }
.footer-title, .footer-section h3 { font-size: 1.2rem; font-weight: 600; color: var(--white) !important; margin-bottom: 15px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover, .footer-section ul li a:hover { color: var(--primary-purple) !important; }
.contact-info { display: flex; flex-direction: column; gap: 15px; }
.contact-item { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.8); }
.contact-icon { color: #b39ddb; width: 16px; }
.footer-bottom { border-top: 1px solid #374151 !important; padding-top: 20px; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-bottom p, .footer-links a { color: #9CA3AF !important; }
.copyright { color: rgba(255, 255, 255, 0.6); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.3s ease; }
.footer-bottom-links a:hover { color: #9575cd; }

/* 响应式设计 */
@media (max-width: 768px) {
  .desktop-menu { display: none; }
  .mobile-menu { display: flex; }
  .hamburger { display: flex; }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-buttons { justify-content: center; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .courses-grid { grid-template-columns: 1fr; gap: 25px; }
  .highlights-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-content { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-content { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 250px; }
}

/* 滚动条 */
::-webkit-scrollbar-thumb { background: var(--primary-gradient-dark); } 

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
} 

.hero {
  padding-top: 70px; /* 增加这个padding来抵消fixed导航栏的高度 */
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F3F4F6 0%, #E9D5FF 100%) !important;
} 

/* 关于我们新布局 */
.about-content {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.about-left {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.about-logo-wrap {
  margin: 40px 0 0 0;
  text-align: left;
}
.about-logo {
  max-height: 180px;
  max-width: 90%;
  margin-left: 20px;
  display: block;
}
.about-right {
  flex: 2;
  min-width: 320px;
}
.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.about-feature-card {
  background: #F6F2FF;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(139,92,246,0.08);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
  transition: box-shadow 0.3s, transform 0.3s, background 0.4s;
  position: relative;
  overflow: hidden;
}
.about-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: linear-gradient(120deg, #e9d5ff 0%, #a78bfa 100%);
  transition: opacity 0.4s;
}
.about-feature-card:hover {
  box-shadow: 0 8px 32px 0 rgba(124,58,237,0.25), 0 0 32px 0 #bda8fc66;
  transform: translateY(-6px) scale(1.035);
}
.about-feature-card:hover::before {
  opacity: 0.25;
}
.about-feature-card:hover .feature-logo {
  transform: scale(1.18) rotate(-8deg);
  filter: drop-shadow(0 0 8px #a78bfa);
  transition: transform 0.3s, filter 0.3s;
}
.feature-logo {
  transition: transform 0.3s, filter 0.3s;
}
.about-feature-card:hover .feature-logo2 {
  transform: scale(1.18) rotate(-8deg);
  filter: drop-shadow(0 0 8px #a78bfa);
  transition: transform 0.3s, filter 0.3s;
}
.feature-logo2 {
  transition: transform 0.3s, filter 0.3s;
}
.about-feature-card:hover .feature-logo3 {
  transform: scale(1.18) rotate(-8deg);
  filter: drop-shadow(0 0 8px #a78bfa);
  transition: transform 0.3s, filter 0.3s;
}
.feature-logo3 {
  transition: transform 0.3s, filter 0.3s;
}
.about-feature-card:hover .feature-logo4 {
  transform: scale(1.18) rotate(-8deg);
  filter: drop-shadow(0 0 8px #a78bfa);
  transition: transform 0.3s, filter 0.3s;
}
.feature-logo4 {
  transition: transform 0.3s, filter 0.3s;
}

.feature-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #732e88;
  margin-bottom: 10px;
}
.feature-text p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.7;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.feature-logo {
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(139,92,246,0.10);
  line-height: 1;
  vertical-align: middle;
  padding-top: 6px;
  padding-left: 9.5px;
}
.feature-logo2 {
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(139,92,246,0.10);
  line-height: 1;
  vertical-align: middle;
  padding: 8px;
}
.feature-logo3 {
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(139,92,246,0.10);
  line-height: 1;
  vertical-align: middle;
  padding: 5px;
  padding-top: 7px;
}
.feature-logo4 {
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(139,92,246,0.10);
  line-height: 1;
  vertical-align: middle;
  padding-top: 7.5px;
  padding-left: 4px;
}
@media (max-width: 900px) {
  .about-content { flex-direction: column; gap: 32px; }
  .about-features-grid { grid-template-columns: 1fr; }
  .about-logo { margin-left: 0; margin-top: 24px; }
} 

.course-features-fixed {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
} 

