* { box-sizing: border-box; }
:root {
  --bg: #f4f7fc;
  --bg-white: #ffffff;
  --bg-soft: #eef2ff;
  --card: #ffffff;
  --card-border: #e2e8f0;
  --text: #1e293b;
  --text-secondary: #475569;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-soft: #eff6ff;
  --accent-2: #6366f1;
  --gold: #d97706;
  --orange: #ea580c;
  --danger: #dc2626;
  --expert: #7c3aed;
  --success: #059669;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
  --font-mono: "Cascadia Code", "JetBrains Mono", "Consolas", monospace;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.main-content { padding-bottom: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand-mark {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  color: #fff; font-weight: 800; font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.brand-mark-sm { width: 36px; height: 36px; font-size: 0.75rem; border-radius: 10px; }
.brand-title { font-size: 1.2rem; font-weight: 800; display: block; color: var(--text); }
.brand-sub { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 1px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.2s;
}
.nav a:hover, .nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

/* Hero Home */
.hero-home {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 40%, #faf5ff 100%);
  border-bottom: 1px solid var(--card-border);
  padding: 56px 0 64px;
}
.hero-home-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, #2563eb, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { margin: 0; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.75; max-width: 520px; }
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { display: flex; flex-direction: column; gap: 14px; }
.hero-card {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}
.hero-card-main {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  border: none;
  padding: 28px;
}
.hero-card-main strong { font-size: 1.2rem; display: block; margin-bottom: 8px; }
.hero-card-main p { margin: 0; opacity: 0.9; font-size: 0.92rem; }
.hero-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.hero-card-sub { display: flex; flex-direction: column; gap: 4px; }
.hero-card-sub strong { font-size: 0.95rem; }
.hero-card-sub p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.hero-card-accent { border-color: #c7d2fe; background: #f5f3ff; }
.hero-card-tag-dark {
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent);
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* Positioning strip */
.positioning-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--card-border);
  padding: 40px 0;
}
.positioning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.position-card {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.position-card-accent {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border-color: #c7d2fe;
}
.position-icon { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.position-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.position-card p { margin: 0 0 16px; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }
.position-link { font-weight: 600; font-size: 0.9rem; }

.product-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Featured articles on homepage */
.featured-section {
  background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
  border-bottom: 1px solid var(--card-border);
  padding: 56px 0;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.featured-article-card {
  grid-column: span 2;
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: 0.25s;
  min-height: 280px;
  min-width: 0;
}
.featured-article-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.featured-article-card:nth-child(5) {
  grid-column: 4 / span 2;
}
.featured-article-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.featured-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 10px;
}
.featured-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.featured-article-card h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.featured-article-card h3 a { color: var(--text); }
.featured-article-card h3 a:hover { color: var(--accent); text-decoration: none; }
.featured-summary {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.featured-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: auto;
}
.featured-actions .btn {
  flex: 1;
  justify-content: center;
}
.featured-actions .btn-outline {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  box-shadow: none;
  color: var(--text) !important;
}
.featured-more { text-align: center; margin: 28px 0 0; }

.btn-two-line {
  line-height: 1.25;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
}

.product-card-thinktank {
  background: linear-gradient(160deg, #f5f3ff, #eff6ff);
  border-color: #c7d2fe;
}
.product-badge-thinktank {
  background: linear-gradient(135deg, #6366f1, #2563eb);
}

.page-hero-thinktank {
  background: linear-gradient(135deg, #f5f3ff, #eff6ff);
}
.page-hero-sub { margin: 12px 0 0; font-size: 0.88rem; }
.page-hero-sub a { color: var(--muted); }
.thinktank-intro {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  box-shadow: var(--shadow);
}

.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff !important;
  box-shadow: none;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

/* Trust bar */
.trust-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--card-border);
  padding: 28px 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.trust-item span { font-size: 0.85rem; color: var(--muted); }

/* Sections */
.section-block { padding: 64px 0; }
.section-soft { background: var(--bg-white); }
.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 12px;
  flex-wrap: wrap;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { margin: 0; font-size: 1.75rem; font-weight: 800; color: var(--text); }
.section-sub { margin: 8px 0 0; font-size: 0.95rem; color: var(--muted); }
.section-link { font-size: 0.92rem; font-weight: 600; color: var(--accent); white-space: nowrap; }

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.split-text h2 { margin: 0 0 16px; font-size: 1.75rem; font-weight: 800; }
.split-text p { color: var(--text-secondary); margin: 0 0 14px; line-height: 1.75; }

.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value-card {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.value-icon { font-size: 1.5rem; display: block; margin-bottom: 8px; }
.value-card strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.value-card p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: 0.25s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-card-featured {
  grid-row: span 2;
  background: linear-gradient(160deg, #eff6ff, #f5f3ff);
  border-color: #c7d2fe;
}
.product-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.product-card h3 { margin: 0 0 12px; font-size: 1.15rem; }
.product-card p { margin: 0 0 16px; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }
.product-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product-tags li {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  color: var(--muted);
}
.product-card-featured .product-tags li { background: rgba(255,255,255,0.7); }
.product-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.9rem; }

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cap-item {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.cap-item span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.cap-item strong { display: block; margin-bottom: 6px; font-size: 0.95rem; }
.cap-item p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  padding: 56px 0;
  margin-top: 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-inner h2 { margin: 0 0 8px; color: #fff; font-size: 1.6rem; }
.cta-inner p { margin: 0; color: rgba(255,255,255,0.85); max-width: 480px; }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
  border-bottom: 1px solid var(--card-border);
  padding: 48px 0;
  margin-bottom: 40px;
}
.page-hero h1 { margin: 0 0 10px; font-size: 2rem; font-weight: 800; }
.page-hero-desc { margin: 0; color: var(--muted); font-size: 1rem; }

/* About / Contact layouts */
.about-layout, .contact-layout { padding-bottom: 64px; }
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.about-card {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.about-card-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.about-card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.about-card p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  position: relative;
  padding: 0 0 20px 24px;
  border-left: 2px solid #dbeafe;
  margin-left: 8px;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #dbeafe;
}
.timeline strong { display: block; color: var(--text); margin-bottom: 4px; font-size: 0.95rem; }
.timeline span { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tech-tags span {
  font-size: 0.82rem;
  padding: 6px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  border: 1px solid #bfdbfe;
}
.tech-note { margin: 0; font-size: 0.88rem; color: var(--muted); }


.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.contact-card h3 { margin: 0 0 8px; font-size: 1rem; }
.contact-card a, .contact-card strong { display: block; font-size: 1.05rem; color: var(--accent); margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.contact-note { margin-top: 20px; font-size: 0.88rem; color: var(--muted); }

/* Filter & cards */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
  transition: 0.2s;
}
.filter-btn em { font-style: normal; opacity: 0.5; margin-left: 4px; }
.filter-btn.active, .filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding-bottom: 64px;
}
.article-card {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
  box-shadow: var(--shadow);
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow-lg);
}
.card-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.badge {
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 700;
}
.badge-hot { background: #fef3c7; color: var(--gold); }
.badge-free { background: #d1fae5; color: var(--success); }
.badge-paid { background: var(--accent-soft); color: var(--accent); }
.badge-level { background: #f1f5f9; color: var(--muted); }
.badge-level-专家 { background: #ede9fe; color: var(--expert); }
.badge-level-进阶 { background: #dbeafe; color: var(--accent); }
.badge-format { background: #f1f5f9; color: var(--muted); font-family: var(--font-mono); }
.card-cat { margin: 0 0 6px; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.article-card h3 { margin: 0 0 10px; font-size: 1.05rem; line-height: 1.45; }
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--accent); text-decoration: none; }
.card-summary { margin: 0 0 12px; color: var(--text-secondary); font-size: 0.88rem; flex: 1; line-height: 1.6; }
.card-meta { margin-bottom: 14px; }
.meta-item { font-size: 0.78rem; color: var(--muted); }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 12px; border-top: 1px solid var(--card-border);
}
.price { font-weight: 800; font-size: 1.15rem; color: var(--gold); }
.price small { font-size: 0.72rem; font-weight: 500; color: var(--muted); }
.price-free { color: var(--success); }
.price-premium { color: var(--orange); font-size: 1.25rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  transition: 0.2s;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.btn-lg { padding: 13px 28px; font-size: 0.98rem; border-radius: 12px; }
.btn:hover { filter: brightness(1.06); text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 7px 14px; font-size: 0.84rem; box-shadow: none; }
.btn-outline {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  color: var(--text) !important;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent) !important; }
.btn-white {
  background: #fff;
  color: var(--accent) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--card-border);
  box-shadow: none;
  color: var(--text) !important;
}

/* Article detail */
.article-page { padding: 40px 0 64px; max-width: 800px; margin: 0 auto; }
.article-header {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.article-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; line-height: 1.3; font-weight: 800; }
.article-lead { color: var(--text-secondary); font-size: 1.05rem; margin: 0 0 16px; line-height: 1.7; }
.preview-panel {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.panel-title { margin: 0 0 16px; font-size: 1.1rem; font-weight: 700; }
.article-preview {
  white-space: pre-wrap;
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.action-panel {
  padding: 36px;
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.action-panel.free-panel {
  background: linear-gradient(135deg, #ecfdf5, #eff6ff);
  border-color: #a7f3d0;
}
.action-icon { font-size: 2rem; margin-bottom: 12px; }
.action-panel img {
  width: 220px; height: 220px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: #fff;
  padding: 8px;
  margin-top: 16px;
}
.pay-hint { color: var(--muted); font-size: 0.88rem; margin-top: 10px; }
.pay-error { color: var(--danger) !important; }

.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.pay-modal-panel {
  position: relative;
  width: min(420px, 100%);
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px 28px 28px;
  text-align: center;
}
.pay-modal-panel h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}
.pay-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.pay-modal-close:hover { color: var(--text); }
.pay-qr-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 12px;
}
.pay-qr-wrap img {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: #fff;
  padding: 8px;
}
.pay-notice {
  margin: 16px 0 12px;
  padding: 14px 16px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  color: #92400e;
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: left;
}
.pay-contact {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}
body.pay-modal-open { overflow: hidden; }
.download-box {
  margin-top: 20px;
  padding: 20px;
  background: #ecfdf5;
  border-radius: 12px;
  border: 1px solid #a7f3d0;
}

.content-panel {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  line-height: 1.8;
}
.content-panel h2 { margin: 0 0 16px; font-size: 1.25rem; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  border-bottom: 1px solid var(--card-border);
  padding: 12px 10px;
  text-align: left;
}
.info-table th { width: 120px; color: var(--muted); font-weight: 500; }

/* Footer */
.site-footer {
  background: #1e293b;
  color: #94a3b8;
  padding: 48px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo strong { color: #fff; font-size: 1.1rem; }
.footer-brand-col p { margin: 0 0 8px; font-size: 0.88rem; line-height: 1.7; max-width: 320px; }
.footer-positioning { color: #64748b; font-size: 0.82rem !important; margin-top: 8px !important; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin: 0 0 14px; }
.footer-col a, .footer-col span { display: block; font-size: 0.85rem; color: #94a3b8; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px;
  font-size: 0.8rem;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #94a3b8; }

#featured, #pay { scroll-margin-top: 80px; }
.hidden { display: none !important; }

@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-article-card,
  .featured-article-card:nth-child(4),
  .featured-article-card:nth-child(5) {
    grid-column: auto;
  }
}
@media (max-width: 900px) {
  .hero-home-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .positioning-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .product-grid-3 { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .product-card-featured { grid-row: auto; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .about-cards, .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .featured-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
