﻿/* ===== HEX TECH 鈥?Tech & Health Theme ===== */
/* Main stylesheet 鈥?compiled from base.html inline CSS */
/* v2026-06-03 */

/* ============================================================
   HEX TECH 閳?Tech & Health Theme
   Professional blue + white + green accent
   ============================================================ */

/* ===== Google Fonts (academic serif + clean sans) ===== */
/* System fonts only (removed Google Fonts for performance) */

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

:root {
    /* Warm Precision - Refined 2026 Palette */
    --primary: #1a1a1a;       /* Black - primary actions */
    --primary-light: #4a4a4a;      /* Dark gray for hover states */
    --primary-dark:  #000000;       /* Pure black for depth */
    --accent: #059669;      /* Health Green - more natural */
    --warm:  #D97706;        /* Warm amber - new! for highlights */
    --navy:          #000000;
    --text:          #111827;       /* Deeper text for better contrast */
    --text-muted:    #64748B;
    --text-light:    #94A3B8;
    --bg:            #FAFAF8;      /* Warmer background */
    --bg-alt:        #F5F5F5;
    --bg-card:       #FFFFFF;       /* Cleaner white cards */
    --border:        #E0E0E0;
    --border-light:  #EEEEEE;
    --radius:        12px;
    --radius-sm:     8px;
    --shadow:        0 2px 8px rgba(0,0,0,0.04);
    --shadow-hover:  0 8px 28px rgba(32,87,208,0.15);
    --max-w:         1200px;
    --nav-height:    72px;
    --font-display:  'Playfair Display', 'Noto Serif SC', Georgia, 'Times New Roman', serif;
    --font-body:     -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
    --font:          var(--font-body);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main > div {
    flex: 1;
}
main { background: linear-gradient(180deg, #FDFBF7 0%, #FAFAF8 100%); }

/* Typography - Clean Medical-Tech */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

h1 { font-size: 52px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }

p { margin-bottom: 1.2em; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

img { max-width: 100%; height: auto; }
small { font-size: 12px; color: var(--text-muted); }

/* ===== Header / Navigation ===== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, #FDFBF7 0%, #FAFAF8 100%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 6px 0 6px 5px;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    width: 160px;
    flex-shrink: 0;
    margin-left: 0;
    padding-left: 0;
}

.logo-shift {
    margin-left: -7cm;
}

.logo-text {
    font-family: 'Microsoft YaHei', '瀵邦喛钂嬮梿鍛寸拨', var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: #000;
    letter-spacing: 1.5px;
    white-space: nowrap;
    line-height: 1.2;
}

.logo-text span {
    color: var(--accent);
}

/* Navigation */
nav {
    display: flex;
    gap: 40px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.header-inner {
    padding-left: 20px;
    padding-right: 20px;
}

nav a {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

nav a:hover {
    color: var(--primary);
    background: rgba(37,99,235,0.06);
    text-decoration: none;
}

/* Nav dropdown for product categories */
nav .nav-item {
    position: relative;
    display: inline-block;
}
nav .nav-item > a {
    display: inline-block;
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
    z-index: 200;
    padding: 6px 0;
}
nav .nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
    border-radius: 0;
}
.nav-dropdown a:hover {
    background: rgba(37,99,235,0.06);
    color: var(--primary);
}
.nav-dropdown .dropdown-count {
    font-size: 11px;
    color: var(--text-light);
    margin-left: 6px;
}

/* ===== Language Picker Sidebar ===== */
#langPicker {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 280px;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
#langPicker.open {
    transform: translateX(0);
}
#langPicker .picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
#langPicker .picker-header h3 {
    font-size: 18px;
    margin: 0;
}
#langPicker .close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
}
#langPicker .close-btn:hover {
    color: var(--text);
}
#langPicker .lang-options {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}
#langPicker .lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 4px;
    font-size: 15px;
    color: var(--text);
    text-decoration: none;
}
#langPicker .lang-option:hover {
    background: var(--bg-alt);
}
#langPicker .lang-option.active {
    background: rgba(37,99,235,0.08);
    color: var(--primary);
    font-weight: 600;
}
#langPicker .lang-option .lang-code {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 500;
}
#langPickerOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    display: none;
}
#langPickerOverlay.show {
    display: block;
}

/* Header actions (search, cart, language, hamburger) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-actions .action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    background: rgba(37,99,235,0.04);
}

.header-actions .action-btn:hover {
    background: rgba(37,99,235,0.12);
    color: var(--primary);
    transform: translateY(-1px);
}

.header-actions .phone-btn {
    gap: 8px;
    padding: 0;
    width: auto;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-right: 0;
}

.header-actions .phone-text {
    white-space: nowrap;
    font-size: 22px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text);
    padding: 4px 8px;
    line-height: 1;
}

/* Mobile nav */
@media (max-width: 900px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        gap: 0;
    }
    nav.open {
        display: flex;
    }
    nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
        font-size: 16px;
    }
    nav a:last-child {
        border-bottom: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header-actions .action-btn {
        font-size: 15px;
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 12px 16px;
    }
    .logo-text {
        font-size: 18px;
        letter-spacing: 0.5px;
    }
}

/* ===== Page Hero ===== */

/* ===== Hero (original structure, May 14 styling) ===== */

/* Hero buttons */

