/* ==========================================================================
   COCODUCK - 深度评测与数据实测设计系统 (Ohio Benchmark Pro)
   ========================================================================== */

:root {
  --primary: #2957f6;
  --primary-hover: #1b42c9;
  --primary-light: rgba(41, 87, 246, 0.08);
  --primary-glow: rgba(41, 87, 246, 0.25);
  
  --dark-bg: #121316;
  --dark-surface: #1a1b20;
  --dark-card: #202228;
  --dark-navy: #1e2633;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-accent: #f1f5f9;
  
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.1);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 10px 25px rgba(41, 87, 246, 0.3);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navbar (Benchmark Style Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(41, 87, 246, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  font-size: 22px;
  color: var(--text-main);
  padding: 8px;
}

/* ==========================================================================
   Hero Section (Ohio Benchmark Hero)
   ========================================================================== */
.hero-section {
  padding: 65px 0 85px;
  background: radial-gradient(circle at 20% 20%, rgba(41, 87, 246, 0.04) 0%, transparent 50%), #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid rgba(41, 87, 246, 0.2);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(41, 87, 246, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--dark-navy);
  color: var(--text-white);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: #0b1120;
  transform: translateY(-2px);
}

/* Benchmark Hero Card (Right Column) */
.benchmark-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.bench-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 22px;
}

.bench-badge {
  background: var(--success-bg);
  color: var(--success);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.bench-score-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.bench-score-val {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.bench-score-max {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
}

.bench-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.bench-metric-item {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.metric-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.bench-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

/* ==========================================================================
   4-Quadrant Evaluation Matrix (评测四大考核维度)
   ========================================================================== */
.matrix-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}

.section-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.matrix-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.matrix-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.matrix-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.matrix-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.matrix-score {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(41, 87, 246, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.matrix-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.matrix-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  flex-grow: 1;
}

/* ==========================================================================
   Speed & Throughput Table Section (晚高峰测速对比实测表)
   ========================================================================== */
.table-section {
  padding: 90px 0;
}

.table-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 30px;
}

.bench-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.bench-table th {
  background: var(--bg-light);
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}

.bench-table td {
  padding: 18px 22px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

.bench-table tr:last-child td {
  border-bottom: none;
}

.bench-table tr:hover td {
  background-color: rgba(41, 87, 246, 0.02);
}

.node-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-main);
}

.badge-rating {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.rating-s {
  background: var(--success-bg);
  color: var(--success);
}

.rating-d {
  background: var(--danger-bg);
  color: var(--danger);
}

/* ==========================================================================
   Protocol & Unlocking Section (协议与流媒体解锁)
   ========================================================================== */
.protocol-section {
  padding: 85px 0;
  background-color: var(--bg-light);
}

.protocol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.protocol-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.protocol-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 26px;
}

.protocol-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.protocol-list li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.protocol-list li i {
  color: var(--primary);
  font-size: 16px;
}

.protocol-media {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.protocol-media img {
  border-radius: var(--radius-md);
  width: 100%;
}

/* ==========================================================================
   Plan Benchmark & Pricing Section (三大核心套餐横向评测)
   ========================================================================== */
.plans-section {
  padding: 95px 0 100px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.plan-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(41, 87, 246, 0.4);
}

.plan-card.highlight {
  background: var(--dark-bg);
  border-color: var(--primary);
  box-shadow: 0 15px 45px rgba(41, 87, 246, 0.2);
  color: var(--text-white);
}

.plan-card.highlight .plan-name,
.plan-card.highlight .plan-price-num,
.plan-card.highlight .plan-specs li {
  color: #ffffff;
}

.plan-card.highlight .plan-desc,
.plan-card.highlight .plan-price-period,
.plan-card.highlight .plan-annual {
  color: rgba(255, 255, 255, 0.65);
}

.highlight-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(41, 87, 246, 0.4);
}

.plan-head {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.plan-card.highlight .plan-head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 8px;
}

.plan-price-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.plan-price-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-annual {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.plan-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-specs li {
  font-size: 14px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
}

.plan-specs li i {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.plan-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.plan-action-btn:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

.plan-card.highlight .plan-action-btn {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.plan-card.highlight .plan-action-btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* ==========================================================================
   Anti-scam / Runner Provider Warning Box
   ========================================================================== */
.warning-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.warning-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.warn-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.warn-item h4 i {
  color: var(--primary);
}

.warn-item p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   Evaluation FAQ Section
   ========================================================================== */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(41, 87, 246, 0.3);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-toggle-icon {
  font-size: 14px;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.bottom-cta-section {
  padding: 90px 0;
  background: var(--dark-bg);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: inline-block;
}

.cta-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 34px;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0d0e11;
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.65;
  max-width: 380px;
}

.footer-col h5 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .protocol-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .warning-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .matrix-grid {
    grid-template-columns: 1fr;
  }
  
  .bench-table th,
  .bench-table td {
    padding: 12px 14px;
    font-size: 13px;
  }
}
