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

:root {
    --primary-dark: #2D2D2D;
    --primary-orange: #FF6B00;
    --light-gray: #F5F5F5;
    --text-light: #FFFFFF;
    --text-dark: #333333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

.header {
    background: var(--primary-dark);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-orange);
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s;
}

/* 轮播图样式 - 全屏显示 */
.carousel-section {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: var(--primary-dark);
    overflow: hidden;
    position: relative;
    /* 阿拉伯语等 RTL 语言会给 html 设置 dir="rtl"，继承后 flex 主轴反向，
       translateX(-N*100%) 会把第 2 张之后的图片全部移出可视区。
       轮播是纯视觉内容，固定为 LTR 物理布局，保证所有图片都能正常轮换。 */
    direction: ltr;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-dark);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: var(--primary-dark);
    transition: opacity 0.5s ease-in-out;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 107, 0, 0.85);
    color: white;
    border: none;
    width: 65px;
    height: 65px;
    font-size: 2.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.carousel-btn:hover {
    background: var(--primary-orange);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(0,0,0,0.5);
}

.carousel-prev {
    left: 40px;
}

.carousel-next {
    right: 40px;
}

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

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--primary-orange);
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(255,255,255,0.8);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

.lang-switcher select {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #444;
    background: var(--primary-dark);
    color: var(--text-light);
    cursor: pointer;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a1a 100%);
    color: var(--text-light);
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23FF6B00" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #ccc;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.btn {
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--text-light);
}

