/* ============================================
   BOROTESS 官网 — 共享样式表
   方向C：专业结构化
   ============================================
   品牌色系：
   --green: #00B050 (草绿色，品牌强调色)
   --black: #1A1A1A (深黑，正文文字)
   --dark:  #0A0A0A (极黑，页脚背景)
   --white: #FFFFFF (白色，主背景)
   --gray-bg: #F5F5F7 (浅灰，区块背景)
   --------------------------------------------
   修改品牌色只需改 :root 变量，全站生效。
   图片替换：搜索 images/ 目录下对应文件名。
   ============================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 品牌色 */
    --green: #00B050;
    --green-dark: #009446;
    --green-light: #E6F6EE;
    --black: #1A1A1A;
    --dark: #0A0A0A;
    --white: #FFFFFF;
    --gray-bg: #F5F5F7;
    --gray-text: #86868B;
    --gray-border: #D2D2D7;
    /* 通用变量 */
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 50px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 64px;
    --max-width: 1200px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== LAYOUT HELPERS ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--black);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--gray-text);
    margin-bottom: 48px;
}

.green-accent { color: var(--green); }
.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--green);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,176,80,0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--black);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--black);
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--green);
    transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-border);
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    height: 56px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--black);
}
.nav-logo span { color: var(--green); }

.nav-links {
    display: flex;
    gap: 36px;
}
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--green);
    transition: width var(--transition);
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after { width: 100%; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-search {
    width: 20px; height: 20px;
    cursor: pointer;
    color: var(--black);
    transition: color var(--transition);
}
.nav-search:hover { color: var(--green); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO (首页) ===== */
.hero {
    background: var(--white);
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 60px;
}
.hero-left { flex: 1; }
.hero-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--green);
    margin-bottom: 20px;
}
.hero-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 36px;
    font-weight: 300;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-right { flex: 1; }
.hero-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* ===== PAGE HEADER (内页通用) ===== */
.page-header {
    background: var(--gray-bg);
    padding: 120px 0 60px;
    text-align: center;
}
.page-header-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--green);
    margin-bottom: 16px;
}
.page-header-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 12px;
}
.page-header-subtitle {
    font-size: 16px;
    color: var(--gray-text);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--gray-text);
}
.breadcrumb a {
    color: var(--gray-text);
    transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span {
    margin: 0 8px;
    color: var(--gray-border);
}
.breadcrumb .current { color: var(--black); font-weight: 500; }

/* ===== PRODUCT CATEGORY GRID ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.category-card {
    background: var(--gray-bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.category-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.category-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e8e8ed;
}
.category-card-body {
    padding: 20px 24px;
    background: var(--white);
}
.category-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.category-card-sub {
    font-size: 13px;
    color: var(--gray-text);
}

/* ===== FEATURED PRODUCTS ===== */
.featured { background: var(--gray-bg); }
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.featured-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.featured-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.featured-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--gray-bg);
}
.featured-card-body { padding: 24px 28px; }
.featured-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}
.featured-card-desc {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 16px;
}
.featured-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.featured-card-link span { transition: var(--transition); }
.featured-card:hover .featured-card-link span { transform: translateX(4px); }

/* ===== BRAND VALUES ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.value-item { text-align: center; }
.value-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--green);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,176,80,0.25);
}
.value-icon svg { width: 28px; height: 28px; color: var(--white); }
.value-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}
.value-desc {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* ===== BRAND STORY ===== */
.brand-story {
    position: relative;
    background-image: url('https://borotess.com/wp-content/uploads/migrated/coze/coze-016-767fda82d6130156.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.brand-story-overlay {
    background: rgba(255,255,255,0.88);
    padding: 100px 0;
}
.story-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}
.story-tag {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--green);
    margin-bottom: 16px;
}
.story-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 24px;
}
.story-text {
    font-size: 17px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}
.story-founders {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 28px;
}
.story-founders strong { color: var(--black); }
.story-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--green);
    transition: var(--transition);
}
.story-link:hover { color: var(--green-dark); }

/* ===== CERTIFICATIONS ===== */
.cert-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.cert-text {
    text-align: center;
    font-size: 16px;
    color: var(--gray-text);
    margin-top: 24px;
    letter-spacing: 0.5px;
}
.cert-text span { color: var(--black); font-weight: 500; }

