/* VideAI 公共样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0A0A0F;
  --bg-card: #1A1A2E;
  --bg-hover: #22223a;
  --border: rgba(255,255,255,0.08);
  --text: #fff;
  --text-dim: #A0A0B8;
  --text-muted: #6B6B80;
  --primary: #6366F1;
  --secondary: #06B6D4;
  --gradient: linear-gradient(135deg, #6366F1, #06B6D4);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --radius: 12px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* 导航 */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; cursor: pointer; }
.logo-icon { width: 36px; height: 36px; background: var(--gradient); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-dim); font-size: 15px; cursor: pointer; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

/* 按钮 */
.btn-primary {
  background: var(--gradient); color: #fff; padding: 12px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 600; border: none; cursor: pointer; transition: transform 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: #fff; padding: 12px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.4); }
.btn-sm { padding: 6px 14px; border-radius: 6px; font-size: 13px; border: none; cursor: pointer; }

/* Hero */
.hero { min-height: 90vh; display: flex; align-items: center; padding-top: 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(99,102,241,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(6,182,212,0.1) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-block; padding: 6px 16px; background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3); border-radius: 100px; font-size: 13px; color: #A5B4FC; margin-bottom: 24px;
}
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 20px; color: var(--text-dim); margin-bottom: 40px; max-width: 600px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stats */
.stats { padding: 60px 0; border-top: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-number { font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.stat-label { color: var(--text-muted); font-size: 14px; }

/* Section */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 36px; margin-bottom: 12px; }
.section-header p { color: var(--text-dim); font-size: 17px; max-width: 600px; margin: 0 auto; }

/* 卡片 */
.card { background: var(--bg-card); border: 1px: var(--border); border-radius: 16px; padding: 28px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 14px; }

/* 视频卡片 */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card {
  background: var(--bg-card); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); cursor: pointer; transition: transform 0.2s, border-color 0.2s;
}
.video-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.4); }
.video-thumb { width: 100%; aspect-ratio: 16/9; position: relative; display: flex; align-items: center; justify-content: center; }
.video-thumb .play-icon {
  width: 56px; height: 56px; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px;
  opacity: 0; transition: opacity 0.2s;
}
.video-card:hover .play-icon { opacity: 1; }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.7); padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.video-info { padding: 16px 20px; }
.video-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.video-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.video-price { color: var(--secondary); font-weight: 600; }
.video-creator { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--text-dim); }

/* 分类标签 */
.category-tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.category-tab {
  padding: 8px 20px; border-radius: 100px; background: var(--bg-card);
  border: 1px solid var(--border); cursor: pointer; font-size: 14px; color: var(--text-dim); transition: all 0.2s;
}
.category-tab:hover { border-color: rgba(99,102,241,0.4); color: #fff; }
.category-tab.active { background: var(--gradient); color: #fff; border-color: transparent; }

/* 搜索栏 */
.search-bar { display: flex; gap: 12px; max-width: 600px; margin: 0 auto 32px; }
.search-bar input {
  flex: 1; padding: 12px 20px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; color: #fff; font-size: 15px;
}
.search-bar input:focus { outline: none; border-color: var(--primary); }

/* 标签 */
.tag { display: inline-block; padding: 3px 10px; background: rgba(99,102,241,0.12); color: #A5B4FC; border-radius: 100px; font-size: 12px; margin-right: 6px; }
.badge { padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 500; }
.badge-pending { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-approved { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-rejected { background: rgba(239,68,68,0.15); color: var(--danger); }

/* 页脚 */
.footer { border-top: 1px solid var(--border); padding: 60px 0 30px; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { font-size: 15px; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: var(--text-dim); font-size: 14px; cursor: pointer; }
.footer ul li a:hover { color: #fff; }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 13px; padding-top: 24px; border-top: 1px solid var(--border); }

/* 表格 */
.table-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; }
th { background: rgba(255,255,255,0.02); color: var(--text-dim); font-weight: 500; }

/* 响应式 */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