/* ===== Section Blocks ===== */
.section { padding: 72px 0; }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Page-level gradient backgrounds: clean medical-tech */
.about-page,
.product-page,
.news-page,
.cases-page {
  background: linear-gradient(180deg, #FDFBF7 0%, #FAFAF8 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.section-title h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    margin: 14px auto 0;
}
.section-title p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    margin-top: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Filter Tabs (underline style) ===== */
.filter-tabs {
    display: flex;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}
.filter-tabs a {
    padding: 8px 22px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.filter-tabs a:hover { color: var(--primary); }
.filter-tabs a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}
.filter-tabs .filter-count {
    display: inline-block;
    font-size: 11px;
    color: var(--text-light);
    margin-left: 4px;
}
.filter-tabs a.active .filter-count { color: var(--primary); }

/* ===== Product Grid (academic paper-like) ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.product-img {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-img .placeholder-icon { text-align: center; color: var(--text-light); }
.product-img .placeholder-icon svg { width: 36px; height: 36px; opacity: 0.15; }
.product-img .placeholder-icon span { display: block; font-size: 11px; margin-top: 6px; opacity: 0.25; }

.product-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cat-tag {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.product-body h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.35;
}
.product-body h3 a { color: var(--navy); text-decoration: none; }
.product-body h3 a:hover { color: var(--primary); }
.model-tag { font-size: 14px; color: var(--text-light); margin-bottom: 10px; }
.product-body p {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 10px;
    flex: 1;
}
.price {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 8px;
}

/* ===== Product Grid - 3 Columns ===== */
.product-grid--3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .product-grid--3col {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .product-grid--3col {
        grid-template-columns: 1fr;
    }
}

/* ===== Product Card - Square Image ===== */
.product-img--square {
    aspect-ratio: 1/1;
}

/* ===== Inquiry Button on Card ===== */
.product-inquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 8px;
    align-self: flex-start;
    letter-spacing: 0.02em;
}
.product-inquiry-btn:hover {
    background: var(--primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

/* ===== Product Hero Banner ===== */
.product-hero {
    background: linear-gradient(180deg, #FAFAF8 0%, #F5F0E8 100%);
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}
.product-hero.has-bg-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 60px;
}
.product-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.60) 100%);
    pointer-events: none;
}
.product-hero.has-bg-img .product-hero-inner {
    position: relative;
    z-index: 2;
}
.product-hero.has-bg-img .product-hero-title {
    color: #fff;
}
.product-hero.has-bg-img .product-hero-subtitle {
    color: rgba(255,255,255,0.85);
}
.product-hero.has-bg-img .product-hero-subtitle {
    color: rgba(255,255,255,0.85);
}
.product-hero.has-bg-img .product-hero-desc {
    color: rgba(255,255,255,0.7);
}
.product-hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}
.product-hero-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.product-hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 600px;
}
.product-hero-desc {
    font-size: 14px;
    color: var(--text-light);
    max-width: 600px;
    margin: 12px 0 0;
    line-height: 1.7;
}

/* ===== Product List: Two-Column Layout ===== */
.product-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== Sidebar ===== */
.product-sidebar {
    position: sticky;
    top: 100px;
}
@media (max-width: 900px) {
    .product-sidebar {
        position: static;
    }
}

.sidebar-search {
    position: relative;
    margin-bottom: 24px;
}
.sidebar-search-input {
    width: 100%;
    padding: 10px 36px 10px 14px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.sidebar-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.04);
}
.sidebar-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.sidebar-block {
    margin-bottom: 28px;
}
.sidebar-block-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}
.sidebar-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-filter-list li {
    margin-bottom: 2px;
}
.sidebar-filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
}
.sidebar-filter-list a:hover {
    background: var(--bg-alt);
}
.sidebar-filter-list a.active {
    background: rgba(0,0,0,0.04);
    font-weight: 600;
    color: var(--primary);
}
.sidebar-filter-list .filter-count {
    font-size: 12px;
    color: var(--text-light);
}
.sidebar-filter-list a.active .filter-count {
    color: var(--primary);
}

/* ===== Product Main Area ===== */
.product-main {
    min-height: 400px;
}

/* Sidebar Layout ===== */

/* ===== Product List Page ===== */
.page-title-bar {
    text-align: center;
    margin-bottom: 32px;
}

.page-title-bar h1 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.page-title-bar p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
}

.page-link:hover {
    color: var(--primary);
    border-color: var(--primary-light);
    background: #f0f5ff;
}

.page-link.active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
}

/* ===== 閺嶇绺鹃幎鈧張顖欏瘨閻愮櫢绱欐０鍕殌濡€虫健閿?===== */

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.25s;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.08);
    border-color: var(--primary-light);
}

.highlight-icon {
    font-size: 40px;
    margin-bottom: 16px;
    line-height: 1;
}

.highlight-card h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.highlight-card p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ===== About Page (centered academic layout) ===== */
.about-page {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 0 60px;
}

.about-page > .about-hero,
.about-page > .about-stats-section,
.about-page > .about-blocks-wrapper,
.about-page > .about-tech-highlights,
.about-page > .about-team-section {
    padding-left: 32px;
    padding-right: 32px;
}

.about-block {
    margin-bottom: 44px;
    text-align: left;
}

.about-block h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 8px;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
    border-bottom: none;
    display: block;
}

.about-block p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 2;
    color: var(--text);
    margin: 0 0 16px;
    text-align: left;
}

.about-block ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 680px;
    text-align: left;
}

.about-block ul li {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 2;
    color: var(--text);
    padding: 6px 0 6px 24px;
    position: relative;
    margin-bottom: 2px;
}

