/* ====== Reset & Base ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a56a8;
    --primary-dark: #0d3d7a;
    --accent: #e85d2c;
    --accent-dark: #c44a1f;
    --accent-light: #ff7733;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --light-gray: #f4f6f9;
    --border: #e0e0e0;
    --white: #ffffff;
    --text: #333333;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ====== Header ====== */
header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-size: 18px; font-weight: 700; color: var(--primary-dark); }
.logo-sub { font-size: 12px; color: var(--gray); }

nav ul { display: flex; list-style: none; gap: 28px; }
nav a { font-size: 15px; color: var(--text); font-weight: 500; position: relative; }
nav a:hover { color: var(--primary); }
nav a.active { color: var(--primary); font-weight: 700; }
nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.3s;
}
nav a:hover::after, nav a.active::after { transform: scaleX(1); }

.header-phone {
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white; padding: 8px 20px; border-radius: 30px; font-size: 16px; font-weight: 700;
}
.header-phone:hover { color: white; opacity: 0.9; }

.mobile-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* ====== Hero Section ====== */
.hero {
    margin-top: 72px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2a7ac4 100%);
    color: white; padding: 48px 0; text-align: center;
    position: relative; overflow: hidden;
}

.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 200px;
}

.hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 16px; position: relative; }
.hero .subtitle { font-size: 20px; opacity: 0.95; margin-bottom: 12px; position: relative; }
.hero .tagline { font-size: 16px; opacity: 0.8; margin-bottom: 32px; position: relative; }

.hero-btns { display: flex; gap: 16px; justify-content: center; position: relative; flex-wrap: wrap; }
.btn {
    display: inline-block; padding: 14px 36px; border-radius: 30px;
    font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s; border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-light); color: white; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(232,93,44,0.4); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: white; }
.btn-outline:hover { background: rgba(255,255,255,0.15); color: white; }

.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 32px; position: relative; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 36px; font-weight: 800; color: var(--accent-light); }
.stat-label { font-size: 14px; opacity: 0.8; }

/* ====== Section Base ====== */
section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 32px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.section-title p { font-size: 16px; color: var(--gray); }
.section-divider { width: 60px; height: 4px; background: var(--accent); margin: 12px auto 0; border-radius: 2px; }

/* ====== Advantages ====== */
.advantages { background: var(--light-gray); }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
    background: white; border-radius: 12px; padding: 32px 24px; text-align: center;
    box-shadow: var(--shadow); transition: all 0.3s; border-top: 4px solid var(--primary);
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.adv-icon { font-size: 40px; margin-bottom: 16px; }
.adv-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.adv-card p { font-size: 14px; color: var(--gray); }

/* ====== About / Timeline ====== */
.about { background: white; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; align-items: stretch; }
.about-block {
    background: #fafbfc;
    border-radius: 12px;
    padding: 36px 40px;
    border: 1px solid #eef0f3;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.about-block-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.about-text h2 { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--text); margin-bottom: 14px; line-height: 1.85; }
.about-text strong { color: var(--primary); }

.timeline { position: relative; padding-left: 28px; flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--primary); }
.timeline-item { position: relative; }
.timeline-item::before {
    content: ''; position: absolute; left: -24px; top: 6px;
    width: 12px; height: 12px; border-radius: 50%;
    background: white; border: 3px solid var(--primary);
}
.timeline-year { font-size: 18px; font-weight: 700; color: var(--primary); }
.timeline-desc { font-size: 14px; color: var(--gray); margin-top: 4px; }
.timeline-desc p { margin: 0 0 8px 0; line-height: 1.7; }
.timeline-desc p:last-child { margin-bottom: 0; }

