/* ============================================
   Global Styles - English Default Site
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ============================================
       ??????????????
       ============================================ */
    --primary-color: #1e3a8a;              /* ???? - logo?? */
    --primary-dark: #1e40af;              /* ???????? */
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    /* ============================================
       ????Primary Colors?
       ============================================ */
    --primary-darker: #1e293b;            /* ???????? */
    --primary-light: #0ea5e9;            /* ???/?? - logo?? */
    --primary-lighter: #22d3ee;           /* ??????? */
    --primary-lightest: #67e8f9;          /* ??????? */

    /* ============================================
       ?????Text Colors?
       ============================================ */
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-lighter: #94a3b8;
    --text-lightest: #cbd5e1;
    --text-dark: #0f172a;
    --text-white: #ffffff;

    /* ============================================
       ?????Background Colors?
       ============================================ */
    --bg-lighter: #f1f5f9;
    --bg-lightest: #e2e8f0;
    --bg-dark: #1e293b;
    --bg-darker: #0f172a;
    --bg-black: #000000;
    --bg-gray: #f9fafb;

    /* ============================================
       ?????Border Colors?
       ============================================ */
    --border-light: #cbd5e1;
    --border-lighter: #e5e7eb;
    --border-dark: #475569;
    --border-primary: #1e3a8a;           /* ???? */
    
    /* ============================================
       ?????Accent Colors?
       ============================================ */
    --accent-color: #ec4899;              /* ???/??? - logo?? */
    --accent-light: #f472b6;              /* ??????? */
    --accent-lighter: #f9a8d4;            /* ??????? */
    --accent-secondary: #a78bfa;          /* ???/?? - logo?? */
    --accent-secondary-light: #c4b5fd;     /* ??????? */

    /* ============================================
       Footer ????Footer Colors?
       ============================================ */
    --footer-bg: #0f172a;
    --footer-bg-secondary: #1e293b;
    --footer-text: #cbd5e1;
    --footer-text-light: rgba(255, 255, 255, 0.9);
    --footer-text-lighter: rgba(255, 255, 255, 0.7);
    --footer-text-lightest: rgba(255, 255, 255, 0.5);
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-overlay: rgba(15, 23, 42, 1);

    /* ============================================
       ?????Functional Colors?
       ============================================ */
    /* Success ??? */
    --color-success: #10b981;
    --color-success-light: #d1fae5;
    --color-success-dark: #065f46;

    /* Error ??? */
    --color-error: #ef4444;
    --color-error-light: #fee2e2;
    --color-error-dark: #991b1b;

    /* Warning ??? */
    --color-warning: #f59e0b;
    --color-warning-light: #fef3c7;
    --color-warning-dark: #d97706;

    /* Info ??? - ????? */
    --color-info: #0ea5e9;
    --color-info-light: #e0f2fe;
    --color-info-dark: #1e3a8a;

    /* ============================================
       ???/???Opacity/Mask?
       ============================================ */
    /* ????? */
    --white-opacity-10: rgba(255, 255, 255, 0.1);
    --white-opacity-20: rgba(255, 255, 255, 0.2);
    --white-opacity-30: rgba(255, 255, 255, 0.3);
    --white-opacity-50: rgba(255, 255, 255, 0.5);
    --white-opacity-70: rgba(255, 255, 255, 0.7);
    --white-opacity-85: rgba(255, 255, 255, 0.85);
    --white-opacity-90: rgba(255, 255, 255, 0.9);

    /* ????? */
    --black-opacity-05: rgba(0, 0, 0, 0.05);
    --black-opacity-10: rgba(0, 0, 0, 0.1);
    --black-opacity-20: rgba(0, 0, 0, 0.2);
    --black-opacity-30: rgba(0, 0, 0, 0.3);
    --black-opacity-40: rgba(0, 0, 0, 0.4);
    --black-opacity-50: rgba(0, 0, 0, 0.5);

    /* Footer ????? */
    --footer-overlay-100: rgba(15, 23, 42, 1);
    --footer-overlay-95: rgba(15, 23, 42, 0.95);
    --footer-overlay-85: rgba(15, 23, 42, 0.85);
    --footer-overlay-70: rgba(15, 23, 42, 0.7);
    --footer-overlay-50: rgba(15, 23, 42, 0.5);
    --footer-overlay-30: rgba(15, 23, 42, 0.3);
    --footer-overlay-15: rgba(15, 23, 42, 0.15);
    --footer-overlay-05: rgba(15, 23, 42, 0.05);
    --footer-overlay-02: rgba(15, 23, 42, 0.02);

    /* ????? - ???? */
    --primary-opacity-05: rgba(30, 58, 138, 0.05);
    --primary-opacity-10: rgba(30, 58, 138, 0.1);
    --primary-opacity-20: rgba(30, 58, 138, 0.2);
    --primary-opacity-30: rgba(30, 58, 138, 0.3);
    --primary-opacity-40: rgba(30, 58, 138, 0.4);
    
    /* ?????? - ??? */
    --accent-opacity-05: rgba(236, 72, 153, 0.05);
    --accent-opacity-10: rgba(236, 72, 153, 0.1);
    --accent-opacity-20: rgba(236, 72, 153, 0.2);
    --accent-opacity-30: rgba(236, 72, 153, 0.3);
    --accent-opacity-40: rgba(236, 72, 153, 0.4);
    
    /* ?????? - ??? */
    --accent-secondary-opacity-05: rgba(167, 139, 250, 0.05);
    --accent-secondary-opacity-10: rgba(167, 139, 250, 0.1);
    --accent-secondary-opacity-20: rgba(167, 139, 250, 0.2);
    --accent-secondary-opacity-30: rgba(167, 139, 250, 0.3);
}

/* 德语 ä/ö/ü/ß、法语 é/è/ê、西班牙语 í/ñ 等：Roboto/Segoe UI/Arial 均支持 Latin Extended */
body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
}

/* Apply Roboto to all text elements */
h1, h2, h3, h4, h5, h6,
p, span, a, li, button, input, textarea, select {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

/* ============================================
   Header & Navigation
   ============================================ */
header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    padding: 0.875rem 0; /* ??????padding??logo???? */
    position: relative;
}

.main-nav .container {
    display: flex;
    justify-content: flex-start; /* ?? flex-start???????? */
    align-items: center;
    gap: 1rem;
    position: relative;
    width: 100%; /* ???????? */
    max-width: 100%; /* ???????? */
    box-sizing: border-box; /* ??padding???? */
}

.logo {
    font-size: 1.75rem; /* ?1.5rem???1.75rem */
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto; /* ??????logo???? */
}

.logo:hover {
    color: var(--primary-color);
}

.header-logo-img {
    max-height: 50px; /* ?40px???50px */
    max-width: 250px; /* ?200px???250px */
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

.header-logo-text {
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin-left: 3rem;
    flex: 0 0 auto; /* ????????????????? */
    flex-wrap: nowrap;
    min-width: 0; /* ???????? */
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    display: block;
    line-height: 1.4;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ?????? */
.nav-item-has-dropdown {
    position: relative;
}

.nav-item-has-dropdown .nav-link-main {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
}

.nav-item-has-dropdown .dropdown-arrow {
    font-size: 0.65rem;
    color: var(--text-light);
    transition: transform 0.25s ease, color 0.25s ease;
    margin-left: 0.3rem;
    display: inline-block;
    transform: scaleY(1);
    line-height: 1;
}

.nav-item-has-dropdown:hover .dropdown-arrow {
    color: var(--primary-color);
    transform: scaleY(-1);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: auto;
    min-width: 140px;
    max-width: 200px;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

.nav-item-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li {
    margin: 0;
}

.nav-dropdown a {
    padding: 0.625rem 1rem;
    color: var(--text-color);
    font-weight: 400;
    display: block;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.9rem;
    line-height: 1.4;
}

.nav-dropdown a::after {
    display: none;
}

.nav-dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

/* ????????? */
@media (max-width: 768px) {
    /* About History ??????????????? */
    .about-history .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .nav-item-has-dropdown {
        width: 100%;
    }
    
    .nav-item-has-dropdown .nav-link-main {
        padding: 1rem 1.25rem;
        width: 100%;
        justify-content: space-between;
        line-height: 1.5;
        font-size: 0.9375rem;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }
    
    .nav-item-has-dropdown .dropdown-arrow {
        transform: rotate(0deg);
        transition: transform 0.3s ease;
        font-size: 0.6rem;
        margin-left: 0.5rem;
        color: var(--text-light);
        flex-shrink: 0;
        line-height: 1;
    }
    
    .nav-item-has-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
        color: var(--primary-color);
    }
    
    .nav-item-has-dropdown.active .nav-link-main {
        color: var(--primary-color);
        font-weight: 600;
        background: #f9fafb;
    }
    
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin: 0;
        padding: 0;
        background: transparent;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        list-style: none;
    }
    
    .nav-item-has-dropdown.active .nav-dropdown {
        max-height: 500px;
        padding: 0;
        margin: 0;
    }
    
    .nav-dropdown li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .nav-dropdown li:first-child {
        border-top: none;
    }
    
    .nav-dropdown li:last-child {
        border-bottom: none;
    }
    
    .nav-dropdown a {
        padding: 0.875rem 1.25rem;
        padding-left: 2.5rem;
        line-height: 1.5;
        color: #6b7280;
        font-weight: 400;
        font-size: 0.875rem;
        transition: all 0.2s ease;
        background: #f9fafb;
        display: block;
        text-decoration: none;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .nav-dropdown a:hover,
    .nav-dropdown a:active {
        background: rgba(37, 99, 235, 0.08);
        color: var(--primary-color);
    }
}

/* Header Actions (Search & Language Switcher) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* ?1.5rem???0.75rem?????????????? */
    flex: 0 0 auto; /* ??0 0 auto?????????? */
    margin-left: auto; /* ???? */
    padding-right: 0.5rem;
    min-width: 0; /* ???????? */
}

/* ??????????????? - ????? */
.nav-item-lang-mobile {
    display: none;
}

/* ?????????????????? */
@media (min-width: 769px) {
    .search-box {
        display: flex !important;
    }
    
    .lang-switcher {
        display: flex !important;
    }
    
    .nav-item-search-mobile {
        display: none !important;
    }
    
    .nav-item-lang-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav-item-lang-mobile {
        display: block;
    }
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    flex: 0 0 auto; /* ??0 0 auto?????????? */
    min-width: 0; /* ???????? */
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: visible; /* ????????? */
    background: var(--bg-white);
    transition: all 0.2s ease;
    height: 36px;
    position: relative;
    width: auto; /* ??auto??????? */
    min-width: 0; /* ???????? */
    max-width: 100%; /* ???????? */
    z-index: 10002; /* ???????????????? */
}

.search-form:hover {
    border-color: var(--primary-light);
    box-shadow: 0 1px 4px rgba(30, 58, 138, 0.08);
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
}

.search-input-wrapper-header {
    position: relative;
    flex: 0 1 auto; /* ??0 1 auto?????? */
    min-width: 0; /* ???????? */
    width: auto; /* ??????? */
    z-index: 10002; /* ???????????????? */
}

.search-input {
    padding: 0 0.875rem;
    border: none;
    border-radius: 0;
    font-size: 0.8125rem;
    color: var(--text-color);
    background: transparent;
    width: 180px; /* ????????100% */
    min-width: 100px; /* ?????????? */
    max-width: 180px; /* ???? */
    height: 100%;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.search-input:focus {
    width: 220px; /* focus????? */
    max-width: 220px;
}

.search-input::placeholder {
    color: var(--text-lighter);
    font-size: 0.8125rem;
}

.search-btn {
    padding: 0 0.875rem;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
    flex-shrink: 0;
    height: 100%;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.search-btn:active {
    transform: scale(0.98);
}

.search-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.search-btn:hover svg {
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* ============================================
   Banner Carousel
   ============================================ */
.banner-section {
    position: relative;
    width: 100%;
    /* Base design height for 1920px layout.
       Overall visual size on large screens is controlled via body zoom (1920 baseline). */
    height: 625px;
    overflow: hidden;
    background: #000;
}

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

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.banner-item.active {
    opacity: 1;
    z-index: 2;
}

.banner-item img,
.banner-item picture img,
.banner-item video,
.banner-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.banner-item picture {
    width: 100%;
    height: 100%;
    display: block;
}

.banner-placeholder {
    min-height: 625px;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-white);
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.banner-content .btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.banner-content .btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

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

.banner-dot.active {
    background: var(--bg-white);
    width: 32px;
    border-radius: 6px;
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: var(--primary-color);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
    padding: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.banner-nav:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.15);
}

.banner-nav:active {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

/* ============================================
   Main Content Area
   ============================================ */
main {
    min-height: 60vh;
    /* ????????????????????? */
    padding-bottom: 4rem;
}

/* For pages without sections, add padding to first and last direct children */
main > .container > *:first-child:not(section) {
    margin-top: 2rem;
}

main > .container > *:last-child:not(section) {
    margin-bottom: 0;
    padding-bottom: 4rem; /* ?????? section ???????? */
}

/* For pages with sections, sections handle their own spacing */
/* main > .container > section:first-child {
    padding-top: 4rem;
} */

main > .container > section:last-child {
    padding-bottom: 4rem !important; /* ?????? section ???????? !important ????? */
    /* ?? main ? padding-bottom??????? */
    margin-bottom: -4rem;
}

/* ?? main ????? section???? container??section ? padding ????? */
main > section:last-child {
    padding-bottom: 4rem; /* ?? section ????? */
    /* ?? main ? padding-bottom??????? */
    margin-bottom: -4rem;
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 3rem 0;
}

.banner-section,
.page-banner {
    padding: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    border-radius: 2px;
}

.section-title p {
    color: rgba(71, 85, 105, 0.8);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Us Section */
.about-section {
    background: var(--bg-white);
    padding: 0;
    margin: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 280px;
    width: 100%;
    max-width: 100%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-stats {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
    gap: 0;
    position: relative;
}

.about-stats::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(148, 163, 184, 0.3), transparent);
}

.about-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    flex: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2.5rem 2rem;
    border-radius: 0;
    position: relative;
    min-height: 100%;
}

.about-stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(148, 163, 184, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-stat-item:last-child::after {
    display: none;
}

.about-stat-item:hover {
    background: rgba(37, 99, 235, 0.05);
}

.about-stat-item:hover::after {
    opacity: 1;
}

.about-stat-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.about-stat-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-stat-item:hover .about-stat-icon {
    transform: scale(1.15);
    color: var(--primary-color);
}

.about-stat-item:hover .about-stat-icon::before {
    opacity: 1;
}

.about-stat-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    position: relative;
    z-index: 1;
}

.about-stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.375rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 50%, var(--primary-lighter) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.about-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.about-info {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text-white);
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.about-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.about-info p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.about-info .about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0.25rem;
    width: fit-content;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    padding-bottom: 2px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.about-info .about-link:hover {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.6);
    transform: translateX(4px);
}

.about-info .about-link::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.about-info .about-link:hover::after {
    transform: translateX(6px);
}

/* ????about-text?about-image?? */
.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

/* Category Section */
.category-section {
    background: var(--bg-white);
    padding: 0;
    margin: 0;
}

/* ????? - ?? partner ?? */
.category-header {
    background: #f5f5f5;
    padding: 2.5rem 0;
    text-align: center;
}

.category-header .section-title {
    margin-bottom: 0;
    position: relative;
}

.category-header .section-title h2 {
    color: var(--text-color);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.category-header .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    border-radius: 2px;
}

.category-header .section-title p {
    color: rgba(71, 85, 105, 0.8);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ?????? - ?? */
.category-showcase {
    padding: 0;
    width: 100%;
}

.category-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 350px;
    width: 100%;
}

/* ??3?????????? */
.category-showcase-card.full-width {
    grid-column: 1 / -1;
}

.category-showcase-card {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.category-showcase-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    transform: scale(1.05);
    opacity: 0.7;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-origin: center center;
}

.category-showcase-card:hover .category-showcase-bg {
    transform: scale(1);
    opacity: 1;
}

/* ???????????hover??? */
.category-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 2;
    transition: opacity 0.4s ease, background 0.4s ease;
    opacity: 1;
}

.category-showcase-card:hover::before {
    opacity: 0.3;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
}

.category-showcase-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    color: #ffffff;
}