.about-block ul li::before {
    content: '\25B8';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ===== Advantages Grid ===== */

/* ===== Trust Bar ===== */

/* ===== CTA (minimal) ===== */

/* ===== Footer (dark academic) ===== */
footer {
    background: #1b1f24;
    border-top: none;
    color: #b0b8c8;
    padding: 20px 0 0;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.8;
}
footer a { color: #8895a7; }
footer a:hover { color: #fff; }
footer p { color: #b0b8c8; }

.footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
    text-align: center;
}
.footer-col h4 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: #e0e4ea;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 3px; }
.footer-col ul li a { font-size: 12px; }
.footer-logo {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    display: block;
}
.footer-logo span { color: var(--primary-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 32px;
    padding: 10px 20px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 11px;
    color: #6b7c8a;
}

/* ===== Messages ===== */
.messages { max-width: var(--max-w); margin: 16px auto 0; padding: 0 20px; }
.message {
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    margin-bottom: 8px;
    border-radius: var(--radius);
    color: #fff;
}
.message.success { background: #27ae60; }
.message.error { background: #e74c3c; }
.message.warning { background: #e67e22; }
.message.info { background: var(--primary); }

/* ===== About Preview (home page) ===== */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.about-stats .stat-label {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

/* ===== Product Detail ===== */
.product-detail { padding: 40px 0; }
.product-intro-col { border-left: 4px solid #f97316; padding-left: 20px; }
.product-intro-col .price { font-size: 24px; font-weight: 700; color: var(--primary); }
.product-intro-col .meta { font-size: 13px; color: var(--text-muted); }
.product-detail-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}
.product-left-group {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    flex: 1;
    min-width: 0;
}
.product-gallery { min-width: 0; }
.product-gallery .main-img {
    background: var(--bg);
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}
.product-gallery .main-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.product-gallery .thumbnails {
    display: flex; gap: 8px; margin-top: 10px;
    overflow-x: auto; padding-bottom: 4px;
}
.product-gallery .thumbnails img {
    width: 60px; height: 60px;
    object-fit: cover; border-radius: 4px;
    cursor: pointer; border: 2px solid transparent;
    transition: border-color 0.2s;
}
.product-gallery .thumbnails img:hover,
.product-gallery .thumbnails img.active {
    border-color: var(--primary);
}
.product-info h1 {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 700;
    color: var(--navy); margin-bottom: 12px;
}
.product-info .model-tag {
    display: inline-block;
    font-size: 12px; color: var(--text-muted);
    background: var(--bg-alt); padding: 2px 10px;
    border-radius: 3px; margin-bottom: 12px;
}
.product-info .price {
    font-family: var(--font-display);
    font-size: 24px; color: #c0392b;
    margin-bottom: 18px;
}
.product-info .description {
    font-family: var(--font-body);
    font-size: 16px; line-height: 1.9;
    color: var(--text); margin-bottom: 20px;
}
.product-info .btn { margin-top: 8px; }
.product-intro-col {
    flex: 0 0 360px;
    max-width: 420px;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    font-family: var(--font-body);
    font-size: 14px; line-height: 1.8;
    color: var(--text);
}
.product-intro-col h3 {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700;
    color: var(--navy); margin-bottom: 10px;
}

/* Product Tools: 娴溠冩惂鐠у嫭鏋?+ 鎼存梻鏁ょ憴鍡涱暥 */
.product-tools {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 16px auto 0;
    max-width: 100%;
}

.product-tools .tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    background: #fff;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    line-height: 1.4;
}

.product-tools .tool-btn svg {
    flex-shrink: 0;
    color: var(--primary);
    transition: color 0.2s;
}

.product-tools .tool-btn:hover {
    background: var(--bg-alt);
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}

.product-tools .tool-btn:hover svg {
    color: var(--primary);
}

.product-tools .tool-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Video Modal (inline styles used in product_detail.html) */
/* ===== Page header (news) ===== */
/* Page header, no background - use gradient from parent */
.page-header {
    border-top: 1px solid var(--border);
    border-bottom: none;
    text-align: center;
    padding: 40px 20px 56px;
}
.page-header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.page-header h1 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.page-header p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== Pill badge (about/contact) ===== */
.pill {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(37,99,235,0.08);
    padding: 3px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    /* Product detail: medium screen */
    .product-left-group {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .product-gallery .main-img {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root { --nav-height: 60px; }

    .section { padding: 36px 0; }
    .product-grid { gap: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .product-detail-grid { flex-direction: column; gap: 24px; align-items: stretch; }
    .filter-tabs { justify-content: flex-start; overflow-x: auto; }
    .filter-tabs a { padding: 8px 14px; font-size: 11px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .filter-tabs a { padding: 6px 12px; font-size: 11px; }
}


/* 閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜
   Homepage Design 閳?Tech + Health (+new sections)
   閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜 */

/* 閳光偓閳光偓 Hero / Brand Banner 閳光偓閳光偓 */

/* 閳光偓閳光偓 Tech Highlights Upgrade 閳光偓閳光偓 */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 20px auto 0;
  padding: 0 20px;
}
.highlight-card {
  text-align: center;
  padding: 40px 24px 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: default;
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}
.highlight-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.08);
  border-radius: 16px;
  color: var(--primary);
  transition: all 0.3s ease;
}
.highlight-card:hover .highlight-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}
.highlight-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.highlight-card .highlight-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.highlight-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Highlight cards: colored backgrounds, remove round corners & border */





/* 閳光偓閳光偓 About Section (stats row + 2-col features) 閳光偓閳光偓 */

/* Stats Row */
.stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0.85;
}
.stat-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* About content row */

/* Features 2-column */

/* 閳光偓閳光偓 CTA section 閳光偓閳光偓 */

/* ===== Products Showcase ===== */
.products-showcase {
    background: linear-gradient(180deg, #FAFAF8 0%, #F5F0E8 100%);
    padding: 72px 0;
}

.products-showcase .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.products-showcase .section-title h2 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.products-showcase .section-title p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.products-showcase .products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

@media (max-width: 1200px) {
    .products-showcase .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .products-showcase .products-grid {
        grid-template-columns: 1fr;
    }
}

.products-showcase .product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-showcase .product-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.products-showcase .product-img {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    position: relative;
    background: var(--bg-alt);
}

.products-showcase .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.products-showcase .product-card:hover .product-img img {
    transform: scale(1.05);
}

.products-showcase .product-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.05);
    color: var(--text-muted);
}

.products-showcase .product-body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.products-showcase .product-body h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.products-showcase .product-body h3 a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s;
}

.products-showcase .product-body h3 a:hover {
    color: var(--primary);
}

.products-showcase .product-body p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.products-showcase .btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.products-showcase .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 768px) {
    .products-showcase {
        padding: 48px 0;
    }
    
    .products-showcase .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .products-showcase .product-body {
        padding: 20px;
    }
}

/* 閳光偓閳光偓 Section defaults 閳光偓閳光偓 */
.section-title.home-title { padding: 0 20px; }
.section-title.home-title h2 { font-size: 34px; font-weight: 700; }
.section-title.home-title p { font-size: 16px; }

/* 閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜
   Enterprise Homepage (Banner Carousel + 50:50 About)
   閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜閳烘劏鏅查埡鎰ㄦ櫜 */

/* 閳光偓閳光偓 Full-width Banner Carousel (infoinstruments style) 閳光偓閳光偓 */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
}
.banner-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    z-index: 1;
}
.banner-slide.active {
    opacity: 1;
    z-index: 2;
}
.banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30,41,59,0.30) 0%, rgba(30,41,59,0.55) 100%);
    z-index: 1;
}
.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px 20px 0;
    text-align: right;
}


