/* ========== 全局样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  --text-primary: #1a1a2e;
  --text-secondary: #2d3748;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'Poppins', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: 200px;
}

/* ========== 背景 ========== */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url('1.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(255, 218, 185, 0.3) 0%,
    rgba(255, 182, 193, 0.35) 25%,
    rgba(230, 230, 250, 0.4) 50%,
    rgba(176, 224, 230, 0.35) 75%,
    rgba(255, 192, 203, 0.3) 100%
  );
  backdrop-filter: blur(3px);
}

/* ========== 导航栏 ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

nav .container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 28px;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  text-shadow: none;
}

nav .menu {
  display: flex;
  gap: 45px;
  list-style: none;
}

nav .menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

nav .menu a:hover,
nav .menu a.active {
  color: #667eea;
}

nav .menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: width 0.3s;
  border-radius: 2px;
}

nav .menu a:hover::after,
nav .menu a.active::after {
  width: 100%;
}

/* ========== 首页Hero区 ========== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 150px 60px 100px;
}

.hero-content {
  animation: fadeInUp 1.2s ease-out;
  margin-bottom: 80px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 82px;
  font-weight: 900;
  margin-bottom: 25px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 6px;
  text-shadow: none;
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.2));
}

.hero-subtitle {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 50px;
  letter-spacing: 12px;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9), 
               0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-button {
  padding: 18px 55px;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  background: var(--primary-gradient);
  color: white;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.7);
}

/* ========== 功能卡片 ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  padding: 50px 35px;
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  border-color: rgba(102, 126, 234, 0.5);
}

.feature-card .icon {
  font-size: 64px;
  margin-bottom: 25px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}

/* ========== 滚动提示 ========== */
.scroll-indicator {
  margin-top: 80px;
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 600;
  animation: bounce 2s infinite;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
  60% {
    transform: translateY(-6px);
  }
}

/* ========== 通用内容区 ========== */
.content-section {
  min-height: 100vh;
  padding: 140px 60px 100px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  text-align: center;
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 60px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.15));
}

.card-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  padding: 50px;
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

/* ========== 表单样式 ========== */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 16px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.form-control {
  width: 100%;
  padding: 16px 22px;
  border: 3px solid rgba(102, 126, 234, 0.3);
  border-radius: 15px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.15);
  background: white;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* ========== 按钮样式 ========== */
.button-group {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-custom {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.btn1:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 45px rgba(102, 126, 234, 0.7);
}

.btn2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  box-shadow: 0 12px 35px rgba(240, 147, 251, 0.5);
}

.btn2:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 45px rgba(240, 147, 251, 0.7);
}

.btn3 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  box-shadow: 0 12px 35px rgba(79, 172, 254, 0.5);
}

.btn3:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 45px rgba(79, 172, 254, 0.7);
}

/* ========== 追逐动画 ========== */
.animation-section {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 500;
}

.ground {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, 
    rgba(144, 238, 144, 0.6) 0%, 
    rgba(34, 139, 34, 0.7) 100%);
  backdrop-filter: blur(10px);
  border-top: 2px solid rgba(255, 255, 255, 0.4);
}

.character {
  position: absolute;
  bottom: 80px;
  width: 100px;
  left: -250px;
  height: 100px;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.4));
  image-rendering: crisp-edges;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
  }

  nav .menu {
    gap: 15px;
    font-size: 13px;
  }

  .hero-title {
    font-size: 48px;
    letter-spacing: 3px;
  }

  .hero-subtitle {
    font-size: 16px;
    letter-spacing: 6px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .content-section {
    padding: 120px 20px 80px;
  }

  .card-box {
    padding: 30px 20px;
  }
}
