:root {
    --primary: #d4886a;
    --primary-hover: #b56b50;
    --primary-light: #fdf5f0;
    --text-main: #1f2937;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --border: #e5e7eb;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --container: 1200px;
}

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Inter", "Microsoft YaHei", sans-serif; color: var(--text-main); line-height: 1.6; background: #fff; scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.section { padding: 90px 0; }
.bg-warm { background-color: var(--primary-light); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary-light); }
.btn-white { background: #fff; color: var(--primary); }
.btn-full { width: 100%; }
.btn-lg { padding: 14px 32px; font-size: 1.1rem; }

/* Navbar */
#navbar { height: 70px; display: flex; align-items: center; position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--border); }
#navbar .container { display: flex; justify-content: space-between; width: 100%; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.8rem; color: var(--primary); }
.logo-text { display: flex; flex-direction: column; line-height: 1; color: var(--text-main); font-weight: 700; font-size: 1.2rem; }
.logo-text small { font-size: 0.65rem; color: var(--text-light); font-weight: 400; text-transform: uppercase; }
.nav-links { display: flex; gap: 25px; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.menu-toggle { display: none; cursor: pointer; font-size: 1.4rem; }

/* Hero Section */
.hero { padding: 120px 0 80px; background: linear-gradient(180deg, #fffbf7 0%, #ffffff 100%); overflow: hidden; position: relative; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff0e6; color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 20px; color: #111; font-weight: 800; }
.slogan { font-size: 1.2rem; color: var(--text-light); margin-bottom: 35px; }
.hero-btns { display: flex; gap: 15px; margin-bottom: 40px; }
.trust-stats { display: flex; gap: 40px; border-top: 1px solid var(--border); padding-top: 25px; }
.ts-item strong { display: block; font-size: 1.4rem; color: var(--text-main); }
.ts-item span { font-size: 0.8rem; color: var(--text-light); }

/* SaaS Window (CSS UI) */
.hero-visual { position: relative; perspective: 1000px; }
.saas-window { background: #fff; border-radius: 12px; box-shadow: 0 25px 50px rgba(0,0,0,0.1); border: 1px solid var(--border); overflow: hidden; transform: rotateY(-10deg) rotateX(5deg); transition: 0.5s; width: 100%; max-width: 500px; margin: 0 auto; }
.saas-window:hover { transform: rotateY(0) rotateX(0); }
.window-bar { background: #f3f4f6; padding: 10px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 5px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: #d1d5db; }
.url-bar { background: #fff; flex: 1; border-radius: 4px; height: 20px; }
.window-content { display: flex; height: 280px; }
.sidebar { width: 50px; background: #1f2937; height: 100%; }
.main-view { flex: 1; padding: 15px; background: #f9fafb; display: flex; flex-direction: column; gap: 10px; }
.stat-row { display: flex; gap: 8px; }
.stat-box { flex: 1; height: 50px; background: #fff; border-radius: 4px; border: 1px solid #e5e7eb; }
.chart-big { flex: 1; background: #fff; border-radius: 4px; border: 1px solid #e5e7eb; position: relative; overflow: hidden; }
.chart-line { position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(180deg, rgba(212, 136, 106, 0.1) 0%, rgba(255,255,255,0) 100%); clip-path: polygon(0 100%, 0 40%, 20% 60%, 40% 30%, 60% 50%, 80% 20%, 100% 40%, 100% 100%); }
.float-card { position: absolute; background: #fff; padding: 10px 15px; border-radius: 8px; box-shadow: var(--shadow); font-weight: 600; font-size: 0.8rem; display: flex; gap: 8px; align-items: center; z-index: 10; animation: float 4s ease-in-out infinite; }
.card-1 { top: 30px; right: -10px; color: #059669; }
.card-2 { bottom: 30px; left: -10px; color: #dc2626; animation-delay: 2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Section Header */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 10px; color: #111; }
.divider { height: 4px; width: 50px; background: var(--primary); margin: 0 auto 15px; border-radius: 2px; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-card { padding: 30px 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); transition: 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.tech-icon { font-size: 1.8rem; color: var(--primary); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--text-light); }

/* Comparison Table */
.comparison-table { display: grid; grid-template-columns: 1fr 1fr; max-width: 1100px; margin: 0 auto; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.comp-col { padding: 40px 50px; }
.traditional { background: #f9fafb; }
.system { background: #fff; border-left: 1px solid var(--border); }
.comp-col h3 { margin-bottom: 20px; font-size: 1.4rem; }
.comp-col ul li { margin-bottom: 12px; display: flex; gap: 10px; font-size: 0.95rem; }
.traditional i { color: #ef4444; }
.system i { color: #10b981; }

/* Tabs */
.tabs-container { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.tabs-nav { display: flex; background: #f9fafb; border-bottom: 1px solid var(--border); }
.tab-btn { flex: 1; padding: 18px; border: none; background: transparent; font-size: 1rem; font-weight: 600; color: var(--text-light); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.tab-btn.active { background: #fff; color: var(--primary); border-bottom: 3px solid var(--primary); }
.tab-content { display: none; padding: 50px; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }
.content-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.desc-text { color: var(--text-light); margin-bottom: 25px; font-size: 0.95rem; line-height: 1.7; }
.feature-list li { margin-bottom: 12px; display: flex; gap: 10px; font-size: 0.95rem; }
.feature-list i { color: var(--primary); width: 20px; text-align: center; } /* 固定宽度对齐 */
.platform-icons { display: flex; gap: 15px; margin-top: 25px; font-size: 1.5rem; color: #9ca3af; }
.harmony-icon { display: inline-flex; width: 24px; height: 24px; border-radius: 4px; background: #9ca3af; color: #fff; font-size: 0.8rem; font-weight: bold; align-items: center; justify-content: center; }
.mock-window, .mock-phone { background: #f3f4f6; border: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: center; color: #9ca3af; }
.mock-window { height: 280px; border-radius: 8px; }
.mock-phone { height: 350px; width: 180px; margin: 0 auto; border-radius: 24px; border-width: 4px; border-color: #333; background: #fff; }

/* Solutions (ZigZag) */
.solution-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.solution-row:last-child { margin-bottom: 0; }
.solution-row.reverse .sol-text { order: 1; }
.solution-row.reverse .sol-img { order: 2; }
.placeholder-box { height: 250px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--primary-hover); border: 1px solid var(--border); box-shadow: var(--shadow); }
.tag { background: #fff0e6; color: var(--primary); padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 10px; }
.sol-text h3 { font-size: 1.8rem; margin-bottom: 15px; }

/* ROI Calculator */
.roi-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #fff; max-width: 900px; margin: 0 auto; }
.roi-intro { background: var(--primary); padding: 50px; color: #fff; }
.money-text { font-size: 2.8rem; font-weight: 800; margin-top: 15px; }
.roi-calculator { padding: 50px; }
.input-group { margin-bottom: 25px; }
.highlight { color: var(--primary); font-weight: 700; }
input[type=range] { width: 100%; margin-top: 10px; cursor: pointer; }

/* Advanced Tech Section */
.tech-grid-advanced { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tech-card { background: #fff; padding: 40px 30px; border-radius: 12px; border: 1px solid var(--border); transition: all 0.3s; position: relative; overflow: hidden; }
.tech-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--primary); }
.card-icon { width: 60px; height: 60px; background: var(--bg-gray); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--text-main); margin-bottom: 25px; transition: 0.3s; }
.tech-card:hover .card-icon { background: var(--primary); color: #fff; }
.tech-card h3 { font-size: 1.3rem; margin-bottom: 15px; font-weight: 700; }
.tech-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; margin-bottom: 25px; height: 80px; overflow: hidden; } /* 限制高度保持对齐 */
.tech-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tech-tags li { background: #f3f4f6; color: #6b7280; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-family: monospace; font-weight: 600; }

@media (max-width: 992px) {
    .tech-grid-advanced { grid-template-columns: 1fr 1fr; } /* 平板双列 */
}
@media (max-width: 768px) {
    .tech-grid-advanced { grid-template-columns: 1fr; } /* 手机单列 */
    .tech-card p { height: auto; } /* 手机端高度自适应 */
}

/* News */
.news-row { display: flex; justify-content: space-between; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; transition: 0.3s; }
.news-row:hover { border-color: var(--primary); transform: translateX(5px); }

/* Advanced Pricing Table */
.pricing-table-wrapper { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow); max-width: 1000px; margin: 0 auto; }
.pricing-header { display: grid; grid-template-columns: 1.5fr 1fr 1fr; background: #fff; text-align: center; border-bottom: 1px solid var(--border); }
.ph-col { padding: 30px 15px; border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; position: relative; }
.ph-col:last-child { border-right: none; }
.ph-col.popular { background: #fffbf7; border-top: 4px solid var(--primary); }
.pop-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 0.75rem; padding: 2px 10px; border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; font-weight: 600; }
.ph-col h3 { font-size: 1.2rem; margin-bottom: 5px; }
.ph-col .price { font-size: 1.6rem; color: #111; font-weight: 800; margin-bottom: 5px; margin-top: 5px; }
.ph-col .desc { font-size: 0.8rem; color: var(--text-light); margin-bottom: 15px; height: 32px; display: flex; align-items: center; justify-content: center; }

.pricing-body { display: flex; flex-direction: column; }
.row-group { background: #f3f4f6; padding: 10px 20px; font-weight: 700; color: var(--text-main); font-size: 0.9rem; border-bottom: 1px solid var(--border); border-top: 1px solid var(--border); }
.row-group:first-child { border-top: none; }
.row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; border-bottom: 1px solid var(--border); }
.row:last-child { border-bottom: none; }
.cell { padding: 15px; text-align: center; border-right: 1px solid var(--border); font-size: 0.9rem; color: var(--text-light); display: flex; align-items: center; justify-content: center; }
.cell:last-child { border-right: none; }
.cell.feature { justify-content: flex-start; text-align: left; padding-left: 30px; color: var(--text-main); font-weight: 500; }
.cell:nth-child(2) { background: #fffbf7; } /* 高亮推荐列 */

.text-green { color: #10b981; }
.text-gray { color: #d1d5db; }

@media (max-width: 768px) {
    .pricing-table-wrapper { overflow-x: auto; }
    .pricing-header, .row { min-width: 400px; } /* 允许横向滚动 */
}

/* CTA & Footer */
.cta-section { background: #1f2937; color: #fff; text-align: center; padding: 80px 0; }
.cta-form { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.cta-form input { padding: 12px 15px; border-radius: 4px; border: none; width: 200px; }
footer { background: #111827; color: #6b7280; padding: 40px 0; text-align: center; font-size: 0.9rem; }

/* Brand Wall */
.brand-grid { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; opacity: 0.4; padding: 20px 0; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 992px) {
    .hero-content, .content-wrapper, .solution-row, .roi-wrapper, .tech-advantages, .pricing-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; } /* 优化：平板端改为双列 */
    .hero { text-align: center; }
    .hero-btns, .trust-stats { justify-content: center; }
    .solution-row.reverse .sol-text { order: 2; }
    .solution-row.reverse .sol-img { order: 1; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions .btn { display: none; }
    .menu-toggle { display: block; }
    .cta-form { flex-direction: column; align-items: center; }
    .cta-form input { width: 100%; }
} 
 / *   F A Q   S e c t i o n   * /  
 . f a q - g r i d   {   d i s p l a y :   g r i d ;   g r i d - t e m p l a t e - c o l u m n s :   1 f r   1 f r ;   g a p :   4 0 p x ;   m a x - w i d t h :   1 0 0 0 p x ;   m a r g i n :   0   a u t o ;   }  
 . f a q - i t e m   {   b a c k g r o u n d :   # f f f ;   p a d d i n g :   3 0 p x ;   b o r d e r - r a d i u s :   1 2 p x ;   b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;   t r a n s i t i o n :   0 . 3 s ;   }  
 . f a q - i t e m : h o v e r   {   b o r d e r - c o l o r :   v a r ( - - p r i m a r y ) ;   b o x - s h a d o w :   v a r ( - - s h a d o w ) ;   }  
 . f a q - i t e m   h 4   {   f o n t - s i z e :   1 . 1 r e m ;   m a r g i n - b o t t o m :   1 5 p x ;   d i s p l a y :   f l e x ;   g a p :   1 0 p x ;   a l i g n - i t e m s :   f l e x - s t a r t ;   l i n e - h e i g h t :   1 . 4 ;   c o l o r :   v a r ( - - t e x t - m a i n ) ;   }  
 . f a q - i t e m   h 4   i   {   c o l o r :   v a r ( - - p r i m a r y ) ;   m a r g i n - t o p :   3 p x ;   f l e x - s h r i n k :   0 ;   }  
 . f a q - i t e m   p   {   f o n t - s i z e :   0 . 9 5 r e m ;   c o l o r :   v a r ( - - t e x t - l i g h t ) ;   l i n e - h e i g h t :   1 . 6 ;   p a d d i n g - l e f t :   2 6 p x ;   }  
  
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   {  
         . f a q - g r i d   {   g r i d - t e m p l a t e - c o l u m n s :   1 f r ;   }  
 }  
 
/* WeChat QR Code Modal */
.wechat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wechat-modal.active {
    opacity: 1;
    visibility: visible;
}

.wechat-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.wechat-modal.active .wechat-modal-content {
    transform: scale(1);
}

.wechat-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.wechat-modal-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.wechat-modal-icon {
    font-size: 3rem;
    color: #07c160;
    margin-bottom: 15px;
}

.wechat-modal h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #1f2937;
}

.wechat-modal p {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.wechat-qr-wrapper {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.wechat-qr-wrapper img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.wechat-modal-tip {
    font-size: 0.85rem;
    color: #d4886a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* CTA Section with QR Code */
.cta-qr-wrapper {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta-qr-wrapper img {
    max-width: 180px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-qr-text {
    font-size: 1rem;
    color: #9ca3af;
}

.cta-qr-text i {
    color: #07c160;
    margin-right: 6px;
}

@media (max-width: 768px) {
    .wechat-modal-content {
        padding: 30px 20px;
    }

    .wechat-qr-wrapper img {
        max-width: 160px;
    }

    .cta-qr-wrapper img {
        max-width: 150px;
    }
}

/* ============================================
   SEO优化 - 面包屑导航与无障碍
   ============================================ */

/* 无障碍跳转链接 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* 面包屑导航 */
.breadcrumb {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li::after {
    content: " > ";
    color: #666;
}

.breadcrumb li:last-child::after {
    content: "";
}

/* 增强文本对比度 */
h1, h2, h3, h4, h5, h6 {
    color: #111827;
}

/* 图片加载优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 链接焦点样式 (无障碍) */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* 打印样式优化 */
@media print {
    .wechat-modal,
    #navbar,
    .cta-section,
    .menu-toggle {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
        color: #000;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }
}
