/* 全局重置 & 变量 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0f0c29;
  --bg-mid: #1a1a3e;
  --primary: #6c5ce7;
  --secondary: #a29bfe;
  --accent: #74b9ff;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --card-bg: rgba(255, 255, 255, 0.06);
  --text-light: #e0e0ff;
  --text-white: #f8f9ff;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 24px;
  --radius-sm: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* 滚动条 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a1a3e; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 20px; }

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

/* 导航栏 */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(15, 12, 41, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(162, 155, 254, 0.2);
  transition: background var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i { color: var(--secondary); }

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

.nav-list a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.nav-list a:hover, .nav-list a.active {
  color: var(--text-white);
  border-bottom-color: var(--secondary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px;
}

.bar {
  width: 28px;
  height: 3px;
  background: var(--text-white);
  border-radius: 10px;
  transition: var(--transition);
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: radial-gradient(circle at 20% 20%, #1f1a5e, #0f0c29 80%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-text { flex: 1 1 400px; }
.hero-text h1 { font-size: 3.2rem; font-weight: 700; color: var(--text-white); margin-bottom: 20px; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-text p { font-size: 1.2rem; margin-bottom: 32px; opacity: 0.85; max-width: 500px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4); }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(108, 92, 231, 0.6); }
.btn-outline { background: transparent; border: 2px solid var(--secondary); color: var(--secondary); }
.btn-outline:hover { background: rgba(162, 155, 254, 0.1); transform: scale(1.02); }

.hero-visual { flex: 1 1 280px; display: flex; justify-content: center; }
.floating-cards { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.card-icon {
  width: 90px; height: 90px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border-radius: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.card-icon:nth-child(2) { transform: translateY(-20px); color: var(--secondary); }
.card-icon:hover { transform: translateY(-8px) scale(1.02); }

.hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; }

/* 工具卡片区 */
.tools-section { padding: 80px 0; background: #0f0c29; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2.4rem; color: var(--text-white); margin-bottom: 12px; }
.section-header p { opacity: 0.7; font-size: 1.1rem; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.tool-card {
  background: var(--card-bg);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.tool-card:hover { transform: translateY(-12px); border-color: var(--secondary); background: rgba(108, 92, 231, 0.15); }

.tool-icon { font-size: 2.6rem; margin-bottom: 16px; color: var(--accent); }
.tool-card h3 { font-size: 1.5rem; color: var(--text-white); margin-bottom: 8px; }
.tool-card p { opacity: 0.7; margin-bottom: 20px; flex: 1; }
.tool-tag { align-self: flex-start; background: rgba(162, 155, 254, 0.2); padding: 4px 14px; border-radius: 30px; font-size: 0.8rem; color: var(--secondary); }

/* 关于 */
.about-section { padding: 80px 0; background: #14113a; }
.about-wrapper { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; }
.about-text { flex: 1 1 320px; }
.about-text h2 { font-size: 2.2rem; margin-bottom: 20px; }
.feature-list { list-style: none; margin-top: 20px; }
.feature-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.feature-list i { color: var(--secondary); font-size: 1.2rem; }

.about-stats { display: flex; gap: 40px; flex: 1 1 200px; justify-content: center; }
.stat-item { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 700; display: block; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { opacity: 0.7; }

/* footer */
.footer { padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.05); background: #0a0820; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.social-links a { color: var(--text-light); margin-left: 16px; font-size: 1.4rem; transition: var(--transition); }
.social-links a:hover { color: var(--secondary); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-list { 
    position: fixed; top: 70px; left: 0; width: 100%; background: rgba(15,12,41,0.98);
    flex-direction: column; align-items: center; padding: 30px 0; gap: 24px;
    transform: translateY(-150%); transition: var(--transition); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(162,155,254,0.2);
  }
  .nav-list.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-buttons { justify-content: center; }
  .about-wrapper { flex-direction: column; text-align: center; }
  .about-stats { justify-content: center; }
  .tools-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 375px) {
  .container { padding: 0 16px; }
  .hero-text h1 { font-size: 2rem; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .card-icon { width: 70px; height: 70px; font-size: 2rem; }
  .tools-grid { grid-template-columns: 1fr; }
}

/* 后台管理页面额外样式 (在admin.html中也会引用此css) */
.admin-login-box {
  max-width: 400px; margin: 80px auto; background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  padding: 48px 32px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1);
}
.admin-login-box h2 { text-align: center; margin-bottom: 32px; color: var(--text-white); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--text-light); }
.form-group input { width: 100%; padding: 14px 16px; border-radius: 40px; border: none; background: rgba(255,255,255,0.1); color: #fff; font-size: 1rem; outline: 2px solid transparent; transition: var(--transition); }
.form-group input:focus { outline: 2px solid var(--secondary); background: rgba(255,255,255,0.15); }
.btn-block { width: 100%; justify-content: center; margin-top: 8px; }
```
```javascript