.category-showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.category-showcase-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.category-showcase-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    text-decoration: none;
}

/* ???????????? */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--bg-white);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.category-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.category-card .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: var(--transition);
}

.category-card .btn:hover {
    background: var(--accent-color);
}

/* News Section */
.news-section {
    background: var(--bg-white);
    /* 默认：PC 端留足上下空间 */
    padding: 4rem 0 4.5rem;
}

/* News Section - Tablet & Mobile */
@media (max-width: 768px) {
    .news-section {
        /* 手机版/小屏：减少上下 padding，避免篇幅太长 */
        padding: 1.5rem 0 1rem;
    }
}

/* ============================================
   News List Styles - 首页 News 卡片
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* 首页 News 横向滚动容器 */
.news-scroll-wrapper {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    /* 仅在水平方向裁剪，避免卡片阴影在上下方向被截断 */
    overflow-x: hidden;
    overflow-y: visible;
    padding: 1rem 0;
}

.news-scroll-container {
    /* 仅在水平方向裁剪，允许阴影在垂直方向完整显示 */
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 20px 30px;
    box-sizing: border-box;
}

.news-scroll-track {
    display: flex;
    gap: 2rem;
    width: fit-content;
    animation: scroll-news 40s linear infinite;
    will-change: transform;
}

.news-scroll-wrapper:hover .news-scroll-track {
    animation-play-state: paused;
}

.news-scroll-track .news-card {
    flex-shrink: 0;
    /* ??3??????????????????? */
    /* ??????1440px?????padding(40px)?2?gap(64px)?????3 */
    /* ???(1440px - 40px - 64px) / 3 = 1336px / 3 ? 445.33px */
    /* ??????????padding?gap??????????3? */
    width: calc((min(100vw, 1440px) - 40px - 64px) / 3);
    max-width: calc((1440px - 40px - 64px) / 3);
    min-width: 300px;
    box-sizing: border-box;
}

.news-card {
    background: var(--bg-white);
    border-radius: 0.75rem;
    /* 卡片本身不裁剪，避免阴影被截断 */
    overflow: visible;
    /* 首页 News 卡片使用更明显的浮起阴影效果 */
    box-shadow: 0 5px 10px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    /* 悬浮时更强的阴影并轻微上移，增强卡片感 */
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
    transform: translateY(-4px);
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    /* 仅裁剪图片区域的圆角，保留卡片外部阴影 */
    border-radius: 0.75rem 0.75rem 0 0;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-lightest) 100%);
}

/* News list overlay (title + date) on image */
.news-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center; /* ??????????? */
    justify-content: space-between; /* ????????? */
    padding: 1.25rem 1rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.0));
    color: #ffffff;
    pointer-events: none;
    gap: 1rem;
}

.news-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0; /* ?????? */
}

.news-card-date {
    color: var(--bg-light);
    font-size: 0.875rem;
    white-space: nowrap; /* ????? */
    flex-shrink: 0; /* ????? */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 0, 0, 0.5); /* ??????? */
    letter-spacing: 0.03em;
}

.news-card .news-card-image-wrapper img.news-card-image,
.news-card .news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-origin: center center;
    display: block;
}

/* ????????? + ??????? */
.news-card:hover .news-card-image-wrapper img.news-card-image,
.news-card:hover .news-card-image {
    transform: scale(1.08);
    filter: brightness(1.15) saturate(1.2);
}

/* ??2: ????????????1???????????
.news-card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}
.news-card:hover .news-card-image-wrapper::after {
    opacity: 1;
}
*/

/* ??3: ????????????????1???????????
.news-card-image {
    filter: blur(0.5px);
}
.news-card:hover .news-card-image {
    filter: blur(0);
    brightness(1.1);
}
*/

/* ??4: ???????????1???????????
.news-card-image {
    filter: grayscale(10%);
}
.news-card:hover .news-card-image {
    filter: grayscale(0%) brightness(1.1);
}
*/

/* ??????????????????????? */
.news-card-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 3;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-badge {
    transform: scale(1.1);
}

.news-card-badge.hexagon {
    border-radius: 0;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    width: 70px;
    height: 70px;
}

.news-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.news-card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.news-card-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-card-content h3 a:hover {
    color: var(--primary-color);
}

.news-card-content p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.news-card-content .read-more {
    color: var(--primary-color);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.news-card-content .read-more:hover {
    color: var(--accent-color);
}

.news-card-content .read-more::after {
    content: '?';
    transition: transform 0.3s ease;
}

.news-card-content .read-more:hover::after {
     transform: translateX(4px); 
}

/* ????? */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .news-scroll-container {
        padding: 0 1.5rem 1rem;
    }
    
    .news-scroll-track .news-card {
        width: calc((100vw - 6rem) / 3);
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-scroll-container {
        padding: 0 1rem 1rem;
    }
    
    .news-scroll-track {
        gap: 1.5rem;
    }
    
    .news-scroll-track .news-card {
        width: calc((100vw - 4rem - 1.5rem) / 1.5);
        min-width: 240px;
        max-width: 280px;
    }
    
    .news-card-image-wrapper {
        height: 200px;
    }
    
    /* ??? overlay ???? */
    .news-card-overlay {
        padding: 1rem 0.75rem;
        gap: 0.75rem;
    }
    
    .news-card-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .news-card-date {
        font-size: 0.8125rem;
        color: #ffffff;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 0, 0, 0.5);
    }
    
    .news-card-content {
        padding: 1.25rem;
    }
    
    .news-card-content h3 {
        font-size: 1.125rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }
    
    .news-card-content p {
        font-size: 0.875rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }
    
    .news-card-badge {
        width: 50px;
        height: 50px;
        bottom: 0.75rem;
        right: 0.75rem;
    }
    
    .news-card-badge.hexagon {
        width: 60px;
        height: 60px;
    }
}

/* Certify Section */
.certify-section {
    background: var(--bg-light);
}

.certify-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    align-items: center;
}

