/* 7zip-tools global.css — aomei-tools v2 SEO module system, green theme */
:root {
  --green:   #16a34a;
  --green-dk:#15803d;
  --blue:    #2563eb;
  --red:     #dc2626;
  --gray-50: #f9fafb;
  --gray-100:#f3f4f6;
  --gray-200:#e5e7eb;
  --gray-600:#4b5563;
  --gray-700:#374151;
  --gray-900:#111827;
  --radius:  8px;
  --shadow:  0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px; line-height: 1.7; color: var(--gray-700); background: #fff;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-gray { background: var(--gray-50); }
.section-title { font-size: 28px; font-weight: 700; color: var(--gray-900); text-align: center; margin-bottom: 40px; }
.breadcrumb { padding: 12px 20px; font-size: 13px; color: var(--gray-600); }
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { margin: 0 6px; color: var(--gray-200); }
.breadcrumb + .section { padding-top: 0; }

/* ── hero-v2 ── */
.hero-v2 { background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%); padding: 56px 0 24px; text-align: center; }
.hero-v2 .container { max-width: 980px; margin: 0 auto; }
.hero-v2 .hero-icon { display: inline-block; width: 80px; height: 80px; margin: 0 auto 16px; }
.hero-v2 h1 { margin: 0 0 12px; font-size: 34px; line-height: 1.3; font-weight: 700; color: #0f172a; }
.hero-v2 .hero-sub { margin: 0 auto 24px; max-width: 720px; font-size: 16px; line-height: 1.7; color: #475569; }
.hero-v2 .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 24px 0 16px; }
.hero-v2 .cta-meta { font-size: 13px; color: #64748b; margin: 8px 0 24px; }
.hero-v2 + .section { padding-top: 0; }

/* ── buttons ── */
.cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: var(--green); color: #fff;
  font-size: 17px; font-weight: 600; border-radius: 8px; text-decoration: none;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  transition: background .15s, transform .15s, box-shadow .15s;
  min-height: 48px; box-sizing: border-box; white-space: nowrap;
}
.cta-primary svg { width: 20px; height: 20px; flex-shrink: 0; }
.cta-primary:hover {
  background: var(--green-dk); color: #fff; transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}
.cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: #fff; color: var(--green);
  font-size: 16px; font-weight: 500; border: 1.5px solid #cbd5e1; border-radius: 8px;
  text-decoration: none; transition: border-color .15s, color .15s;
  min-height: 48px; box-sizing: border-box; white-space: nowrap;
}
.cta-secondary svg { width: 18px; height: 18px; flex-shrink: 0; }
.cta-secondary:hover { border-color: var(--green); color: var(--green-dk); }
.panel-wrap { background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); padding: 0 0 32px; margin-top: -8px; }
.panel-wrap .duba-trust-panel { margin-top: 0; }
.hero-v2 + .panel-wrap { padding-top: 0; }

/* ── trust badges ── */
.trust-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 16px 0 0; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #475569; }
.trust-badge svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--green); }

