@charset "UTF-8";

/* ============================================
   Tersus 官网首页优化 - 新版块样式
   版本: 1.0
   更新日期: 2026-04-23
   ============================================ */

/* ---------- 通用 Section Title ---------- */
.section-title { text-align: center; padding: 60px 0 40px; }
.section-title h2 { font-size: 42px; font-weight: 600; color: #1a1a1a; margin-bottom: 12px; letter-spacing: 1px; }
.section-title p { font-size: 18px; color: #666; max-width: 600px; margin: 0 auto; line-height: 1.6; }

@media only all and (max-width: 991px) {
    .section-title { padding: 40px 0 30px; }
    .section-title h2 { font-size: 32px; }
    .section-title p { font-size: 15px; }
    .brand-intro-copy h2 { font-size: 34px; }
    .brand-intro-copy p { font-size: 15px; }
    .brand-intro-stats { grid-template-columns: repeat(2, 1fr); }
}
@media only all and (max-width: 767px) {
    .section-title { padding: 30px 0 20px; }
    .section-title h2 { font-size: 26px; }
    .section-title p { font-size: 14px; }
    .home-brand-intro { padding: 48px 0 10px; }
    .brand-intro-copy h2 { font-size: 28px; }
    .brand-intro-stats { gap: 14px; margin-top: 28px; }
    .intro-stat { padding: 20px 14px; }
    .intro-stat strong { font-size: 26px; }
}

/* ---------- 通用按钮样式 ---------- */
.comm-btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 32px; border: 1px solid #e60027; color: #e60027;
    font-size: 16px; border-radius: 4px; transition: all 0.3s; cursor: pointer;
}
.comm-btn-outline:hover { background: #e60027; color: #fff; }
.comm-btn-outline .name { margin-right: 8px; }

.home-brand-intro {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 72px 0 36px;
}
.brand-intro-copy { margin: 0 auto; max-width: 920px; text-align: center; }
.intro-kicker {
    color: #c8102e; display: inline-block; font-size: 12px; font-weight: 700;
    letter-spacing: 0.18em; margin-bottom: 14px; text-transform: uppercase;
}
.brand-intro-copy h2 {
    color: #0f172a; font-size: 56px; font-weight: 700; letter-spacing: -0.04em;
    line-height: 1.02; margin: 0;
}
.brand-intro-copy h2 span {
    color: #c8102e;
    display: block;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.35;
    margin-bottom: 18px;
}
.brand-intro-copy p {
    color: #667085; font-size: 18px; line-height: 1.8;
    margin: 24px auto 0; max-width: 780px;
}
.brand-intro-stats {
    display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr);
    margin-top: 42px;
}
.intro-stat {
    background: rgba(255,255,255,0.82);
    border: 1px solid #e8edf3;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.05);
    padding: 24px 18px;
    text-align: center;
}
.intro-stat strong {
    color: #111827; display: block; font-size: 32px; font-weight: 700; line-height: 1.1;
}
.intro-stat span {
    color: #6b7280; display: block; font-size: 11px; font-weight: 700;
    letter-spacing: 0.08em; margin-top: 6px; text-transform: uppercase;
}

/* ============================================
   1. 产品矩阵卡片
   ============================================ */
.product-matrix { background: #f8f9fa; padding-bottom: 60px; }
.matrix-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.matrix-card {
    display: flex; flex-direction: column; align-items: center;
    background: #fff; padding: 32px 20px 24px; border-radius: 12px;
    text-align: center; transition: all 0.3s; position: relative; overflow: hidden;
    text-decoration: none; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.matrix-card:hover { transform: translateY(-6px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.matrix-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

.card-icon { width: 80px; height: 80px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; }
.card-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }

.card-info h3 { font-size: 18px; font-weight: 600; color: #1a1a1a; margin-bottom: 8px; line-height: 1.3; }
.card-info p { font-size: 14px; color: #888; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

.card-arrow {
    position: absolute; bottom: 12px; right: 16px; font-size: 18px; color: #e60027;
    opacity: 0; transform: translateX(-10px); transition: all 0.3s;
}

.matrix-more { text-align: center; margin-top: 36px; }

@media only all and (max-width: 1200px) { .matrix-grid { grid-template-columns: repeat(3, 1fr); } }
@media only all and (max-width: 991px) { .matrix-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .card-icon { width: 60px; height: 60px; } }
@media only all and (max-width: 576px) { .matrix-grid { grid-template-columns: 1fr; } .matrix-card { padding: 24px 16px 20px; } }

/* ============================================
   2. 行业解决方案入口
   ============================================ */
.industry-solutions { background: #fff; padding-bottom: 60px; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.solution-card {
    position: relative; border-radius: 12px; overflow: hidden; height: 220px;
    transition: all 0.3s; cursor: pointer; text-decoration: none;
}
.solution-card .card-bg { width: 100%; height: 100%; }
.solution-card .card-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.solution-card:hover .card-bg img { transform: scale(1.08); }

.card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: #fff;
}
.card-overlay h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.card-overlay p { font-size: 14px; opacity: 0.9; line-height: 1.4; }

@media only all and (max-width: 991px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .solution-card { height: 180px; } }
@media only all and (max-width: 767px) { .solution-card { height: 160px; } .card-overlay h3 { font-size: 18px; } }
@media only all and (max-width: 576px) { .solutions-grid { grid-template-columns: 1fr; } }

/* ============================================
   3. 最新动态与资源区
   ============================================ */
.latest-resources {
    background: linear-gradient(180deg, #fbfbfc 0%, #f3f5f7 100%);
    padding-bottom: 72px;
}

.resources-tabs {
    margin-top: 8px;
}

.tab-nav {
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    gap: 28px;
    justify-content: center;
    margin: 0 auto 36px;
    max-width: 520px;
}
.tab-item {
    border-bottom: 2px solid transparent;
    color: #69707a;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 500;
    justify-content: center;
    margin-bottom: -1px;
    padding: 0 4px 14px;
    transition: all 0.25s ease;
}
.tab-item:hover { color: #111827; }
.tab-item.active {
    border-bottom-color: #c8102e;
    color: #111827;
    font-weight: 600;
}
.tab-icon { display: none; }

.tab-pane { display: none; animation: fadeIn 0.4s ease; }
.tab-pane.active { display: block; }

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

/* News Grid */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    transition: all 0.3s; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,0.1); }

.news-img { height: 180px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-img img { transform: scale(1.05); }

.news-info { padding: 20px; }
.news-date { font-size: 13px; color: #999; display: block; margin-bottom: 8px; }
.news-info h4 { font-size: 16px; color: #1a1a1a; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.news-info p { font-size: 13px; color: #888; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

.more-link { text-align: center; margin-top: 28px; }
.more-link a { color: #e60027; font-size: 15px; transition: all 0.3s; text-decoration: none; }
.more-link a:hover { opacity: 0.8; }

/* Connect Grid */
.connect-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.connect-card {
    align-items: flex-start;
    background: rgba(255,255,255,0.76);
    backdrop-filter: blur(8px);
    border: 1px solid #e7eaee;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding: 28px 28px 30px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.connect-card:before {
    background: linear-gradient(90deg, #c8102e 0%, #0d1b2a 100%);
    border-radius: 999px;
    content: "";
    height: 3px;
    left: 28px;
    position: absolute;
    top: 0;
    width: 56px;
}
.connect-card:hover {
    border-color: #d5dbe3;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}
.connect-icon { font-size: 40px; margin-bottom: 16px; }
.connect-card h4 {
    color: #111827;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    margin: 6px 0 10px;
}
.connect-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.connect-card:after {
    color: #c8102e;
    content: ">";
    font-size: 16px;
    font-weight: 700;
    margin-top: 18px;
}

@media only all and (max-width: 991px) { .news-grid, .connect-grid { grid-template-columns: repeat(2, 1fr); } }
@media only all and (max-width: 767px) {
    .news-grid { grid-template-columns: 1fr; }
    .connect-grid { grid-template-columns: 1fr; }
    .tab-nav { gap: 18px; max-width: none; }
    .tab-item { font-size: 14px; padding-bottom: 12px; }
    .connect-card { padding: 24px 22px 24px; }
    .connect-card:before { left: 22px; width: 48px; }
}

/* ============================================
   4. 经销商网络 CTA
   ============================================ */
.reseller-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%); padding: 80px 0; color: #fff;
}
.cta-content { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: 38px; font-weight: 600; margin-bottom: 14px; }
.cta-content p { font-size: 18px; opacity: 0.85; margin-bottom: 30px; line-height: 1.6; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 36px; font-size: 16px; border-radius: 4px;
    transition: all 0.3s; cursor: pointer; text-decoration: none; font-weight: 500;
}
.cta-btn.primary { background: #e60027; color: #fff; border: 1px solid #e60027; }
.cta-btn.primary:hover { background: #c40020; }
.cta-btn.secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.cta-btn.secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.cta-btn .name { margin-right: 8px; }
.cta-btn .tip { transition: transform 0.3s; }
.cta-btn:hover .tip { transform: translateX(4px); }

@media only all and (max-width: 991px) { .cta-content h2 { font-size: 30px; } .cta-content p { font-size: 16px; } }
@media only all and (max-width: 767px) {
    .reseller-cta { padding: 50px 0; }
    .cta-content h2 { font-size: 24px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-btn { width: 100%; max-width: 280px; justify-content: center; }
}
