/* Header */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Logo样式 */
.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
}

.logo-anime {
  background: linear-gradient(135deg, #8364E8 0%, #c48aff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-feet {
  background: linear-gradient(135deg, #a76ef7 0%, #FF6B9C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.logo-ai {
  color: #FF6B9C;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 1px;
}

.logo a:hover .logo-anime,
.logo a:hover .logo-feet {
  text-shadow: 0 2px 10px rgba(131, 100, 232, 0.4);
}

.logo img {
  height: 40px;
  margin-right: 10px;
  filter: drop-shadow(0 2px 5px rgba(131, 100, 232, 0.3));
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav ul li a {
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.main-nav ul li a i {
  font-size: 1.2rem;
  color: var(--primary);
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 2px rgba(131, 100, 232, 0.2));
}

.main-nav ul li a:hover i {
  transform: translateY(-2px);
  filter: drop-shadow(0 3px 3px rgba(131, 100, 232, 0.3));
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
  width: 100%;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--primary);
}

/* 分隔线 */
.divider {
  position: relative;
  height: 70px;
  width: 100%;
  margin-top: -1px;
}

.divider.fliped {
  transform: rotate(180deg);
  margin-bottom: -1px;
}

/* 特别调整三个功能section之间的间距 */
.feature-cards + .feature-alternate,
.feature-alternate + .feature-cards {
  margin-top: 10px;
}

/* Footer Section */
.footer {
  background: var(--bg-white);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 90%, rgba(131, 100, 232, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(255, 107, 156, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  max-width: 300px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 5px rgba(131, 100, 232, 0.2));
}

.footer-logo p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  transition: all 0.3s ease;
  color: var(--primary);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(131, 100, 232, 0.3);
}

.social-link img,
.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  gap: 5rem;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: var(--text-light);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-column ul li a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--primary);
}

.footer-column ul li a:hover {
  color: var(--primary);
  padding-left: 15px;
}

.footer-column ul li a:hover::before {
  left: 0;
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-lighter);
  font-size: 0.875rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(131, 100, 232, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(131, 100, 232, 0.4);
} 