/* Banner text positions */

.banner-content-center {
    align-items: center;
    text-align: center;
}
.banner-content-center .banner-text {
    text-align: center;
    max-width: 60%;
}
.banner-content-center .banner-subtitle {
    margin-left: auto;
    margin-right: auto;
}


/* Banner Video Wrapper */

@media (max-width: 768px) {
    
    /* Tech Highlights Responsive */
    
    /* Stats Row Responsive */
    
    /* Features Grid Responsive */
    
    /* Home About Responsive */
    
    /* About 50:50 Responsive */
    
    /* Section Title Responsive */
    .section-title h2 {
        font-size: 28px;
    }
}
.banner-text {
    max-width: 100%;
    text-align: right;
    flex-shrink: 0;
    margin-bottom: 12px;
}

.banner-text h1 {
    animation: bannerSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.banner-text p {
    animation: bannerSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.banner-text a {
    animation: bannerSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.banner-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -1px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.banner-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: rgba(255,255,255,0.92);
    line-height: 1.6;
    margin: 0 auto 28px;
    letter-spacing: 1.5px;
    font-weight: 400;
    max-width: 560px;
}
.banner-btn {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 8px;
    padding: 14px 32px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    color: #fff;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.banner-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
}
.banner-arrow:hover { background: rgba(255,255,255,0.18); transform: translateY(-50%) scale(1.05); }
.banner-arrow-left { left: 32px; }
.banner-arrow-right { right: 32px; }

/* Dots */
.banner-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.banner-dot.active { background: #fff; width: 28px; border-radius: 4px; }
.banner-dot:hover { background: rgba(255,255,255,0.7); }

/* 閳光偓閳光偓 50:50 About Section 閳光偓閳光偓 */
/* Hide old hero section styles that conflict */

/* ===== Scenario Solutions ===== */
.scenario-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FAFAF8 0%, #F5F0E8 100%);
}
.scenario-section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.scenario-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}
.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-color: #CBD5E1;
}
.scenario-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.scenario-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.scenario-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--bg-alt);
    color: var(--text-muted);
}

/* ===== About 50/50 ===== */

/* ===== About Video Player ===== */

/* ===== About Video Hero Section ===== */

/* ===== Products Showcase ===== */
.products-showcase {
    padding: 80px 0;
}
.products-showcase .section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.product-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.product-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 32px;
}
.product-body {
    padding: 20px;
}
.product-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 8px;
    text-decoration: none;
}

/* Section title shared */
.section-title {
    text-align: center;
    margin-bottom: 20px;
}
.section-title h2 {
    margin-bottom: 8px;
}
.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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


/* ===== About Page ===== */
.about-page { overflow: hidden; }
.about-wave-bg { position: relative; height: 0; overflow: hidden; }
.about-wave-svg { position: absolute; width: 200%; height: 100%; }
.about-wave-1 { top: 0; }
.about-wave-2 { top: -10px; }

.about-hero { padding: 60px 0 40px; }
.about-hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-hero-image-wrap { position: relative; border-radius: var(--radius); overflow: hidden; max-width: 500px; }
.about-hero-image-frame { background: var(--bg-alt); border-radius: var(--radius); padding: 0; }
.about-hero-image { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.about-hero-image-placeholder { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 14px; }
.about-hero-text { }
.about-hero-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); margin-bottom: 12px; }
.about-hero-title { font-size: 36px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 8px; }
.about-hero-subtitle { font-size: 16px; color: var(--text-muted); margin-bottom: 16px; }
.about-hero-desc p { color: var(--text-muted); font-size: 14px; line-height: 1.8; margin-bottom: 12px; }

