:root {
    --primary: #0d47a1;
    --primary-light: #1976d2;
    --primary-dark: #002171;
    --accent: #ff9800;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(13, 71, 161, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.bg-light {
    background-color: var(--bg-light);
    background: url(../images/instr1.png) no-repeat left center, url(../images/instr2.png) no-repeat right center;
}

.relative {
    position: relative;
}

/* Header & Nav (Glassmorphism Sticky) */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#header.sticky {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 22px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.header-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: url(../images/logo.png) no-repeat center center;
    background-size: cover;
    width: 577px;
    height: 101px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4fc3f7, var(--primary));
    border-radius: 10px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(13, 71, 161, 0.3);
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    transform: rotate(-45deg);
    border-radius: 4px;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 1px;
    transition: color 0.3s;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    transition: color 0.3s;
}

#header:not(.sticky) .logo-text h1 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#header:not(.sticky) .logo-text span {
    color: rgba(255, 255, 255, 0.8);
}

.nav-links {
    display: flex;
    gap: 60px;
}

.nav-links li a {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

#header:not(.sticky) .nav-links li a {
    color: #333;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#header.sticky .nav-links li a {
    color: var(--text-dark);
}

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

#header:not(.sticky) .nav-links li a::after {
    background: rgba(0, 0, 0, 0.5);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: block;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/banner.png') center/cover;
    z-index: -1;
    transform: scale(1.05);
    animation: kenburns 20s infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-content {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 60px;
    height: 100%;
    position: relative;
    justify-content: center;
}