/* ── entity-card ── */
.entity-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px 28px; margin: 32px 0; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.entity-card h2 { margin: 0 0 16px; font-size: 18px; color: #0f172a; }
.entity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.entity-grid > div { border-left: 3px solid var(--green); padding-left: 12px; }
.entity-grid .entity-label { font-size: 12px; color: #64748b; margin-bottom: 4px; }
.entity-grid .entity-value { font-size: 16px; font-weight: 600; color: #0f172a; }

/* ── hub-grid-v2 ── */
.hub-grid-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 24px 0 40px; }
.hub-card-v2 {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 24px; text-decoration: none; color: inherit; display: block;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.hub-card-v2:hover { border-color: var(--green); box-shadow: 0 8px 24px rgba(22, 163, 74, 0.12); transform: translateY(-2px); color: inherit; }
.hub-card-v2 .card-icon { width: 44px; height: 44px; background: #f0fdf4; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--green); }
.hub-card-v2 .card-icon svg { width: 22px; height: 22px; }
.hub-card-v2 h3 { margin: 0 0 8px; font-size: 17px; color: #0f172a; }
.hub-card-v2 p { margin: 0 0 12px; font-size: 14px; color: #64748b; line-height: 1.6; }
.hub-card-v2 .card-arrow { font-size: 13px; color: var(--green); font-weight: 500; }

/* ── faq-v2 ── */
.faq-v2 { background: #f8fafc; border-radius: 12px; padding: 32px; margin: 40px 0; }
.faq-v2 h2 { margin: 0 0 24px; font-size: 22px; color: #0f172a; }
.faq-v2 .faq-item-v2 { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px 24px; margin-bottom: 12px; }
.faq-v2 .faq-item-v2:last-child { margin-bottom: 0; }
.faq-v2 .faq-q { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; font-weight: 600; color: #0f172a; margin: 0 0 10px; line-height: 1.5; }
.faq-v2 .faq-q::before { content: "Q"; display: inline-block; width: 22px; height: 22px; background: var(--green); color: #fff; border-radius: 4px; text-align: center; font-size: 12px; font-weight: 700; line-height: 22px; flex-shrink: 0; margin-top: 1px; }
.faq-v2 .faq-a { margin: 0; padding-left: 30px; font-size: 14px; line-height: 1.7; color: #475569; }

/* ── cta-section-v2 ── */
.cta-section-v2 { background: linear-gradient(135deg, var(--green) 0%, var(--green-dk) 100%); border-radius: 12px; padding: 40px 32px; text-align: center; margin: 40px 0; color: #fff; }
.cta-section-v2 h2 { margin: 0 0 8px; font-size: 24px; color: #fff; }
.cta-section-v2 p { margin: 0 0 20px; font-size: 14px; color: rgba(255,255,255,.85); }
.cta-section-v2 .cta-primary { background: #fff; color: var(--green); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.cta-section-v2 .cta-primary:hover { background: #f0fdf4; color: var(--green-dk); }

/* ── meta-bar ── */
.meta-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; margin: 16px 0 24px; font-size: 13px; color: #64748b; }
.meta-bar span { display: inline-flex; align-items: center; gap: 4px; }
.meta-bar svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── notice-card ── */
.notice-card { background: #fffbeb; border-left: 4px solid #f59e0b; padding: 16px 20px; border-radius: 6px; margin: 24px 0; font-size: 13px; line-height: 1.7; color: #78350f; }
.notice-card strong { color: #b45309; }

/* ── compare-table ── */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; margin: 16px 0 24px; font-size: 14px; }
.compare-table thead { background: #f1f5f9; }
.compare-table th { padding: 12px 16px; text-align: left; font-weight: 600; color: #0f172a; border-bottom: 1px solid #e2e8f0; }
.compare-table td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; color: #475569; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: #f8fafc; }

/* ── steps-v2 ── */
.steps-v2 { list-style: none; padding: 0; margin: 16px 0 24px; counter-reset: step; }
.steps-v2 li { position: relative; padding: 16px 16px 16px 56px; margin-bottom: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; counter-increment: step; }
.steps-v2 li::before { content: counter(step); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; background: var(--green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.steps-v2 li strong { color: #0f172a; }
.steps-v2 li code { background: #f1f5f9; padding: 2px 6px; border-radius: 3px; font-size: 13px; color: #1e40af; }

/* ── duba-trust-panel ── */
.duba-trust-panel { background: linear-gradient(180deg, #ffffff, #fafcfd); border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px 24px; max-width: 720px; width: 100%; margin: 0 auto 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); text-align: left; }
.trust-panel-brand-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #6b7280; margin-bottom: 14px; }
.trust-panel-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 16px 24px; font-size: 17px; font-weight: bold; color: #fff !important; border-radius: 8px; text-decoration: none; transition: all 0.2s; margin-bottom: 12px; border: none; outline: none; cursor: pointer; }
.trust-panel-btn svg { width: 22px; height: 22px; margin-right: 10px; fill: currentColor; flex-shrink: 0; }
.trust-btn-green { background: linear-gradient(135deg, #10b981, #059669); }
.trust-panel-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.15); opacity: 0.95; }
.trust-panel-md5 { font-size: 11px; color: #64748b; text-align: center; margin-bottom: 12px; line-height: 1.5; word-break: break-all; }
.trust-panel-md5 code { background: #f1f5f9; padding: 2px 6px; border-radius: 3px; font-family: monospace; color: #334155; font-size: 11px; }
.trust-panel-badges { display: flex; gap: 16px; justify-content: center; font-size: 12px; color: #475569; }
.trust-panel-badges span { display: inline-flex; align-items: center; gap: 4px; }
.trust-panel-badges svg { width: 14px; height: 14px; color: #10b981; fill: none; }

/* ── layout/sidebar ── */
.content-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding: 40px 20px; align-items: start; }
.main-content { min-width: 0; }
.main-content h1 { font-size: 28px; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; }
.main-content h2 { font-size: 20px; font-weight: 600; color: var(--gray-900); margin: 32px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--gray-100); }
.main-content p { margin-bottom: 14px; }
.sidebar { position: sticky; top: 80px; }
.sidebar-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card li { margin-bottom: 8px; }
.sidebar-card a { font-size: 14px; color: var(--gray-600); }
.sidebar-card a:hover { color: var(--green); }

/* ── footer ── */
.footer { background: var(--gray-900); color: #9ca3af; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: #9ca3af; }
.footer-col a:hover { color: #fff; }

/* ── 响应式 ── */
@media (max-width: 768px) {
  .hero-v2 { padding: 32px 0 24px; }
  .hero-v2 h1 { font-size: 24px; }
  .hero-v2 .hero-sub { font-size: 14px; }
  .hero-v2 .cta-row { flex-direction: column; align-items: center; }
  .cta-primary, .cta-secondary { width: 100%; max-width: 320px; justify-content: center; min-height: 48px; }
  .hub-grid-v2 { grid-template-columns: 1fr; gap: 12px; }
  .entity-grid { grid-template-columns: 1fr 1fr; }
  .faq-v2 { padding: 20px; }
  .cta-section-v2 { padding: 28px 20px; }
  .cta-section-v2 h2 { font-size: 20px; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .duba-trust-panel { padding: 16px; margin: 16px auto; }
  .trust-panel-brand-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .trust-panel-btn { font-size: 15px; padding: 12px; }
  .trust-panel-badges { flex-direction: column; align-items: center; gap: 8px; }
}
