* {
  box-sizing: border-box;
}

body {
  font-family: 'MiSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.frame {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f5f5f5;
  overflow-x: hidden;
}

.frame .frame-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  width: 100%;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
}

.logo {
  position: relative;
  width: 127px;
  height: 27px;
  flex-shrink: 0;
}

.vector {
  width: 100%;
  height: auto;
  max-height: 27px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #000;
  text-align: center;
  font-family: 'MiSans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover,
.nav-link:focus {
  background-color: rgba(27, 90, 176, 0.1);
  color: #1b5ab0;
}

/* 下拉菜单 */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #EDF5FF;
  min-width: 320px;
  max-width: 90vw;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 0.25rem;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* 增加悬停缓冲区域 */
.dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
  z-index: 999;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  z-index: -1;
}

.dropdown-item {
  padding: 0;
  margin: 0 0 0.75rem 0;
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-item-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(27, 90, 176, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dropdown-item-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(27, 90, 176, 0.03) 0%, rgba(53, 123, 218, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.dropdown-item-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(27, 90, 176, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: rgba(27, 90, 176, 0.2);
}

.dropdown-item-content:hover::before {
  opacity: 1;
}

.dropdown-item-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(27, 90, 176, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(27, 90, 176, 0.08);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.dropdown-item-content:hover .dropdown-item-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(27, 90, 176, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.dropdown-item-text {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.dropdown-item-title {
  display: block;
  color: #1a1a1a;
  font-family: 'MiSans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  margin-bottom: 0.375rem;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dropdown-item-content:hover .dropdown-item-title {
  background: linear-gradient(135deg, #1b5ab0 0%, #357bda 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateX(2px);
}

.dropdown-item-subtitle {
  color: #6b7280;
  font-family: 'MiSans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  transition: all 0.3s ease;
}

.dropdown-item-content:hover .dropdown-item-subtitle {
  color: #4b5563;
  transform: translateX(2px);
}

.banner-container {
  width: 100%;
  padding: 0 2rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.banner-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.banner-image:hover {
  transform: translateY(-2px);
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  width: 100%;
}

.main-title {
  font-family: 'MiSans', sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.2;
  background: linear-gradient(
    180deg,
    rgba(27, 90, 176, 1) 0%,
    rgba(53, 123, 218, 1) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 0;
}

.main-description {
  font-family: 'MiSans', sans-serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: #1b5ab0;
  line-height: 1.5;
  font-weight: 600;
  margin: 0;
  max-width: 600px;
}

.cta-button {
  display: inline-block !important;
  padding: 16px 27px;
  background-color: #1b5ab0 !important;
  color: #ffffff !important;
  font-family: 'MiSans', sans-serif;
  font-size: 24px;
  text-decoration: none;
  border-radius: 1000px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(27, 90, 176, 0.3);
  z-index: 100 !important;
  position: relative;
  min-width: 150px;
  text-align: center;
  line-height: 1.2;
  margin: 20px 0;
}
.cta-button:hover,
.cta-button:focus {
  background-color: #1649a0 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 90, 176, 0.5);
}

.frame .frame-wrapper-2 {
  display: flex;
  flex-direction: column;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 2rem;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #1f5fb6;
  margin-top: auto;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.social-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.social-media-title {
  color: #61a6ff;
  font-family: 'MiSans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-right: 0.5rem;
}

.social-media-link {
  color: #8cb6ff;
  font-family: 'MiSans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-media-link:hover {
  color: #ffffff;
}

.social-icon {
    font-size: 20px;
}

.copyright {
  color: #dae9ff;
  font-family: 'MiSans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  padding: 1rem 0;
}

@media (max-width: 1024px) {
  .frame .frame-wrapper {
    padding: 1.5rem;
  }

  .banner-container {
    padding: 0 1.5rem;
  }

  .main-content {
    padding: 1.5rem 0;
  }

  .nav-links {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header-nav {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 0.5rem;
    box-shadow: none;
    border: 1px solid rgba(27, 90, 176, 0.2);
  }

  .main-content {
    padding: 2rem 1rem;
  }

  .banner-container {
    padding: 0 1rem;
  }

  .banner-image {
    max-height: 250px;
  }

  .social-media {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .social-media-title {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .logo {
    width: 100px;
    height: auto;
  }

  .main-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }

  .main-description {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  }
}

@media (max-width: 480px) {
  .frame .frame-wrapper {
    padding: 1rem;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .main-description {
    font-size: 1.25rem;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    font-size: 20px;
    padding: 14px 24px;
  }

  .frame .frame-wrapper-2 {
    padding: 1.5rem;
  }

  .banner-container {
    padding: 0 0.5rem;
  }

  .social-media {
    gap: 0.75rem;
  }

  .copyright {
    font-size: 12px;
    padding: 0.75rem 1rem;
  }
}

/* 关于我们页面样式 */
.about-content {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 0 1rem;
}

.about-section {
  margin-bottom: 3rem;
  text-align: left;
}

.about-section:last-child {
  margin-bottom: 0;
  text-align: center;
}

.about-section-title {
  font-family: 'MiSans', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1b5ab0;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.about-text {
  font-family: 'MiSans', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: justify;
}


@media (max-width: 768px) {
  .about-content {
    padding: 0 0.5rem;
  }
  
  .about-section {
    margin-bottom: 2rem;
  }
  
  .about-section-title {
    font-size: 1.5rem;
  }
  
  .about-text {
    font-size: 1rem;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .about-section-title {
    font-size: 1.25rem;
  }
  
  .about-text {
    font-size: 0.95rem;
  }
}

.cta-button {
  z-index: 999 !important;
  position: relative !important;
}

.frame .frame-wrapper-2 {
  z-index: 1 !important;
}