.hero-text-box {
    margin-bottom: 10px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    /* text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); */
    margin-bottom: 10px;
    /* background: linear-gradient(to right, #fff, #e0f7fa); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    color: #000;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #000;
    text-transform: uppercase;
}

.contact-info {
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 15px 30px;
    border-radius: 8px;
    text-align: center;
    background: url(../images/telBg.png) no-repeat center center;
    background-size: 100% 100%;
}

.telBox {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-info span {
    font-size: 24px;
    opacity: 0.9;
    color: #fff;
    margin-bottom: 5px;
}

.contact-info strong {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 20px auto 0;
    border-radius: 2px;
    position: relative;
}

.title-line::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background: var(--accent);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Products Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
}

.product-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    top: 0;
    display: flex;
    align-items: center;
    padding: 12px;
}

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

.product-img {
    height: 70px;
    width: 100px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 71, 161, 0.6), transparent);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .img-overlay {
    opacity: 1;
}

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

.product-img {
    transition: var(--transition);
}

.product-info {
    padding: 0 0 0 15px;
    text-align: left;
    background: transparent;
    position: relative;
    z-index: 1;
    flex: 1;
}

.product-info h3 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 600;
    transition: color 0.3s;
}

.product-card:hover .product-info h3 {
    color: var(--primary);
}

.product-info p {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.2;
}

.product-title-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
    padding: 20px;
    grid-row: span 2;
    height: 100%;
}

.product-title-card h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.product-title-card p {
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Placeholder Colors for Products */
.color-1 {

    /* background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); */
    background: url(../images/product1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.color-2 {
    /* background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); */
    background: url(../images/product2.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.color-3 {
    /* background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%); */
    background: url(../images/product3.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.color-4 {
    /* background: linear-gradient(135deg, #cfd9df 0%, #e2ebf0 100%); */
    background: url(../images/product4.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.color-5 {
    /* background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%); */
    background: url(../images/product5.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.color-6 {
    /* background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); */
    background: url(../images/product6.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.color-7 {
    /* background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); */
    background: url(../images/product7.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.color-8 {
    /* background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); */
    background: url(../images/product8.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.color-9 {
    /* background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); */
    background: url(../images/product9.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.color-10 {
    /* background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); */
    background: url(../images/product10.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

/* About Section */
.about-section {
    position: relative;
    padding: 120px 0;
}

.about-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/aboutBg.png') no-repeat center/cover fixed;
    backdrop-filter: blur(8px);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #444;
    text-align: justify;
    padding: 60px;
    border-radius: 20px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-indent: 2em;
}

.slogan-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.slogan {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-dark);
    font-style: italic;
    text-indent: 0 !important;
}

/* Certificates */
.cert-section {
    background-color: #f5f5f5;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.cert-card {
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    background: transparent;
}

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

.cert-img {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.cert-1 {
    background-image: url(../images/zs1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.cert-2 {
    background-image: url(../images/zs2.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.cert-3 {
    background-image: url(../images/zs3.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.cert-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.6s ease-in-out;
}

.cert-card:hover .cert-glow {
    left: 150%;
}

/* Footer */
.footer {
    background: #f8f8f8;
    color: var(--text-dark);
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
}



.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 50px;
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.report-card {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    transform: rotate(-5deg);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.report-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.report-img {
    width: 220px;
    height: 310px;
    background: url(../images/zs4.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    flex-direction: column;
    position: relative;
}

.mockup-text {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    letter-spacing: 5px;
    opacity: 0.15;
    transform: rotate(-30deg);
}

.stamp {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid #e53935;
    border-radius: 50%;
    bottom: 30px;
    right: 20px;
    opacity: 0.4;
    transform: rotate(-15deg);
}

.stamp::after {
    content: '专用章';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e53935;
    font-weight: bold;
}

.footer-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: left;
    padding-left: 100px;
}

.footer-title {
    font-size: 1.6rem;
    color: #000;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 1px;
}

.qr-codes {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.qr-item {
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

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

.qr-ph {
    width: 90px;
    height: 90px;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0iI2RkZCIvPjwvc3ZnPg==') center/cover;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.contact-list strong {
    color: var(--text-dark);
    width: 85px;
    display: inline-block;
    font-weight: 500;
}

.contact-list .highlight {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: bold;
}

.copyright {
    background: #f1f1f1;
    padding: 25px 0;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.copy-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    flex-direction: column;
}

/* Animations & Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    animation: fadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-title-card {
        grid-row: auto;
        grid-column: span 2;
        order: -1;
    }

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

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

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

    .product-title-card {
        grid-column: 1;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }
}

.footer-right {
    align-items: flex-start;
}

.contact-list li {
    justify-content: left;
}

.contact-list strong {
    width: auto;
    margin-right: 10px;
}

.qr-codes {
    justify-content: center;
}
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .copy-flex {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .about-content {
        padding: 30px 20px;
    }
}

/* ==========================================
   Language Switcher & Bilingual Styles
   ========================================== */
.lang-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.lang-switch-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 30px;
    background: rgba(20, 24, 33, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(5px);
}

/* Sticky Header styling */
#header.sticky .lang-switch-btn {
    background: rgba(20, 24, 33, 0.08);
    border: 1px solid rgba(13, 71, 161, 0.1);
}

#header:not(.sticky) .lang-switch-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Labels */
.lang-label {
    font-size: 13px;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    z-index: 1;
}

#header:not(.sticky) .lang-label {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#header.sticky .lang-label {
    color: var(--text-light);
}

/* Active Labels */
.lang-label.active {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(13, 71, 161, 0.4);
}

#header:not(.sticky) .lang-label.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.8), 0 0 20px rgba(0, 229, 255, 0.4);
}

#header.sticky .lang-label.active {
    color: var(--primary-light);
    text-shadow: 0 0 8px rgba(25, 118, 210, 0.5);
}

/* Switch Track (Particle Pipe Effect) */
.switch-track {
    width: 46px;
    height: 22px;
    border-radius: 15px;
    background: #141821;
    position: relative;
    padding: 2px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Rotating Neon Border */
.switch-track::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        #00e5ff, 
        #0d47a1, 
        #9c27b0, 
        transparent 70%
    );
    animation: trackRotate 4s linear infinite;
    opacity: 0.6;
}

@keyframes trackRotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Switch Thumb */
.switch-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #d1d9e6 80%, #a3b1c6 100%);
    position: absolute;
    left: 2px;
    top: 2px;
    transition: left 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 4px rgba(0, 229, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

/* Thumb core - Energy source */
.thumb-core {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 5px #00e5ff, 0 0 10px #00e5ff;
    animation: thumbPulse 2s infinite alternate;
}

@keyframes thumbPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
        box-shadow: 0 0 4px #00e5ff;
    }
    100% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 8px #00e5ff, 0 0 15px #00e5ff;
    }
}

/* EN State switch */
.lang-switch-btn.en .switch-thumb {
    left: 26px;
}

.lang-switch-btn.en .thumb-core {
    background: #ff9800;
    box-shadow: 0 0 5px #ff9800, 0 0 10px #ff9800;
    animation: thumbPulseEn 2s infinite alternate;
}

@keyframes thumbPulseEn {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
        box-shadow: 0 0 4px #ff9800;
    }
    100% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 8px #ff9800, 0 0 15px #ff9800;
    }
}

/* Pulsing expansion ripple on click */
.lang-switch-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30px;
    box-shadow: 0 0 0 0px rgba(0, 229, 255, 0.4);
    opacity: 0;
    pointer-events: none;
}

.lang-switch-btn.pulsing::after {
    animation: buttonPulse 0.4s ease-out;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 229, 255, 0.5);
        opacity: 1;
    }
    100% {
        box-shadow: 0 0 0 12px rgba(0, 229, 255, 0);
        opacity: 0;
    }
}

/* Hover effects */
.lang-switch-btn:hover {
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
    border-color: rgba(0, 229, 255, 0.4);
}

.lang-switch-btn:hover .switch-thumb {
    transform: scale(1.05);
}

/* Matrix decipher flashing style */
.deciphering {
    color: #00e5ff !important;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.8) !important;
    opacity: 0.9;
    animation: flash 0.1s infinite alternate;
}

@keyframes flash {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* English mode product text modifier */
body.lang-en .product-info p {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
    transition: var(--transition);
}

/* About blocks transitions */
.lang-zh-block, .lang-en-block {
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .header-container {
        justify-content: space-between;
        gap: 15px;
    }
    .lang-switch-wrapper {
        margin-right: 15px;
    }
}