/* ==========================================================================
   Clash Verge 官方网站 - 纯净无广告下载站风样式表 (Clean Pure Download Portal)
   ========================================================================== */

:root {
  --bg-body: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #172033;
  --bg-header: rgba(10, 14, 23, 0.92);
  --border-color: rgba(255, 255, 255, 0.09);
  --border-focus: rgba(16, 185, 129, 0.4);
  --primary-blue: #2563eb;
  --primary-green: #10b981;
  --primary-green-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --text-main: #f9fafb;
  --text-sub: #9ca3af;
  --text-dim: #6b7280;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --max-width: 1200px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    var(--bg-body);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Security Trust Bar */
.trust-topbar {
  background: #06090f;
  border-bottom: 1px solid var(--border-color);
  padding: 0.4rem 0;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.trust-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trust-safe-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #34d399;
  font-weight: 600;
}

.trust-safe-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--primary-green);
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #10b981, #2563eb);
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.logo-brand span.highlight {
  color: #34d399;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-sub);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-green);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.15rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-download {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-download:hover {
  background: linear-gradient(135deg, #34d399 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6ee7b7;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-title .brand-gradient {
  background: linear-gradient(135deg, #34d399 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-sub);
  margin-bottom: 1.75rem;
}

.hero-subtitle strong {
  color: #ffffff;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-hash-info {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-hash-info span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Download Mockup Card */
.mockup-clean-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
}

.mockup-clean-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
}

.mockup-clean-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #0d131f;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.mockup-clean-body {
  padding: 1rem;
  background: #080c14;
}

/* Stats Endorsement */
.endorsement-bar {
  padding: 2.75rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(17, 24, 39, 0.4);
}

.stats-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #34d399;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-clean-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.feature-clean-card:hover {
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  font-size: 1.35rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.65;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.f-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Two column showcase */
.showcase-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.showcase-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.showcase-info h3 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.showcase-info p {
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.clean-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.clean-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.clean-check-item svg {
  color: #34d399;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Platforms Support */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.platform-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.15rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  transition: var(--transition);
}

.platform-box:hover {
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid var(--border-color);
}

.platform-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.platform-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.platform-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-q-tag {
  color: #34d399;
  font-weight: 800;
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* Clean CTA */
.clean-cta-banner {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.45) 0%, rgba(30, 58, 138, 0.35) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* Inner Page Hero */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.8) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-sub);
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

/* Download Matrix */
.dl-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.dl-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.dl-box.featured {
  border-color: var(--primary-green);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.dl-popular-label {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, #10b981, #2563eb);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.dl-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.dl-box-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  font-size: 1.35rem;
}

.dl-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.dl-box-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.dl-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.dl-spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.dl-spec-name {
  color: var(--text-sub);
}

.dl-spec-val {
  color: #ffffff;
  font-weight: 600;
  font-family: var(--font-mono);
}

.dl-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Steps Cards */
.steps-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 920px;
  margin: 0 auto;
}

.step-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
}

.step-badge-num {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #10b981, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.step-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.step-content p {
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.step-terminal-box {
  background: #06090f;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #34d399;
  overflow-x: auto;
  margin-top: 0.75rem;
}

.step-media-box {
  margin-top: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* Compare Matrix */
.table-scroll-container {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.clean-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.clean-compare-table th,
.clean-compare-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.clean-compare-table th {
  background: #0d131f;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.clean-compare-table tr:last-child td {
  border-bottom: none;
}

.clean-compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.text-success { color: #34d399; font-weight: 600; }
.text-danger { color: #f43f5e; font-weight: 600; }
.text-dim { color: var(--text-dim); }

/* Footer */
.site-footer {
  margin-top: auto;
  background: #06090f;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
  color: var(--text-sub);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand p {
  color: var(--text-dim);
  line-height: 1.6;
  font-size: 0.85rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-dim);
  transition: var(--transition);
}

.footer-links a:hover {
  color: #34d399;
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-matrix { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
  .dl-matrix-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #0a0e17;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
  }
  .nav-menu.active { display: flex; }
  .hero-title { font-size: 2.35rem; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .dl-matrix-grid { grid-template-columns: 1fr; }
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .step-card { grid-template-columns: 1fr; gap: 1rem; }
  .step-badge-num { width: 48px; height: 48px; font-size: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