.about-stats-section { padding: 40px 0; background: linear-gradient(180deg, #FDFBF7 0%, #FAFAF8 100%); }
.about-stats-section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.about-stats.about-stats-fullwidth { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-stat-item { text-align: center; padding: 24px 16px; background: #fff; border-radius: var(--radius); }
.about-stat-num { font-size: 36px; font-weight: 700; color: var(--primary); line-height: 1; }
.about-stat-unit { font-size: 13px; color: var(--text-muted); margin-top: 6px; display: block; }
.about-stat-bar { height: 3px; background: var(--primary-light); border-radius: 2px; margin: 12px auto 0; width: 40px; }

.about-tech-highlights { padding: 60px 0; }
.about-blocks-wrapper { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.about-grid-new { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.about-block { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.about-block h3 { font-size: 18px; margin-bottom: 12px; }
.about-block ul { padding-left: 18px; margin: 0; }
.about-block li { color: var(--text-muted); font-size: 14px; line-height: 1.8; margin-bottom: 4px; }
.about-block p { color: var(--text-muted); font-size: 14px; line-height: 1.8; }

.about-team-section { text-align: center; padding: 60px 0; }
.about-team-header { margin-bottom: 32px; }
.about-team-title { font-size: 28px; margin-bottom: 4px; }
.about-team-subtitle { color: var(--text-muted); font-size: 13px; }
.about-team-photo-wrap { position: relative; display: inline-block; max-width: 900px; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.about-team-photo { width: 100%; height: auto; display: block; }
.about-team-photo-placeholder { padding: 60px 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-light); }
.team-hotspot-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.team-hotspot { position: absolute; border-radius: 50%; cursor: pointer; pointer-events: auto; }
.hotspot-inner { display: block; width: 100%; height: 100%; border-radius: 50%; background: rgba(255,255,255,0.8); border: 2px solid var(--primary); }
.team-hotspot-tooltip { position: fixed; z-index: 1000; display: none; pointer-events: none; }
.tooltip-name { font-weight: 600; font-size: 14px; color: var(--text); }
.tooltip-position { font-size: 12px; color: var(--text-muted); }

@media (max-width: 768px) {
    .about-hero-inner { grid-template-columns: 1fr; gap: 24px; }
    .about-stats.about-stats-fullwidth { grid-template-columns: repeat(2, 1fr); }
    .about-grid-new { grid-template-columns: 1fr; }
}


/* ===== Product Detail ===== */
.product-gallery { position: relative; }
.main-img { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); position: relative; }
.main-img img { width: 100%; display: block; }
.product-tools { margin-top: 16px; display: flex; gap: 12px; }
.tool-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 13px; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.tool-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(37,99,235,0.04); }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: var(--primary); color: #fff; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; transition: all 0.2s; border: none; cursor: pointer; text-decoration: none; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ===== Inquiry Modal ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group .required { color: #ef4444; }




/* ===== About Dark Section (Bottom) ===== */
/* ===== About Dark Section (Bottom) ===== */
.about-dark-bottom {
    background: linear-gradient(180deg, #FAFAF8 0%, #F5F0E8 100%);
    padding: 80px 0 64px;
    text-align: center;
}

.about-dark-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

.about-dark-tag {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    display: block;
}

.about-dark-inner h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.about-dark-desc {
    font-size: 15px;
    line-height: 1.9;
    color: #4B5563;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-dark-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.about-dark-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
    font-family: var(--font-body);
    cursor: pointer;
}

.about-dark-btn-primary {
    background: #000;
    color: #fff;
}

.about-dark-btn-primary:hover {
    background: #333;
    color: #fff;
}

.about-dark-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.about-dark-play:hover {
    color: #000;
    border-color: #000;
}

@media (max-width: 768px) {
    .about-dark-inner h2 { font-size: 24px; }
    .about-dark-actions { flex-direction: column; }
}


/* Banner Text Animations */
@keyframes bannerSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== Team Full Width Section ===== */
.about-team-full {
    background: linear-gradient(180deg, #F1F5F9 0%, #FAFAF8 100%);
    padding: 60px 32px;
    text-align: center;
}

.about-team-full .about-team-section {
    max-width: 1000px;
    margin: 0 auto;
}

.about-team-full .about-team-photo-wrap {
    max-width: none;
    width: 100%;
}

.about-team-full .about-team-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.about-team-full .about-team-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ===== Cookie Consent Banner ===== */
#cookieBanner { position:fixed;bottom:0;left:0;right:0;z-index:9999;background:#1E293B;color:#fff;padding:14px 24px;display:none;font-size:14px;line-height:1.6;box-shadow:0 -4px 12px rgba(0,0,0,0.15); }
#cookieBanner .cookie-inner { max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap; }
#cookieBanner p { margin:0;font-size:13px;color:#CBD5E1; }
#cookieBanner a { color:#60A5FA;text-decoration:underline; }
#cookieBanner .cookie-btn { background:#2563EB;color:#fff;border:none;padding:8px 20px;border-radius:6px;cursor:pointer;font-size:13px;font-weight:600;white-space:nowrap;flex-shrink:0; }
#cookieBanner .cookie-btn:hover { background:#1D4ED8; }
@media (max-width:600px) { #cookieBanner { padding:12px 16px; } #cookieBanner .cookie-inner { flex-direction:column;align-items:stretch;text-align:center; } }
/* ============================================================
   About Page 鈥?Tech Highlights
   ============================================================ */
.about-tech-highlights {
    padding: 64px 0 24px;
    background: linear-gradient(180deg, #FDFBF7 0%, #FAFAF8 100%);
    max-width: none;
}

.about-tech-highlights .highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}

.about-tech-highlights .highlight-card {
    text-align: center;
    padding: 32px 24px 28px;
    background: #f8faff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-tech-highlights .highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.about-tech-highlights .highlight-card:nth-child(1)::before { background: #2563EB; }
.about-tech-highlights .highlight-card:nth-child(2)::before { background: #1D4ED8; }
.about-tech-highlights .highlight-card:nth-child(3)::before { background: #3B82F6; }
.about-tech-highlights .highlight-card:nth-child(4)::before { background: #10B981; }
.about-tech-highlights .highlight-card:nth-child(5)::before { background: #059669; }
.about-tech-highlights .highlight-card:nth-child(6)::before { background: #34D399; }

.about-tech-highlights .highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    border-color: #CBD5E1;
}

.about-tech-highlights .highlight-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: color 0.3s;
}

.about-tech-highlights .highlight-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.about-tech-highlights .highlight-card:nth-child(1) .highlight-icon { color: #2563EB; }
.about-tech-highlights .highlight-card:nth-child(2) .highlight-icon { color: #1D4ED8; }
.about-tech-highlights .highlight-card:nth-child(3) .highlight-icon { color: #3B82F6; }
.about-tech-highlights .highlight-card:nth-child(4) .highlight-icon { color: #10B981; }
.about-tech-highlights .highlight-card:nth-child(5) .highlight-icon { color: #059669; }
.about-tech-highlights .highlight-card:nth-child(6) .highlight-icon { color: #34D399; }

.about-tech-highlights .highlight-card:hover .highlight-icon {
    color: #1E293B !important;
}

.about-tech-highlights .highlight-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 6px;
    line-height: 1.35;
}

.about-tech-highlights .highlight-card .highlight-tagline {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.about-tech-highlights .highlight-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    max-width: 320px;
}

@media (max-width: 768px) {
    .about-tech-highlights .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 32px;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .about-tech-highlights .highlights-grid {
        grid-template-columns: 1fr;
        padding: 0 24px;
        gap: 20px;
    }
}

/* ============================================================
   Product Detail Page
   ============================================================ */

/* Breadcrumb */
.product-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.product-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.product-breadcrumb a:hover { color: var(--primary); }
.product-breadcrumb .current { color: var(--accent); font-weight: 500; }

/* Medical Notice */
.medical-notice {
    max-width: 1000px;
    margin: 0 auto 16px;
    padding: 0 20px;
}
.medical-notice-inner {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #9A3412;
    line-height: 1.6;
}

/* Price & Cart Row */
.price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.price-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}
.price-note {
    font-size: 13px;
    color: var(--text-light);
}
.cart-form { margin-top: 12px; }
.cart-form-inner {
    display: flex;
    gap: 10px;
    align-items: center;
}
.cart-qty {
    width: 64px;
    padding: 10px 8px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
}
.cart-submit {
    padding: 10px 24px;
}

/* Inquiry Section */
.inquiry-section {
    margin-top: 0;
}
.inquiry-section.both-mode { margin-top: 16px; }
.inquiry-btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.inquiry-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}
.inquiry-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Specs Table */
.specs-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.specs-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.specs-table { width: 100%; font-size: 13px; line-height: 2; }
.specs-table td:first-child {
    color: var(--text-muted);
    padding-right: 12px;
    white-space: nowrap;
}
.specs-table td:last-child { color: var(--text); }



.placeholder-caption {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-light);
    opacity: 0.6;
}

/* ============================================================
   News List Page
   ============================================================ */
.news-list { max-width: 860px; margin: 0 auto; }
.news-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.news-item-img {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    border-radius: 4px;
    overflow: hidden;
}
.news-item-img img { width: 100%; height: 100%; object-fit: cover; }
.news-item-body { flex: 1; }
.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.news-category {
    font-size: 11px;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
}
.news-category.company { background: #6366f1; }
.news-category.industry { background: #22c55e; }
.news-category.tech     { background: #f59e0b; }
.news-date { font-size: 12px; color: var(--text-muted); }
.news-title {
    font-size: 16px;
    margin: 0 0 6px;
}
.news-title a { color: var(--text); text-decoration: none; }
.news-title a:hover { color: var(--primary); }
.news-summary {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}
.news-readmore {
    font-size: 12px;
    color: var(--primary-light);
    margin-top: 8px;
    display: inline-block;
    text-decoration: none;
}
.news-readmore:hover { color: var(--primary); }
.news-empty {
    text-align: center;
    padding: 80px 20px;
}
.news-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}
.news-empty p { color: var(--text-muted); }

@media (max-width: 600px) {
    .news-item { flex-direction: column; }
    .news-item-img { width: 100%; height: 180px; }
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-wrapper { max-width: 600px; margin: 0 auto; }
.contact-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    line-height: 2.5;
}
.contact-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px;
    font-size: 15px;
}
.contact-label { font-weight: 600; color: var(--primary); }
.contact-value { color: var(--text-muted); }

/* ============================================================
   Success Cases Page
   ============================================================ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.case-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.case-card-img {
    height: 200px;
    overflow: hidden;
}
.case-card-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card-body { padding: 20px; }
.case-client {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.case-card-title { font-size: 16px; margin: 0 0 8px; }
.case-card-summary {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 12px;
    line-height: 1.6;
}
.case-card-link {
    font-size: 12px;
    color: var(--primary-light);
    text-decoration: none;
}
.case-card-link:hover { color: var(--primary); }
.cases-empty { text-align: center; padding: 80px 20px; }
.cases-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.3; }
.cases-empty p { color: var(--text-muted); }

/* ============================================================
   News Detail Page
   ============================================================ */
.news-detail-header { padding: 32px 0; }
.news-detail-back { margin-bottom: 8px; }
.news-detail-back a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}
.news-detail-back a:hover { color: var(--primary); }
.news-detail-title { font-size: 24px; margin: 0 0 8px; }
.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}
.news-detail-cover {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 24px;
}
.news-detail-cover img { width: 100%; max-height: 400px; object-fit: cover; }
.news-detail-summary {
    background: var(--bg-alt);
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    border-left: 3px solid var(--primary-light);
}
.news-detail-summary p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}
.news-detail-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
    white-space: pre-wrap;
}
.news-detail-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.news-detail-footer a { font-size: 14px; color: var(--primary-light); text-decoration: none; }
.news-detail-footer a:hover { color: var(--primary); }

.news-detail-section { padding-top: 0; }
.news-detail-inner { max-width: 800px; }

/* ============================================================
   Video Center Page
   ============================================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.video-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.video-thumb {
    position: relative;
    background: #000;
    aspect-ratio: 16 / 9;
}
.video-thumb img,
.video-thumb video {
    width: 100%;
    height: 100%;
    display: block;
}
.video-thumb img { object-fit: cover; }
.video-thumb video { object-fit: contain; }
.video-card-body { padding: 16px; }
.video-card-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.video-card-tag .tag {
    font-size: 11px;
    background: var(--primary-light);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
}
.video-card-title { font-size: 15px; margin: 0 0 4px; }
.video-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}
.videos-empty { text-align: center; padding: 80px 20px; }
.videos-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.3; }
.videos-empty p { color: var(--text-muted); }

/* ============================================================
   Utility Overrides
   ============================================================ */
.section-top-sm { padding-top: 24px; }

/* Home page anchor cards: ensure no underline */
.products-showcase .product-card { text-decoration: none; color: inherit; }
.scenario-card { text-decoration: none; display: block; color: inherit; }
.scenario-icon-wrap { background: var(--primary); }

.banner-bg-fallback { background: linear-gradient(135deg, #F97316 0%, #C4956A 100%); }

/* ============================================================
   P3: Visual Polish 鈥?Accessibility + Micro-interactions
   ============================================================ */

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Focus Ring (keyboard nav) --- */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}
/* Suppress focus ring on mouse clicks while keeping keyboard access */
:focus:not(:focus-visible) { outline: none; }

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 0.56s; }

/* --- Image Fade-In --- */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded {
    opacity: 1;
}

/* --- Button Press --- */
.btn:active,
button:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
}
.about-dark-btn:active { transform: scale(0.96); }

/* --- Card Hover Refinement --- */
.product-card,
.scenario-card,
.news-card,
.case-card,
.video-card {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.25s ease;
}
.product-card:hover,
.scenario-card:hover,
.news-card:hover,
.case-card:hover,
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* --- Skeleton Loading --- */
@keyframes skeleton-shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.skeleton {
    background: linear-gradient(90deg, var(--bg-alt) 25%, #e8ecf1 50%, var(--bg-alt) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}
.skeleton-text { height: 16px; margin-bottom: 8px; }
.skeleton-text-sm { width: 60%; }
.skeleton-heading { height: 24px; width: 40%; margin-bottom: 16px; }
.skeleton-img { aspect-ratio: 3/2; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; }

/* --- Page Transition (soft entry) --- */
.page-enter {
    animation: pageFadeIn 0.35s ease both;
}
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Selection Style --- */
::selection {
    background: var(--primary-light);
    color: #fff;
}

/* --- Link Underline Animation --- */
.content-body a,
.news-detail-body a,
.about-body a {
    text-decoration: none;
    background-image: linear-gradient(var(--primary), var(--primary));
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}
.content-body a:hover,
.news-detail-body a:hover,
.about-body a:hover {
    background-size: 100% 1px;
}

/* --- Scroll Bar --- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ============================================================
   P4: Base template inline style cleanup
   ============================================================ */

/* Header: logo */
.logo img { height: 68px; width: auto; }

/* Header: language button */
.header-actions .action-btn { font-size: 18px; font-weight: 600; }

/* Nav: product dropdown divider */
.nav-dropdown hr { border: none; border-top: 1px solid var(--border-light); margin: 4px 0; }

/* Nav: SVG icon vertical alignment */
.nav-item svg,
.nav-dropdown svg,
.header-actions svg { vertical-align: middle; }

/* Footer: credit line */
.footer-credit { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.footer-credit-icp { color: var(--text-muted); }
.footer-credit a { color: var(--text-muted); text-decoration: none; }
.footer-credit a:hover { color: var(--primary-light); }

/* Language form (hidden) */
#langForm { display: none; }

/* Product list page */
.product-list-section { padding-top: 40px; padding-bottom: 0; }
.empty-state { text-align: center; padding: 48px; color: var(--text-muted); }
.empty-state-icon { font-size: 48px; margin-bottom: 12px; }
/* ===== Reusable Content Page Classes ===== */
.section-title-spaced { margin-bottom: 48px; }
.content-page-wrapper { max-width: 800px; margin: 0 auto; line-height: 2; }
.content-page-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.content-page-card hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}
.content-page-card .policy-update {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Returns table */
.returns-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 14px;
}
.returns-table td,
.returns-table th {
    border: 1px solid var(--border);
    padding: 8px;
    text-align: left;
}
.returns-table thead tr { background: var(--bg); }
.returns-table .return-yes { color: var(--accent); }
.returns-table .return-maybe { color: var(--primary); }
.returns-table .return-no { color: var(--text-muted); }

/* Text helpers */
.text-center-muted { text-align: center; margin-top: 32px; font-size: 14px; color: var(--text-muted); }
.team-meta-text { margin-top: 8px; font-size: 13px; color: var(--text-muted); }
.section-title-centered { text-align: center; margin-bottom: 40px; }
/* ============================================================
   RESPONSIVE FIXES — Patch for missing breakpoints
   ============================================================ */

/* ── 1200px: Medium desktop ── */
@media (max-width: 1200px) {
    .products-showcase .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .banner-carousel { height: 600px; }
    .banner-title { font-size: 48px; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 1024px: Tablet landscape ── */
@media (max-width: 1024px) {
    .banner-carousel { height: 480px; }
    .banner-title { font-size: 38px; }
    .banner-subtitle { font-size: 16px; max-width: 440px; }
    .banner-btn { padding: 12px 24px; font-size: 13px; }
    .banner-text { max-width: 560px; }
    .banner-arrow { width: 40px; height: 40px; }
    .banner-arrow-left { left: 16px; }
    .banner-arrow-right { right: 16px; }
    .banner-dots { bottom: 18px; }

    .section { padding: 56px 0; }
    .section-title h2 { font-size: 30px; }
    .section-title p { font-size: 15px; }

    .scenario-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .scenario-section { padding: 56px 0; }
    .scenario-section-inner { padding: 0 24px; }

    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .product-left-group { grid-template-columns: 1fr; gap: 24px; }
    .product-gallery .main-img { max-width: 560px; margin: 0 auto; }

    .about-hero-inner { gap: 32px; }
    .about-stats.about-stats-fullwidth { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .section-inner { padding: 0 24px; }
    .content-page-wrapper { max-width: 100%; padding: 0 16px; }
    .content-page-card { padding: 24px; }
}

/* ── 900px: Nav collapses to hamburger ── */
@media (max-width: 900px) {
    .banner-carousel { height: 420px; }
    .banner-title { font-size: 32px; }
    .banner-subtitle { font-size: 15px; max-width: 380px; }
    .banner-content { padding: 16px; }
    .banner-content-center .banner-text { max-width: 85%; }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        gap: 0;
        z-index: 100;
    }
    nav.open { display: flex; }
    nav a { padding: 14px 0; border-bottom: 1px solid var(--border-light); width: 100%; font-size: 16px; }
    nav a:last-child { border-bottom: none; }
    .mobile-menu-btn { display: block; }
    .header-actions .action-btn { font-size: 15px; width: 34px; height: 34px; }
}

/* ── 768px: Tablet portrait ── */
@media (max-width: 768px) {
    :root { --nav-height: 60px; }

    .banner-carousel { height: 360px; }
    .banner-title { font-size: 28px; letter-spacing: 0; margin-bottom: 8px; }
    .banner-subtitle { font-size: 14px; max-width: 320px; margin-bottom: 16px; letter-spacing: 0.5px; }
    .banner-btn { padding: 10px 20px; font-size: 12px; }
    .banner-text { max-width: 100%; }
    .banner-arrow { width: 36px; height: 36px; border-radius: 8px; }
    .banner-arrow-left { left: 8px; }
    .banner-arrow-right { right: 8px; }
    .banner-dots { bottom: 12px; gap: 6px; }
    .banner-dot { width: 6px; height: 6px; }
    .banner-dot.active { width: 20px; }

    .section { padding: 36px 0; }
    .section-title { margin-bottom: 28px; }
    .section-title h2 { font-size: 26px; }
    .section-title h2::after { width: 36px; height: 2px; margin-top: 10px; }
    .section-title p { font-size: 14px; max-width: 420px; }

    .products-showcase .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .products-showcase { padding: 48px 0; }

    .product-card { min-width: 0; }
    .product-card .product-img { height: 180px; }
    .product-card .product-info { padding: 16px; }
    .product-card .product-title { font-size: 16px; }

    .scenario-grid { grid-template-columns: 1fr; gap: 16px; }
    .scenario-section { padding: 48px 0; }
    .scenario-card { padding: 24px; }

    .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .highlight-card { padding: 28px 16px 24px; }
    .highlight-card h4 { font-size: 16px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .product-detail-grid { flex-direction: column; gap: 24px; align-items: stretch; }
    .filter-tabs { justify-content: flex-start; overflow-x: auto; }
    .filter-tabs a { padding: 8px 14px; font-size: 11px; }

    .about-hero-inner { grid-template-columns: 1fr; gap: 24px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .about-stats.about-stats-fullwidth { grid-template-columns: repeat(2, 1fr); }
    .about-dark-inner h2 { font-size: 24px; }
    .about-dark-actions { flex-direction: column; }
    .about-dark-btn { width: 100%; text-align: center; justify-content: center; }

    .content-page-card { padding: 20px; }
    .section-title-spaced { margin-bottom: 32px; }

    .logo img { height: 48px; }

    .section-inner { padding: 0 16px; }
    .scenario-section-inner { padding: 0 16px; }
}

/* ── 480px: Mobile ── */
@media (max-width: 480px) {
    .banner-carousel { height: 300px; }
    .banner-title { font-size: 24px; }
    .banner-subtitle { font-size: 13px; max-width: 280px; margin-bottom: 12px; }
    .banner-btn { padding: 8px 18px; font-size: 11px; }
    .banner-arrow { width: 32px; height: 32px; }
    .banner-dots { bottom: 8px; }

    .section { padding: 28px 0; }
    .section-title h2 { font-size: 22px; }
    .section-title p { font-size: 13px; }

    .products-showcase .products-grid { grid-template-columns: 1fr; gap: 12px; }
    .products-showcase { padding: 36px 0; }
    .product-card .product-img { height: 200px; }

    .scenario-grid { grid-template-columns: 1fr; }
    .scenario-section { padding: 36px 0; }
    .scenario-card { padding: 20px; }
    .scenario-icon-wrap { width: 56px; height: 56px; }

    .highlights-grid { grid-template-columns: 1fr; gap: 12px; }
    .highlight-card { padding: 24px 16px; }

    .footer-grid { grid-template-columns: 1fr; }
    .filter-tabs a { padding: 6px 12px; font-size: 11px; }

    .about-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
    .about-stats.about-stats-fullwidth { grid-template-columns: 1fr; }
    .about-dark-inner h2 { font-size: 20px; }
    .about-dark-inner { padding: 28px 16px; }

    .header-inner { padding: 12px 16px; }
    .logo img { height: 40px; }
    .section-inner { padding: 0 12px; }
    .scenario-section-inner { padding: 0 12px; }

    .content-page-wrapper { padding: 0 12px; }
    .content-page-card { padding: 16px; }

    .news-item { flex-direction: column; }
    .news-item-img { width: 100%; height: 180px; }

    .returns-table { font-size: 12px; }
    .returns-table td, .returns-table th { padding: 6px; }
}

/* ── 380px: Small phones ── */
@media (max-width: 380px) {
    .banner-carousel { height: 260px; }
    .banner-title { font-size: 20px; }
    .banner-subtitle { font-size: 12px; max-width: 240px; }
    .banner-text { max-width: 100%; }
}

/* ===== Product Image Zoom & Lightbox ===== */
.main-img {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}
.main-img.zoomed {
    cursor: zoom-out;
}
.main-img img {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
    height: auto;
    display: block;
}
.main-img:hover img {
    transform: scale(1.8);
}
.main-img.zoomed:hover img {
    transform: none;
}

/* Image Lightbox */
.image-lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 40px;
}
.image-lightbox.open {
    display: flex;
}
.image-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ===== Video Modal ===== */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}
.video-overlay.open {
    display: flex;
}
.video-modal {
    position: relative;
    width: 80%;
    max-width: 960px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.video-close {
    position: absolute;
    top: -36px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    padding: 4px 8px;
    line-height: 1;
}
.video-close:hover {
    opacity: 0.7;
}
.video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
}
.video-wrap iframe,
.video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
    object-fit: contain;
}