/* ===== CTA ===== */
.cta {
    background: var(--green);
    text-align: center;
    padding: 80px 24px;
}
.cta-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark) url('https://borotess.com/wp-content/uploads/migrated/coze/coze-009-ada727d762f5f150.jpg') no-repeat center bottom; background-size: cover;
    color: var(--white);
    padding: 60px 0 30px;
}
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-logo {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.footer-slogan {
    font-size: 16px;
    color: var(--green);
    margin-bottom: 8px;
    font-weight: 500;
}
.footer-tagline { font-size: 14px; color: #aaa; }
.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 14px;
    color: #ccc;
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--green); }
.footer-contact p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}
.footer-contact p strong { color: #ddd; }
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.product-detail-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    background: var(--gray-bg);
}
.product-detail-info h1 {
    font-size: 32px;
    margin-bottom: 8px;
}
.product-detail-model {
    font-size: 16px;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 24px;
}
.product-detail-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 32px;
}

/* ===== SPEC TABLE ===== */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
}
.spec-table th {
    background: var(--gray-bg);
    padding: 14px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    border-bottom: 2px solid var(--green);
}
.spec-table td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-border);
}
.spec-table td:first-child {
    font-weight: 500;
    color: var(--black);
    width: 30%;
}
.spec-table td:last-child {
    color: #555;
}
.spec-table tr:hover td {
    background: var(--green-light);
}

/* ===== SPEC COMPARISON TABLE ===== */
.spec-compare {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
    overflow: hidden;
    border-radius: var(--radius);
}
.spec-compare th {
    background: var(--dark);
    color: var(--white);
    padding: 16px 20px;
    text-align: center;
    font-size: 15px;
}
.spec-compare th:first-child {
    text-align: left;
    background: var(--black);
}
.spec-compare th.highlight {
    background: var(--green);
}
.spec-compare td {
    padding: 14px 20px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-border);
}
.spec-compare td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--black);
    background: var(--gray-bg);
}
.spec-compare tr:nth-child(even) td {
    background: #FAFAFA;
}
.spec-compare tr:nth-child(even) td:first-child {
    background: var(--gray-bg);
}

/* ===== TECH FEATURE CARDS ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.tech-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}
.tech-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.tech-card-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.tech-card-icon svg { width: 24px; height: 24px; color: var(--green); }
.tech-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.tech-card p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.7;
}

/* ===== SOLUTION CARDS ===== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.solution-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.solution-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.solution-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.solution-card-body { padding: 24px 28px; }
.solution-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.solution-card p {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 16px;
    line-height: 1.6;
}
.solution-card-products {
    font-size: 13px;
    color: var(--green);
    font-weight: 500;
}

/* ===== FOUNDER CARDS ===== */
.founder-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.founder-card {
    text-align: center;
    background: var(--gray-bg);
    border-radius: var(--radius);
    padding: 40px 32px;
}
.founder-card-img {
    width: 120px; height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--gray-border);
    object-fit: cover;
}
.founder-card h3 {
    font-size: 22px;
    margin-bottom: 4px;
}
.founder-card-role {
    font-size: 14px;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 16px;
}
.founder-card-bio {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.7;
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 12px; top: 0; bottom: 0;
    width: 2px;
    background: var(--gray-border);
}
.timeline-item {
    position: relative;
    padding-bottom: 40px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px; top: 4px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--green);
}
.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 4px;
}
.timeline-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.timeline-desc {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info h3 {
    font-size: 22px;
    margin-bottom: 24px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-info-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--green); }
.contact-info-text h4 {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 4px;
    font-weight: 500;
}
.contact-info-text p {
    font-size: 16px;
    color: var(--black);
    line-height: 1.5;
}
.contact-form {
    background: var(--gray-bg);
    border-radius: var(--radius);
    padding: 40px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: var(--white);
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0,176,80,0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .fade-in {
    opacity: 0;
    transform: translateY(30px);
}
.js .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-buttons { justify-content: center; }
    .hero-title { font-size: 32px; }

    .category-grid,
    .featured-grid,
    .values-grid,
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-grid { grid-template-columns: 1fr; }
    .founder-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-logo-col { grid-column: 1 / -1; }

    .spec-compare { font-size: 13px; }
    .spec-compare th, .spec-compare td { padding: 10px 12px; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-border);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-search { width: 18px; height: 18px; }

    .section-pad { padding: 56px 0; }
    .section-title { font-size: 26px; }
    .hero { padding: 100px 0 56px; }
    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 16px; }

    .category-grid,
    .featured-grid,
    .values-grid,
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .story-title { font-size: 26px; }
    .cta-title { font-size: 24px; }
    .brand-story-overlay { padding: 64px 0; }
    .featured-card-img { height: 220px; }
    .category-card-img { height: 180px; }

    .page-header { padding: 100px 0 40px; }
    .page-header-title { font-size: 26px; }

    .contact-form { padding: 24px; }

    .spec-compare-wrap { overflow-x: auto; }
    .spec-compare { min-width: 500px; }
}