.certify-item {
    text-align: center;
    padding: 0.5rem;
    background: var(--bg-white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

/* 证书卡片：固定为 A4 竖版比例（约 210:297） */
.certify-card {
    position: relative;
    width: 100%;
    aspect-ratio: 210 / 297; /* A4 portrait */
    border-radius: 0.5rem;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certify-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* A4 竖图：填满卡片区域，保持比例 */
.certify-card img {
    width: 100%;
    height: 100%;
    /* 使用 cover 让图片铺满卡片，避免上下留白 */
    object-fit: cover;
}

/* JSON 没有图片时的占位文字样式 */
.certify-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight: 600;
    color: #2563eb;
    padding: 0 1rem;
}

/* Partners Section */
.partners-section {
    padding: 4rem 0;
    background: #0f172a;
    color: #cbd5e1;
    overflow: hidden;
    position: relative;
}

.partners-section .section-title {
    margin-bottom: 1.25rem;
    position: relative;
}

.partners-section .section-title h2 {
    color: var(--text-white);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.partners-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    border-radius: 2px;
}

.partners-section .section-title p {
    color: rgba(203, 213, 225, 0.8);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom: 0;
}

.partners-scroll-wrapper {
    position: relative;
    width: 100%;
    padding: 1rem 0;
}

.partners-fade-left,
.partners-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.partners-fade-left {
    left: 0;
    background: linear-gradient(to right, #0f172a 0%, rgba(15, 23, 42, 0.95) 20%, rgba(15, 23, 42, 0.8) 40%, transparent 100%);
}

.partners-fade-right {
    right: 0;
    background: linear-gradient(to left, #0f172a 0%, rgba(15, 23, 42, 0.95) 20%, rgba(15, 23, 42, 0.8) 40%, transparent 100%);
}

.partners-scroll-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    /* 建立稳定 3D 上下文，减少子层在循环重置时的闪动 */
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.partners-scroll-track {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 0;
    width: max-content;
    min-width: max-content;
    flex-shrink: 0;
    height: 5.5rem;
    min-height: 5.5rem;
    box-sizing: border-box;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* 仅用 will-change 提升合成层，避免 contain 触发的布局计算导致滑动卡顿 */
    will-change: transform;
}

/* 合作伙伴滚动仅由 partners-scroll.js 驱动，彻底关闭 CSS 动画避免与 JS 冲突导致闪动/卡顿 */
.partners-track-1,
.partners-track-2,
.partners-track-3 {
    animation: none !important;
}

.partner-item {
    flex-shrink: 0;
    text-align: center;
    padding: 0.5rem 0.5rem;
    opacity: 0.85;
    transition: opacity 0.25s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.partner-item:hover {
    opacity: 1;
    transform: translateZ(0);
}

.partner-logo {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    height: 70px;
    min-width: 140px;
    max-width: 220px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

/* ????? partner logo - ?? nth-child ???? */
.partners-scroll-track .partner-item:nth-child(6n+1) .partner-logo {
    width: 160px;
}

.partners-scroll-track .partner-item:nth-child(6n+2) .partner-logo {
    width: 180px;
}

.partners-scroll-track .partner-item:nth-child(6n+3) .partner-logo {
    width: 150px;
}

.partners-scroll-track .partner-item:nth-child(6n+4) .partner-logo {
    width: 200px;
}

.partners-scroll-track .partner-item:nth-child(6n+5) .partner-logo {
    width: 170px;
}

.partners-scroll-track .partner-item:nth-child(6n+6) .partner-logo {
    width: 190px;
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.partner-item img,
.partner-logo-img {
    max-width: 100%;
    height: 55px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    display: block;
}

/* 懒加载未完成时先隐藏 */
.partners-section img.partner-logo-img.lazy-loading {
    opacity: 0;
}

.partners-section img.partner-logo-img.lazy-loaded {
    opacity: 1;
}

.partner-item:hover img,
.partner-item:hover .partner-logo-img {
    opacity: 1;
}

/* 关键帧内 Z 固定为 0.001px，与 .partners-scroll-track 一致，循环时只变 X 减少闪动 */
/* 使用 translateX 而不是 translate3d 的百分比，在某些浏览器中可能更稳定 */
@keyframes scroll-partners-left {
    from {
        -webkit-transform: translate3d(0, 0, 0.001px);
        transform: translate3d(0, 0, 0.001px);
    }
    to {
        -webkit-transform: translate3d(-50%, 0, 0.001px);
        transform: translate3d(-50%, 0, 0.001px);
    }
}

@keyframes scroll-partners-right {
    from {
        -webkit-transform: translate3d(-50%, 0, 0.001px);
        transform: translate3d(-50%, 0, 0.001px);
    }
    to {
        -webkit-transform: translate3d(0, 0, 0.001px);
        transform: translate3d(0, 0, 0.001px);
    }
}

@keyframes scroll-news {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 合作伙伴滚动已全部由 partners-scroll.js 驱动，不再使用 CSS 动画；
   以下旧规则已删除，避免与 JS 冲突导致「只有第二行停/闪动」：
   - .partners-scroll-wrapper:hover .partners-scroll-track { animation-play-state: paused }
   - .partners-section .partners-track-2 { animation: ... } （该选择器更具体，会覆盖 animation:none，导致第二行仍用 CSS 动画） */

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: var(--footer-bg-secondary);
    color: var(--footer-text);
    position: relative;
    overflow: hidden;
}

/* Footer ???? */
.footer-top {
    position: relative;
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid var(--footer-border);
    overflow: hidden;
    background-color: var(--footer-bg); /* ????? */
}

/* ?????????????????? */
.footer-top[style*="background-image"] {
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: var(--footer-bg); /* ?????fallback */
    position: relative;
}

/* ????>1920px???????????????????????? */
@media (min-width: 1920px) {
    .footer-top[style*="background-image"] {
        /* ????????????? footer-top ?? */
        background-size: cover;
        background-position: center right;
    }
}

/* ?????????????????????? */
.footer-top[style*="background-image"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* ??????????????????????????????????? */
    /* ?????????????????????????????60-70%????????? */
    background: linear-gradient(to right, 
        var(--footer-overlay-100) 0%,
        var(--footer-overlay-100) 50%,
        var(--footer-overlay-95) 55%,
        var(--footer-overlay-85) 60%,
        var(--footer-overlay-70) 65%,
        var(--footer-overlay-50) 70%,
        var(--footer-overlay-30) 75%,
        var(--footer-overlay-15) 80%,
        var(--footer-overlay-05) 85%,
        var(--footer-overlay-02) 90%,
        transparent 100%
    );
    z-index: 0; /* ??????????????? */
    pointer-events: none;
}

.footer-top > * {
    position: relative;
    z-index: 2; /* ?????????? */
}

.footer-top-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: stretch;
}

.footer-top-content > * {
    min-height: 0;
}

@media (max-width: 1024px) {
    .footer-top-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ???? */
.footer-contact-form {
    max-width: 700px;
    display: flex;
    flex-direction: column;
}

.footer-form-title {
    color: var(--text-white);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.footer-form {
    position: relative;
}

.footer-form-body {
    padding-bottom: 3.5rem;
}

.footer-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-form .form-row.form-row-first {
    grid-template-columns: 1fr;
}

.footer-form-row-third {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem 1rem;
    margin-top: 0.75rem;
}

.footer-form-row-third .footer-submit-btn {
    position: static;
    margin-left: auto;
}

.footer-form .form-group {
    margin-bottom: 0.625rem;
}

.footer-form .form-group-captcha {
    margin-bottom: 0.75rem;
}

.footer-form .form-group-captcha .footer-captcha-wrap {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-form .form-group-captcha .footer-captcha-input {
    width: auto;
    min-width: 100px;
    max-width: 140px;
}

.footer-form .form-group-captcha .footer-captcha-img {
    height: 40px;
    min-width: 80px;
    cursor: pointer;
    border: 1px solid var(--footer-border);
    border-radius: 4px;
    object-fit: contain;
    vertical-align: middle;
}

.footer-form input[type="text"],
.footer-form input[type="email"],
.footer-form textarea {
    width: 100%;
    height: 44px;
    padding: 0 0.875rem;
    box-sizing: border-box;
    background: var(--white-opacity-10);
    border: 1px solid var(--footer-border);
    border-radius: 4px;
    color: var(--text-white);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-form input[type="text"]:focus,
.footer-form input[type="email"]:focus,
.footer-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white-opacity-20);
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
    color: var(--footer-text-lightest);
}

.footer-form textarea {
    height: 120px;
    min-height: 120px;
    resize: none;
    padding: 0.75rem 0.875rem;
}

.footer-submit-btn {
    position: absolute;
    right: 0;
    bottom: 18px;
    min-height: 40px;
    padding: 0 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 8px;
    color: var(--text-white);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.12s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.footer-submit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ?????? - ?????????footer-top??? */
.footer-right-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    border-radius: 12px;
    background: transparent;
}

/* ???? */
.footer-features {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.625rem;
    background: var(--white-opacity-10);
    border: 1px solid var(--white-opacity-20);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-feature-item:hover {
    background: var(--white-opacity-20);
    border-color: var(--white-opacity-30);
    transform: translateX(4px);
}

.footer-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-opacity-20) 0%, var(--primary-opacity-20) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-lighter);
    transition: all 0.3s ease;
}

.footer-feature-icon svg {
    width: 18px;
    height: 18px;
}

.footer-feature-item:hover .footer-feature-icon {
    background: linear-gradient(135deg, var(--primary-opacity-30) 0%, var(--primary-opacity-30) 100%);
    color: var(--primary-lightest);
    transform: scale(1.05);
}

.footer-feature-content {
    flex: 1;
}

.footer-feature-title {
    color: var(--text-white);
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0 0 0.125rem 0;
    line-height: 1.2;
}

.footer-feature-desc {
    color: var(--footer-text-lighter);
    font-size: 0.6875rem;
    margin: 0;
    line-height: 1.3;
}

.footer-social-section {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.footer-social-title {
    color: var(--text-white);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    text-shadow: 0 2px 8px var(--black-opacity-30);
}

/* ?????? */
.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    background: rgba(37, 99, 235, 0.3);
    border-color: rgba(37, 99, 235, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

/* ???? Logo */
.footer-partners {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--footer-border);
    overflow: hidden;
}

.partners-scroll-wrapper {
    position: relative;
    overflow: hidden;
}

.partners-scroll-track {
    display: flex;
    gap: 1rem;
    width: fit-content;
    /* ?????? track ?????????? */
}

.partners-scroll-wrapper:hover .partners-scroll-track {
    animation-play-state: paused;
}

.footer-partners .partner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 50px;
}

.footer-partners .partner-logo {
    background: var(--white-opacity-10);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    text-align: center;
    color: var(--footer-text-lighter);
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.footer-partners .partner-logo:hover {
    background: var(--white-opacity-20);
    color: var(--footer-text-light);
}

.footer-partners .partner-logo-img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.6);
    transition: all 0.3s ease;
}

.footer-partners .partner-logo-img:hover {
    opacity: 1;
    filter: brightness(0) invert(1);
}

/* Footer ???? */
.footer-bottom {
    padding: 3rem 0 1.5rem;
    background: linear-gradient(180deg, var(--black-opacity-30) 0%, var(--black-opacity-40) 100%);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--white-opacity-20), transparent);
}

.footer-bottom-content {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

/* ???? */
.footer-info {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 0.75rem;
}

.footer-logo-img {
    max-width: 200px; /* ?160px???200px */
    max-height: 60px; /* ?50px???60px */
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo-text h3 {
    color: var(--text-white);
    font-size: 1.75rem; /* ?1.5rem???1.75rem??header???? */
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-white), var(--footer-text));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

.footer-tagline {
    color: var(--footer-text-lighter);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--footer-text-lighter);
}

.contact-label {
    font-weight: 500;
    color: var(--footer-text-light);
    margin-right: 0.5rem;
}

.contact-item a {
    color: var(--footer-text-lighter);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--text-white);
}

/* ???? */
.footer-nav h4 {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-nav h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.footer-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem; /* ??? 0.5rem???? 1rem */
}

.footer-links a {
    color: var(--footer-text-lighter);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

/* ???? */
.footer-subscribe h4 {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-subscribe h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.subscribe-input-group {
    display: flex;
    gap: 0.5rem;
}

.subscribe-input-group input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    background: var(--white-opacity-10);
    border: 1px solid var(--footer-border);
    border-radius: 4px;
    color: var(--text-white);
    font-size: 0.8125rem;
    transition: all 0.3s ease;
}

.subscribe-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white-opacity-20);
}

.subscribe-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.subscribe-btn {
    padding: 0.625rem 1.25rem;
    background: var(--primary-color);
    border: none;
    border-radius: 4px;
    color: var(--text-white);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.subscribe-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.subscribe-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.subscribe-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.subscribe-checkbox:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ???? */
.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ????? */
@media (max-width: 1024px) {
    .footer-top-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-contact-form {
        max-width: 100%;
    }
    
    .footer-right-content {
        min-height: auto;
    }
    
    .footer-social-section {
        padding: 0;
        margin: 0;
    }
    
    .footer-features {
        gap: 1rem;
    }
    
    .footer-feature-item {
        padding: 0.875rem;
    }
    
    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* ??? footer links ?????? */
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 0.75rem;
    }
    
    .footer-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 3rem 0 2rem;
    }
    
    .footer-form-title {
        font-size: 1.125rem;
    }
    
    .footer-features {
        gap: 0.875rem;
    }
    
    .footer-feature-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .footer-feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .footer-feature-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .footer-feature-title {
        font-size: 0.875rem;
    }
    
    .footer-feature-desc {
        font-size: 0.75rem;
    }
    
    .footer-right-content {
        min-height: auto;
    }
    
    .footer-social-section {
        padding: 0;
        margin: 0;
        gap: 1rem;
    }
    
    .footer-social-title {
        font-size: 1rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .subscribe-input-group {
        flex-direction: column;
    }
    
    .subscribe-btn {
        width: 100%;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0 0.625rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    height: 36px;
    flex: 0 0 auto; /* ??????????????? */
}

.lang-switcher:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    box-shadow: 0 1px 4px rgba(30, 58, 138, 0.08);
}

.lang-switcher.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
    background: var(--bg-white);
}

.lang-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.2s ease;
    width: 16px;
    height: 16px;
}

.lang-switcher:hover .lang-icon {
    color: var(--primary-dark);
}

.lang-select-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex: 1;
    min-width: 90px;
    height: 100%;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    outline: none;
}

.lang-flag-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    line-height: 1;
}

.lang-flag-wrapper svg {
    width: 100%;
    height: 100%;
    display: block;
}

.lang-flag-emoji {
    font-size: 16px;
    line-height: 1;
    display: inline-block;
}

.lang-select-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.2s ease;
    flex: 1;
    text-align: left;
}

.lang-switcher:hover .lang-select-text {
    color: var(--primary-color);
}

.lang-arrow {
    color: var(--text-lighter);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.lang-switcher:hover .lang-arrow {
    color: var(--primary-color);
}

.lang-switcher.active .lang-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* ??????? */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 140px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    list-style: none;
    padding: 0.25rem;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 300px;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.15s ease;
    gap: 0.5rem;
}

.lang-option-flag-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    line-height: 1;
    margin-right: 0.25rem;
}

.lang-option-flag-wrapper svg {
    width: 100%;
    height: 100%;
    display: block;
}

.lang-option-flag-wrapper .lang-flag-emoji {
    font-size: 16px;
    line-height: 1;
    display: inline-block;
}

.lang-option-text {
    flex: 1;
}

.lang-option:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.lang-option.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    font-weight: 600;
}

.lang-option.active:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    color: var(--text-white);
}

.lang-check {
    flex-shrink: 0;
    color: var(--text-white);
}

/* ?????????????? */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 1.25rem; /* ??????? */
        margin-left: 2rem; /* ???????? */
    }
    
    .search-input {
        min-width: 80px; /* ????????? */
        max-width: 150px; /* ???????????200px???150px */
    }
    
    .search-input:focus {
        max-width: 180px; /* focus???????240px???180px */
    }
}

/* ???????????????? */
@media (max-width: 1024px) {
    .search-input {
        width: 130px; /* ???? */
        min-width: 70px;
        max-width: 130px;
    }
    
    .search-input:focus {
        width: 160px;
        max-width: 160px;
    }
}