/* ====== Products ====== */
.products { background: var(--light-gray); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
    display: block; text-decoration: none; color: inherit;
    background: white; border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow); transition: all 0.3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-image {
    width: 100%; height: 220px; overflow: hidden;
    background: #ffffff; display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.product-card-image img {
    max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform 0.3s;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-body { padding: 24px; }
.product-badge {
    display: inline-block; background: var(--primary); color: white;
    padding: 4px 12px; border-radius: 4px; font-size: 12px; margin-bottom: 12px;
}
.product-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.product-model { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.product-card ul { list-style: none; }
.product-card li { font-size: 13px; color: var(--gray); padding: 3px 0; padding-left: 20px; position: relative; }
.product-card li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ====== Product Detail (products.html) ====== */
.product-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-detail-card {
    background: white; border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow); transition: all 0.3s;
}
.product-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-detail-body { padding: 28px; }
.product-detail-body h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.product-detail-body .product-model { font-size: 14px; margin-bottom: 12px; }
.product-detail-body .product-desc { font-size: 14px; color: var(--text); margin-bottom: 16px; line-height: 1.8; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table th, .spec-table td { padding: 8px 12px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--border); }
.spec-table th { color: var(--gray); font-weight: 500; white-space: nowrap; }
.spec-table td { color: var(--text); font-weight: 600; }

/* ====== Cases ====== */
.cases { background: white; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.case-card {
    background: var(--light-gray); border-radius: 8px; padding: 24px 16px;
    text-align: center; transition: all 0.3s; border: 1px solid var(--border);
}
.case-card:hover { background: var(--primary); color: white; border-color: var(--primary); }
.case-card:hover h4 { color: white; }
.case-card h4 { font-size: 15px; font-weight: 600; color: var(--dark); transition: color 0.3s; }
.case-card p { font-size: 12px; color: var(--gray); margin-top: 4px; }
.case-card:hover p { color: rgba(255,255,255,0.8); }

/* ====== Case Detail (cases.html) ====== */
.case-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-detail-card {
    background: white; border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow); transition: all 0.3s; border: 1px solid var(--border);
}
.case-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.case-detail-body { padding: 24px; }
.case-detail-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.case-tag {
    display: inline-block; background: var(--primary); color: white;
    padding: 3px 10px; border-radius: 4px; font-size: 11px; margin-bottom: 8px;
}
.case-detail-card p { font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.case-detail-card .case-meta { font-size: 12px; color: var(--gray); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }
.case-detail-card .case-meta span { display: inline-block; margin-right: 16px; }

/* ====== Brand Introduction ====== */
.brand { background: linear-gradient(135deg, #0d3d7a, #1a56a8); color: white; }
.brand-content { max-width: 800px; margin: 0 auto; text-align: left; }
.brand-content h2 { font-size: 32px; font-weight: 700; margin-bottom: 24px; text-align: center; }
.brand-content p { font-size: 15px; line-height: 2; opacity: 0.95; margin-bottom: 16px; }
.brand-logo { display: block; margin: 0 auto 24px; max-width: 200px; height: auto; }
.brand-logo-small { display: block; margin: 0 auto 20px; max-width: 140px; height: auto; }
.brand-stats { display: flex; justify-content: center; gap: 48px; margin-top: 32px; flex-wrap: wrap; }
.brand-stat { text-align: center; }
.brand-stat-num { font-size: 32px; font-weight: 800; color: var(--accent-light); }
.brand-stat-label { font-size: 14px; opacity: 0.8; }

/* ====== News ====== */
.news { background: var(--light-gray); }
.news-list { max-width: 800px; margin: 0 auto; }
.news-item {
    display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border);
    align-items: center;
}
.news-date {
    background: var(--primary); color: white; border-radius: 8px;
    padding: 8px 12px; text-align: center; min-width: 70px;
}
.news-date .day { font-size: 20px; font-weight: 700; display: block; }
.news-date .month { font-size: 12px; opacity: 0.8; }
.news-item h4 { font-size: 16px; font-weight: 600; color: var(--dark); }
.news-item p { font-size: 13px; color: var(--gray); margin-top: 4px; }

/* ====== Contact ====== */
.contact { background: var(--dark); color: white; padding: 20px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-info h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 5px; align-items: flex-start; }
.contact-icon { font-size: 20px; color: var(--accent-light); min-width: 26px; }
.contact-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-item p { font-size: 13px; opacity: 0.8; }
.contact-phone { font-size: 24px; font-weight: 800; color: var(--accent-light); margin: 8px 0 12px; }

.contact-map {
    background: rgba(255,255,255,0.05); border-radius: 12px; padding: 20px;
}
.contact-map h3 { font-size: 16px; margin-bottom: 10px; color: var(--accent-light); }
.contact-map .map-item { margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-map .map-item:last-child { border-bottom: none; }
.contact-map h4 { font-size: 14px; margin-bottom: 2px; }
.contact-map p { font-size: 13px; opacity: 0.7; }

/* ====== About Gallery ====== */
.about-gallery-group { margin-bottom: 48px; }
.about-gallery-group:last-child { margin-bottom: 0; }
.about-gallery-title { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 8px; padding-left: 12px; border-left: 4px solid var(--primary); }
.about-gallery-desc { font-size: 14px; color: var(--gray); margin-bottom: 20px; padding-left: 16px; }
.about-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-gallery-item { position: relative; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; aspect-ratio: 4/3; }
.about-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.about-gallery-item:hover img { transform: scale(1.05); }
.about-gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white; font-size: 12px; padding: 20px 12px 8px; text-align: center; }
@media (max-width: 768px) {
    .about-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ====== Page Banner (sub-pages) ====== */
.page-banner {
    margin-top: 72px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white; padding: 48px 0; text-align: center;
}
.page-banner h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-banner .page-title { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-banner p { font-size: 16px; opacity: 0.85; }

/* ====== Breadcrumb ====== */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--gray); }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ====== Footer ====== */
footer { background: #0d0d1a; color: rgba(255,255,255,0.6); padding: 24px 0; text-align: center; font-size: 13px; }
footer a { color: rgba(255,255,255,0.6); }

/* ====== Mobile Responsive ====== */
@media (max-width: 768px) {
    nav ul { display: none; }
    .mobile-toggle { display: block; }
    .header-phone { display: none; }
    .hero h1 { font-size: 28px; }
    .hero .subtitle { font-size: 16px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 28px; }
    .adv-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; gap: 32px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-grid-single { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .case-detail-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-phone { font-size: 28px; }
    .section-title h2 { font-size: 24px; }
    .page-banner h1 { font-size: 24px; }
    .page-banner .page-title { font-size: 24px; }
    .hero { padding: 48px 0; }
    section { padding: 40px 0; }
    .news-item { flex-direction: column; align-items: flex-start; gap: 8px; }
}
/* ====== Clickable Product Cards (products.html) ====== */
.product-clickable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.product-grid-single {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .product-grid-single { grid-template-columns: 1fr; }
}

.product-clickable-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    color: var(--text);
}

.product-clickable-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.product-clickable-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #f4f6f9 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-clickable-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-clickable-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-clickable-body h3 {
    color: var(--primary-dark);
    font-size: 22px;
    margin: 8px 0;
}

.product-clickable-body .product-model {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.product-clickable-body .product-desc {
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.product-cta {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
}

/* ====== Product Detail Pages ====== */
.product-detail-section {
    padding: 40px 0 80px;
}

.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.product-hero-image {
    background: linear-gradient(135deg, #f4f6f9 0%, #ffffff 100%);
    border-radius: 8px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-hero-image img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.product-hero-info h2 {
    color: var(--primary-dark);
    font-size: 36px;
    margin: 12px 0 8px;
}

.product-hero-info .product-model-info {
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-hero-info .product-powers {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.product-hero-info .product-intro {
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.content-section {
    margin-bottom: 48px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.section-heading {
    color: var(--primary-dark);
    font-size: 24px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.content-text {
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
}

.spec-table-detail {
    width: 100%;
    border-collapse: collapse;
}

.spec-table-detail tr {
    border-bottom: 1px solid var(--border);
}

.spec-table-detail tr:last-child {
    border-bottom: none;
}

.spec-table-detail th {
    width: 200px;
    padding: 16px 20px;
    background: var(--light-gray);
    color: var(--primary-dark);
    font-weight: 600;
    text-align: left;
    vertical-align: top;
}

.spec-table-detail td {
    padding: 16px 20px;
    color: var(--text);
    vertical-align: top;
}

.advantages-list {
    list-style: none;
    padding: 0;
}

.advantages-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--text);
    line-height: 1.7;
    border-bottom: 1px solid var(--border);
}

.advantages-list li:last-child {
    border-bottom: none;
}

.advantages-list li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--accent);
    font-weight: bold;
    font-size: 18px;
}

.docs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.doc-link {
    display: block;
    padding: 16px 20px;
    background: var(--light-gray);
    border-radius: 8px;
    color: var(--primary-dark);
    font-weight: 500;
    transition: all 0.3s;
    border-left: 4px solid var(--primary);
}

.doc-link:hover {
    background: var(--primary);
    color: var(--white);
    border-left-color: var(--accent);
}

.related-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.related-product-card {
    background: var(--light-gray);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    color: var(--primary-dark);
    transition: all 0.3s;
}

.related-product-card:hover {
    background: var(--primary);
    color: var(--white);
}

.related-product-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.related-product-card p {
    color: var(--gray);
    font-size: 14px;
}

.related-product-card:hover p {
    color: rgba(255,255,255,0.9);
}

/* ====== Responsive (Product Detail Pages) ====== */
@media (max-width: 768px) {
    .product-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .product-hero-image {
        height: 320px;
    }

    .product-hero-info h2 {
        font-size: 28px;
    }

    .content-section {
        padding: 24px;
    }

    .spec-table-detail th {
        width: 120px;
        padding: 12px;
        font-size: 14px;
    }

    .spec-table-detail td {
        padding: 12px;
        font-size: 14px;
    }

    .section-heading {
        font-size: 20px;
    }
}

/* ====== Case List Cards with Cover Image ====== */
.case-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.case-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.case-card-link:hover .case-card-image img {
    transform: scale(1.05);
}

.case-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    padding: 16px 20px 12px;
}

.case-card-overlay .case-tag {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.case-detail-card .view-detail {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
}

/* ====== Case Detail Page ====== */
.case-hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.case-hero-tag {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.case-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.case-hero-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 15px;
}

.case-hero-meta span {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.case-content-section {
    padding: 40px 0 60px;
}

.case-content-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.case-info-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 40px;
}

.case-info-item {
    padding: 24px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.case-info-item:last-child {
    border-right: none;
}

.case-info-label {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 8px;
}

.case-info-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
}

.case-content-body {
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    line-height: 1.9;
}

.case-content-body p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 16px;
}

.case-section-title {
    color: var(--primary-dark);
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.case-section-title:first-child {
    margin-top: 0;
}

.case-sub-title {
    color: var(--primary);
    font-size: 17px;
    font-weight: 600;
    margin: 28px 0 12px;
}

/* ====== Case Photo Gallery ====== */
.case-gallery-section {
    padding: 60px 0;
}

.case-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ====== Related Cases ====== */
.related-cases {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.related-case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.related-case-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-case-info {
    padding: 20px;
}

.related-case-info .case-tag {
    background: var(--light-gray);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.related-case-info h4 {
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.related-case-info p {
    color: var(--gray);
    font-size: 13px;
}

/* ====== Light Button ====== */
.btn-light {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-light:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* ====== Case Detail Mobile Responsive ====== */
@media (max-width: 768px) {
    .case-hero {
        padding: 48px 0 36px;
    }

    .case-hero h1 {
        font-size: 24px;
    }

    .case-hero-meta {
        gap: 12px;
        font-size: 13px;
    }

    .case-hero-meta span {
        padding: 6px 14px;
    }

    .case-info-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-info-item:nth-child(2) {
        border-right: none;
    }

    .case-info-item:nth-child(1),
    .case-info-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .case-content-body {
        padding: 24px;
    }

    .case-section-title {
        font-size: 18px;
    }

    .case-sub-title {
        font-size: 15px;
    }

    .case-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .case-card-image {
        height: 180px;
    }
}

/* ====== Gallery Lightbox ====== */
.case-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Lightbox overlay */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 82vh;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    user-select: none;
    z-index: 10001;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    z-index: 10001;
    padding: 16px 20px;
    transition: opacity 0.2s;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 0.7;
}

.lightbox-counter {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 12px;
        right: 16px;
        font-size: 28px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 32px;
        padding: 12px 14px;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* ====== News Item Link ====== */
.news-item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    border-bottom: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-item-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.news-content { flex: 1; }

.news-read-more {
    display: inline-block;
    margin-top: 8px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
}

/* ====== FAQ List ====== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.faq-q {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.faq-q span:last-child {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
}

.faq-preview {
    font-size: 14px;
    color: #666;
    margin-left: 44px;
    margin-bottom: 8px;
}

.faq-read-more {
    display: inline-block;
    margin-left: 44px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
}

/* ====== News Article ====== */
.news-article {
    padding: 40px 0;
    background: white;
}

.article-header { margin-bottom: 32px; }

.article-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #888;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 32px 0 16px;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin: 24px 0 12px;
}

.article-body p { margin-bottom: 16px; }

.article-body ul, .article-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.article-body li { margin-bottom: 8px; }

.article-body strong { color: var(--dark); }

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}
.article-body table th {
    background: var(--primary);
    color: white;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
}
.article-body table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
}
.article-body table tr:nth-child(even) td { background: #f8f8f8; }
.article-body table tr:hover td { background: #f0f4f8; }

.article-body .tip-box {
    background: #f0f7ff;
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
}
.article-body .tip-box strong { color: var(--primary); }

.article-body .summary-box {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 15px;
}
.article-body .summary-box strong { color: #d48806; }

.article-body .pro-list { list-style: none; padding-left: 0; }
.article-body .pro-list li { margin-bottom: 6px; padding-left: 24px; position: relative; }
.article-body .pro-list li::before { content: "✅"; position: absolute; left: 0; }

.article-body .con-list { list-style: none; padding-left: 0; }
.article-body .con-list li { margin-bottom: 6px; padding-left: 24px; position: relative; }
.article-body .con-list li::before { content: "❌"; position: absolute; left: 0; }

.article-cta {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 28px;
    margin: 40px 0 24px;
    text-align: center;
}

.article-cta h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.article-cta p {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.article-cta .btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.article-cta .btn-primary:hover { background: var(--accent-dark); }

.article-nav {
    max-width: 800px;
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.article-nav a {
    font-size: 14px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.article-nav a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .article-header h1 { font-size: 22px; }
    .article-body { font-size: 15px; }
    .article-body h2 { font-size: 18px; }
    .faq-q span:last-child { font-size: 15px; }
    .faq-preview { margin-left: 0; }
    .faq-read-more { margin-left: 0; }
    .news-item-link { flex-direction: column; gap: 12px; }
}

/* ====== Social Media Matrix ====== */
.social-matrix {
    padding: 48px 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    background: white;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.social-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    font-weight: 700;
    margin-bottom: 4px;
}

.social-card-platform {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.social-card-account {
    font-size: 13px;
    color: var(--gray);
}

.social-card-wechat {
    background: white;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-card-wechat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.social-qr-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 4px;
    border: 1px solid #eee;
}

/* Footer Social Bar */
.footer-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 16px;
    font-size: 13px;
}

.footer-social a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--accent);
}

.footer-social .divider {
    color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====== Project Info Table (News Article) ====== */
.article-body .project-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 24px;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.article-body .project-table th {
    width: 140px;
    background: var(--primary);
    color: white;
    padding: 10px 16px;
    text-align: left;
    font-weight: 600;
    border: none;
    white-space: nowrap;
}

.article-body .project-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
    border: none;
    background: white;
}

.article-body .project-table tr:nth-child(even) td {
    background: var(--light-gray);
}

.article-body .project-table tr:last-child td {
    border-bottom: none;
}

.article-body .project-table tr:hover td {
    background: #f0f4f8;
}

@media (max-width: 768px) {
    .article-body .project-table th {
        width: 100px;
        padding: 8px 12px;
        font-size: 13px;
    }
    .article-body .project-table td {
        padding: 8px 12px;
        font-size: 13px;
    }
}
/* ====== Header nav 8 项适配（授权验证入口 2026-09-05）====== */
@media (max-width: 1160px) {
    nav ul { gap: 18px; }
    nav a { font-size: 14px; }
}
@media (max-width: 1000px) {
    .header-phone { display: none; }
}

/* ====== Header nav 9 项单行适配（北京菲斯曼壁挂炉入口 2026-09-08）====== */
/* 核心：禁止导航文字折行 + 分级缩小间距/字号，任何桌面宽度都保持单行 */
nav ul { flex-wrap: nowrap; gap: 20px; }
nav ul li { flex-shrink: 0; }
nav a { white-space: nowrap; }
@media (max-width: 1280px) {
    nav ul { gap: 16px; }
    nav a { font-size: 14px; }
}
@media (max-width: 1120px) {
    nav ul { gap: 12px; }
    nav a { font-size: 13px; }
    .header-phone { padding: 8px 14px; font-size: 15px; }
}

/* ====== 授权验证横幅（2026-09-05 首页内容区入口）====== */
.auth-banner { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 36px 0; }
.auth-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.auth-banner h3 { color: white; font-size: 22px; margin-bottom: 8px; }
.auth-banner .ab-text p { color: rgba(255,255,255,0.85); font-size: 14px; }
.ab-btn { background: var(--accent); color: white; padding: 13px 30px; border-radius: 30px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: opacity 0.3s; }
.ab-btn:hover { color: white; opacity: 0.9; }
@media (max-width: 768px) {
    .auth-banner-inner { flex-direction: column; text-align: center; }
    .auth-banner h3 { font-size: 18px; }
}
