/* 全局设置 */
:root {
  --bg: #030712;         /* 极深蓝黑 */
  --bg-card: #0f172a;    /* 卡片背景 */
  --text-main: #f8fafc;  /* 亮白 */
  --text-muted: #94a3b8; /* 灰白 */
  --accent: #3b82f6;     /* 科技蓝 */
  --accent-glow: #60a5fa;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
  --border: rgba(255, 255, 255, 0.08);
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* 噪点纹理蒙版 - 增加质感 */
.noise-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

#bg-canvas {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2;
}

/* 容器与布局 */
.container {
  width: 100%;
  max-width: 1140px; /* 控制最大宽度，防止在大屏上太散 */
  margin: 0 auto;
  padding: 0 24px;
}

/* 导航栏 */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(3, 7, 18, 0.7);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}
.brand-logo { width: 24px; height: 24px; color: var(--accent); }
.brand-text { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text-main); }
.nav-btn {
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text-main) !important;
  transition: background 0.3s;
}
.nav-btn:hover { background: rgba(255,255,255,0.15); }

/* Hero 区域 - 绝对居中 */
.hero {
  position: relative;
  height: 100vh; /* 占满全屏 */
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中 */
  align-items: center;     /* 水平居中 */
  text-align: center;      /* 文字居中 */
  padding-top: 72px;       /* 避开导航栏 */
}

.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 4rem; /* 大字体 */
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  padding: 14px 32px;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
}
.btn-primary {
  background: var(--text-main);
  color: #000;
  border: 1px solid transparent;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255,255,255,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
}

.hero-glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 800px;
  height: 1px;
  background: radial-gradient(circle at center, rgba(59,130,246,0.6) 0%, transparent 70%);
  box-shadow: 0 0 100px 40px rgba(59,130,246,0.15);
}

/* 通用 Section */
.section { padding: 120px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 { font-size: 2.5rem; margin-bottom: 12px; }
.section-head p { font-size: 1.1rem; color: var(--text-muted); }

/* 卡片 Grid 布局 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  justify-content: center;
}

/* 玻璃拟态卡片 */
.card {
  position: relative;
  background: rgba(15, 23, 42, 0.6); /* 半透明背景 */
  border-radius: 20px;
  padding: 1px; /* 用于边框渐变 */
  overflow: hidden;
  transition: transform 0.3s;
}

.card:hover { transform: translateY(-8px); }

.card-border {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  border-radius: 20px;
  pointer-events: none;
}

.card-inner {
  background: var(--bg); /* 内部深色，覆盖在border上 */
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.8));
  height: 100%;
  border-radius: 19px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.icon-box {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}
.icon-shuoguo { background: linear-gradient(135deg, #ec4899, #be185d); }
.icon-ezydrop { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.icon-agent { background: linear-gradient(135deg, #10b981, #059669); }

.card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.card-desc { color: var(--text-muted); line-height: 1.6; margin-bottom: 32px; flex-grow: 1; }

/* 商店按钮 - 精致 SVG 版 */
.store-group {
  display: flex;
  flex-direction: column; /* 手机端垂直排列 */
  gap: 10px;
  width: 100%;
}
@media (min-width: 400px) {
  .store-group { flex-direction: row; }
}

.store-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
}
.store-btn:hover {
  background: #111;
  border-color: rgba(255,255,255,0.4);
}
.store-icon {
  width: 20px; height: 20px;
  margin-right: 10px;
}
.store-text {
  display: flex; flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.store-text .small { font-size: 9px; text-transform: uppercase; opacity: 0.8; }
.store-text .large { font-size: 14px; font-weight: 600; }

/* About Section */
.about-section {
  background: linear-gradient(180deg, var(--bg) 0%, #0f172a 100%);
  text-align: center;
}
.about-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,0.02);
}
.about-container p { font-size: 1.2rem; line-height: 1.8; color: var(--text-muted); margin-top: 20px; }
.about-container strong { color: var(--text-main); }

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { color: var(--text-main); font-weight: 600; margin-right: 12px; }
.footer-links a { color: var(--text-muted); margin-left: 24px; text-decoration: none; }
.footer-links a:hover { color: var(--text-main); }

/* 简单的入场动画 CSS */
.reveal-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal-up.active { opacity: 1; transform: translateY(0); }

/* 响应式调整 */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links a { margin: 0 10px; }
}