/* 拷贝漫画 - 蓝色主题 */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #0f172a;
  --accent: #38bdf8;
  --accent-soft: #7dd3fc;
  --bg: #f0f7ff;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #bfdbfe;
  --border-light: #e0edff;
  --success: #10b981;
  --shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 12px 40px rgba(37, 99, 235, 0.15);
  --radius: 12px;
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(37, 99, 235, 0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-list a {
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.12));
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 40%, #f0f9ff 70%, #e0f2fe 100%);
  padding: 70px 20px 55px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.tag {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}

.tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Download buttons */
.download-section {
  max-width: var(--max-width);
  margin: -30px auto 0;
  padding: 0 20px 50px;
  position: relative;
  z-index: 2;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.download-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.download-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.download-card .icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.download-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.download-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-baidu {
  background: linear-gradient(135deg, #2932e1 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(41, 50, 225, 0.3);
}

.btn-baidu:hover {
  background: linear-gradient(135deg, #1f26b8 0%, #4338ca 100%);
  color: #fff;
  transform: translateY(-2px);
}

.btn-quark {
  background: linear-gradient(135deg, #0066ff 0%, #38bdf8 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.btn-quark:hover {
  background: linear-gradient(135deg, #0052cc 0%, #0ea5e9 100%);
  color: #fff;
  transform: translateY(-2px);
}

/* Content sections */
.main-content {
  flex: 1;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 50px 20px;
}

.section-title {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 24px;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 14px auto 0;
  border-radius: 2px;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-item {
  background: var(--bg-card);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.25s;
}

.feature-item:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Info table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.info-table th,
.info-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.info-table th {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  font-weight: 600;
  width: 140px;
  color: var(--primary-dark);
}

.info-table tr:last-child td,
.info-table tr:last-child th {
  border-bottom: none;
}

/* Disclaimer banner */
.disclaimer-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 30px 0;
  font-size: 0.9rem;
  color: #1e40af;
}

.disclaimer-banner strong {
  color: var(--primary-dark);
}

/* Article / inner pages */
.page-header {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 50%, #f0f9ff 100%);
  padding: 44px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.page-header .breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.page-header .breadcrumb a {
  color: var(--text-muted);
}

.page-header .breadcrumb a:hover {
  color: var(--primary);
}

.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.article h2 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

.article h2:first-child {
  margin-top: 0;
}

.article p,
.article li {
  margin-bottom: 12px;
  color: var(--text);
}

.article ul,
.article ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.article ul li,
.article ol li {
  margin-bottom: 8px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: var(--border);
}

.faq-item.open {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-item.open .faq-question {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  color: var(--primary-dark);
}

.faq-question::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding: 20px 20px 20px 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: all 0.2s;
}

.steps li:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

/* Contact */
.contact-box {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.contact-box .email {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

.contact-box .email a {
  color: var(--primary);
}

.contact-box .email a:hover {
  color: var(--primary-dark);
}

/* 404 */
.error-page {
  text-align: center;
  padding: 80px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eff6ff 0%, var(--bg) 100%);
}

.error-code {
  font-size: 6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-page h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 44px 20px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--accent-soft);
}

.footer-disclaimer {
  max-width: 700px;
  margin: 0 auto 16px;
  font-size: 0.78rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow);
  }

  .nav-list.open {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

  .hero {
    padding: 44px 20px 34px;
  }

  .info-table th {
    width: 100px;
    font-size: 0.85rem;
  }

  .info-table td {
    font-size: 0.85rem;
  }
}