.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    padding: 30px;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.products-preview {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    height: 250px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-info {
    padding: 20px;
    background: var(--primary-dark);
}

.product-info h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.product-info p {
    color: #e3e3e3;
}

.product-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: var(--primary-orange);
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.product-price {
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.view-more {
    text-align: center;
    margin-top: 50px;
}

.about-preview {
    padding: 80px 0;
    background: var(--primary-dark);
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.about-text p {
    margin-bottom: 30px;
    color: #ccc;
}

.about-image {
    height: 300px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1.5rem;
}

.footer {
    background: #1a1a1a;
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
}

.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.contact-btn:hover {
    transform: scale(1.1);
}

.contact-btn.email {
    background: #ea4335;
    color: white;
}

.contact-btn.phone {
    background: #34a853;
    color: white;
}

.contact-btn.wechat {
    background: #07c160;
    color: white;
}

.page-header {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
}

.page-content {
    padding: 60px 0;
}

.filter-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-orange);
    background: transparent;
    color: var(--primary-orange);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-orange);
    color: var(--text-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info h3 {
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1rem;
}

/* 联系页：24h 回复提示 + 语言切换（置于提示之后） */
.contact-reply-note {
    margin-top: 8px; padding: 14px 18px; border-radius: 10px; text-align: center;
    background: linear-gradient(90deg, rgba(45,45,45,.05), rgba(138,36,0,.07));
    border: 1px solid rgba(255,107,0,.3); color: var(--primary-dark, #2D2D2D);
    font-weight: 600; font-size: .95rem;
}
.contact-lang {
    margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.contact-lang-label { font-size: 1.1rem; }
.contact-lang .lang-select-mount { display: inline-block; }
.contact-lang .lang-select-mount select {
    padding: 8px 14px; border-radius: 6px; border: 1px solid #ccc; background: #fff;
    color: #222; font-size: .9rem; cursor: pointer;
}
.contact-lang .lang-select-mount select:focus { outline: none; border-color: var(--primary-orange, #FF6B00); }

.news-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

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

.news-card:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.news-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-image {
    height: 200px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.news-content {
    padding: 25px;
}

.news-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.news-excerpt {
    color: #666;
}

.admin-header {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav {
    background: #333;
    padding: 0 30px;
}

.admin-nav a {
    display: inline-block;
    color: var(--text-light);
    padding: 15px 20px;
    text-decoration: none;
    transition: background 0.3s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--primary-orange);
}

.admin-content {
    padding: 30px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.admin-table th {
    background: var(--light-gray);
    font-weight: bold;
}

.admin-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 5px;
}

.admin-btn.edit {
    background: #4a90e2;
    color: white;
}

.admin-btn.delete {
    background: #e74c3c;
    color: white;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .logo-image {
        width: 45px;
        height: 45px;
    }

    .carousel-btn {
        width: 48px;
        height: 48px;
        font-size: 1.8rem;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    .carousel-indicators {
        bottom: 20px;
        gap: 10px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .carousel-section {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-section {
        height: 50vh;
        min-height: 350px;
    }
}

/* 新闻页：页头副标题、封面图、空状态与详情弹窗配图 */
.page-subtitle {
    max-width: 760px;
    margin: 14px auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: .85;
}

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

.news-empty {
    padding: 60px 20px;
    text-align: center;
    color: #888;
    font-size: 1.05rem;
    border: 1px dashed #ddd;
    border-radius: 10px;
}

.news-modal-hero {
    max-height: 300px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.news-modal-hero img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .floating-contact {
    right: auto;
    left: 20px;
}

.banner-section {
    background: var(--primary-orange);
    color: white;
    padding: 15px 0;
    text-align: center;
}

.base-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 60px 16px;
    background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url('../images/jiuchang.jpg') center/cover no-repeat;
}
.base-hero h1 {
    font-size: 2.3rem;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.base-hero p {
    font-size: 1.05rem;
    opacity: .92;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.banner-text {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.intro-section {
    padding: 80px 0;
    background: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    color: var(--primary-orange);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.intro-subtitle {
    color: #888;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.intro-description p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.intro-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.stats-section {
    padding: 80px 0;
    background: var(--primary-dark);
    color: white;
}

.stats-section .section-title {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-card:hover {
    background: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,107,0,0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 10px;
    transition: color 0.3s;
    text-align: center;
    width: 100%;
    display: block;
}

.stat-card:hover .stat-number {
    color: white;
}

.stat-label {
    font-size: 0.95rem;
    color: #ccc;
    transition: color 0.3s;
}

.stat-card:hover .stat-label {
    color: white;
}

.advantages-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-orange);
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.advantage-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.advantage-card p {
    color: #666;
    line-height: 1.7;
}

.vision-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e55a00 100%);
    color: white;
}

.vision-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.vision-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
}

.vision-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-badge-link {
    text-decoration: none;
    display: block;
}

.logo-badge {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-badge-link:hover .logo-badge {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.badge-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-initials {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-orange);
}

@media (max-width: 968px) {
    .intro-content,
    .vision-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .banner-text {
        font-size: 0.95rem;
    }

    .intro-text h2,
    .vision-text h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .logo-badge {
        width: 120px;
        height: 120px;
    }

    .logo-initials {
        font-size: 3rem;
    }
}

.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.news-modal-active {
    opacity: 1;
    visibility: visible;
}

.news-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
}

.news-modal-content {
    position: relative;
    background: white;
    border-radius: 15px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
    z-index: 1;
}

.news-modal-active .news-modal-content {
    transform: translateY(0) scale(1);
}

.news-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s, transform 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.news-modal-close:hover {
    color: var(--primary-dark);
    background: var(--light-gray);
    transform: rotate(90deg);
}

.news-modal-header h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 10px;
    padding-right: 40px;
}

.news-modal-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.news-modal-body {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

.news-modal-body p {
    margin-bottom: 15px;
}

.news-read-more {
    display: inline-block;
    margin-top: 15px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .news-modal-content {
        padding: 25px;
        width: 95%;
        max-height: 85vh;
    }

    .news-modal-header h2 {
        font-size: 1.4rem;
    }
}

/* ==================== WhatsApp / 访客计数器 ==================== */
.contact-btn.whatsapp {
    background: #25D366;
    color: #fff;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.contact-btn.whatsapp:hover {
    background: #1ebe5a;
    transform: none;
    box-shadow: 0 4px 18px rgba(37, 211, 102, .55);
}

.contact-btn:focus-visible,
.whatsapp-cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.whatsapp-card {
    margin-top: 32px;
    padding: 22px 24px;
    border: 1px solid #d9f5e4;
    border-left: 4px solid #25D366;
    border-radius: 10px;
    background: #f4fcf7;
}

.whatsapp-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #128C7E;
}

.whatsapp-card-head h3 {
    font-size: 1.15rem;
    margin: 0;
}

.whatsapp-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 10px;
}

.whatsapp-note {
    color: #52605a;
    font-size: .92rem;
    margin: 4px 0 14px;
}

.whatsapp-cta {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease;
}

.whatsapp-cta:hover {
    background: #1ebe5a;
}

.visitor-counter {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .85rem;
    color: #a9b0b7;
}

.counter-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.counter-item svg {
    opacity: .8;
}

.counter-item strong {
    color: #fff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.counter-sep {
    color: #555;
}

[dir="rtl"] .whatsapp-card {
    border-left: none;
    border-right: 4px solid #25D366;
}

@media (max-width: 480px) {
    .floating-contact { right: 12px; bottom: 12px; gap: 8px; }
    .contact-btn { width: 52px; height: 52px; font-size: 1.5rem; }
    .whatsapp-card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-btn, .whatsapp-cta { transition: none; }
}

/* ==================== 移动端抽屉菜单 / 版本切换 ==================== */
.no-scroll { overflow: hidden; }

.mobile-nav { position: fixed; inset: 0; z-index: 2000; visibility: hidden; pointer-events: none; }
.mobile-nav.open { visibility: visible; pointer-events: auto; }
.mobile-nav-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s ease; }
.mobile-nav.open .mobile-nav-overlay { opacity: 1; }
.mobile-nav-panel {
    position: absolute; top: 0; left: 0; bottom: 0; width: min(82vw, 320px);
    background: var(--primary-dark); color: #fff; padding: 64px 22px 24px;
    transform: translateX(-100%); transition: transform .3s ease; overflow-y: auto;
    box-shadow: 4px 0 30px rgba(0,0,0,.45);
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-close {
    position: absolute; top: 14px; right: 14px; background: none; border: none;
    color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.mobile-nav-links a {
    color: #fff; text-decoration: none; padding: 14px 12px; border-radius: 8px;
    font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav-links a:hover, .mobile-nav-links a.active { background: var(--primary-orange); }
.mobile-nav-lang { margin-top: 22px; }
.mobile-nav-lang select {
    width: 100%; padding: 12px; border-radius: 6px; border: 1px solid #444;
    background: #222; color: #fff; font-size: 1rem;
}

.version-switch {
    margin-top: 14px; font-size: .82rem; color: #888;
    display: flex; gap: 10px; align-items: center; justify-content: center;
}
.version-switch span { opacity: .8; }
.version-switch a { color: #aaa; text-decoration: none; }
.version-switch a:hover { color: var(--primary-orange); }
.version-switch a.active { color: var(--primary-orange); font-weight: 700; }
@media (min-width: 769px) { .version-switch { display: none; } }
@media (max-width: 768px) { html:not(.force-desktop) .header .lang-switcher { display: none; } }

/* 手机端「查看电脑版」：强制保留桌面布局 */
@media (max-width: 968px) {
    html.force-desktop .nav { display: flex !important; }
    html.force-desktop .mobile-menu-btn { display: none !important; }
    html.force-desktop .header .lang-switcher { display: none !important; }
    html.force-desktop .header .container { flex-wrap: wrap; gap: 10px; }
    html.force-desktop .about-content,
    html.force-desktop .intro-content,
    html.force-desktop .vision-content { grid-template-columns: 1fr 1fr !important; }
    html.force-desktop .hero-buttons { flex-direction: row !important; }
    html.force-desktop .stats-grid,
    html.force-desktop .footer-grid,
    html.force-desktop .product-grid,
    html.force-desktop .feature-grid,
    html.force-desktop .advantages-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; }
    html.force-desktop body { overflow-x: auto; }
}

/* ==================== 询盘：顶部提示条 / 左下悬浮按钮 / 表单 / 弹窗 ==================== */
.inquiry-topbar {
    background: linear-gradient(90deg, var(--primary-dark, #2D2D2D) 0%, #8a2400 100%);
    color: #fff; font-size: .86rem; padding: 9px 16px;
    display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; line-height: 1.2;
}
.inquiry-topbar .i24-ico { display: inline-flex; color: #ffd27a; }
.inquiry-topbar .i24-text { font-weight: 600; }
.inquiry-topbar .inquiry-topbar-cta {
    color: #fff; background: var(--primary-orange, #FF6B00); padding: 5px 16px; border-radius: 16px;
    text-decoration: none; font-weight: 700; font-size: .82rem; margin-left: 4px;
}
.inquiry-topbar .inquiry-topbar-cta:hover { filter: brightness(1.08); }
.inquiry-topbar-lang { margin-left: auto; }
.inquiry-topbar-lang select {
    padding: 4px 10px; border-radius: 5px; border: 1px solid rgba(255,255,255,.45);
    background: rgba(0,0,0,.22); color: #fff; font-size: .8rem; cursor: pointer;
}
.inquiry-topbar-lang select:focus { outline: none; border-color: #fff; }

/* 导航项整体靠右，与 logo 拉开距离；语言切换紧随其后 */
.header .nav { margin-left: auto; }
.header .lang-switcher { margin-left: 24px; }

/* 左下角悬浮询盘表单（默认展开） */
.inquiry-panel {
    position: fixed; left: 20px; bottom: 20px; z-index: 9990;
    width: 330px; max-width: calc(100vw - 40px);
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.28);
}
.inquiry-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(90deg, var(--primary-dark, #2D2D2D), #8a2400);
    color: #fff; padding: 10px 14px; font-weight: 700; font-size: .95rem;
}
.inquiry-panel-head .ip-toggle {
    border: none; background: rgba(255,255,255,.22); color: #fff;
    width: 26px; height: 26px; border-radius: 50%; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.inquiry-panel-head .ip-toggle:hover { background: rgba(255,255,255,.36); }
.inquiry-panel-body { padding: 14px; max-height: 62vh; overflow-y: auto; }
.ip-note { margin: 10px 2px 2px; font-size: .8rem; color: var(--primary-orange, #FF6B00); font-weight: 600; text-align: center; }
.inquiry-panel .inquiry-grid { grid-template-columns: 1fr; }
.inquiry-panel.collapsed .inquiry-panel-body { display: none; }

/* 表单 */
.inquiry-form { display: block; }
.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.inquiry-form label { display: block; font-size: .84rem; color: var(--text-dark, #333); margin: 10px 0 4px; font-weight: 600; }
.inquiry-form label:first-child { margin-top: 0; }
.inquiry-form .req { color: #e23b3b; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
    width: 100%; padding: 11px 12px; border: 1px solid #dcdcdc; border-radius: 9px;
    font-size: .92rem; font-family: inherit; background: #fff; color: #222;
    transition: border-color .15s, box-shadow .15s;
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
    outline: none; border-color: var(--primary-orange, #FF6B00); box-shadow: 0 0 0 3px rgba(255,107,0,.15);
}
.inquiry-form textarea { resize: vertical; }
.inquiry-hint { font-size: .76rem; color: #8a8a8a; margin: 8px 0; }
.inquiry-submit {
    margin-top: 10px; width: 100%; padding: 13px; border: none; border-radius: 9px;
    background: linear-gradient(90deg, var(--primary-orange, #FF6B00), #ff8a3d); color: #fff;
    font-weight: 700; font-size: .98rem; cursor: pointer;
}
.inquiry-submit:hover { filter: brightness(1.04); }
.inquiry-submit:disabled { opacity: .6; cursor: default; }
.inquiry-result { margin-top: 10px; font-size: .85rem; min-height: 1em; }
.inquiry-result.ok { color: #1f9d55; }
.inquiry-result.err { color: #e23b3b; }
.inquiry-intro { font-size: .85rem; color: #666; margin: 0 0 12px; }
.inquiry-embed { max-width: 640px; margin: 28px auto; padding: 0 16px; }
.inquiry-embed .section-title { text-align: center; margin-bottom: 14px; }

/* 弹窗 */
.inquiry-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 9998;
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.inquiry-modal {
    position: relative; background: #fff; border-radius: 16px; max-width: 500px; width: 100%;
    max-height: 92vh; overflow-y: auto; padding: 26px 24px 24px;
    box-shadow: 0 24px 70px rgba(0,0,0,.32); animation: inquiryPop .18s ease;
}
@keyframes inquiryPop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.inquiry-modal-title { font-size: 1.25rem; margin: 0 0 2px; padding-right: 30px; color: var(--primary-dark, #2D2D2D); }
.inquiry-close {
    position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: none;
    background: #f2f2f2; border-radius: 50%; font-size: 1.4rem; line-height: 1; color: #777; cursor: pointer;
}
.inquiry-close:hover { background: #e6e6e6; color: #333; }

@media (max-width: 600px) {
    .inquiry-grid { grid-template-columns: 1fr; }
    .inquiry-panel { left: 14px; right: 14px; bottom: 14px; width: auto; max-width: none; }
    .inquiry-panel-body { max-height: 56vh; }
}
