:root {
  --bg-dark: #0f172a;
  --text-light: #f8fafc;
  --text-gray: #cbd5e1;
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.5);
  --accent: #ec4899;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 动态渐变背景 */
.bg-gradient {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15), transparent 40%);
  z-index: -1;
  animation: pulseBg 15s ease-in-out infinite alternate;
}

@keyframes pulseBg {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-2%, 2%); }
}

/* 玻璃拟物类 */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--primary-glow);
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

/* 按钮通用 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
}
.btn-primary:hover {
  background: #4f46e5;
  box-shadow: 0 0 15px var(--primary-glow);
}

.btn-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
}
.btn-gradient:hover {
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  padding-top: 80px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero h1 span {
  background: linear-gradient(to right, #818cf8, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.mascot-card {
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1), rgba(255,255,255,0.01));
}

.mascot-card img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* 块级布局 */
.section {
  padding: 8rem 10%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.two-cols {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.feature-card h3 {
  margin: 1.5rem 0 1rem;
  font-size: 1.4rem;
}

.feature-card p {
  color: var(--text-gray);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.gradient-1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.gradient-2 { background: linear-gradient(135deg, #10b981, #047857); }
.gradient-3 { background: linear-gradient(135deg, #f59e0b, #b45309); }

.check-list {
  list-style: none;
  margin-top: 2rem;
}

.check-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-gray);
}

.globe-card {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2), transparent);
}

.globe-placeholder {
  font-size: 1.2rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Footer */
footer {
  padding: 4rem 10% 2rem;
}

.footer-content {
  padding: 3rem;
  border-radius: 24px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.footer-logo img { width: 32px; height: 32px; }

.footer-content p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* 微动画类 */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in { opacity: 0; transition: all 1s ease; }
.fade-right { opacity: 0; transform: translateX(-40px); transition: all 0.8s ease; }
.fade-left { opacity: 0; transform: translateX(40px); transition: all 0.8s ease; }

.fade-up.visible, .fade-in.visible, .fade-right.visible, .fade-left.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* 响应式 */
@media (max-width: 968px) {
  .hero { flex-direction: column; text-align: center; padding-top: 120px; }
  .hero-content { margin-bottom: 3rem; }
  .hero-actions { justify-content: center; }
  .two-cols { grid-template-columns: 1fr; text-align: center; }
  .check-list li { text-align: center; }
  .nav-links { display: none; }
}
.card-icon-img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
}
.card-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