/* ????????????????? */
@media (max-width: 900px) and (min-width: 769px) {
    .header-actions .search-box {
        display: none !important; /* ?900px-769px??????? */
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 0.75rem 0;
    }
    
    .main-nav .container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .logo {
        font-size: 1.25rem;
        flex-shrink: 0;
    }
    
    .header-logo-img {
        max-height: 32px;
        max-width: 150px;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 2;
        margin-left: auto;
        font-size: 1.5rem;
        padding: 0.25rem 0.5rem;
    }

    /* ??????? */
    .nav-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* ???? - ???? */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 85%;
        max-width: 400px;
        background: var(--bg-white);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 0;
        padding-top: env(safe-area-inset-top, 0px);
        gap: 0;
        z-index: 10000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        list-style: none;
        margin: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }
    
    .nav-menu > li {
        position: relative;
        width: 100%;
        background: var(--bg-white);
        border-bottom: 1px solid #e5e7eb;
        margin: 0;
        padding: 0;
    }
    
    /* ?????? padding ???? */
    .nav-menu > li.nav-item-search-mobile {
        padding: 2rem 1.25rem 1rem 1.25rem;
        padding-top: max(2rem, calc(env(safe-area-inset-top, 0px) + 1.5rem));
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        padding-bottom: 1rem;
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .nav-menu > li.nav-item-has-dropdown {
        margin: 0;
        padding: 0;
    }
    
    /* ?????????????????? */
    .nav-menu > li.nav-item-lang-mobile {
        border-top: 1px solid #e5e7eb;
        border-bottom: none;
    }
    
    /* ?????????????????????????????? */
    .nav-menu > li.nav-item-lang-mobile-prev {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 1rem 1.25rem;
        width: 100%;
        line-height: 1.5;
        font-size: 0.9375rem;
        color: var(--text-color);
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-decoration: none;
        transition: all 0.2s ease;
        box-sizing: border-box;
    }
    
    .nav-menu a:hover,
    .nav-menu a:active {
        background: #f9fafb;
        color: var(--primary-color);
    }
    
    /* ?????????????? */
    .nav-menu > li.nav-item-search-mobile,
    .nav-item-search-mobile {
        display: block;
        width: 100%;
        padding: 2rem 1.25rem 1rem 1.25rem !important;
        padding-top: max(2rem, calc(env(safe-area-inset-top, 0px) + 1.5rem)) !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        padding-bottom: 1rem !important;
        border-bottom: 1px solid #e5e7eb;
        background: var(--bg-white);
        position: relative;
    }
    
    .search-box-mobile {
        width: 100%;
    }
    
    .search-form-mobile {
        display: flex;
        align-items: center;
        gap: 0;
        border: 1px solid #d1d5db;
        border-radius: 0.5rem;
        overflow: hidden;
        background: #f5f5f5;
        height: 40px;
    }
    
    .search-input-mobile {
        flex: 1;
        padding: 0 1rem;
        border: none;
        background: transparent;
        font-size: 0.875rem;
        color: var(--text-color);
        outline: none;
        min-width: 0;
    }
    
    .search-input-mobile::placeholder {
        color: #9ca3af;
    }
    
    .search-btn-mobile {
        padding: 0 1rem;
        background: var(--primary-color);
        border: none;
        color: var(--text-white);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        height: 100%;
        transition: background 0.2s ease;
    }
    
    .search-btn-mobile:hover,
    .search-btn-mobile:active {
        background: var(--primary-dark);
    }
    
    .search-btn-mobile svg {
        width: 18px;
        height: 18px;
    }
    
    /* ????????? */
    .nav-item-lang-mobile {
        display: block;
        width: 100%;
        position: relative;
    }
    
    .lang-switcher-mobile {
        width: 100%;
        position: relative;
    }
    
    .lang-select-btn-mobile {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        background: transparent;
        border: none;
        color: var(--text-color);
        font-size: 0.9375rem;
        font-weight: 500;
        cursor: pointer;
        text-align: left;
        transition: all 0.2s ease;
        text-decoration: none;
        box-sizing: border-box;
    }
    
    .lang-select-btn-mobile:hover,
    .lang-select-btn-mobile:active {
        background: #f9fafb;
        color: var(--primary-color);
    }
    
    .lang-switcher-mobile.active .lang-select-btn-mobile {
        background: #f9fafb;
        color: var(--primary-color);
    }
    
    .lang-switcher-mobile .lang-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        color: var(--primary-color);
    }
    
    .lang-switcher-mobile .lang-flag-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        line-height: 1;
    }
    
    .lang-switcher-mobile .lang-flag-wrapper svg {
        width: 100%;
        height: 100%;
        display: block;
    }
    
    .lang-switcher-mobile .lang-flag-emoji {
        font-size: 16px;
        line-height: 1;
        display: inline-block;
    }
    
    .lang-switcher-mobile .lang-select-text {
        flex: 1;
    }
    
    .lang-switcher-mobile .lang-arrow {
        width: 12px;
        height: 12px;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        color: var(--text-light);
    }
    
    .lang-switcher-mobile.active .lang-arrow {
        transform: rotate(180deg);
        color: var(--primary-color);
    }
    
    .lang-dropdown-mobile {
        list-style: none;
        padding: 0;
        margin: 0;
        background: var(--bg-white);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .lang-switcher-mobile.active .lang-dropdown-mobile {
        max-height: 300px;
    }
    
    .lang-dropdown-mobile .lang-option {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1.25rem;
        color: var(--text-color);
        cursor: pointer;
        transition: all 0.2s ease;
        border-bottom: 1px solid #f3f4f6;
        text-decoration: none;
        gap: 0.75rem;
    }
    
    .lang-dropdown-mobile .lang-option-flag-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        line-height: 1;
        margin-right: 0.5rem;
    }
    
    .lang-dropdown-mobile .lang-option-flag-wrapper svg {
        width: 100%;
        height: 100%;
        display: block;
    }
    
    .lang-dropdown-mobile .lang-option-flag-wrapper .lang-flag-emoji {
        font-size: 16px;
        line-height: 1;
        display: inline-block;
    }
    
    .lang-dropdown-mobile .lang-option-text {
        flex: 1;
    }
    
    .lang-dropdown-mobile .lang-option:last-child {
        border-bottom: none;
    }
    
    .lang-dropdown-mobile .lang-option:hover,
    .lang-dropdown-mobile .lang-option:active {
        background: #f9fafb;
        color: var(--primary-color);
    }
    
    .lang-dropdown-mobile .lang-option.active {
        color: var(--primary-color);
        font-weight: 600;
        background: rgba(37, 99, 235, 0.05);
    }
    
    .lang-dropdown-mobile .lang-check {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        color: var(--primary-color);
    }
    
    .header-actions {
        gap: 0.5rem;
        order: 3;
        flex: 1 1 auto;
        justify-content: flex-end;
        min-width: 0;
    }
    
    /* ?????????????? */
    .lang-switcher {
        display: none;
    }
    
    .search-box {
        display: none;
    }

    .banner-section {
        height: 500px;
    }
    
    .banner-content {
        padding: 0 1.5rem;
        max-width: 700px;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }
    
    .banner-content .btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .about-stats {
        padding: 0;
        flex-direction: column;
        gap: 0;
    }
    
    .about-stats::after {
        display: none;
    }
    
    .about-stat-item {
        padding: 1.5rem 1rem;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }
    
    .about-stat-item:last-child {
        border-bottom: none;
    }
    
    .about-stat-item::after {
        display: none;
    }
    
    .about-info {
        padding: 1.5rem 1.25rem;
    }
    
    .about-stat-icon {
        width: 44px;
        height: 44px;
    }
    
    .about-stat-number {
        font-size: 1.875rem;
    }
    
    .about-stat-label {
        font-size: 0.6875rem;
    }
    
    .about-info h2 {
        font-size: 1.375rem;
    }
    
    .about-info p {
        font-size: 0.875rem;
    }
    
    .about-info .about-link {
        font-size: 0.9375rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
    
    .partners-section .section-title {
        margin-bottom: 1rem;
    }
    
    .partners-section .section-title h2 {
        font-size: 2rem;
    }
    
    .partners-section .section-title p {
        font-size: 0.8125rem;
    }
    
    
    .partners-scroll-wrapper {
        padding: 0.75rem 0;
    }
    
    .partner-logo {
        height: 60px;
        min-width: 120px;
        max-width: 180px;
        padding: 0.75rem 1.25rem;
    }
    
    .partners-scroll-track .partner-item:nth-child(6n+1) .partner-logo {
        width: 130px;
    }
    
    .partners-scroll-track .partner-item:nth-child(6n+2) .partner-logo {
        width: 150px;
    }
    
    .partners-scroll-track .partner-item:nth-child(6n+3) .partner-logo {
        width: 120px;
    }
    
    .partners-scroll-track .partner-item:nth-child(6n+4) .partner-logo {
        width: 170px;
    }
    
    .partners-scroll-track .partner-item:nth-child(6n+5) .partner-logo {
        width: 140px;
    }
    
    .partners-scroll-track .partner-item:nth-child(6n+6) .partner-logo {
        width: 160px;
    }

    section {
        padding: 3rem 0;
    }
    
    .about-section {
        padding: 0 !important;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .about-stat-item {
        padding: 1.5rem 1rem;
        min-height: auto;
    }
    
    .about-stat-icon {
        width: 48px;
        height: 48px;
    }
    
    .about-stat-number {
        font-size: 2rem;
    }
    
    .about-stat-label {
        font-size: 0.7rem;
    }
    
    .about-info {
        padding: 2rem 1.5rem;
    }
    
    .about-info h2 {
        font-size: 1.5rem;
    }
    
    .about-info p {
        font-size: 0.875rem;
    }

    .category-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* ??????? */
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 0.8125rem;
    }
    
    .category-header {
        padding: 2rem 0;
    }
    
    .category-header .section-title h2 {
        font-size: 2rem;
    }
    
    .category-header .section-title p {
        font-size: 0.8125rem;
    }
    
    .category-showcase-grid {
        grid-template-columns: 1fr;
        min-height: 300px;
    }
    
    .category-showcase-card {
        min-height: 300px;
    }
    
    .category-showcase-title {
        font-size: 2rem;
    }
    
    .category-showcase-subtitle {
        font-size: 1.1rem;
    }
    
    /* News Section ??? */
    .news-scroll-track .news-card {
        width: calc((100vw - 2rem - 1.5rem) / 1.5);
        min-width: 240px;
        max-width: 280px;
    }
    
    .news-card-image-wrapper {
        height: 200px;
    }
    
    /* Certifications Section ??? */
    .certify-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .certify-item {
        padding: 0.75rem;
    }
    
    /* 保持证书卡片的A4比例，图片填满卡片 */
    .certify-card {
        aspect-ratio: 210 / 297;
    }
    
    .certify-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Partners Section ??? */
    .partners-fade-left,
    .partners-fade-right {
        width: 60px;
    }
    
    .partners-scroll-track {
        gap: 1.5rem;
    }
}

/* ============================================
   Page Banner Styles (for templates)
   ============================================ */
/* Home Banner (used in home.html template) */
.home-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    min-height: 625px;
}

.home-banner .banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-banner .banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.home-banner .banner-item.active {
    opacity: 1;
    position: relative;
}

.home-banner .banner-item img,
.home-banner .banner-item picture img,
.home-banner .banner-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-banner .banner-item picture {
    width: 100%;
    height: 100%;
    display: block;
}

.home-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-white);
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.home-banner .banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.home-banner .banner-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.home-banner .banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.home-banner .banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.home-banner .banner-dot.active {
    background: var(--bg-white);
}

.home-banner .banner-prev,
.home-banner .banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--text-white);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-banner .banner-prev:hover,
.home-banner .banner-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.home-banner .banner-prev {
    left: 20px;
}

.home-banner .banner-next {
    right: 20px;
}

/* Page Banner (generic page banner) */
.page-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    background: #000;
}

.page-banner .banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-banner .banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Banner 全图轻微压暗，提升文字对比度 */
.page-banner .banner-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.page-banner .banner-item img,
.page-banner .banner-item picture img,
.page-banner .banner-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-banner .banner-item picture {
    width: 100%;
    height: 100%;
    display: block;
}

.page-banner .banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-white);
    z-index: 2;
    /* 仅使用文字阴影，避免明显的黑色方块背景 */
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.page-banner .banner-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-banner .banner-overlay p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 0 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Contact map */
.contact-map-section {
    margin: 2rem 0 3.5rem;
}

.contact-map {
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* 自定义地图标记（支持 JSON 配置颜色、图标类型） */
.contact-map-pin,
.contact-map-star {
    background: none !important;
    border: none !important;
}
.contact-map-pin svg,
.contact-map-star svg {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* 地图弹窗内容：图标 + 文字，区分标题/地址/电话/邮箱 */
.contact-map-popup {
    min-width: 200px;
    max-width: 320px;
    font-size: 0.875rem;
}
.contact-map-popup-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    line-height: 1.4;
}
.contact-map-popup-row:last-child {
    margin-bottom: 0;
}
.contact-map-popup-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-color, #3388ff);
    vertical-align: middle;
}
.contact-map-popup-title {
    margin-bottom: 8px;
    font-size: 1rem;
}
.contact-map-popup-title strong {
    color: inherit;
}

@media (max-width: 768px) {
    .contact-map {
        height: 320px;
        border-radius: 12px;
    }
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Breadcrumb Navigation - ?????
   ============================================ */
.breadcrumb {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.875rem 0;
}

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

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    padding: 0.25rem 0;
}

.breadcrumb-link:hover {
    color: var(--primary-color);
}

.breadcrumb-link svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.breadcrumb-separator {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--text-light);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ????? */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.75rem 0;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 0.8125rem;
    }
    
    .breadcrumb-link svg,
    .breadcrumb-separator {
        width: 14px;
        height: 14px;
    }
}

/* News Detail Styles */
.news-detail {
    max-width: 100%;
    margin: 0;
    padding-top: 2rem;
}