/* ===== PRODUCT CATEGORY CARD (enhanced) ===== */
.category-card-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--green);
    text-transform: uppercase;
    padding: 16px 24px 4px;
    background: var(--white);
}
.category-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    padding: 0 24px 20px;
    background: var(--white);
}
.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #e8e8ed 0%, #d8d8de 100%);
}

/* ===== IMAGE PLACEHOLDER ===== */
.img-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
    font-size: 13px;
    letter-spacing: 1px;
}
.img-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
}
.img-placeholder-light {
    background: linear-gradient(135deg, #f0f0f3 0%, #e0e0e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
}

/* ===== PRODUCT SHOWCASE (enhanced) ===== */
.product-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.product-showcase-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}
.product-showcase-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--green);
}
.product-showcase-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}
.product-showcase-body {
    padding: 28px 32px;
}
.product-showcase-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--green);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.product-showcase-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}
.product-showcase-desc {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 16px;
}
.product-showcase-models {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.product-showcase-model {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--green-light);
    color: var(--green-dark);
}
.product-showcase-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.product-showcase-link:hover {
    gap: 8px;
}

/* ===== FOUNDER CARD (fixed structure) ===== */
.founder-card-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2px;
}
.founder-card-role {
    font-size: 14px;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 16px;
}
.founder-card-bio {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.7;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    width: 48px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
    margin: 0 auto 48px;
}

/* ===== STATS BAR ===== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    justify-items: center;
}
.stat-item {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.stat-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-num span {
    font-size: 20px;
    color: var(--gray-text);
}
.stat-label {
    font-size: 14px;
    color: var(--gray-text);
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE for new components ===== */
@media (max-width: 968px) {
    .product-showcase { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .product-showcase-img { height: 220px; }
    .stat-num { font-size: 32px; }
}

/* ===== WordPress Menu Compatibility ===== */
.nav-links li { list-style: none; }
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a { color: var(--green); }
.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after { width: 100%; }

/* ===== News / 动态 Page ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 40px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}
.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.news-card-link { display: block; text-decoration: none; color: inherit; }
.news-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gray-bg);
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
}
.news-card-body { padding: 24px; }
.news-card-date {
    font-size: 13px;
    color: var(--gray-text);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}
.news-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    color: var(--black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-excerpt {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-more {
    font-size: 14px;
    color: var(--green);
    font-weight: 500;
}
.news-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-text);
    font-size: 16px;
}

/* News Pagination */
.news-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 48px 0 0;
}
.news-pagination li { display: inline-block; }
.news-pagination a,
.news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--black);
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
}
.news-pagination a:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.news-pagination .current {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
    font-weight: 600;
}

/* ===== Single Article ===== */
.article-meta-categories { margin-bottom: 16px; }
.article-category-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(0,176,80,0.1);
    color: var(--green);
    font-size: 13px;
    font-weight: 500;
    margin-right: 8px;
}
.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--black);
    margin-bottom: 16px;
}
.article-meta {
    font-size: 14px;
    color: var(--gray-text);
    display: flex;
    gap: 12px;
    align-items: center;
}
.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}
.article-content h2 { font-size: 24px; font-weight: 700; margin: 32px 0 16px; color: var(--black); }
.article-content h3 { font-size: 20px; font-weight: 600; margin: 28px 0 12px; color: var(--black); }
.article-content p { margin-bottom: 20px; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 24px 0; }
.article-content blockquote {
    border-left: 4px solid var(--green);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--gray-bg);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: #555;
    font-style: italic;
}
.article-content ul, .article-content ol { margin-bottom: 20px; padding-left: 24px; }
.article-content li { margin-bottom: 8px; line-height: 1.8; }
.article-content a { color: var(--green); text-decoration: none; }
.article-content a:hover { text-decoration: underline; }
.article-content pre {
    background: var(--black);
    color: #e0e0e0;
    padding: 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 24px 0;
}
.article-content code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

/* Article Tags */
.article-tags {
    max-width: 800px;
    margin: 32px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.article-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--gray-bg);
    color: var(--gray-text);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}
.article-tag:hover {
    background: var(--green);
    color: var(--white);
}

/* Post Navigation */
.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.post-nav-link:hover { box-shadow: var(--shadow-md); }
.post-nav-label { font-size: 13px; color: var(--gray-text); }
.post-nav-title { font-size: 15px; font-weight: 500; color: var(--black); }

