/* 汇聚兑换 - 全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-200: #bfdbfe;
  --blue-500: #3b82f6; --blue-600: #2563eb; --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --green-50: #f0fdf4; --green-100: #dcfce7; --green-500: #22c55e; --green-600: #16a34a;
  --purple-50: #faf5ff; --purple-100: #f3e8ff; --purple-500: #a855f7; --purple-600: #9333ea; --purple-700: #7e22ce;
  --indigo-50: #eef2ff; --indigo-600: #4f46e5; --indigo-700: #4338ca; --indigo-800: #3730a3;
  --orange-50: #fff7ed; --orange-100: #ffedd5; --orange-500: #f97316; --orange-600: #ea580c;
  --cyan-50: #ecfeff; --cyan-600: #0891b2; --cyan-700: #0e7490;
  --red-500: #ef4444;
  --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb;
  --gray-400: #9ca3af; --gray-500: #6b7280; --gray-600: #4b5563;
  --gray-700: #374151; --gray-800: #1f2937; --gray-900: #111827;
  --white: #ffffff;
  --radius-sm: 0.375rem; --radius: 0.625rem; --radius-lg: 0.75rem;
  --radius-xl: 1rem; --radius-2xl: 1rem; --radius-3xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
}

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

body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; color: var(--gray-900); background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media(min-width:1024px) { .container { padding: 0 1.5rem; } }

/* Top bar */
.top-bar { background: var(--blue-600); color: var(--white); text-align: center; padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-100); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: linear-gradient(135deg, var(--blue-500), var(--purple-600)); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1.125rem; }
.logo-text { font-weight: 700; font-size: 1.125rem; color: var(--gray-900); }
.logo-sub { font-size: 0.75rem; color: var(--gray-500); }

/* Desktop nav */
.desktop-nav { display: none; align-items: center; gap: 0.25rem; }
@media(min-width:1024px) { .desktop-nav { display: flex; } }
.desktop-nav a { padding: 0.5rem 0.75rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; color: var(--gray-700); transition: all 0.2s; position: relative; }
.desktop-nav a:hover { color: var(--blue-600); background: var(--blue-50); }
.desktop-nav .badge { position: absolute; top: -4px; right: -4px; padding: 1px 6px; background: var(--red-500); color: var(--white); font-size: 0.625rem; border-radius: 999px; }

.header-cta { display: none; align-items: center; gap: 0.5rem; padding: 0.625rem 1.25rem; background: var(--blue-600); color: var(--white); border-radius: var(--radius-xl); font-weight: 600; font-size: 0.875rem; transition: background 0.2s; box-shadow: var(--shadow-md); }
@media(min-width:1024px) { .header-cta { display: inline-flex; } }
.header-cta:hover { background: var(--blue-700); }

/* Mobile menu */
.menu-btn { display: flex; padding: 0.5rem; border-radius: var(--radius); }
.menu-btn:hover { background: var(--gray-100); }
@media(min-width:1024px) { .menu-btn { display: none; } }

.mobile-menu { display: none; border-top: 1px solid var(--gray-100); background: var(--white); box-shadow: var(--shadow-lg); padding: 1rem; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: var(--radius); color: var(--gray-700); font-size: 0.9375rem; transition: background 0.2s; }
.mobile-menu a:hover { background: var(--gray-50); }
.mobile-menu .m-badge { margin-left: auto; padding: 2px 8px; background: var(--blue-100); color: var(--blue-600); font-size: 0.75rem; border-radius: 999px; }
.mobile-cta { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.75rem; background: var(--blue-600); color: var(--white); border-radius: var(--radius-xl); font-weight: 600; margin-top: 0.75rem; }
.mobile-cta:hover { background: var(--blue-700); }

