*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--primary:#1a1a2e;--primary-light:#16213e;--accent:#e94560;--accent-hover:#ff6b6b;--text:#333;--text-light:#666;--text-muted:#999;--bg:#fff;--bg-gray:#f8f9fa;--bg-dark:#0f0f1a;--border:#e0e0e0;--shadow:0 2px 12px rgba(0,0,0,0.08);--shadow-lg:0 8px 30px rgba(0,0,0,0.12);--radius:8px;--radius-lg:16px;--max-width:1200px;--header-height:64px;--transition:0.3s ease}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;line-height:1.7;color:var(--text);background:var(--bg);padding-bottom:env(safe-area-inset-bottom)}
a{color:var(--accent);text-decoration:none;transition:color var(--transition)}
a:hover{color:var(--accent-hover)}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{line-height:1.4;color:var(--primary);font-weight:600}
h1{font-size:2rem}
h2{font-size:1.625rem}
h3{font-size:1.375rem}
h4{font-size:1.125rem}
p{margin-bottom:1rem}
.container{width:100%;max-width:var(--max-width);margin:0 auto;padding:0 1rem}
.section{padding:3rem 0}
.section-title{text-align:center;margin-bottom:2rem}
.section-title h2{margin-bottom:0.5rem}
.section-title p{color:var(--text-light);font-size:1.0625rem}
.header{position:fixed;top:0;left:0;right:0;height:var(--header-height);background:var(--bg);border-bottom:1px solid var(--border);z-index:1000;transition:box-shadow var(--transition)}
.header.scrolled{box-shadow:var(--shadow)}
.header .container{display:flex;align-items:center;justify-content:space-between;height:100%}
.logo{font-size:1.375rem;font-weight:700;color:var(--primary);display:flex;align-items:center;gap:0.5rem}
.logo img{height:32px;width:auto}
.nav{display:flex;align-items:center;gap:1.5rem}
.nav a{color:var(--text);font-size:0.9375rem;padding:0.5rem 0;position:relative}
.nav a::after{content:'';position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--accent);transition:width var(--transition)}
.nav a:hover,.nav a.active{color:var(--accent)}
.nav a:hover::after,.nav a.active::after{width:100%}
.menu-toggle{display:none;flex-direction:column;gap:5px;padding:0.5rem;cursor:pointer;background:none;border:none}
.menu-toggle span{width:24px;height:2px;background:var(--primary);transition:var(--transition)}
.main{margin-top:var(--header-height);min-height:calc(100vh - var(--header-height) - 200px)}
.breadcrumb{padding:1rem 0;font-size:0.875rem;color:var(--text-muted)}
.breadcrumb a{color:var(--text-light)}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb span{margin:0 0.5rem}
.hero{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);color:#fff;padding:4rem 0;text-align:center}
.hero h1{color:#fff;font-size:2.25rem;margin-bottom:1rem}
.hero p{font-size:1.125rem;opacity:0.9;max-width:700px;margin:0 auto 2rem}
.hero-img{margin-top:2rem;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;padding:0.75rem 1.5rem;font-size:1rem;font-weight:500;border-radius:var(--radius);cursor:pointer;transition:all var(--transition);border:none;text-align:center}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-hover);color:#fff;transform:translateY(-2px);box-shadow:0 4px 15px rgba(233,69,96,0.4)}
.btn-outline{background:transparent;color:var(--accent);border:2px solid var(--accent)}
.btn-outline:hover{background:var(--accent);color:#fff}
.btn-white{background:#fff;color:var(--primary)}
.btn-white:hover{background:var(--bg-gray);color:var(--primary)}
.btn-lg{padding:1rem 2rem;font-size:1.0625rem}
.btn-sm{padding:0.5rem 1rem;font-size:0.875rem}
.btn-block{width:100%;display:flex}
.card{background:var(--bg);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden;transition:all var(--transition)}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.card-img{width:100%;aspect-ratio:4/3;object-fit:cover}
.card-body{padding:1.25rem}
.card-title{font-size:1.125rem;margin-bottom:0.5rem}
.card-title a{color:var(--primary)}
.card-title a:hover{color:var(--accent)}
.card-text{color:var(--text-light);font-size:0.9375rem;margin-bottom:1rem}
.card-meta{font-size:0.8125rem;color:var(--text-muted)}
.grid{display:grid;gap:1.5rem}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.product-card{text-align:center;padding:1.5rem}
.product-card img{max-height:200px;margin:0 auto 1rem;object-fit:contain}
.product-card h3{font-size:1.125rem;margin-bottom:0.5rem}
.product-card p{font-size:0.9375rem;color:var(--text-light)}
.feature-list{display:flex;flex-direction:column;gap:1.5rem}
.feature-item{display:flex;gap:1rem;align-items:flex-start}
.feature-icon{width:48px;height:48px;background:var(--bg-gray);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--accent);font-size:1.25rem}
.feature-content h4{margin-bottom:0.25rem}
.feature-content p{color:var(--text-light);font-size:0.9375rem;margin:0}
.faq-list{display:flex;flex-direction:column;gap:1rem}
.faq-item{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.faq-question{width:100%;padding:1rem 1.25rem;background:var(--bg);border:none;text-align:left;font-size:1rem;font-weight:500;color:var(--primary);cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:background var(--transition)}
.faq-question:hover{background:var(--bg-gray)}
.faq-question::after{content:'+';font-size:1.25rem;color:var(--text-muted);transition:transform var(--transition)}
.faq-item.active .faq-question::after{transform:rotate(45deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height 0.4s ease,padding 0.4s ease}
.faq-item.active .faq-answer{max-height:500px}
.faq-answer-inner{padding:0 1.25rem 1.25rem;color:var(--text-light);font-size:0.9375rem}
.table-wrap{overflow-x:auto;margin:1.5rem 0}
table{width:100%;border-collapse:collapse;font-size:0.9375rem}
th,td{padding:0.875rem 1rem;text-align:left;border-bottom:1px solid var(--border)}
th{background:var(--bg-gray);font-weight:600;color:var(--primary);white-space:nowrap}
tr:hover td{background:var(--bg-gray)}
.compare-table th:first-child,.compare-table td:first-child{position:sticky;left:0;background:var(--bg);z-index:1}
.compare-table th:first-child{background:var(--bg-gray)}
.tag{display:inline-block;padding:0.25rem 0.625rem;font-size:0.75rem;border-radius:4px;background:var(--bg-gray);color:var(--text-light)}
.tag-primary{background:rgba(233,69,96,0.1);color:var(--accent)}
.alert{padding:1rem 1.25rem;border-radius:var(--radius);margin:1.5rem 0;font-size:0.9375rem}
.alert-warning{background:#fff3cd;color:#856404;border-left:4px solid #ffc107}
.alert-info{background:#d1ecf1;color:#0c5460;border-left:4px solid #17a2b8}
.alert-danger{background:#f8d7da;color:#721c24;border-left:4px solid #dc3545}
.cta-box{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);color:#fff;padding:2.5rem;border-radius:var(--radius-lg);text-align:center}
.cta-box h3{color:#fff;margin-bottom:0.75rem}
.cta-box p{opacity:0.9;margin-bottom:1.5rem}
.steps{counter-reset:step}
.step-item{position:relative;padding-left:3.5rem;padding-bottom:2rem;border-left:2px solid var(--border);margin-left:1rem}
.step-item:last-child{border-left-color:transparent;padding-bottom:0}
.step-item::before{counter-increment:step;content:counter(step);position:absolute;left:-1rem;top:0;width:2rem;height:2rem;background:var(--accent);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:0.875rem}
.step-item h4{margin-bottom:0.5rem}
.step-item p{color:var(--text-light);margin:0}
.toc{background:var(--bg-gray);padding:1.5rem;border-radius:var(--radius);margin-bottom:2rem}
.toc h4{margin-bottom:1rem;font-size:1rem}
.toc ul{display:flex;flex-direction:column;gap:0.5rem}
.toc a{color:var(--text);font-size:0.9375rem}
.toc a:hover{color:var(--accent)}
.sidebar{position:sticky;top:calc(var(--header-height) + 1.5rem)}
.sidebar-box{background:var(--bg-gray);padding:1.25rem;border-radius:var(--radius);margin-bottom:1rem}
.sidebar-box h4{font-size:1rem;margin-bottom:1rem;padding-bottom:0.75rem;border-bottom:1px solid var(--border)}
.sidebar-links{display:flex;flex-direction:column;gap:0.625rem}
.sidebar-links a{color:var(--text);font-size:0.9375rem}
.sidebar-links a:hover{color:var(--accent)}
.article-header{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}
.article-header h1{margin-bottom:1rem}
.article-meta{display:flex;flex-wrap:wrap;gap:1rem;font-size:0.875rem;color:var(--text-muted)}
.article-content{font-size:1.0625rem;line-height:1.8}
.article-content h2{margin:2.5rem 0 1rem;padding-top:1rem}
.article-content h3{margin:2rem 0 0.75rem}
.article-content p{margin-bottom:1.25rem}
.article-content ul,.article-content ol{margin:1rem 0 1.5rem 1.5rem}
.article-content li{margin-bottom:0.5rem}
.article-content ol{list-style:decimal}
.article-content ul{list-style:disc}
.related-links{background:var(--bg-gray);padding:1.5rem;border-radius:var(--radius);margin-top:2.5rem}
.related-links h4{margin-bottom:1rem}
.related-links ul{display:grid;grid-template-columns:repeat(2,1fr);gap:0.75rem}
.related-links a{color:var(--text);font-size:0.9375rem}
.related-links a:hover{color:var(--accent)}
.footer{background:var(--bg-dark);color:#ccc;padding:3rem 0 1.5rem;margin-top:3rem}
.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:2rem;margin-bottom:2rem}
.footer-brand p{font-size:0.9375rem;margin-top:1rem;opacity:0.8}
.footer h4{color:#fff;font-size:1rem;margin-bottom:1rem}
.footer-links{display:flex;flex-direction:column;gap:0.625rem}
.footer-links a{color:#aaa;font-size:0.9375rem}
.footer-links a:hover{color:#fff}
.footer-bottom{padding-top:1.5rem;border-top:1px solid rgba(255,255,255,0.1);text-align:center;font-size:0.8125rem;color:#888}
.back-top{position:fixed;bottom:5rem;right:1.5rem;width:44px;height:44px;background:var(--primary);color:#fff;border:none;border-radius:50%;cursor:pointer;opacity:0;visibility:hidden;transition:all var(--transition);display:flex;align-items:center;justify-content:center;font-size:1.25rem;z-index:900;box-shadow:var(--shadow)}
.back-top.visible{opacity:1;visibility:visible}
.back-top:hover{background:var(--accent);transform:translateY(-3px)}
.contact-info{display:grid;gap:1.5rem}
.contact-item{display:flex;gap:1rem;align-items:flex-start}
.contact-icon{width:44px;height:44px;background:var(--accent);color:#fff;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.page-404{text-align:center;padding:5rem 1rem}
.page-404 h1{font-size:6rem;color:var(--accent);margin-bottom:1rem}
.page-404 p{font-size:1.25rem;color:var(--text-light);margin-bottom:2rem}
.sitemap-section{margin-bottom:2rem}
.sitemap-section h3{margin-bottom:1rem;padding-bottom:0.5rem;border-bottom:1px solid var(--border)}
.sitemap-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:0.75rem}
.sitemap-list a{color:var(--text);font-size:0.9375rem}
.sitemap-list a:hover{color:var(--accent)}
.entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.entry-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:1.5rem;background:var(--bg);border-radius:var(--radius);border:1px solid var(--border);transition:all var(--transition)}
.entry-card:hover{border-color:var(--accent);box-shadow:var(--shadow)}
.entry-icon{width:56px;height:56px;background:linear-gradient(135deg,var(--accent) 0%,var(--accent-hover) 100%);color:#fff;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:1rem}
.entry-card h4{margin-bottom:0.375rem}
.entry-card p{font-size:0.875rem;color:var(--text-muted);margin:0}
.two-col{display:grid;grid-template-columns:1fr 320px;gap:2rem;align-items:start}
@media(max-width:1024px){.grid-4{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}}
@media(max-width:768px){html{font-size:15px}.nav{position:fixed;top:var(--header-height);left:0;right:0;background:var(--bg);flex-direction:column;padding:1rem;gap:0;max-height:0;overflow:hidden;transition:max-height 0.4s ease,padding 0.4s ease;border-bottom:1px solid var(--border)}.nav.active{max-height:400px;padding:1rem}.nav a{width:100%;padding:0.75rem 0;border-bottom:1px solid var(--border)}.nav a:last-child{border-bottom:none}.menu-toggle{display:flex}.menu-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}.menu-toggle.active span:nth-child(2){opacity:0}.menu-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}.hero{padding:3rem 0}.hero h1{font-size:1.75rem}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.entry-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr}.two-col{grid-template-columns:1fr}.sidebar{position:static;margin-top:2rem}.related-links ul{grid-template-columns:1fr}.back-top{bottom:6rem;right:1rem}}
@media(max-width:480px){.container{padding:0 0.875rem}.section{padding:2rem 0}.entry-grid{grid-template-columns:1fr}.btn-lg{padding:0.875rem 1.5rem;font-size:1rem}.hero h1{font-size:1.5rem}.page-404 h1{font-size:4rem}}