/* ?????? - ??????? */
.news-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ????? - ???? */
@media (max-width: 768px) {
    .news-article {
        padding: 0 0.75rem;
    }
    
    .news-header h1 {
        font-size: 1.5rem;
    }
    
    .news-excerpt {
        padding: 1rem;
    }
    
    .news-cover-image {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

.news-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.news-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-excerpt {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 0.5rem;
}

.news-excerpt-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.news-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.news-meta .news-date,
.news-meta .news-views {
    display: flex;
    align-items: center;
}

.news-cover-image {
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.news-cover-image img {
    width: 100%;
    max-height: 600px;
    height: auto;
    object-fit: cover;
    display: block;
}

.news-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.news-content h2 {
    font-size: 1.75rem;
}

.news-content h3 {
    font-size: 1.5rem;
}

.news-content ul,
.news-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.news-content li {
    margin-bottom: 0.5rem;
}

.news-content img {
    max-width: 90%;
    max-height: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    margin: 1.5rem auto;
    display: block;
    box-shadow: var(--shadow-sm);
}

.news-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-light);
    font-style: italic;
}

.news-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.news-content a:hover {
    color: var(--accent-color);
}

.related-news {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-news h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* ????? */
@media (max-width: 768px) {
    .news-detail {
        padding-top: 1rem;
    }
    
    .news-header h1 {
        font-size: 1.5rem;
    }
    
    .news-subtitle {
        font-size: 1rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.75rem;
        font-size: 0.8125rem;
    }
    
    .news-content {
        font-size: 0.9375rem;
    }
    
    .news-content h2 {
        font-size: 1.5rem;
    }
    
    .news-content h3 {
        font-size: 1.25rem;
    }
    
    .news-cover-image {
        max-width: 100%;
    }
    
    .news-cover-image img {
        max-height: 400px;
    }
    
    .news-content img {
        max-width: 100%;
        max-height: 400px;
    }
    
    .related-news {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .related-news h2 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
}

/* Pagination Styles */
/* ============================================
   Pagination Component - ??????
   ============================================ */
.pagination-wrapper {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* main ??? padding-bottom: 4rem????????????????? padding */
main > .container > .pagination-wrapper:last-child {
    margin-bottom: 0;
}

.pagination {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    min-width: 2.5rem;
    height: 2.5rem;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

.page-link:hover:not(.active) {
    background-color: #f1f5f9;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.page-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    cursor: default;
    pointer-events: none;
}

.page-link:active:not(.active) {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.1);
}

/* ???/??????? */
.page-link-prev,
.page-link-next {
    padding: 0.625rem 1.25rem;
    font-weight: 600;
}

.page-link-prev svg,
.page-link-next svg {
    flex-shrink: 0;
}

/* ????? */
.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    user-select: none;
}

/* ????? */
@media (max-width: 768px) {
    .pagination {
        gap: 0.375rem;
    }
    
    .page-link {
        padding: 0.5rem 0.75rem;
        min-width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8125rem;
    }
    
    .page-link-prev,
    .page-link-next {
        padding: 0.5rem 1rem;
    }
    
    .page-link-prev span,
    .page-link-next span {
        display: none;
    }
    
    .page-link-prev svg,
    .page-link-next svg {
        margin: 0;
    }
}

/* Product List & Detail Styles */
.product-list {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
}

/* ????????????????????????? */
.product-list .product-grid,
.product-list #productGrid {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-left: -20px;
    margin-right: 0;
    padding-left: 20px;
    justify-content: flex-start;
    align-items: flex-start;
}

/* ?????????????????? */
.product-grid,
#productGrid {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-left: -20px;
    margin-right: 0;
    padding-left: 20px;
    justify-content: flex-start;
    align-items: flex-start;
}

.product-list .product-grid > *,
.product-list #productGrid > *,
.product-grid > *,
#productGrid > * {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

/* ???? product-card-link ????????? */
.product-grid > a.product-card-link:empty,
#productGrid > a.product-card-link:empty {
    display: none;
}

.product-list .product-grid > *:nth-child(4n),
.product-list #productGrid > *:nth-child(4n),
.product-grid > *:nth-child(4n),
#productGrid > *:nth-child(4n) {
    margin-right: 0;
}

/* ?????? */
.product-filter-wrapper {
    margin: 2rem 0 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.product-categories-container {
    position: relative;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    transition: max-height 0.3s ease;
    overflow: hidden;
    margin-bottom: 0;
}

.category-item {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.5;
}

/* ?????????????????????? */
.category-group {
    width: 100%;
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-group + .category-group {
    margin-top: 0;
}

.category-group-title {
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
}

.category-group-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: center;
}

/* ?????????????????????? */
@media (max-width: 768px) {
    .category-group {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .category-group-title {
        padding-top: 0;
        font-size: 0.875rem;
    }
}

/* ??????? All ?????????? */
.category-item-all {
    padding-inline: 0.8rem;
}

.category-item:hover {
    background-color: #f1f5f9;
    border-color: var(--border-light);
    color: var(--text-secondary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.category-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.1rem auto 0;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.8125rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.category-toggle:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--text-secondary);
}

.category-toggle svg {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

.category-toggle .toggle-text {
    font-weight: 500;
}

/* ???????? */
.product-tags-container {
    margin-top: 0;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

/* Tags??product-filter-wrapper???????????????? */
#tagFilterWrapper.product-filter-wrapper {
    margin: -0.75rem 0 0.5rem;
    padding: 0.5rem 0 0.5rem;
    border-bottom: none;
}

.tag-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    white-space: nowrap;
    margin-right: 0.25rem;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    text-decoration: none;
    color: var(--text-secondary);
    background: #f8fafc;
    border: 1px dashed var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.8125rem;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.5;
}

.tag-item:hover {
    background-color: #f1f5f9;
    border-color: var(--primary-color);
    border-style: solid;
    color: var(--primary-color);
}

.tag-item.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--text-white);
    border-color: #10b981;
    border-style: solid;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    font-weight: 500;
}

.tag-hot {
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0.125rem 0.375rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
}

.tag-item.active .tag-hot {
    background: rgba(255, 255, 255, 0.25);
    color: var(--text-white);
}

/* ?????? - ???????? */
.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: calc(25% - 0.75rem);
    flex-shrink: 0;
    height: 100%;
    box-sizing: border-box;
}

.product-card-link:hover .product-card,
.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

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

.product-card .product-image img,
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-origin: center center;
}

/* ??????hover?? - ??news?? */
.product-card-link:hover .product-card .product-image img,
.product-card:hover .product-image img {
    transform: scale(1.08);
    filter: brightness(1.15) saturate(1.2);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
    position: absolute;
    top: 0;
    left: 0;
}

.product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 85px;
    min-height: 85px;
    max-height: 85px;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

/* ??????????? */
.product-info.title-only {
    justify-content: center;
}

.product-info.title-only .product-name {
    margin: 0;
}

.product-card-link:hover .product-name {
    color: var(--primary-color);
}

.product-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
    width: 100%;
    pointer-events: auto;
    cursor: pointer;
}


/* ?????? - ???????????????????? */
/* ?????????????? */
.product-badge-corner {
    position: absolute;
    top: 0;
    z-index: 3;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1.25rem;
    min-width: 60px;
    text-align: center;
    border-radius: 0;
}

/* ???? - ??????????? */
.product-badge-corner.product-badge-left {
    left: 0;
    /* ??????????????????? */
    border-top-left-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 8px;
}

/* ???? - ??????????? */
.product-badge-corner.product-badge-right {
    right: 0;
    /* ??????????????????? */
    border-top-right-radius: 8px;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 8px;
}

.product-card-link:hover .product-card .product-badge-corner {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.product-badge-corner.product-badge-recommend {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.product-badge-corner.product-badge-hot {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.product-description {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    flex: 1;
}

/* ?????????????????????? */
.product-card .product-description {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    width: 100%;
    margin: 0.375rem 0 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-light);
    cursor: help;
    flex-shrink: 0;
}

/* ??? Tooltip ?? */
.custom-tooltip {
    position: fixed;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 320px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    word-wrap: break-word;
}

.custom-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(15, 23, 42, 0.95);
}

/* ???????? */
.category-popover {
    position: fixed;
    z-index: 10001;
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: auto;
}

.category-popover.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.category-popover-content {
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-width: 180px;
    max-width: 280px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.category-popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-popover-title {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.category-popover-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    opacity: 0.8;
}

.category-popover-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.category-popover-list {
    padding: 0.375rem;
    max-height: 320px;
    overflow-y: auto;
}

.category-popover-item {
    display: block;
    padding: 0.375rem 0.625rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.8125rem;
    line-height: 1.4;
    margin-bottom: 0.125rem;
}

.category-popover-item:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateX(4px);
}

.category-popover-item:last-child {
    margin-bottom: 0;
}

/* ????? */
.category-popover-list::-webkit-scrollbar {
    width: 6px;
}

.category-popover-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.category-popover-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.category-popover-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.product-category {
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: var(--text-lighter);
}

.category-label {
    font-weight: 500;
}

/* ?????? - ???????? */
.product-category-tags {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    z-index: 10;
    max-width: calc(100% - 1rem);
    pointer-events: none;
}

.product-category-tags .product-category-tag {
    pointer-events: auto;
}

.product-category-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 400;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.product-category-tag:hover {
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.product-category-tag-more {
    background: rgba(15, 23, 42, 0.5);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.product-category-tag-more:hover {
    background: rgba(15, 23, 42, 0.7);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.product-actions .btn {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    min-width: 0;
}

.product-actions .btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.product-actions .btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.product-actions .btn-outline,
.product-actions .btn-outline-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.product-actions .btn-outline:hover,
.product-actions .btn-outline-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.product-actions .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.product-loading,
.product-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
    font-size: 1rem;
}

.product-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-light);
    font-size: 1.125rem;
}

/* ??????????3? */
@media (max-width: 1200px) {
    .product-grid > *:nth-child(4n) {
        margin-right: 1rem;
    }
    
    .product-grid > *:nth-child(3n) {
        margin-right: 0;
    }
    
    .product-card {
        width: calc(33.333% - 0.67rem);
    }
}

@media (max-width: 768px) {
    .product-list {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .product-filter-wrapper {
        margin: 1.5rem 0 1rem;
        padding: 0.75rem 0;
    }
    
    /* Tags??product-filter-wrapper??????????? */
    #tagFilterWrapper.product-filter-wrapper {
        margin: -0.5rem 0 0.375rem;
        padding: 0.375rem 0 0.375rem;
    }
    
    .product-tags-container {
        margin-top: 0;
    }
    
    .product-categories {
        gap: 0.5rem;
    }
    
    .category-item {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .product-grid,
    #productGrid {
        margin-left: -1rem;
        margin-right: 0;
        padding-left: 1rem;
    }
    
    .product-grid > *,
    #productGrid > * {
        margin-right: 1.25rem;
    }
    
    .product-grid > *:nth-child(2n) {
        margin-right: 0;
    }
    
    .product-card {
        border-radius: 10px;
        width: calc(50% - 0.625rem);
        min-width: 0;
    }
    
    .product-info {
        padding: 1.125rem;
        height: 85px;
        min-height: 85px;
        max-height: 85px;
    }
    
    .product-name {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }
    
    .product-description {
        font-size: 0.8125rem;
        line-height: 1.5;
        margin-bottom: 0.875rem;
    }
    
    .product-category {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .product-category-tags {
        bottom: 0.375rem;
        left: 0.375rem;
        gap: 0.25rem;
        max-width: calc(100% - 0.75rem);
    }
    
    .product-category-tag {
        padding: 0.1875rem 0.375rem;
        font-size: 0.625rem;
    }
    
    .product-actions {
        gap: 0.625rem;
        padding-top: 0.875rem;
    }
    
    .product-actions .btn {
        padding: 0.5625rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .product-badge-corner {
        font-size: 0.6875rem;
        padding: 0.375rem 0.875rem;
        min-width: 50px;
    }
    
    .product-loading,
    .product-error {
        padding: 2rem 1rem;
        font-size: 0.9375rem;
    }
    
    .product-empty {
        padding: 3rem 1rem;
        font-size: 1rem;
    }
}


.product-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.product-images {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.product-detail-row .product-info {
    display: flex;
    flex-direction: column;
    padding-top: 0;
    margin-top: 1.5rem;
}

.product-detail-row .product-images {
    padding-top: 0;
    margin-top: 1.5rem;
}

.product-detail-row .product-description {
    flex: 0 0 auto;
    margin-bottom: 0.5rem;
}

.main-image {
    width: 100%;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--bg-light);
    position: relative;
    aspect-ratio: 3 / 4;
}

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

/* ??????? */
.image-zoom-container {
    position: relative;
    cursor: crosshair;
    overflow: hidden;
}

.zoomable-image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* ????? */
.zoom-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    background-repeat: no-repeat;
    pointer-events: none;
    display: none;
    z-index: 10;
    /* ????????? */
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.8),
        0 0 0 4px rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ????? */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10000;
    animation: zoomIn 0.3s ease;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-modal-close:hover {
    background: var(--bg-white);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thumbnail-images {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: 0.375rem;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.thumbnail-item:hover {
    border-color: var(--primary-color);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.product-detail-row .product-description {
    flex: 0 0 auto;
}

.product-price {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 0.375rem;
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.price-value {
    color: #e74c3c;
    font-size: 2rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.product-specs {
    margin-bottom: 1.5rem;
}

.product-specs h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* ?????? */
.product-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-details-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.product-details-table tr:last-child {
    border-bottom: none;
}

.product-details-table .detail-label {
    padding: 16px 20px;
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
    width: 200px;
    vertical-align: top;
}

.product-details-table .detail-value {
    padding: 16px 20px;
    color: #6b7280;
    vertical-align: top;
}

.product-details-table .detail-value p {
    margin: 0 0 8px 0;
}

.product-details-table .detail-value p:last-child {
    margin-bottom: 0;
}

.product-details-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.product-details-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

/* ??????????????? */
.product-specs-section {
    margin: 2rem 0;
    padding: 0;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.price-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-specs {
    margin-top: 0;
}

.specs-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.specs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9375rem;
    white-space: nowrap;
}

.spec-value {
    color: var(--text-light);
    font-size: 0.9375rem;
    flex: 1;
}

/* ???????? */
.product-content-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
}

.content-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.product-content {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    line-height: 1.8;
    color: #475569;
    font-size: 1rem;
}

.product-content p {
    margin-bottom: 1.25rem;
}

.product-content p:last-child {
    margin-bottom: 0;
}

.product-content h1,
.product-content h2,
.product-content h3,
.product-content h4,
.product-content h5,
.product-content h6 {
    color: #1e293b;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-content h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.product-content h3 {
    font-size: 1.25rem;
}

.product-content ul,
.product-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.product-content li {
    margin-bottom: 0.5rem;
}

.product-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-content table th,
.product-content table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.product-content table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.product-content table tr:last-child td {
    border-bottom: none;
}

.product-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: #f8fafc;
    border-radius: 4px;
    font-style: italic;
    color: #64748b;
}

.product-content code {
    background: #f1f5f9;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875em;
    color: var(--primary-color);
}

.product-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.product-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* ?????? - ???????? */
.inquiry-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.inquiry-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.inquiry-modal-container {
    background: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.inquiry-modal-overlay.show .inquiry-modal-container {
    transform: scale(1) translateY(0);
}

.inquiry-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
}

.inquiry-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    letter-spacing: -0.01em;
}

.inquiry-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: var(--transition);
    line-height: 1;
}

.inquiry-modal-close:hover {
    background: var(--bg-light);
    color: var(--text-color);
}

.inquiry-modal-body {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    flex: 1;
}

.inquiry-form-group {
    margin-bottom: 1rem;
    position: relative;
}

.inquiry-form-group:last-child {
    margin-bottom: 0;
}

.inquiry-form-label {
    display: block;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    letter-spacing: 0;
}

.inquiry-form-label .required {
    color: #ef4444;
    margin-left: 4px;
    font-weight: 700;
}

.inquiry-form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    color: var(--text-color);
    transition: all 0.2s ease;
    font-family: inherit;
    background: var(--bg-white);
    line-height: 1.5;
}

.inquiry-form-control:hover {
    border-color: var(--border-light);
}

.inquiry-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);
}