/* Hero section */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-content { position: relative; padding: 3rem 1rem; text-align: center; color: var(--white); max-width: 48rem; margin: 0 auto; }
@media(min-width:1024px) { .hero-content { padding: 5rem 1.5rem; } }
.hero h1 { font-size: 1.875rem; font-weight: 700; line-height: 1.25; margin-bottom: 1rem; }
@media(min-width:1024px) { .hero h1 { font-size: 3rem; } }
.hero .hero-sub { font-size: 1.125rem; opacity: 0.9; margin-bottom: 2rem; line-height: 1.8; }
@media(min-width:1024px) { .hero .hero-sub { font-size: 1.25rem; } }
.hero-btns { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media(min-width:640px) { .hero-btns { flex-direction: row; justify-content: center; } }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 2rem; background: var(--white); color: var(--blue-700); border-radius: var(--radius-xl); font-weight: 700; font-size: 1.125rem; box-shadow: var(--shadow-lg); transition: background 0.2s; }
.btn-primary:hover { background: var(--blue-50); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 2rem; border: 2px solid rgba(255,255,255,0.5); color: var(--white); border-radius: var(--radius-xl); font-weight: 700; font-size: 1.125rem; transition: background 0.2s; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-trust { margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 1.5rem; font-size: 0.875rem; opacity: 0.8; }
.hero-trust span { display: flex; align-items: center; gap: 0.25rem; }

/* Stats */
.stats { padding: 2.5rem 0; background: var(--white); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(min-width:1024px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item { text-align: center; padding: 1.25rem; border-radius: var(--radius-2xl); background: linear-gradient(135deg, var(--blue-50), var(--indigo-50)); border: 1px solid var(--blue-100); }
.stat-num { font-size: 1.5rem; font-weight: 700; color: var(--blue-600); }
@media(min-width:1024px) { .stat-num { font-size: 2.25rem; } }
.stat-label { font-size: 0.875rem; color: var(--gray-600); margin-top: 0.25rem; }

/* Quick entry cards */
.quick-cards { padding: 2.5rem 0; background: var(--white); }
.quick-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media(min-width:768px) { .quick-grid { grid-template-columns: repeat(3,1fr); } }
.quick-card { padding: 1.5rem; border-radius: var(--radius-2xl); border: 1px solid; transition: box-shadow 0.3s; }
.quick-card:hover { box-shadow: var(--shadow-lg); }
.quick-card .icons { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.quick-card .icon-box { width: 3rem; height: 3rem; border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1.125rem; }
.quick-card .arrow { font-size: 1.5rem; }
.quick-card h3 { font-weight: 700; font-size: 1.125rem; color: var(--gray-900); }
.quick-card p { font-size: 0.875rem; color: var(--gray-600); margin-top: 0.25rem; }

/* Section */
.section { padding: 3rem 0; }
@media(min-width:1024px) { .section { padding: 4rem 0; } }
.section-title { font-size: 1.5rem; font-weight: 700; text-align: center; color: var(--gray-900); margin-bottom: 0.75rem; }
@media(min-width:1024px) { .section-title { font-size: 2.25rem; } }
.section-desc { text-align: center; color: var(--gray-600); max-width: 36rem; margin: 0 auto 2.5rem; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:768px) { .feature-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px) { .feature-grid { grid-template-columns: repeat(3,1fr); } }
.feature-card { padding: 1.5rem; background: var(--white); border-radius: var(--radius-2xl); border: 1px solid var(--gray-100); transition: all 0.3s; }
.feature-card:hover { border-color: var(--blue-200); box-shadow: var(--shadow-lg); }
.feature-icon { width: 3rem; height: 3rem; border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.25rem; }
.feature-card h3 { font-weight: 700; font-size: 1.125rem; color: var(--gray-900); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.7; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 48rem; margin: 0 auto; }
@media(min-width:768px) { .steps-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px) { .steps-grid { grid-template-columns: repeat(4,1fr); } }
.step-card { padding: 1.5rem; border-radius: var(--radius-2xl); }
.step-num { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.step-card h3 { font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.7; }

/* Step list (vertical) */
.step-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.step-list-item { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius-xl); }
.step-list-num { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); flex-shrink: 0; }
.step-list-item h3 { font-weight: 700; color: var(--gray-900); margin-bottom: 0.25rem; }
.step-list-item p { font-size: 0.875rem; color: var(--gray-600); }

/* Rate table */
.rate-table { max-width: 42rem; margin: 0 auto; background: var(--white); border-radius: var(--radius-2xl); border: 1px solid var(--gray-200); overflow: hidden; box-shadow: var(--shadow-sm); }
.rate-header { display: grid; grid-template-columns: repeat(3,1fr); padding: 1rem; font-weight: 700; text-align: center; color: var(--white); font-size: 0.875rem; }
.rate-row { display: grid; grid-template-columns: repeat(3,1fr); padding: 1rem; text-align: center; font-size: 0.875rem; border-top: 1px solid var(--gray-100); }
.rate-row:nth-child(odd) { background: var(--gray-50); }
.rate-row .name { font-weight: 500; color: var(--gray-900); }
.rate-row .rate { font-weight: 600; }

/* FAQ */
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { padding: 1.25rem; background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-200); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 500; color: var(--gray-900); list-style: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--gray-400); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--gray-600); line-height: 1.8; }

/* CTA section */
.cta-box { background: linear-gradient(135deg, var(--blue-600), var(--indigo-700)); border-radius: var(--radius-3xl); padding: 3rem 1.5rem; text-align: center; position: relative; overflow: hidden; color: var(--white); }
@media(min-width:1024px) { .cta-box { padding: 4rem; } }
.cta-box h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
@media(min-width:1024px) { .cta-box h2 { font-size: 2.25rem; } }
.cta-box .cta-desc { font-size: 1.125rem; opacity: 0.9; margin-bottom: 2rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media(min-width:640px) { .cta-btns { flex-direction: row; justify-content: center; } }

/* SEO content block */
.seo-block { padding: 2.5rem 0; background: var(--white); border-top: 1px solid var(--gray-100); }
.seo-block h2 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; }
.seo-block p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 0.75rem; }

