/* =========================================
   CSS Variables & Reset
   ========================================= */
:root {
    --primary: #0077b6;
    --primary-dark: #023e8a;
    --primary-light: #0096c7;
    --primary-bg: #e6f4fa;
    --accent: #d4a762;
    --accent-light: #f5e6c8;
    --text: #2c3e50;
    --text-light: #6c7a89;
    --bg: #ffffff;
    --bg-light: #f4f9fd;
    --bg-dark: #023e8a;
    --border: #e2eef6;
    --shadow: 0 2px 15px rgba(0,119,182,0.08);
    --shadow-hover: 0 8px 30px rgba(0,119,182,0.18);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --container: 1200px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--primary);
    color: #fff;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,119,182,0.25);
}

.logo-icon::after {
    content: 'QZ';
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
}

.logo-icon.small { width: 36px; height: 36px; }
.logo-icon.small::after { font-size: 11px; }

.logo-text { line-height: 1.2; }
.header .logo .logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin: 0;
}
.logo-text span {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 2px;
}

.nav-list { display: flex; gap: 4px; }

.nav-list a {
    display: block;
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: 6px;
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
    background: var(--primary-bg);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* =========================================
   Hero Slider
   ========================================= */
.hero {
    padding-top: 88px;
    height: 620px;
    position: relative;
    overflow: hidden;
}

.hero-slider { position: relative; height: 100%; }

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active { opacity: 1; }

.hero-content {
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.hero-content .hero-sub {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 12px;
    opacity: 0.95;
    letter-spacing: 6px;
}

.hero-content p {
    font-size: 17px;
    margin-bottom: 32px;
    opacity: 0.85;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dots .dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* =========================================
   Section Common
   ========================================= */
.section { padding: 80px 0; }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 14px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    font-family: var(--font);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,119,182,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: #c49650;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212,167,98,0.3);
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-link:hover { color: var(--primary-light); gap: 10px; }

/* =========================================
   Motto Bar
   ========================================= */
.motto-bar {
    background: var(--primary-dark);
    padding: 24px 0;
    text-align: center;
    color: #fff;
}

.motto-bar .motto-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 6px;
    font-style: italic;
}

.motto-bar .motto-sub {
    font-size: 15px;
    opacity: 0.8;
    margin-top: 6px;
    letter-spacing: 3px;
}

/* =========================================
   Features / 核心优势
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* =========================================
   About Section
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--primary-bg);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.about-subtitle {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 2px;
}

.about-text .slogan-line {
    font-size: 16px;
    font-style: italic;
    color: var(--primary-light);
    margin-bottom: 20px;
    padding: 16px 20px;
    background: var(--primary-bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.stat {
    text-align: center;
    padding: 16px 10px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
}

/* =========================================
   Products Section
   ========================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-card .card-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    position: relative;
}

.product-card .card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-card .card-body { padding: 24px; }

.product-card .card-body h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.product-card .card-body p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.6;
}

.product-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-card .card-tags span {
    font-size: 12px;
    padding: 3px 10px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 50px;
}

/* =========================================
   Global Footprint / Map Section
   ========================================= */
.global-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.global-section .section-header h2 { color: #fff; }
.global-section .section-header h2::after { background: #fff; }
.global-section .section-header p { color: rgba(255,255,255,0.75); }
.global-section .section-tag { color: var(--accent); }

.countries-cloud {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.countries-cloud span {
    display: inline-block;
    padding: 8px 18px;
    margin: 6px 4px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 14px;
    transition: var(--transition);
}

.countries-cloud span:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* =========================================
   Partners Section
   ========================================= */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.partner-card {
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.partner-card .partner-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.partner-card h4 {
    font-size: 16px;
    color: var(--primary-dark);
}

.partner-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

/* =========================================
   Cases Section
   ========================================= */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.case-card .case-top {
    padding: 30px 24px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.case-card .case-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.case-card .case-location {
    font-size: 13px;
    color: var(--text-light);
}

.case-card .case-location span {
    color: var(--primary);
    font-weight: 600;
}

.case-card .case-body {
    padding: 0 24px 24px;
}

.case-card .case-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* =========================================
   CTA Bar
   ========================================= */
.cta-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.cta-bar h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-bar p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 28px;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 15px;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font);
    transition: var(--transition);
    outline: none;
    background: var(--bg-light);
    color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary-light);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,119,182,0.08);
}

.contact-form textarea { resize: vertical; margin-bottom: 16px; }

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo h3 { font-size: 18px; color: #fff; }
.footer-about p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.55); }

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}

.footer-links ul li { margin-bottom: 10px; }

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* =========================================
   Back to Top
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

.back-to-top.visible { opacity: 1; visibility: visible; }

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* =========================================
   Inner Page Banner
   ========================================= */
.page-banner {
    padding-top: 88px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-banner .container { position: relative; z-index: 1; }

.page-banner .banner-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 8px;
}

.page-banner h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 16px;
    opacity: 0.85;
}