.inquiry-form-control::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

/* ?????? */
input[type="email"].inquiry-form-control {
    padding-left: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 16px;
}

input[type="email"].inquiry-form-control:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

/* ?????? */
input[type="tel"].inquiry-form-control,
input[type="phone"].inquiry-form-control {
    padding-left: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 16px;
}

input[type="tel"].inquiry-form-control:focus,
input[type="phone"].inquiry-form-control:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

textarea.inquiry-form-control {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
    padding: 0.75rem 0.875rem;
}

select.inquiry-form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    appearance: none;
}

.inquiry-form-radio-group,
.inquiry-form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 0.375rem;
    border: 1px solid var(--border-color);
}

.inquiry-form-radio,
.inquiry-form-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    color: var(--text-color);
    padding: 0.5rem 0.625rem;
    border-radius: 0.25rem;
    transition: all 0.15s ease;
    font-size: 0.9375rem;
}

.inquiry-form-radio:hover,
.inquiry-form-checkbox:hover {
    background: var(--bg-white);
}

.inquiry-form-radio input[type="radio"],
.inquiry-form-checkbox input[type="checkbox"] {
    margin-right: 0.625rem;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.inquiry-form-radio input[type="radio"]:checked + span,
.inquiry-form-checkbox input[type="checkbox"]:checked + span {
    color: var(--primary-color);
    font-weight: 500;
}

.inquiry-form-captcha {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    width: auto;
    max-width: 100%;
}

.inquiry-form-captcha .inquiry-form-control {
    flex: 0 0 auto;
    max-width: 120px;
    padding: 0.5rem 0.625rem;
}

.inquiry-captcha-image {
    width: auto;
    height: 34px;
    min-width: 92px;
    max-width: 112px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    padding: 0;
    background: var(--bg-white);
    transition: all 0.2s ease;
    flex-shrink: 0;
    object-fit: contain; /* ?????? */
}

.inquiry-captcha-image:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);
}

.inquiry-form-actions {
    display: flex;
    gap: 0.625rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.inquiry-form-actions .btn {
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    line-height: 1.5;
}

.inquiry-form-actions .btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.inquiry-form-actions .btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.inquiry-form-actions .btn-primary:active {
    transform: translateY(0);
}

.inquiry-form-actions .btn-primary:disabled {
    background: var(--secondary-color);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.inquiry-form-actions .btn-secondary {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.inquiry-form-actions .btn-secondary:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ????????????? */
@media (min-width: 640px) {
    .inquiry-form-fields-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .inquiry-form-group.full-width {
        grid-column: 1 / -1;
    }
}

/* ??? */
@media (max-width: 640px) {
    .inquiry-modal-overlay {
        padding: 10px;
    }
    
    .inquiry-modal-container {
        max-height: 95vh;
        border-radius: 0.5rem;
    }
    
    .inquiry-modal-header {
        padding: 1rem 1.25rem;
    }
    
    .inquiry-modal-title {
        font-size: 1.125rem;
    }
    
    .inquiry-modal-body {
        padding: 1.25rem 1rem;
    }
    
    .inquiry-form-captcha {
        /* ?????????????? */
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .inquiry-form-captcha .inquiry-form-control {
        width: 9ch;
        max-width: 120px;
        padding: 0.5rem 0.625rem;
    }
    
    .inquiry-captcha-image {
        width: auto;
        height: 34px;
        min-width: 88px;
        max-width: 112px;
        min-height: auto;
    }
    
    .inquiry-form-actions {
        flex-direction: column-reverse;
    }
    
    .inquiry-form-actions .btn {
        width: 100%;
    }
}

/* ?????? */
.inquiry-message {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.inquiry-message.show {
    opacity: 1;
    transform: translateY(0);
}

.inquiry-message-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 3px solid #10b981;
}

.inquiry-message-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 3px solid #ef4444;
}

.inquiry-message-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 3px solid var(--primary-color);
}

/* ????specs-table????? */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

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

.specs-table td {
    padding: 0.75rem;
}

.spec-label {
    width: 120px;
    color: var(--text-light);
    font-weight: 500;
}

.spec-value {
    color: var(--text-color);
}

.product-category {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.product-category a {
    color: var(--primary-color);
    text-decoration: none;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

.btn-outline-secondary {
    background-color: transparent;
    color: var(--text-color);
    padding: 0.875rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.product-content-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.product-content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.product-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.related-products {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-products h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .product-detail-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .product-specs-section {
        margin: 1.5rem 0;
        padding: 0;
    }
    
    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }
    
    .price-value {
        font-size: 1.25rem;
    }
    
    .specs-title {
        font-size: 0.9375rem;
    }
    
    .specs-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.625rem 0;
    }
    
    .spec-label {
        font-size: 0.875rem;
    }
    
    .spec-value {
        font-size: 0.875rem;
    }
    
    .product-content-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .product-content {
        padding: 1.25rem;
    }
    
    .content-title {
        font-size: 1.5rem;
    }
    
    .product-images {
        margin-bottom: 1.5rem;
    }
    
    .product-info {
        padding: 0;
    }
    
    .product-specs-section {
        margin: 1.5rem 0;
        padding: 0;
    }
    
    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }
    
    .price-value {
        font-size: 1.25rem;
    }
    
    .specs-title {
        font-size: 0.9375rem;
    }
    
    .specs-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.625rem 0;
    }
    
    .spec-label {
        font-size: 0.875rem;
    }
    
    .spec-value {
        font-size: 0.875rem;
    }
    
    .product-content-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .product-content {
        padding: 1.25rem;
    }
    
    .content-title {
        font-size: 1.5rem;
    }
    
    .product-content-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .product-content {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    
    .related-products {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
    
    .related-products h2 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .product-details-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .product-details-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .product-grid,
    #productGrid {
        display: flex;
        flex-wrap: wrap;
        margin-left: -20px;
        margin-right: 0;
        padding-left: 20px;
        justify-content: flex-start;
    }
    
    .product-grid > *,
    #productGrid > * {
        margin-right: 1rem;
        margin-bottom: 1rem;
    }
    
    .product-grid > *:nth-child(4n),
    #productGrid > *:nth-child(4n) {
        margin-right: 0;
    }
    
    .product-card {
        width: calc(25% - 0.75rem);
        min-width: 0;
    }
}

/* Content Section */
.content-section {
    padding: 2rem 0;
}

.content-section:first-of-type {
    padding-top: 3rem;
}

.content-section:last-of-type {
    /* content-section ???? padding????? main > .container ????????
       ???? margin-bottom ?? main ? padding-bottom ?????? */
    padding-bottom: 2rem; /* ????? padding */
}

/* ?? content-section ? main > .container ?????????? main ? padding-bottom */
main > .container > .content-section:last-child {
    margin-bottom: -4rem;
}

.content-section .section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-section .section-title h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.content-section .section-title p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.text-content {
    line-height: 1.7;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.9375rem;
}

.text-content p {
    margin-bottom: 1rem;
}

.text-content p:last-child {
    margin-bottom: 0;
}

/* ?????????? */
.content-section:empty,
.content-section .section-title:empty + .text-content:empty {
    display: none;
}