/* Related links */
.related { padding: 2rem 0; background: var(--gray-50); border-top: 1px solid var(--gray-100); }
.related-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.related-inner .label { color: var(--gray-500); }
.related-inner a { color: var(--blue-600); }
.related-inner a:hover { color: var(--blue-700); }

/* Footer */
.footer { background: var(--gray-900); color: var(--gray-300); }
.footer-trust { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; }
.footer-trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-trust-inner span { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.footer-main { padding: 2.5rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width:768px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h3 { font-weight: 600; color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer-brand p { font-size: 0.875rem; color: var(--gray-400); line-height: 1.8; margin-bottom: 1rem; }
.footer-brand .footer-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: var(--blue-600); color: var(--white); border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; }
.footer-brand .footer-btn:hover { background: var(--blue-700); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.75rem; }
.footer li a { font-size: 0.875rem; color: var(--gray-400); }
.footer li a:hover { color: var(--white); }
.footer li span { font-size: 0.875rem; color: var(--gray-400); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; align-items: center; gap: 1rem; font-size: 0.75rem; color: var(--gray-500); }
@media(min-width:768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom .keywords { display: flex; gap: 0.5rem; }

/* Mobile bottom CTA */
.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--white); border-top: 1px solid var(--gray-200); box-shadow: 0 -2px 10px rgba(0,0,0,0.1); padding: 0.75rem; display: flex; gap: 0.5rem; }
@media(min-width:1024px) { .mobile-cta-bar { display: none; } }
.mobile-cta-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.25rem; padding: 0.625rem; border-radius: var(--radius); font-weight: 600; font-size: 0.875rem; }
.mobile-cta-bar .btn-outline-m { border: 1px solid var(--blue-600); color: var(--blue-600); }
.mobile-cta-bar .btn-fill-m { background: var(--blue-600); color: var(--white); }

/* Comparison table */
.compare-table { max-width: 48rem; margin: 0 auto; background: var(--white); border-radius: var(--radius-2xl); border: 1px solid var(--gray-200); overflow: hidden; }

/* Security block */
.security-block { max-width: 48rem; margin: 0 auto; background: var(--white); border-radius: var(--radius-2xl); border: 1px solid var(--gray-200); padding: 2rem; text-align: center; }
@media(min-width:1024px) { .security-block { padding: 3rem; } }
.security-block h2 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-bottom: 2rem; }
.check-list { text-align: left; display: flex; flex-direction: column; gap: 1rem; }
.check-item { display: flex; gap: 0.75rem; font-size: 0.875rem; color: var(--gray-700); }
.check-icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: var(--blue-600); }

/* Article list */
.article-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.article-card { display: block; padding: 1.5rem; background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-200); transition: all 0.2s; }
.article-card:hover { border-color: var(--orange-200); box-shadow: var(--shadow-md); }
.article-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.article-tag { padding: 2px 8px; background: var(--orange-100); color: var(--orange-600); font-size: 0.75rem; border-radius: var(--radius-sm); }
.article-date { font-size: 0.75rem; color: var(--gray-400); }
.article-card h2 { font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; font-size: 1rem; }
.article-card:hover h2 { color: var(--orange-600); }
.article-card p { font-size: 0.875rem; color: var(--gray-600); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Tags bar */
.tags-bar { background: var(--white); border-bottom: 1px solid var(--gray-100); padding: 1rem 0; }
.tags-inner { display: flex; align-items: center; gap: 0.5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tags-inner::-webkit-scrollbar { display: none; }
.tag-btn { padding: 0.375rem 1rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500; white-space: nowrap; background: var(--gray-100); color: var(--gray-600); transition: all 0.2s; border: none; cursor: pointer; }
.tag-btn.active, .tag-btn:hover { background: var(--orange-500); color: var(--white); }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 42rem; margin: 0 auto; }
@media(min-width:768px) { .contact-grid { grid-template-columns: repeat(2,1fr); } }
.contact-card { padding: 1.5rem; background: var(--white); border-radius: var(--radius-2xl); border: 1px solid var(--gray-200); }
.contact-card h3 { font-weight: 700; font-size: 1.125rem; color: var(--gray-900); margin-bottom: 0.25rem; }
.contact-card p { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 0.75rem; }
.contact-card .value { color: var(--cyan-600); font-weight: 500; }

/* Icon colors */
.icon-blue { color: var(--blue-600); }
.icon-green { color: var(--green-600); }
.icon-purple { color: var(--purple-600); }
.bg-blue-light { background: var(--blue-100); color: var(--blue-600); }
.bg-green-light { background: var(--green-100); color: var(--green-600); }
.bg-purple-light { background: var(--purple-100); color: var(--purple-600); }
.bg-indigo-light { background: var(--indigo-50); color: var(--indigo-600); }
.bg-cyan-light { background: var(--cyan-50); color: var(--cyan-600); }
.bg-orange-light { background: var(--orange-100); color: var(--orange-600); }
