:root {
  --xfy7-primary: #1a1d6d;
  --xfy7-primary-light: #2c3099;
  --xfy7-accent: #41a445;
  --xfy7-accent-hover: #4cc350;
  --xfy7-bg: #f5f7fa;
  --xfy7-surface: #ffffff;
  --xfy7-text: #1f2937;
  --xfy7-text-muted: #6b7280;
  --xfy7-border: #e5e7eb;
  --xfy7-font-heading: 'Poppins', sans-serif;
  --xfy7-font-body: 'Nunito', sans-serif;
  --xfy7-radius: 8px;
  --xfy7-radius-lg: 12px;
  --xfy7-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --xfy7-shadow-glow: 0 0 15px rgba(65, 164, 69, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body { font-family: var(--xfy7-font-body); background-color: var(--xfy7-bg); color: var(--xfy7-text); line-height: 1.6; max-width: 100vw; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.xfy7-header { background-color: var(--xfy7-primary); color: white; padding: 1rem; border-bottom: 3px solid var(--xfy7-accent); }
.xfy7-header-container { max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.xfy7-logo { font-family: var(--xfy7-font-heading); font-size: 1.75rem; font-weight: 700; letter-spacing: 1px; color: #ffffff; text-transform: uppercase; }
.xfy7-slogan { font-size: 0.875rem; color: #d1d5db; }

/* Ticker */
.xfy7-ticker-wrap { display: flex; background: #111827; color: white; height: 40px; align-items: center; overflow: hidden; }
.xfy7-ticker-label { background: var(--xfy7-accent); color: white; padding: 0 1.25rem; font-weight: 700; font-family: var(--xfy7-font-heading); font-size: 0.875rem; display: flex; align-items: center; height: 100%; z-index: 2; }
.xfy7-ticker-track { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; height: 100%; }
.xfy7-ticker-content { display: flex; white-space: nowrap; animation: xfy7-marquee 25s linear infinite; gap: 2rem; }
.xfy7-ticker-item { font-size: 0.875rem; }
.xfy7-ticker-item a { color: #f3f4f6; transition: color 0.2s; }
.xfy7-ticker-item a:hover { color: var(--xfy7-accent); }
@keyframes xfy7-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Layout */
.xfy7-layout { display: grid; grid-template-columns: 240px 1fr; max-width: 1440px; margin: 0 auto; min-height: 100vh; }

/* Rail */
.xfy7-rail { background-color: var(--xfy7-surface); border-right: 1px solid var(--xfy7-border); position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 10; }
.xfy7-rail-inner { padding: 1.5rem 1rem; }
.xfy7-rail-title { font-family: var(--xfy7-font-heading); font-weight: 600; font-size: 0.875rem; color: var(--xfy7-text-muted); text-transform: uppercase; margin-bottom: 1rem; letter-spacing: 0.5px; }
.xfy7-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.xfy7-nav-link { display: block; padding: 0.75rem 1rem; border-radius: var(--xfy7-radius); color: var(--xfy7-text); font-weight: 500; transition: all 0.2s; background: var(--xfy7-bg); border: 1px solid transparent; }
.xfy7-nav-link:hover { background: var(--xfy7-surface); border-color: var(--xfy7-accent); color: var(--xfy7-accent); transform: translateX(4px); }

/* Main Content */
.xfy7-main { padding: 1.5rem; overflow-x: hidden; }

/* Hero */
.xfy7-hero { position: relative; border-radius: var(--xfy7-radius-lg); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--xfy7-shadow); }
.xfy7-hero-img-wrap { aspect-ratio: 21/9; width: 100%; }
.xfy7-hero-img { width: 100%; height: 100%; object-fit: cover; }
.xfy7-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(26,29,109,0.9) 0%, rgba(26,29,109,0.4) 100%); display: flex; flex-direction: column; justify-content: center; padding: 2rem; color: white; }
.xfy7-hero-title { font-family: var(--xfy7-font-heading); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 0.5rem; line-height: 1.2; }
.xfy7-hero-sub { font-size: clamp(0.9rem, 1.5vw, 1.1rem); max-width: 600px; opacity: 0.9; }

/* Stats */
.xfy7-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.xfy7-stat-box { background: var(--xfy7-surface); border: 1px solid var(--xfy7-border); border-radius: var(--xfy7-radius); padding: 1.5rem; text-align: center; box-shadow: var(--xfy7-shadow); border-bottom: 3px solid var(--xfy7-primary); transition: transform 0.2s; }
.xfy7-stat-box:hover { transform: translateY(-4px); }
.xfy7-stat-num { font-family: var(--xfy7-font-heading); font-size: 2rem; font-weight: 700; color: var(--xfy7-accent); }
.xfy7-stat-label { font-size: 0.875rem; color: var(--xfy7-text-muted); font-weight: 600; text-transform: uppercase; }

/* Section Common */
.xfy7-section-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; gap: 1rem; }
.xfy7-section-title { font-family: var(--xfy7-font-heading); font-size: 1.5rem; font-weight: 700; color: var(--xfy7-primary); display: flex; align-items: center; gap: 0.5rem; }
.xfy7-section-title::before { content: ''; display: block; width: 6px; height: 24px; background-color: var(--xfy7-accent); border-radius: 3px; }

/* Filters */
.xfy7-filters { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.xfy7-filters::-webkit-scrollbar { display: none; }
.xfy7-filter-chip { padding: 0.5rem 1rem; background: var(--xfy7-surface); border: 1px solid var(--xfy7-border); border-radius: 20px; font-family: var(--xfy7-font-body); font-size: 0.875rem; font-weight: 600; color: var(--xfy7-text); cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.xfy7-filter-chip:hover { border-color: var(--xfy7-accent); color: var(--xfy7-accent); }
.xfy7-filter-chip.xfy7-active { background: var(--xfy7-accent); color: white; border-color: var(--xfy7-accent); }

/* Cards Container */
.xfy7-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.xfy7-card { display: block; background: var(--xfy7-surface); border-radius: var(--xfy7-radius-lg); overflow: hidden; border: 1px solid var(--xfy7-border); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--xfy7-shadow); }
.xfy7-card:hover { transform: translateY(-6px); box-shadow: var(--xfy7-shadow-glow); border-color: var(--xfy7-accent); }
.xfy7-card-thumb { aspect-ratio: 1/1; overflow: hidden; position: relative; background: #e5e7eb; }
.xfy7-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.xfy7-card:hover .xfy7-card-thumb img { transform: scale(1.1); }
.xfy7-card-info { padding: 1rem; position: relative; }
.xfy7-badge { position: absolute; top: -12px; right: 12px; background: var(--xfy7-accent); color: white; font-size: 12px; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); line-height: 1; }
.xfy7-card-title { font-family: var(--xfy7-font-heading); font-weight: 600; font-size: 1rem; color: var(--xfy7-text); margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xfy7-card-sub { font-size: 0.8125rem; color: var(--xfy7-text-muted); }

/* 2 Column Grid for Benefits and Steps */
.xfy7-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }

/* Benefits */
.xfy7-benefits { background: var(--xfy7-surface); padding: 1.5rem; border-radius: var(--xfy7-radius-lg); border: 1px solid var(--xfy7-border); }
.xfy7-benefit-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.xfy7-benefit-item { padding-left: 1.5rem; position: relative; }
.xfy7-benefit-item::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--xfy7-accent); font-weight: bold; font-size: 1.1rem; }
.xfy7-benefit-title { display: block; font-family: var(--xfy7-font-heading); color: var(--xfy7-primary); margin-bottom: 0.25rem; }
.xfy7-benefit-desc { font-size: 0.875rem; color: var(--xfy7-text-muted); }

/* Steps */
.xfy7-steps { background: var(--xfy7-primary); color: white; padding: 1.5rem; border-radius: var(--xfy7-radius-lg); }
.xfy7-steps .xfy7-section-title { color: white; }
.xfy7-step-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.xfy7-step-item { display: flex; gap: 1rem; align-items: flex-start; }
.xfy7-step-num { flex-shrink: 0; width: 28px; height: 28px; background: var(--xfy7-accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--xfy7-font-heading); font-size: 0.875rem; }
.xfy7-step-text { font-size: 0.9375rem; opacity: 0.9; margin-top: 2px; }

/* Payments */
.xfy7-payments { margin-bottom: 2.5rem; }
.xfy7-pay-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.xfy7-pay-chip { background: var(--xfy7-surface); border: 1px solid var(--xfy7-border); color: var(--xfy7-text-muted); font-weight: 700; font-family: var(--xfy7-font-heading); font-size: 0.875rem; padding: 0.75rem 1.25rem; border-radius: var(--xfy7-radius); transition: all 0.2s; }
.xfy7-pay-chip:hover { border-color: var(--xfy7-primary); color: var(--xfy7-primary); background: #f0f4ff; }

/* Article & Inner Styling */
.xfy7-article { background: var(--xfy7-surface); padding: 2rem; border-radius: var(--xfy7-radius-lg); border: 1px solid var(--xfy7-border); margin-bottom: 2.5rem; font-size: 1rem; }
.xfy7-article h1, .xfy7-article h2, .xfy7-article h3, .xfy7-article h4 { font-family: var(--xfy7-font-heading); color: var(--xfy7-primary); margin-top: 1.5em; margin-bottom: 0.75em; line-height: 1.3; }
.xfy7-article h1 { font-size: 1.75rem; margin-top: 0; border-bottom: 2px solid var(--xfy7-bg); padding-bottom: 0.5rem; }
.xfy7-article h2 { font-size: 1.5rem; }
.xfy7-article h3 { font-size: 1.25rem; }
.xfy7-article p { margin-bottom: 1.25em; }
.xfy7-article ul, .xfy7-article ol { margin-bottom: 1.25em; padding-left: 1.5rem; }
.xfy7-article ul li { list-style-type: disc; margin-bottom: 0.5em; }
.xfy7-article ol li { list-style-type: decimal; margin-bottom: 0.5em; }
.xfy7-article table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.xfy7-article th, .xfy7-article td { border: 1px solid var(--xfy7-border); padding: 0.75rem; text-align: left; }
.xfy7-article th { background-color: var(--xfy7-bg); font-weight: 600; color: var(--xfy7-primary); }
.xfy7-article a { color: var(--xfy7-accent); text-decoration: underline; }
.xfy7-article blockquote { border-left: 4px solid var(--xfy7-accent); padding-left: 1rem; color: var(--xfy7-text-muted); font-style: italic; margin-bottom: 1.5em; }

/* Page specifics */
.xfy7-page-header { margin-bottom: 2rem; }
.xfy7-page-title { font-family: var(--xfy7-font-heading); font-size: 2rem; color: var(--xfy7-primary); margin-bottom: 0.5rem; }
.xfy7-meta-desc { font-size: 1.125rem; color: var(--xfy7-text-muted); }
.xfy7-breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--xfy7-text-muted); }
.xfy7-crumb-link { color: var(--xfy7-primary); transition: color 0.2s; }
.xfy7-crumb-link:hover { color: var(--xfy7-accent); }
.xfy7-breadcrumbs > *:not(:last-child)::after { content: '›'; margin-left: 0.5rem; color: var(--xfy7-border); }

/* FAQ */
.xfy7-faq-section { margin-bottom: 2.5rem; }
.xfy7-faq-list { display: flex; flex-direction: column; gap: 1rem; }
.xfy7-faq-item { background: var(--xfy7-surface); border: 1px solid var(--xfy7-border); border-radius: var(--xfy7-radius); overflow: hidden; }
.xfy7-faq-q { padding: 1.25rem; font-family: var(--xfy7-font-heading); font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--xfy7-primary); user-select: none; }
.xfy7-faq-q::-webkit-details-marker { display: none; }
.xfy7-faq-q::after { content: '+'; font-size: 1.25rem; transition: transform 0.3s; }
.xfy7-faq-item[open] .xfy7-faq-q::after { transform: rotate(45deg); }
.xfy7-faq-a { padding: 0 1.25rem 1.25rem; color: var(--xfy7-text-muted); border-top: 1px solid var(--xfy7-bg); margin-top: 0.5rem; padding-top: 1rem; }

/* Pager */
.xfy7-pager { display: flex; justify-content: space-between; border-top: 1px solid var(--xfy7-border); padding-top: 1.5rem; margin-top: 2rem; margin-bottom: 2rem; }
.xfy7-pager-link { display: inline-flex; align-items: center; padding: 0.75rem 1.5rem; background: var(--xfy7-surface); border: 1px solid var(--xfy7-border); border-radius: var(--xfy7-radius); font-weight: 600; color: var(--xfy7-primary); transition: all 0.2s; }
.xfy7-pager-link:hover { background: var(--xfy7-primary); color: white; border-color: var(--xfy7-primary); }

/* Footer */
.xfy7-footer { background-color: var(--xfy7-primary-light); color: #d1d5db; padding: 3rem 1.5rem 1.5rem; border-top: 4px solid var(--xfy7-accent); margin-top: auto; }
.xfy7-footer-inner { max-width: 1440px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2rem; margin-bottom: 2rem; }
.xfy7-footer-brand .xfy7-logo { font-size: 2rem; margin-bottom: 0.5rem; }
.xfy7-footer-tagline { font-size: 0.875rem; max-width: 300px; }
.xfy7-footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.xfy7-footer-links a { font-size: 0.9375rem; color: white; transition: color 0.2s; }
.xfy7-footer-links a:hover { color: var(--xfy7-accent); }
.xfy7-legal-text { max-width: 1440px; margin: 0 auto 1.5rem; font-size: 0.75rem; line-height: 1.6; text-align: justify; color: #9ca3af; }
.xfy7-copyright { max-width: 1440px; margin: 0 auto; text-align: center; font-size: 0.875rem; }

/* Animations & States */
.xfy7-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.xfy7-reveal.xfy7-visible { opacity: 1; transform: translateY(0); }

/* Media Queries */
@media (min-width: 768px) {
  html { font-size: 16px; }
  .xfy7-header-container { flex-direction: row; justify-content: space-between; }
  .xfy7-hero-img-wrap { aspect-ratio: 24/8; }
}
@media (max-width: 900px) {
  .xfy7-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .xfy7-layout { grid-template-columns: 1fr; }
  .xfy7-rail { height: auto; position: sticky; top: 0; z-index: 20; border-right: none; border-bottom: 1px solid var(--xfy7-border); }
  .xfy7-rail-inner { padding: 0.75rem 1rem; }
  .xfy7-rail-title { display: none; }
  .xfy7-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 0.5rem; padding-bottom: 4px; }
  .xfy7-nav::-webkit-scrollbar { display: none; }
  .xfy7-nav-link { white-space: nowrap; padding: 0.5rem 1rem; border: 1px solid var(--xfy7-border); background: var(--xfy7-surface); }
  .xfy7-hero-overlay { padding: 1.5rem; }
  .xfy7-hero-title { font-size: 1.5rem; }
  .xfy7-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
  .xfy7-article { padding: 1.5rem 1rem; }
  .xfy7-footer-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .xfy7-stats { grid-template-columns: 1fr 1fr; }
  .xfy7-cards { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .xfy7-card-title { font-size: 0.9375rem; }
}
/* v2fix-center: 扫查发现内容列未居中（margin 冲突/缺失）*/
article.xfy7-article.xfy7-reveal,
div.xfy7-grid-2.xfy7-reveal,
section.xfy7-faq-section.xfy7-reveal,
section.xfy7-hero.xfy7-reveal,
section.xfy7-payments.xfy7-reveal,
section.xfy7-showcase.xfy7-reveal,
section.xfy7-stats.xfy7-reveal
{margin-inline:auto !important;}