@media (max-width: 768px) {
    .content-section {
        padding: 1.5rem 0;
    }
    
    .content-section:first-of-type {
        padding-top: 2rem;
    }
    
    .content-section .section-title h2 {
        font-size: 1.5rem;
    }
    
    .content-section .section-title p {
        font-size: 0.9375rem;
    }
    
    .text-content {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    /* Header ????? */
    .main-nav {
        padding: 0.5rem 0;
    }
    
    .main-nav .container {
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 1.125rem;
    }
    
    .header-logo-img {
        max-height: 28px;
        max-width: 120px;
    }
    
    .mobile-menu-toggle {
        font-size: 1.25rem;
        padding: 0.25rem;
    }
    
    .header-actions {
        gap: 0.375rem;
    }
    
    .search-box {
        max-width: 150px;
    }
    
    .search-form {
        height: 32px;
    }
    
    .search-input {
        padding: 0 0.375rem;
        font-size: 0.7rem;
    }
    
    .search-btn {
        padding: 0 0.5rem;
    }
    
    .search-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .nav-menu {
        padding: 0;
    }
    
    .nav-menu a {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        line-height: 1.4;
    }
    
    .nav-item-has-dropdown .nav-link-main {
        padding: 0.625rem 1rem;
    }
    
    .nav-dropdown {
        margin: 0;
        padding: 0;
    }
    
    .nav-item-has-dropdown.active .nav-dropdown {
        margin: 0;
        padding: 0;
    }
    
    .nav-dropdown a {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .nav-menu > li.nav-item-search-mobile,
    .nav-item-search-mobile {
        padding: 1.75rem 1rem 0.875rem 1rem !important;
        padding-top: max(1.75rem, calc(env(safe-area-inset-top, 0px) + 1.25rem)) !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-bottom: 0.875rem !important;
    }
    
    .search-form-mobile {
        height: 38px;
    }
    
    .nav-item-lang-mobile {
        margin-top: 0.25rem;
        padding-top: 0.25rem;
    }
    
    .lang-select-btn-mobile {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .lang-switcher-mobile .lang-icon {
        width: 16px;
        height: 16px;
    }
    
    .lang-dropdown-mobile .lang-option {
        padding: 0.625rem 0.875rem 0.625rem 2rem;
        font-size: 0.875rem;
    }

    .banner-section {
        height: 400px;
    }

    .banner-content {
        padding: 1.5rem;
    }

    .banner-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .banner-content p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .banner-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .home-banner {
        min-height: 400px;
    }

    .home-banner .banner-content h2 {
        font-size: 1.8rem;
    }

    .home-banner .banner-content p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    /* About Section ????? */
    .about-stats {
        padding: 1.5rem 0.75rem;
        gap: 1rem;
    }
    
    .about-stat-item {
        padding: 1.25rem 0.75rem;
    }
    
    .about-stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .about-stat-number {
        font-size: 1.75rem;
    }
    
    .about-stat-label {
        font-size: 0.65rem;
    }
    
    .about-info {
        padding: 1.5rem 1rem;
    }
    
    .about-info h2 {
        font-size: 1.25rem;
    }
    
    .about-info p {
        font-size: 0.8125rem;
    }
    
    /* Category Section ????? */
    .category-header {
        padding: 1.5rem 0;
    }
    
    .category-header .section-title h2 {
        font-size: 1.75rem;
    }
    
    .category-showcase-grid {
        min-height: 250px;
    }
    
    .category-showcase-card {
        min-height: 250px;
    }
    
    .category-showcase-title {
        font-size: 1.75rem;
    }
    
    .category-showcase-subtitle {
        font-size: 1rem;
    }
    
    /* News Section ????? */
    .news-scroll-container {
        padding: 0 0.75rem 1rem;
    }
    
    .news-scroll-track {
        gap: 1rem;
    }
    
    .news-scroll-track .news-card {
        width: calc((100vw - 1.5rem - 1rem) / 1.5);
        min-width: 220px;
        max-width: 260px;
    }
    
    .news-card-image-wrapper {
        height: 180px;
    }
    
    /* ??? overlay ???? */
    .news-card-overlay {
        padding: 0.875rem 0.625rem;
        gap: 0.625rem;
    }
    
    .news-card-title {
        font-size: 0.9375rem;
        line-height: 1.3;
    }
    
    .news-card-overlay .news-card-date {
        font-size: 0.75rem;
        color: #ffffff;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 0, 0, 0.5);
    }
    
    .news-card-content {
        padding: 1rem;
    }
    
    .news-card-content h3 {
        font-size: 1rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }
    
    .news-card-content p {
        font-size: 0.8125rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }
    
    /* Certifications Section ????? */
    .certify-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .certify-item {
        padding: 0.5rem;
    }
    
    /* 保持证书卡片的A4比例，图片填满卡片 */
    .certify-card {
        aspect-ratio: 210 / 297;
    }
    
    .certify-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Partners Section ????? */
    .partners-section {
        padding: 1.5rem 0;
    }
    
    .partners-section .section-title h2 {
        font-size: 1.75rem;
    }
    
    .partners-section .section-title p {
        font-size: 0.75rem;
    }
    
    .partners-fade-left,
    .partners-fade-right {
        width: 40px;
    }
    
    .partners-scroll-track {
        gap: 1rem;
    }
    
    .partner-logo {
        height: 50px;
        min-width: 100px;
        max-width: 140px;
        padding: 0.5rem 1rem;
    }
    
    .partners-scroll-track .partner-item:nth-child(6n+1) .partner-logo,
    .partners-scroll-track .partner-item:nth-child(6n+2) .partner-logo,
    .partners-scroll-track .partner-item:nth-child(6n+3) .partner-logo,
    .partners-scroll-track .partner-item:nth-child(6n+4) .partner-logo,
    .partners-scroll-track .partner-item:nth-child(6n+5) .partner-logo,
    .partners-scroll-track .partner-item:nth-child(6n+6) .partner-logo {
        width: auto;
        min-width: 100px;
        max-width: 140px;
    }
    
    /* Section Title ??????? */
    .section-title {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 0.75rem;
    }
}

/* Contact Form Section Styles */
.contact-form-section {
    background: var(--bg-white);
    margin-top: 2rem;
    padding: 0; /* main already has padding */
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    min-height: 600px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ???????? */
.contact-info-panel {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    pointer-events: none;
}

.contact-info-content {
    position: relative;
    z-index: 1;
}

.contact-logo {
    margin-bottom: 3rem;
}

.contact-logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.contact-logo-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    letter-spacing: 0.05em;
}

.contact-info-list {
    margin-bottom: 3rem;
}

.contact-info-empty {
    padding: 1rem 0;
    text-align: center;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.contact-info-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-value {
    font-size: 1rem;
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-value:hover {
    color: rgba(255, 255, 255, 0.8);
}

.contact-social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ?????? */
.contact-form-panel {
    background: var(--bg-white);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.contact-form-description {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-form-panel #contactFormContainer {
    flex: 1;
}

.contact-form-panel .inquiry-modal-container {
    max-width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
}

.contact-form-panel .inquiry-modal-header {
    display: none;
}

.contact-form-panel .inquiry-modal-body {
    padding: 0;
    background: transparent;
}

/* Contact page: make submit button longer + left aligned */
.contact-form-panel .inquiry-form-actions {
    justify-content: flex-start;
}

.contact-form-panel .inquiry-form-actions .btn-primary {
    min-width: 180px;
    padding: 0.75rem 2.25rem;
}

.contact-form-error {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

/* ????? */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        padding: 3rem 2rem;
    }
    
    .contact-form-panel {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 0;
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .contact-info-panel {
        padding: 2rem 1.25rem;
        order: 2; /* ?????????????? */
    }
    
    .contact-form-panel {
        padding: 2rem 1.25rem;
        order: 1; /* ?????????? */
    }
    
    .contact-logo {
        margin-bottom: 2rem;
    }
    
    .contact-logo img {
        max-width: 150px;
    }
    
    .contact-logo-text h2 {
        font-size: 1.375rem;
    }
    
    .contact-info-list {
        margin-bottom: 2rem;
    }
    
    .contact-info-item {
        margin-bottom: 1.5rem;
        gap: 0.875rem;
    }
    
    .contact-info-icon {
        width: 36px;
        height: 36px;
    }
    
    .contact-info-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .contact-info-label {
        font-size: 0.8125rem;
    }
    
    .contact-info-value {
        font-size: 0.9375rem;
    }
    
    .contact-social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .contact-form-header {
        margin-bottom: 1.5rem;
    }
    
    .contact-form-title {
        font-size: 1.375rem;
        margin-bottom: 0.625rem;
    }
    
    .contact-form-description {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .contact-form-panel #contactFormContainer {
        margin-top: 0;
    }
    
    .contact-form-panel .inquiry-modal-container {
        max-width: 100%;
    }
    
    .contact-form-panel .inquiry-modal-header {
        padding: 1rem 1.25rem;
    }
    
    .contact-form-panel .inquiry-modal-body {
        padding: 1.25rem 1rem;
    }
}

/* ============================================
   Floating Contact Popup (Global)
   ============================================ */
.floating-contact-wrapper {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    font-family: inherit;
}

.floating-contact-card {
    width: 360px;
    max-width: calc(100vw - 48px);
    background: var(--bg-white);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    backdrop-filter: blur(10px);
}

.floating-contact-card.is-collapsed {
    display: none;
}

.floating-contact-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 14px 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--primary-darker) 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.floating-contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.floating-contact-header > div:first-child {
    flex: 1;
    position: relative;
    z-index: 1;
    padding-right: 12px;
}

.floating-contact-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.floating-contact-subtitle {
    font-size: 11px;
    opacity: 0.95;
    margin: 0;
    line-height: 1.35;
    font-weight: 400;
}

.floating-contact-close {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    font-size: 20px;
    font-weight: 300;
}

.floating-contact-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.floating-contact-close svg {
    width: 16px;
    height: 16px;
}

.floating-contact-body {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text-color);
    background: var(--bg-white);
}

.floating-contact-body form .form-row {
    margin-bottom: 6px;
}

.floating-contact-body form .form-row:last-of-type {
    margin-bottom: 8px;
}

.floating-contact-body label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-color);
    letter-spacing: 0.01em;
}

.floating-contact-body input,
.floating-contact-body textarea,
.floating-contact-body select {
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 6px 10px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    background: var(--bg-white);
    color: var(--text-color);
    transition: all 0.2s ease;
    font-family: inherit;
}

.floating-contact-body input::placeholder,
.floating-contact-body textarea::placeholder {
    color: var(--text-lighter);
    font-weight: 400;
}

.floating-contact-body input:hover,
.floating-contact-body textarea:hover,
.floating-contact-body select:hover {
    border-color: var(--primary-light);
}

.floating-contact-body input:focus,
.floating-contact-body textarea:focus,
.floating-contact-body select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
    background: var(--bg-white);
}

.floating-contact-body textarea {
    resize: vertical;
    min-height: 44px;
    line-height: 1.45;
}

.floating-contact-body select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e293b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.floating-contact-body select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e3a8a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.floating-contact-body .form-row-captcha {
    margin-bottom: 6px;
}
.floating-contact-body .form-row-captcha .floating-captcha-wrap {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    width: auto;
    max-width: 100%;
}
.floating-contact-body .floating-captcha-input {
    flex: 0 0 auto;
    max-width: 110px;
    padding: 4px 8px;
    font-size: 11px;
    min-width: 0;
}
.floating-contact-body .floating-captcha-image {
    width: auto;
    height: 26px;
    min-width: 58px;
    max-width: 72px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
}
.floating-contact-body .floating-captcha-image:hover {
    border-color: var(--primary-color);
}

.floating-contact-body button[type="submit"] {
    width: 100%;
    margin-top: 0;
    border-radius: 6px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    position: relative;
    overflow: hidden;
}

.floating-contact-body button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.floating-contact-body button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    transform: translateY(-1px);
}

.floating-contact-body button[type="submit"]:hover::before {
    left: 100%;
}

.floating-contact-body button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

/* 小屏浮动弹窗保持紧凑 */
@media (max-width: 480px) {
    .floating-contact-wrapper {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }
    
    .floating-contact-card {
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
    }
    
    .floating-contact-header {
        padding: 12px 14px 10px;
    }
    
    .floating-contact-title {
        font-size: 15px;
    }
    
    .floating-contact-subtitle {
        font-size: 11px;
    }
    
    .floating-contact-body {
        padding: 12px 14px;
    }
    
    .floating-contact-body input,
    .floating-contact-body textarea,
    .floating-contact-body select {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .floating-contact-body button[type="submit"] {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .floating-contact-toggle {
        right: 16px;
        bottom: 80px;
        width: 56px;
        height: 56px;
    }
    
    .floating-contact-toggle svg {
        width: 24px;
        height: 24px;
    }
}

.floating-contact-toggle {
    position: fixed;
    right: 24px;
    bottom: 96px; /* ?????????? 24px + ???? 60px + ?? 12px */
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
    cursor: pointer;
    z-index: 9999;
    padding: 0;
    transition: all 0.3s ease;
    animation: floatingPulse 2s ease-in-out infinite;
}

.floating-contact-toggle svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.floating-contact-toggle:hover {
    background: #1d4ed8;
    transform: scale(1.1);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.6);
}

.floating-contact-toggle:hover svg {
    transform: scale(1.1);
}

/* ?????? */
@keyframes floatingPulse {
    0%, 100% {
        box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5),
                    0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    50% {
        box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5),
                    0 0 0 10px rgba(37, 99, 235, 0);
    }
}

/* ????????????????????? */
@keyframes floatingBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.floating-contact-toggle.is-hidden {
    display: none;
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px; /* ??? */
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: #64748b;
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    padding: 0;
}

.scroll-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #475569;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .floating-contact-wrapper {
        right: 16px;
        bottom: 16px;
    }

    .floating-contact-card {
        width: 92vw;
    }
    
    .floating-contact-toggle {
        right: 16px;
        bottom: 84px; /* ?????????? 16px + ???? 56px + ?? 12px */
        width: 56px;
        height: 56px;
    }
    
    .floating-contact-toggle svg {
        width: 26px;
        height: 26px;
    }
    
    .scroll-to-top {
        right: 16px;
        bottom: 16px; /* ??? */
        width: 56px;
        height: 56px;
    }
    
    .scroll-to-top svg {
        width: 26px;
        height: 26px;
    }
}

/* ============================================
   About Us Page Styles
   ============================================ */

/* Company Profile Section */
.about-company-profile {
    background: #ffffff;
    position: relative;
}

.company-profile-title {
    margin-bottom: 1.5rem;
}

.company-profile-title h2 {
    font-family: 'Rany', 'Arial', sans-serif;
    font-size: 3.125rem;
    font-weight: 500;
    line-height: 4.6875rem;
    color: #1e293b;
    margin: 0;
    padding: 0;
}

.company-profile-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

/* ????????? */
.company-profile-stats-card {
    position: relative;
    width: 380px;
    min-height: 441px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 2.25rem 2.75rem;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 22px 60px rgba(2, 6, 23, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.company-stats-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.company-stats-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    filter: saturate(0.95) contrast(1.05);
}

.company-stat-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding: 0.9rem 0;
}

.company-stat-item:last-child {
    margin-bottom: 0;
}

.company-stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.00) 0%,
        rgba(255, 255, 255, 0.08) 22%,
        rgba(255, 255, 255, 0.08) 78%,
        rgba(255, 255, 255, 0.00) 100%);
}

.company-stat-icon {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.company-stat-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.4;
    color: inherit;
}

.company-stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.25rem;
}

.company-stat-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
}