/* ===== Mobile: News & Article ===== */
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; gap: 20px; }
    .article-title { font-size: 24px; }
    .article-content { font-size: 15px; }
    .article-content h2 { font-size: 20px; }
    .article-content h3 { font-size: 18px; }
    .news-pagination ul { flex-wrap: wrap; }
}

/* ===== PAGE-SPECIFIC CSS (migrated from HTML inline styles) ===== */

/* ===== SCENE BLOCK (products page) ===== */
.scene-block { margin-bottom: 64px; }
.scene-header {
    display: flex; align-items: center; gap: 24px; margin-bottom: 32px;
    padding: 24px; background: var(--gray-bg); border-radius: var(--radius);
    border-left: 4px solid var(--green);
}
.scene-header img {
    width: 120px; height: 80px; object-fit: cover; border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.scene-header h3 { font-size: 24px; margin-bottom: 4px; }
.scene-header p { color: var(--gray-text); font-size: 14px; }

/* ===== SET GRID (products page) ===== */
.set-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.set-card {
    background: white; border: 1px solid var(--gray-border); border-radius: var(--radius);
    padding: 28px; transition: var(--transition); position: relative; overflow: hidden;
}
.set-card:hover {
    box-shadow: var(--shadow-md); border-color: var(--green);
    transform: translateY(-2px);
}
.set-config {
    display: inline-block; background: var(--green); color: white;
    font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 20px;
    margin-bottom: 16px;
}
.set-card h4 { font-size: 18px; margin-bottom: 16px; }
.set-model-selector { margin-bottom: 16px; }
.set-model-selector label {
    display: block; font-size: 13px; color: var(--gray-text); margin-bottom: 6px;
}
.set-model-selector select {
    width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-border);
    border-radius: var(--radius-sm); font-size: 14px; font-family: inherit;
    background: white; cursor: pointer; transition: var(--transition);
}
.set-model-selector select:hover { border-color: var(--green); }
.set-model-selector select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,176,80,0.1); }
.set-components {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.set-comp-tag {
    background: var(--gray-bg); padding: 4px 12px; border-radius: 6px;
    font-size: 12px; color: var(--black);
}
.set-card .btn-primary { width: 100%; justify-content: center; }

/* ===== PRODUCT PREVIEW (products page + scene detail pages) ===== */
.set-product-preview {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    margin: 16px 0;
}
.preview-item {
    text-align: center; text-decoration: none; transition: var(--transition);
    border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--gray-border);
    display: block;
}
.preview-item:hover {
    border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.preview-item img {
    width: 100%; height: 90px; object-fit: contain; background: var(--gray-bg);
}
.preview-item span {
    display: block; font-size: 11px; color: var(--gray-text); padding: 4px 6px; background: white;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.preview-item:hover span { color: var(--green); }

/* ===== GIFT CARD (products page) ===== */
.gift-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.gift-card {
    background: white; border: 1px solid var(--gray-border); border-radius: var(--radius);
    overflow: hidden; transition: var(--transition);
}
.gift-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.gift-card-img {
    height: 200px; background: var(--gray-bg); display: flex;
    align-items: center; justify-content: center;
}
.gift-card-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.gift-card-body { padding: 24px; }
.gift-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow-md); }
a.gift-card { border: 1px solid var(--gray-border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.gift-card-body h4 { font-size: 18px; margin-bottom: 6px; }
.gift-card-body .gift-model { color: var(--green); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.gift-card-body .gift-desc { color: var(--gray-text); font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.gift-card-body .gift-price { font-size: 22px; font-weight: 700; }

/* ===== CUSTOM BANNER (products page) ===== */
.custom-banner {
    background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
    border-radius: var(--radius); padding: 48px; color: white;
    display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
}
.custom-banner-content { flex: 1; min-width: 300px; }
.custom-banner h3 { font-size: 28px; margin-bottom: 12px; color: white; }
.custom-banner p { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.custom-banner .btn-primary { background: var(--green); }

/* ===== PRODUCT SHOWCASE GRID (products page) ===== */
.product-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

/* ===== R&D CARD (about/technology pages) ===== */
.rd-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.rd-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.rd-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.rd-card-img { width: 100%; height: 220px; object-fit: cover; }
.rd-card-body { padding: 20px 24px; }
.rd-card-body h3 { font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.rd-card-body p { font-size: 14px; color: var(--gray-text); line-height: 1.6; }

/* ===== SET HERO (scene detail pages) ===== */
.set-hero { background: var(--gray-bg); padding: 60px 0; text-align: center; }
.set-config-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 32px; }
.config-tab {
    padding: 10px 28px; border: 2px solid var(--gray-border); border-radius: 8px;
    font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--transition);
    background: white;
}
.config-tab.active { border-color: var(--green); background: var(--green); color: white; }

/* ===== COMPONENT CARD (scene detail pages) ===== */
.component-card {
    background: white; border: 1px solid var(--gray-border); border-radius: var(--radius);
    padding: 24px; display: flex; gap: 20px; align-items: flex-start;
}
.component-card-img {
    width: 100px; height: 100px; background: var(--gray-bg); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 32px;
}
.component-card-body h4 { font-size: 16px; margin-bottom: 4px; }
.component-card-body .comp-model { color: var(--green); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.component-card-body .comp-specs { font-size: 13px; color: var(--gray-text); line-height: 1.7; }

/* ===== MODEL SELECTOR BOX (scene detail pages) ===== */
.model-selector-box {
    background: white; border: 2px solid var(--green); border-radius: var(--radius);
    padding: 32px; margin: 32px 0;
}
.model-selector-box h3 { margin-bottom: 16px; }
.model-selector-box select {
    width: 100%; padding: 14px 18px; border: 1.5px solid var(--gray-border);
    border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
    background: white; cursor: pointer;
}
.model-selector-box select:focus { outline: none; border-color: var(--green); }

/* ===== CUSTOM PAGE (set-custom) ===== */
.custom-hero { background: var(--gray-bg); padding: 120px 0 80px; }
.custom-hero-inner { max-width: 800px; margin: 0 auto; text-align: center; padding: 0 24px; }
.custom-hero-tag { display: inline-block; background: var(--green-light); color: var(--green); font-size: 13px; font-weight: 600; padding: 6px 18px; border-radius: 20px; margin-bottom: 20px; }
.custom-hero h1 { font-size: 40px; font-weight: 800; color: var(--black); margin-bottom: 16px; line-height: 1.2; }
.custom-hero p { font-size: 18px; color: var(--gray-text); line-height: 1.8; margin-bottom: 36px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius); padding: 36px 28px; transition: var(--transition); position: relative; }
.process-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.process-num { font-size: 48px; font-weight: 800; color: var(--green); opacity: 0.15; position: absolute; top: 16px; right: 20px; line-height: 1; }
.process-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--green-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.process-icon svg { width: 28px; height: 28px; color: var(--green); }
.process-card h3 { font-size: 18px; margin-bottom: 10px; }
.process-card p { font-size: 14px; color: var(--gray-text); line-height: 1.7; }
.process-card ul { margin-top: 12px; }
.process-card ul li { font-size: 13px; color: var(--gray-text); padding-left: 16px; position: relative; margin-bottom: 6px; }
.process-card ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.option-card { background: var(--gray-bg); border-radius: var(--radius); padding: 36px; transition: var(--transition); }
.option-card:hover { background: var(--green-light); }
.option-card h3 { font-size: 20px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.option-card h3 svg { width: 24px; height: 24px; color: var(--green); flex-shrink: 0; }
.option-card p { font-size: 14px; color: var(--gray-text); line-height: 1.7; margin-bottom: 16px; }
.option-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.option-tag { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; background: var(--white); color: var(--green-dark); border: 1px solid var(--green); }

.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scenario-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid transparent; }
.scenario-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--green); }
.scenario-card-body { padding: 28px; }
.scenario-card h3 { font-size: 18px; margin-bottom: 8px; }
.scenario-card p { font-size: 14px; color: var(--gray-text); line-height: 1.7; }
.scenario-card .scenario-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--green); margin-bottom: 10px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.value-item { text-align: center; }
.value-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--green); margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,176,80,0.25); }
.value-icon svg { width: 28px; height: 28px; color: var(--white); }
.value-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-desc { font-size: 14px; color: var(--gray-text); line-height: 1.7; }

/* ===== RESPONSIVE: page-specific ===== */
@media (max-width: 968px) {
    .product-showcase { grid-template-columns: 1fr; }
    .rd-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .options-grid { grid-template-columns: 1fr; }
    .scenario-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .scene-header { flex-direction: column; text-align: center; }
    .scene-header img { width: 100%; height: 140px; }
    .set-grid { grid-template-columns: 1fr; }
    .custom-banner { padding: 32px 24px; }
}
@media (max-width: 640px) {
    .set-product-preview { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .preview-item img { height: 70px; }
    .preview-item span { font-size: 10px; }
    .product-showcase-img { height: 220px; }
    .process-grid { grid-template-columns: 1fr; }
    .scenario-grid { grid-template-columns: 1fr; }
    .custom-hero { padding: 100px 0 56px; }
    .custom-hero h1 { font-size: 28px; }
}