/* ===== cLashvergapp.com.cn - Clash Verge Official ===== */
:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: rgba(16,185,129,0.1);
  --bg-page: #fafafa;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  background: var(--bg-page); color: var(--text);
  line-height: 1.7; font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 800;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: all 0.2s;
}
.nav a:hover { color: var(--primary); background: var(--primary-light); }
.nav a.active { color: var(--primary); background: var(--primary-light); }
.nav-cta {
  background: var(--primary) !important; color: #fff !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

/* Hero */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #f0fdf4 0%, var(--bg-page) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: var(--primary-light);
  border-radius: 20px; font-size: 13px; color: var(--primary);
  font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: 52px; font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }
.hero-desc {
  font-size: 17px; color: var(--text-secondary);
  margin-bottom: 32px; max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,185,129,0.3); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.hero-visual {
  position: relative;
}
.hero-img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Stats */
.stats {
  display: flex; justify-content: center; gap: 60px;
  padding: 50px 0; background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 36px; font-weight: 800; color: var(--primary);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* Sections */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-label {
  font-size: 13px; font-weight: 600; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: 36px; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* Features Grid */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feat-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border);
  transition: all 0.3s;
}
.feat-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.feat-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.feat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Download Section */
.download-section { background: var(--bg-dark); color: #fff; }
.download-section .section-label { color: #86efac; }
.download-section .section-title { color: #fff; }
.download-section .section-desc { color: #94a3b8; }
.dl-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.dl-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 28px;
  text-align: center; transition: all 0.3s;
}
.dl-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.dl-icon { font-size: 40px; margin-bottom: 16px; }
.dl-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.dl-card p { font-size: 13px; color: #94a3b8; margin-bottom: 16px; }
.dl-version {
  display: inline-block; padding: 4px 12px;
  background: var(--primary); border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.dl-btn {
  display: block; width: 100%; padding: 12px;
  background: var(--primary); color: #fff;
  border-radius: var(--radius-sm); font-weight: 600;
  margin-top: 16px; transition: all 0.2s;
}
.dl-btn:hover { background: var(--primary-dark); }

/* Tutorial Cards */
.tut-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tut-card {
  display: flex; gap: 20px; padding: 24px;
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); transition: all 0.3s;
}
.tut-card:hover { transform: translateX(8px); border-color: var(--primary); }
.tut-num {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary);
  border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
}
.tut-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.tut-card p { font-size: 13px; color: var(--text-secondary); }

/* Comparison Table */
.compare-table {
  width: 100%; background: var(--bg-card);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.compare-table th, .compare-table td {
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--bg-page); font-weight: 600;
  font-size: 13px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.compare-table td { font-size: 14px; color: var(--text-secondary); }
.compare-table tr:last-child td { border-bottom: none; }
.check { color: var(--primary); font-weight: 700; }
.cross { color: #ef4444; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--text);
  text-align: left;
}
.faq-q:hover { color: var(--primary); }
.faq-icon { color: var(--primary); font-size: 24px; font-weight: 300; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 24px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0; text-align: center; color: #fff;
}
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; background: #fff; color: var(--primary-dark);
  border-radius: var(--radius); font-size: 16px; font-weight: 700;
  transition: all 0.2s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }

/* Footer */
.footer {
  background: var(--bg-dark); color: #fff; padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 14px; color: #94a3b8; margin-top: 12px; max-width: 280px; }
.footer h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; color: #94a3b8; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { font-size: 14px; color: #fff; opacity: 0.8; transition: opacity 0.2s; }
.footer a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; text-align: center;
  font-size: 13px; color: #64748b;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 36px; }
  .section-title { font-size: 28px; }
  .feat-grid, .tut-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .stats { flex-wrap: wrap; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Update Section */
.update-section {
  padding: 48px 0;
  background: var(--bg-page);
}
.update-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 720px;
  margin: 0 auto;
}
.update-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(5,150,105,0.1));
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.update-time {
  font-size: 13px;
  color: var(--text-muted);
}
.update-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.update-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-page);
  border-radius: var(--radius);
  transition: background 0.2s;
}
.update-item:hover {
  background: var(--primary-light);
}
.update-date {
  flex-shrink: 0;
  min-width: 60px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}
.update-content {
  font-size: 14px;
  color: var(--text-secondary);
}