.company-stat-number {
    font-family: 'D-DIN', 'DIN', 'Arial', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    letter-spacing: 0;
    display: inline-block;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.company-stat-label {
    font-family: 'Poppins', 'Arial', sans-serif;
    font-size: 0.98rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    display: block;
    margin-top: 0.35rem;
}

/* ????/???? */
.company-profile-media {
    position: relative;
    flex: 1;
    min-height: 633px;
    background: #e2e8f0;
    border-radius: 0;
    overflow: hidden;
    z-index: 1;
    margin-left: -40px;
}

.company-media-wrapper {
    /* ???????????????? height:100% ??? min-height ???? */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.company-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* company-play-btn ????????????? */

.company-media-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
}

.company-media-placeholder > div {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

/* ???? */
.company-profile-description {
    max-width: 100%;
    margin: 0;
    text-align: left;
    padding-top: 1.5rem;
}

.company-profile-description p {
    font-family: 'Poppins', 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8125rem;
    color: #1e293b;
    margin: 0;
}

/* Our Mission Section */
.about-mission {
    background: #ffffff;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1000px; /* Our Mission ???????????? */
    margin: 0 auto;
}

.mission-title-wrapper {
    flex-shrink: 0;
}

.mission-title {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', 'Arial', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
    margin: 0;
    padding: 0;
}

.mission-title-line1 {
    display: block;
}

.mission-title-line2 {
    display: block;
}

.mission-text-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mission-quotes {
    font-family: 'Poppins', 'Arial', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    color: #2563eb;
    line-height: 1;
    align-self: flex-start;
    margin-top: -0.3rem;
    flex-shrink: 0;
}

.mission-text {
    font-family: 'Poppins', 'Arial', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: #2563eb;
    margin: 0;
    padding: 0;
    white-space: normal;
    max-width: 700px;
}

/* Company History Section */
.about-history {
    background: #ffffff;
}

.about-history .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.about-history .section-title h2 {
    color: #1e293b;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #1e293b;
}

.history-timeline {
    position: relative;
    max-width: 1440px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: transparent;
    border-left: 2px dashed #2563eb;
    transform: translateX(-50%);
    z-index: 1;
}

.history-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 0;
    min-height: 200px;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #2563eb;
    z-index: 2;
    transform: translateX(-50%);
}

/* ?????????????? */
.history-item-left {
    justify-content: space-between;
}

.history-item-left .history-image-wrapper {
    width: calc(50% - 1rem - 8px);
    max-width: calc(50% - 1rem - 8px);
    padding-right: 1rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

.history-item-left .history-text-wrapper {
    width: calc(50% - 1rem - 8px);
    max-width: calc(50% - 1rem - 8px);
    padding-left: 1rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

.history-item-left .history-text {
    text-align: left;
}

/* ?????????????? */
.history-item-right {
    justify-content: space-between;
}

.history-item-right .history-text-wrapper {
    width: calc(50% - 1rem - 8px);
    max-width: calc(50% - 1rem - 8px);
    padding-right: 1rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

.history-item-right .history-text {
    text-align: right;
}

.history-item-right .history-image-wrapper {
    width: calc(50% - 1rem - 8px);
    max-width: calc(50% - 1rem - 8px);
    padding-left: 1rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

.history-image-wrapper {
    position: relative;
}

.history-text-wrapper {
    position: relative;
    align-items: center;
}

.history-image,
.history-image-placeholder {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 0.5rem;
}

.history-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.history-image-placeholder > div {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

.history-text {
    padding: 0;
}

.history-text-year {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.history-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.history-text p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Production Chain Section */
.about-production {
    background: var(--bg-white);
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.production-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(180deg, #f1f5f9 0%, #cbd5e1 100%);
}

.production-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.production-image,
.production-image-placeholder {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.production-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.production-image-placeholder > div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

.production-stat {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4), transparent);
    padding: 1.5rem;
    color: #ffffff;
}

.production-stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.production-stat-label {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles for About Page */
@media (max-width: 1024px) {
    .company-profile-wrapper {
        grid-template-columns: 400px 1fr;
        gap: 2rem;
    }
    
    .company-profile-stats-card {
        width: 400px;
    }
    
    .production-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .history-timeline {
        padding: 0;
        margin: 0;
        max-width: 100%;
    }
    
    .history-timeline::before {
        left: 60px;
        transform: none;
    }
    
    .history-item {
        flex-direction: column;
    }
    
    .history-item::before {
        left: 60px;
        transform: translateX(-50%);
    }
    
    .history-item-left .history-image-wrapper,
    .history-item-right .history-image-wrapper,
    .history-item-left .history-text-wrapper,
    .history-item-right .history-text-wrapper {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .history-text-year {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* ??? main ???? */
    main {
        padding-bottom: 2.5rem;
    }
    
    /* ??????? section ? margin-bottom ?? */
    main > .container > section:last-child,
    main > section:last-child {
        margin-bottom: -2.5rem;
    }
    
    .about-company-profile,
    .about-mission,
    .about-history,
    .about-production,
    .certify-section {
        padding: 1.5rem 0;
    }
    
    .partners-section {
        padding: 1.5rem 0;
    }
    
    .company-profile-title h2 {
        font-size: 2rem;
        line-height: 3rem;
        font-weight: bold;
    }
    
    .company-profile-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-company-profile .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .company-profile-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0; /* 移除间距，让卡片和图片紧密结合 */
        position: relative;
        /* 整体容器效果：统一的阴影和圆角 */
        border-radius: 1.75rem;
        overflow: hidden;
        box-shadow: 0 22px 50px rgba(15, 23, 42, 0.55);
        background: #ffffff;
    }
    
    .company-profile-stats-card {
        width: 100%;
        min-height: auto;
        padding: 0.75rem 1rem;
        border-radius: 0; /* 移除独立圆角，由父容器统一处理 */
        margin-bottom: 0;
        position: relative;
        z-index: 2;
        box-shadow: none; /* 移除独立阴影，由父容器统一处理 */
    }
    
    .company-stat-item {
        margin-bottom: 0.5rem;
        gap: 1rem;
    }
    
    .company-stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .company-stat-number {
        font-size: 2rem;
    }
    
    .company-stat-suffix {
        font-size: 1.875rem;
    }
    
    .company-stat-label {
        font-size: 0.875rem;
    }
    
    /* Mobile: 将右侧大图作为下方 Banner 展示，与上方卡片视觉结合 */
    .company-profile-media {
        position: relative;
        min-height: 220px;
        margin-left: 0;
        margin-top: 0;
        border-radius: 0; /* 移除独立圆角，由父容器统一处理 */
        overflow: hidden;
        background: radial-gradient(circle at 10% -10%, #1d4ed8 0, #020617 55%, #000000 100%);
        box-shadow: none; /* 移除独立阴影，由父容器统一处理 */
        isolation: isolate;
        z-index: 1;
    }
    
    .company-profile-media::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 15% 20%, rgba(59,130,246,0.6), transparent 55%),
            radial-gradient(circle at 85% 80%, rgba(56,189,248,0.4), transparent 55%),
            linear-gradient(145deg, rgba(15,23,42,0.25), rgba(15,23,42,0.7));
        mix-blend-mode: soft-light;
        pointer-events: none;
        z-index: 1;
    }
    
    .company-media-wrapper,
    .company-media-placeholder {
        position: relative;
        min-height: 220px;
        height: 220px;
        transform: scale(1.03);
        transform-origin: center;
    }
    
    .mission-content {
        flex-direction: column;
        align-items: center; /* 手机版整体居中 */
        gap: 2rem;
        text-align: center;
    }
    
    .mission-title-wrapper {
        text-align: center;
    }
    
    .mission-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .mission-text-wrapper {
        text-align: center;
        justify-content: center;
    }
    
    .mission-text {
        font-size: 1.25rem;
        white-space: normal;
        max-width: 100%; /* 手机版不限制宽度，便于居中换行 */
        margin: 0 auto;
    }
    
    .mission-quotes {
        font-size: 1.25rem;
    }
    
    .production-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-history .section-title {
        margin-bottom: 2rem;
    }
    
    .history-timeline {
        padding: 0 1rem;
    }
    
    /* Mobile ????????????????????? */
    .history-timeline::before {
        display: none;
    }
    
    .history-item {
        position: relative;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 1.25rem 1.25rem 1.5rem;
        border: 1px solid #e2e8f0;
        border-radius: 0.75rem;
        background: #f8fafc;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
        min-height: auto;
    }
    
    .history-item::before {
        display: none;
    }
    
    .history-item-left .history-image-wrapper,
    .history-item-right .history-image-wrapper,
    .history-item-left .history-text-wrapper,
    .history-item-right .history-text-wrapper {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    /* Mobile: 如果有时间轴图片，则作为卡片背景使用 */
    .history-item.history-item-has-mobile-bg {
        position: relative;
        overflow: hidden;
        border: none;
        padding: 1.25rem 1.25rem 1.5rem;
        background: #0f172a;
        background-image: var(--history-bg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* 隐藏单独的图片区域，避免重复占位 */
    .history-item.history-item-has-mobile-bg .history-image-wrapper,
    .history-item.history-item-has-mobile-bg .history-image-placeholder {
        display: none;
    }

    /* 提升文字可读性，在背景图上加一层浅色卡片感 */
    .history-item.history-item-has-mobile-bg .history-text {
        background: rgba(255, 255, 255, 0.7);
        border-radius: 0.75rem;
        padding: 0.9rem 1rem 1rem;
    }
    
    .history-text {
        text-align: left;
    }
    
    .history-text-year {
        font-size: 1.5rem;
        margin-bottom: 0.35rem;
    }
    
    .history-text h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .history-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #475569;
    }
    
    /* ??????????????????????????? */
    .history-image-wrapper {
        display: none;
    }
    
}

/* ============================================
   Search Page Styles
   ============================================ */
.search-page-form {
    margin: 2rem 0 3rem;
    padding: 0;
}

.search-form-page {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: visible;
    background: var(--bg-white);
    transition: all 0.2s ease;
    position: relative;
}

.search-input-wrapper-page {
    position: relative;
}

.search-input-wrapper:hover {
    border-color: var(--primary-light);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.search-input-page {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    min-width: 0;
}

.search-input-page::placeholder {
    color: var(--text-lighter);
}

.search-btn-page {
    padding: 0.875rem 1.25rem;
    border: none;
    background: var(--primary-color);
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.search-btn-page:hover {
    background: var(--accent-color);
}

.search-btn-page:active {
    transform: scale(0.98);
}

.search-results-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.search-results-count {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

.search-results-count strong {
    color: var(--primary-color);
    font-weight: 600;
}

.search-results-section {
    margin-bottom: 3rem;
}

.search-results-section .product-grid,
.search-results-section .news-grid {
    margin-top: 0; /* ????? margin-top????????? margin-bottom */
}

.search-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.search-no-results,
.search-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.125rem;
}

.search-no-results strong,
.search-empty-state strong {
    color: var(--text-color);
    font-weight: 600;
}

/* PC??????????? - ???? news ???? */
.search-results-section .product-card {
    background: var(--bg-white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.search-results-section .product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ?????? - ??? news-card-link ????? */
.search-results-section .product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ?????? - ???? news-card-image-wrapper ??? */
.search-results-section .product-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-lightest) 100%);
}

.search-results-section .product-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.search-results-section .product-card:hover .product-image-img {
    transform: scale(1.08);
}

/* ?? overlay - ???? news-card-overlay ??? */
.search-results-section .product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.0));
    color: #ffffff;
    pointer-events: none;
    gap: 1rem;
}

/* ???? - ???? news-card-title ??? */
.search-results-section .product-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #ffffff;
    flex: 1;
    min-width: 0;
}

/* ??????????????? news ???????? */
.search-results-section .product-info {
    display: none;
}

/* ??????? */
@media (max-width: 768px) {
    .search-page-form {
        margin: 1.5rem 0 2rem;
    }
    
    .search-input-page {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }
    
    .search-btn-page {
        padding: 0.75rem 1rem;
    }
    
    .search-results-header {
        margin-bottom: 1.5rem;
    }
    
    .search-results-count {
        font-size: 0.9375rem;
    }
    
    .search-results-section {
        margin-bottom: 2rem;
    }
    
    .search-section-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    /* ?????????? - ???? news ???? */
    .search-results-section .product-grid {
        gap: 1.5rem;
    }
    
    /* ??????? news ????????? */
    .search-results-section .product-card {
        background: var(--bg-white);
        border-radius: 0.5rem;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        display: flex;
        flex-direction: column;
    }
    
    .search-results-section .product-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px);
    }
    
    /* ?????? - ??? news-card-link ????? */
    .search-results-section .product-card-link {
        display: block;
        text-decoration: none;
        color: inherit;
    }
    
    /* ?????? - ???? news-card-image-wrapper ??? */
    .search-results-section .product-image-wrapper {
        position: relative;
        width: 100%;
        height: 200px;
        overflow: hidden;
        background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-lightest) 100%);
    }
    
    .search-results-section .product-image-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    
    .search-results-section .product-card:hover .product-image-img {
        transform: scale(1.08);
    }
    
    /* ?? overlay - ???? news-card-overlay ??? */
    .search-results-section .product-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 0.75rem;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.0));
        color: #ffffff;
        pointer-events: none;
        gap: 0.75rem;
    }
    
    /* ???? - ???? news-card-title ??? */
    .search-results-section .product-title {
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.3;
        margin: 0;
        color: #ffffff;
        flex: 1;
        min-width: 0;
    }
    
    /* ??????????????? news ???????? */
    .search-results-section .product-info {
        display: none;
    }
    
    .search-no-results,
    .search-empty-state {
        padding: 3rem 1.5rem;
        font-size: 1rem;
    }
}

/* ????????? */
.search-input-wrapper-header {
    position: relative;
    flex: 1;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: auto; /* ??auto????????????? */
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10001; /* ??z-index??????header???header?1000? */
    max-height: min(400px, 60vh);
    overflow-y: auto;
    min-width: 300px;
    width: 300px; /* ????????100% */
    -webkit-overflow-scrolling: touch; /* iOS ???? */
    display: none; /* ??????JavaScript???? */
}

.search-suggestions-content {
    padding: 0.5rem 0;
}

.search-suggestions-group {
    margin-bottom: 0.5rem;
}

.search-suggestions-group:last-child {
    margin-bottom: 0;
}

.search-suggestions-label {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.search-suggestion-item:hover,
.search-suggestion-item.active {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.suggestion-icon {
    margin-right: 0.75rem;
    font-size: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.suggestion-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.suggestion-text {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestions-footer {
    border-top: 1px solid var(--border-color);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.search-suggestion-view-all {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.search-suggestion-view-all:hover {
    background-color: var(--bg-light);
}

/* ???????????? */
@media (max-width: 768px) {
    .search-suggestions {
        max-height: min(350px, 50vh);
        min-width: 100%;
        left: 0;
        right: 0;
        border-radius: 0.375rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }
    
    .search-suggestions-content {
        padding: 0.25rem 0;
    }
    
    .search-suggestions-label {
        padding: 0.5rem 0.75rem;
        font-size: 0.6875rem;
    }
    
    .search-suggestion-item {
        padding: 0.625rem 0.75rem;
    }
    
    .suggestion-text {
        font-size: 0.8125rem;
    }
    
    .search-suggestion-view-all {
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    /* Header ??????????????? */
    .search-input-wrapper-header .search-suggestions {
        position: fixed;
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: auto;
        max-width: calc(100vw - 2rem);
        margin-top: 0.5rem;
    }
    
    /* ????????????? */
    .search-input-wrapper-page .search-suggestions {
        position: absolute;
        left: 0;
        right: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .search-suggestions {
        max-height: min(300px, 45vh);
        border-radius: 0.25rem;
    }
    
    .search-suggestion-item {
        padding: 0.5rem 0.75rem;
    }
    
    .suggestion-icon {
        margin-right: 0.5rem;
    }
    
    .suggestion-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .suggestion-text {
        font-size: 0.75rem;
    }
    
    /* ????????????????480px???- ? news ?????? */
    .search-results-section .product-image-wrapper {
        height: 200px; /* ? news-card-image-wrapper ???? */
    }
    
    .search-results-section .product-overlay {
        padding: 1rem 0.75rem;
        gap: 0.75rem;
    }
    
    .search-results-section .product-title {
        font-size: 1rem;
        line-height: 1.3;
    }
}

/* ============================================
   LazyLoad ???????
   ============================================ */
/* ??????? */
img.lazy-loading {
    opacity: 0.3;
    transition: opacity 0.3s ease;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: lazy-loading-shimmer 1.5s infinite;
}

/* ????????? */
img.lazy-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* ????????????? */
@keyframes lazy-loading-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ????????????? */
img[data-src] {
    min-height: 100px;
    background-color: #f5f5f5;
}