/* =========================================
   Page Content
   ========================================= */
.page-content { padding: 60px 0; }

.page-content h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-bg);
}

.page-content h4 {
    font-size: 18px;
    color: var(--primary);
    margin: 24px 0 12px;
}

.page-content p {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.9;
}

/* About page specific */
.philosophy-block {
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 30px 0;
    position: relative;
}

.philosophy-block::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.philosophy-block .philo-motto {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.philosophy-block p {
    font-size: 15px;
    line-height: 2;
    text-indent: 2em;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 24px 0 40px;
}

.value-card {
    padding: 30px 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.value-card .value-icon { font-size: 36px; margin-bottom: 12px; }
.value-card h4 {
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 17px;
    border: none;
    padding: 0;
}
.value-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* =========================================
   Product List (Products Page)
   ========================================= */
.product-category {
    margin-bottom: 50px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.product-detail-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.product-detail-card .pdc-header {
    padding: 24px 24px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-detail-card .pdc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.product-detail-card .pdc-header h4 {
    font-size: 17px;
    color: var(--primary-dark);
    border: none;
    padding: 0;
    margin: 0 0 4px;
}

.product-detail-card .pdc-header .pdc-sub {
    font-size: 13px;
    color: var(--text-light);
}

.product-detail-card .pdc-body {
    padding: 0 24px 24px;
}

.product-detail-card .pdc-body .pain-list { margin: 12px 0; }

.product-detail-card .pdc-body .pain-item {
    padding: 8px 12px;
    margin-bottom: 8px;
    background: var(--bg-light);
    border-radius: var(--radius);
    font-size: 13px;
    line-height: 1.6;
    border-left: 3px solid var(--primary-light);
}

.product-detail-card .pdc-body .pain-item strong {
    color: var(--primary-dark);
}

.product-detail-card .pdc-body .spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
}

.product-detail-card .pdc-body .spec-item {
    font-size: 13px;
    color: var(--text-light);
}

.product-detail-card .pdc-body .spec-item strong {
    color: var(--primary);
}

/* Product comparison table */
.compare-table-wrap {
    overflow-x: auto;
    margin: 24px 0;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table th,
.compare-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border);
}

.compare-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.compare-table tr:nth-child(even) {
    background: var(--bg-light);
}

.compare-table td:first-child {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Product spec table (for standard machines) */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.spec-table th,
.spec-table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: center;
}

.spec-table th {
    background: var(--primary-dark);
    color: #fff;
    font-weight: 600;
}

.spec-table tr:nth-child(even) { background: var(--bg-light); }

/* =========================================
   Cases Page
   ========================================= */
.case-list { max-width: 900px; margin: 0 auto; }

.case-item {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    gap: 24px;
}

.case-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.case-item .case-main-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.case-item h4 {
    font-size: 18px;
    color: var(--primary-dark);
    border: none;
    padding: 0;
    margin: 0 0 4px;
}

.case-item .case-loc {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.case-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* =========================================
   Contact Page
   ========================================= */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.map-placeholder {
    width: 100%;
    height: 260px;
    background: var(--primary-bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    margin-top: 16px;
    font-size: 14px;
}

/* Social QR placeholders */
.qr-grid {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.qr-item {
    text-align: center;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.qr-item span {
    font-size: 12px;
    color: var(--text-light);
}

/* =========================================
   Product Page - Sub-section styles for pain points
   ========================================= */
.product-sub-section {
    margin-bottom: 40px;
}

.product-sub-section .sub-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.product-sub-section .sub-header .sub-icon {
    font-size: 32px;
}

.product-sub-section .sub-header h4 {
    font-size: 20px;
    color: var(--primary-dark);
    margin: 0;
    border: none;
    padding: 0;
}

.product-sub-section .sub-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.pain-solution-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.pain-solution-card:hover {
    box-shadow: var(--shadow);
}

.pain-solution-card .pain-title {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 14px;
    margin-bottom: 6px;
}

.pain-solution-card .pain-title .pain-num {
    color: var(--accent);
    margin-right: 8px;
}

.pain-solution-card .pain-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.pain-solution-card .solution-text {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-top: 6px;
    padding-left: 16px;
    border-left: 3px solid var(--primary-light);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-list { flex-direction: column; gap: 8px; }
    .nav-list a { padding: 12px 16px; font-size: 16px; }
    .menu-toggle { display: flex; }

    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero { height: 450px; }
    .hero-content h2 { font-size: 32px; }
    .hero-content .hero-sub { font-size: 16px; letter-spacing: 3px; }
    .hero-content p { font-size: 15px; }
    .hero-tag { font-size: 11px; padding: 4px 14px; }

    .section { padding: 60px 0; }
    .section-header h2 { font-size: 26px; }

    .motto-bar .motto-text { font-size: 20px; letter-spacing: 3px; }

    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }

    .features-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .case-item { flex-direction: column; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-page-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .page-banner { height: 220px; }
    .page-banner h2 { font-size: 30px; }

    .philosophy-block { padding: 24px; }
    .philosophy-block .philo-motto { font-size: 18px; }
    .values-grid { grid-template-columns: 1fr; }

    .product-detail-grid { grid-template-columns: 1fr; }
    .spec-table { font-size: 12px; }
    .spec-table th,
    .spec-table td { padding: 8px 10px; }

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

/* =========================================
   News Tabs & List
   ========================================= */
.news-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
}

.news-tab {
    padding: 10px 24px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    color: var(--text-light);
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.news-tab:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.news-tab.active {
    background: var(--primary);
    color: #fff;
}

/* News list items */
.news-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 16px;
}

.news-list-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    cursor: pointer;
}

.news-list-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: var(--primary-light);
}

.nli-category {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}

.nli-content h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin: 0 0 10px;
    line-height: 1.5;
    border: none;
    padding: 0;
}

.nli-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 14px;
    line-height: 1.7;
}

.nli-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
}

.nli-read-more {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.news-list-item:hover .nli-read-more {
    gap: 8px;
}

/* =========================================
   News Detail
   ========================================= */
.news-detail-article h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin: 28px 0 12px;
    border: none;
    padding: 0;
}

.news-detail-article p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 18px;
    color: var(--text);
}

.news-detail-article strong {
    color: var(--primary-dark);
}

.news-detail-body {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .news-detail-body { padding: 24px; }
    .news-tabs { gap: 6px; }
    .news-tab { padding: 8px 16px; font-size: 14px; }
    .news-list-item { padding: 20px; }
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .hero-content h2 { font-size: 26px; }
    .partners-grid { grid-template-columns: 1fr; }
    .qr-grid { flex-direction: column; align-items: center; }
}