:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --primary-light: #14b8a6;
    --accent: #d97706;
    --bg: #ffffff;
    --bg-alt: #f6faf8;
    --bg-dark: #0c1f1d;
    --text: #17211f;
    --text-muted: #5f6f6b;
    --text-light: #9bb0ab;
    --border: #dfe9e5;
    --radius: 8px;
    --shadow: 0 8px 28px rgba(15, 118, 110, .08);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.7; background: var(--bg); -webkit-font-smoothing: antialiased; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 10px 22px; border-radius: var(--radius); font-weight: 700; font-size: 14px; cursor: pointer; border: 1px solid transparent; transition: all .2s ease; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { min-height: 34px; padding: 7px 14px; font-size: 13px; }
.btn-lg { min-height: 48px; padding: 13px 28px; font-size: 16px; }

.navbar { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow .25s ease; }
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 17px; font-weight: 800; }
.brand-text span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link { color: var(--text-muted); font-size: 14px; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

.hero { padding: 132px 0 76px; background: linear-gradient(180deg, #edf8f5 0%, #ffffff 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 46px; align-items: center; }
.hero-badge { display: inline-block; padding: 6px 12px; border-radius: 6px; background: rgba(15,118,110,.1); color: var(--primary); font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.hero h1 { max-width: 720px; font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: 0; font-weight: 800; margin-bottom: 22px; }
.hero-desc { max-width: 680px; font-size: 18px; color: var(--text-muted); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-points { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-points span { padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); background: #fff; font-size: 13px; }
.hero-panel { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 24px; box-shadow: var(--shadow); }
.panel-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.panel-top strong { font-size: 18px; }
.panel-top span { color: var(--text-muted); font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px 0; }
.metric-grid div { padding: 14px; background: var(--bg-alt); border-radius: 8px; border: 1px solid var(--border); }
.metric-grid b { display: block; color: var(--primary); font-size: 22px; line-height: 1.2; margin-bottom: 4px; }
.metric-grid span { color: var(--text-muted); font-size: 13px; }
.flow-list { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; }
.flow-list span { padding: 6px 9px; background: #fff; border: 1px solid var(--border); border-radius: 6px; }
.flow-list i { width: 18px; height: 1px; background: var(--border); }

.section { padding: 78px 0; }
.page-head { padding-top: 112px; min-height: calc(100vh - 190px); }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 44px; }
.section-tag { display: inline-block; padding: 4px 10px; border-radius: 5px; background: rgba(217,119,6,.1); color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 3.5vw, 38px); line-height: 1.25; font-weight: 800; margin-bottom: 12px; }
.section-desc { max-width: 640px; margin: 0 auto; color: var(--text-muted); font-size: 16px; }
.section-footer { text-align: center; margin-top: 36px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 28px; transition: all .25s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card.featured { border-color: rgba(15,118,110,.45); background: linear-gradient(180deg, #ffffff, #f4fbf8); }
.product-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 32px; border-radius: 6px; background: rgba(15,118,110,.1); color: var(--primary); font-weight: 800; margin-bottom: 16px; }
.product-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.product-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.feature-list { list-style: none; }
.feature-list li { color: var(--text-muted); font-size: 13px; padding: 5px 0; }
.feature-list li::before { content: '✓'; color: var(--primary); font-weight: 800; margin-right: 8px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-item { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.feature-item h4 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.feature-item p { color: var(--text-muted); font-size: 14px; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 22px; color: var(--text); transition: all .25s ease; min-height: 190px; }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); border-color: rgba(15,118,110,.35); }
.article-card h4 { font-size: 17px; line-height: 1.5; font-weight: 800; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.article-meta { color: var(--text-light); font-size: 12px; }

.cta-section { text-align: center; background: var(--primary); color: #fff; }
.cta-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; font-weight: 800; margin-bottom: 14px; }
.cta-desc { opacity: .9; margin-bottom: 28px; }
.cta-section .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }

.footer { background: var(--bg-dark); color: #e6f2ef; padding: 54px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.footer-brand { font-size: 18px; font-weight: 800; }
.footer-brand .brand-mark { margin-right: 8px; background: var(--primary-light); }
.footer-desc { color: var(--text-light); font-size: 13px; margin-top: 10px; }
.footer-links h5 { color: #d5e7e3; font-size: 13px; margin-bottom: 10px; }
.footer-links a { display: block; color: var(--text-light); font-size: 14px; padding: 4px 0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; color: var(--text-light); text-align: center; font-size: 13px; }

.modal-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal-content { background: #fff; border-radius: 8px; padding: 30px; max-width: 440px; width: calc(100% - 40px); position: relative; }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
.modal-title { font-size: 21px; font-weight: 800; margin-bottom: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-icon { font-size: 18px; }
.contact-label { font-size: 12px; color: var(--text-muted); }
.contact-value { font-size: 15px; font-weight: 800; }
.contact-remark { margin-top: 14px; padding: 12px; background: var(--bg-alt); border-radius: 8px; font-size: 14px; color: var(--text-muted); }

.loading-spinner, .empty-state { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--text-muted); }
.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 32px; }
.pagination button { min-height: 36px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; }
.pagination button:hover { border-color: var(--primary); color: var(--primary); }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }
.page-info { color: var(--text-muted); font-size: 14px; }

.article-detail { max-width: 850px; min-height: calc(100vh - 190px); margin: 112px auto 62px; padding: 0 24px; }
.article-detail h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.35; font-weight: 800; margin-bottom: 12px; }
.article-detail .article-meta { padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.article-body { font-size: 16px; line-height: 1.95; }
.article-body h1 { font-size: 28px; }
.article-body h2 { font-size: 24px; margin: 32px 0 14px; }
.article-body h3 { font-size: 20px; margin: 26px 0 12px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.article-body blockquote { border-left: 4px solid var(--primary); background: var(--bg-alt); padding: 12px 18px; margin: 18px 0; border-radius: 0 8px 8px 0; color: var(--text-muted); }
.back-link { display: inline-flex; align-items: center; margin-bottom: 22px; color: var(--text-muted); font-size: 14px; }
.back-link:hover { color: var(--primary); }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-panel { max-width: 560px; }
    .product-grid, .feature-grid, .article-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .container { padding: 0 18px; }
    .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 18px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero { padding: 104px 0 54px; }
    .hero h1 { font-size: 36px; }
    .hero-desc { font-size: 16px; }
    .metric-grid, .product-grid, .feature-grid, .article-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .flow-list { flex-wrap: wrap; }
    .flow-list i { display: none; }
}
