/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - 始终固定显示 - 最高优先级 */
.navbar {
    background: transparent;
    box-shadow: none;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0) !important; /* 强制始终可见 */
    opacity: 1 !important; /* 强制始终可见 */
    visibility: visible !important;
    display: block !important;
    left: 0 !important;
    right: 0 !important;
}

.navbar.navbar-scrolled {
    background: rgba(2, 33, 105, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

/* 强制移除任何可能的隐藏状态 - 覆盖所有可能的选择器 */
.navbar,
.navbar.navbar-hidden,
.navbar.navbar-visible,
.navbar[style*="transform"],
.navbar[style*="translateY"],
html .navbar,
body .navbar,
* .navbar {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    width: 100%;
    /* 移除max-width，让内容真正贴边 */
}

/* 左侧导航区域 - 紧贴左边 */
.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* 确保左侧内容紧贴左边 */
}

.nav-logo .logo {
    height: 35px;
}

.navbar.navbar-scrolled .nav-logo .logo {
    height: 35px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: 1rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
}

.navbar.navbar-scrolled .nav-link {
    color: white;
}

/* 右侧导航区域 - 紧贴右边 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* 确保右侧内容紧贴右边 */
}

/* Language Switcher */
.language-switcher {
    position: relative;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lang-switch-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    min-width: 60px;
    text-align: center;
}

/* 移动端优化 - 减小最小宽度 */
@media (max-width: 768px) {
    .lang-switch-btn {
        min-width: 40px;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .lang-switch-btn {
        min-width: 30px;
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

.lang-switch-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar.navbar-scrolled .lang-switch-btn {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.navbar.navbar-scrolled .lang-switch-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.lang-text {
    display: inline-block;
    transition: transform 0.3s ease;
}

.apply-btn {
    background: #e22526;
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.apply-btn:hover {
    background: #c41e1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 37, 38, 0.4);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: relative;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.3s;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.navbar.navbar-scrolled .menu-toggle span {
    background: white;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
}

.dropdown-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #022169 0%, #e22526 100%);
    border-radius: 12px 12px 0 0;
    color: white;
}

.dropdown-logo {
    height: 24px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.dropdown-title {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

.dropdown-items {
    padding: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #e22526;
    border-left-color: #e22526;
}

.dropdown-item.active {
    background: #fff5f5;
    color: #e22526;
    border-left-color: #e22526;
    font-weight: 500;
}

.item-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.item-text {
    font-size: 0.95rem;
}

.dropdown-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f0f0f0;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.lang-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: #e22526;
    color: #e22526;
}

.lang-btn.active {
    background: #e22526;
    color: white;
    border-color: #e22526;
}

/* Overlay for mobile */
.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.dropdown-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 移除背景色，只保留轻微的渐变用于文字可读性 */
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            transparent 100%);
}

.hero-content {
    position: absolute;
    bottom: 30%;
    left: calc(5% - 55px);
    z-index: 2;
    max-width: 590px;
    transition: all 0.3s ease;
    transform: translateY(-55px);
}

/* RTL布局时内容在右边 */
[dir="rtl"] .hero-content {
    left: auto;
    right: 5%;
    text-align: right;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    max-width: 500px;
}

.cta-button {
    background: #e22526;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #c41e1f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Solutions Section */
.solutions {
    padding: 4rem 0;
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0 4rem;
    width: 100%;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #022169;
    font-weight: 750;
    text-align: left;
    margin: 0;
}

.section-logo {
    height: 30px;
}

.solutions-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.solution-card {
    background: #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    width: 500px;
    height: 590px;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.solution-card.animate-in {
    transform: scale(1);
    opacity: 1;
}

.card-bg-image {
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
}

.card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    padding-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
}

.card-content h3 {
    font-size: 2rem;
    color: #022169;
    font-weight: 750;
    line-height: 1.3;
    align-self: flex-start;
}

.card-content p {
    display: none;
}

.card-btn {
    background: #e22526;
    color: white;
    border: none;
    padding: 0.8rem 4rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: -0.5rem;
    min-width: 250px;
}

.card-btn:hover {
    background: #c41e1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.card-image {
    display: none;
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: #f0f2f5;
}

.benefits .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0 4rem;
    width: 100%;
}

.benefits .section-header h2 {
    font-size: 2.5rem;
    color: #022169;
    font-weight: 750;
    text-align: left;
    margin: 0;
}

.benefits .section-logo {
    height: 30px;
}

.benefits-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 4rem;
    flex-wrap: wrap;
}

.benefit-item {
    background: white;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s;
    width: 250px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 110px;
    height: 150px;
    margin: 0 auto 1rem;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    width: 110px;
    height: 150px;
    object-fit: contain;
}

.benefit-item h3 {
    color: #022169;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Offers Section */
.offers {
    padding: 4rem 0;
    background: white;
}

.offers .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0 4rem;
    width: 100%;
}

.offers .section-header h2 {
    font-size: 2.5rem;
    color: #022169;
    font-weight: 750;
    text-align: left;
    margin: 0;
}

.offers .section-logo {
    height: 30px;
}

.offers-container {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.offer-slide {
    width: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offer-image {
    width: 100%;
    height: auto;
    display: block;
}

.offer-info {
    padding: 2rem;
    text-align: center;
    background: transparent;
}

.offer-countdown {
    margin-bottom: 1.5rem;
}

.countdown-label {
    font-size: 1.2rem;
    color: #022169;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #e22526;
    font-weight: 700;
}

.time-unit {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    font-size: 1.8rem;
}

.time-value {
    font-size: 1.8rem;
}

.time-sep {
    color: #e22526;
}

.know-more-btn {
    background: #e22526;
    color: white;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(226, 37, 38, 0.3);
}

.know-more-btn:hover {
    background: #c41e1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(226, 37, 38, 0.4);
}

.offer-dots {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #e22526;
    width: 12px;
    height: 12px;
}

/* Statistics Section */
.statistics {
    padding: 4rem 0;
    background: #f0f2f5;
}

.statistics .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0 4rem;
    width: 100%;
}

.statistics .section-header h2 {
    font-size: 2.5rem;
    color: #022169;
    font-weight: 750;
    text-align: left;
    margin: 0;
}

.statistics .section-logo {
    height: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 0 4rem;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #e22526;
    margin-bottom: 0.5rem;
}

.unit {
    color: #022169;
    font-size: 2rem;
}

.stat-item h3 {
    color: #022169;
    font-size: 1.2rem;
}

/* Partners Section */
.partners {
    padding: 1.5rem 0;
    background: white;
}

.partners .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0 4rem;
    width: 100%;
}

.partners .section-header h2 {
    font-size: 2.5rem;
    color: #022169;
    font-weight: 750;
    text-align: left;
    margin: 0;
}

.partners .section-logo {
    height: 30px;
}

.partners-slider {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    width: 100%;
}

.partner-logos {
    display: flex;
    gap: 0;
    align-items: center;
    animation: slideLogos 40s linear infinite;
    width: max-content;
}

.partner-logos img {
    height: 100px;
    width: 100px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s;
    filter: grayscale(30%);
    margin: 0 2rem;
    flex-shrink: 0;
}

.partner-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* 红色分隔线 - 横杠 */
.partner-separator {
    width: 20px;
    height: 0.5px;
    background: #e22526;
    flex-shrink: 0;
    margin: 0 40px;
}

@keyframes slideLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
.footer {
    background: #022169;
    color: white;
    padding: 3rem 0 2rem;
    width: 100%;
}

.footer-container {
    width: 100%;
    padding: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    overflow: hidden;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bottom-section {
    border-top: none;
    padding-top: 2rem;
    width: 100%;
}

.footer-logos-wrapper {
    width: 100%;
    margin-bottom: 2rem;
}

.footer-logos-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}

.footer-logo-center-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.logo-box {
    border: 2px solid #e22526;
    padding: 1rem 2rem;
    border-radius: 8px;
}

.footer-logo-left {
    width: 180px;
    height: 200px;
    object-fit: contain;
}

.footer-logo-center {
    width: 250px;
    height: 100px;
    object-fit: contain;
}

.footer-logo-right {
    width: 240px;
    height: 290px;
    object-fit: contain;
}

.footer-disclaimer {
    text-align: center;
    margin-bottom: 1rem;
}

.footer-disclaimer p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-logos {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-left {
        gap: 1rem;
    }

    .hero-content {
        margin-left: 0;
        padding: 120px 1rem 2rem;
        text-align: center;
    }

    [dir="rtl"] .hero-content {
        margin-right: 0;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    /* H5 specific improvements */
    .section-header {
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    /* Card improvements for mobile */
    .solution-card, .benefit-item {
        min-height: 44px;
        padding: 15px;
    }

    .card-btn, .cta-button {
        min-height: 48px;
        padding: 12px 24px;
        font-size: 16px;
        border-radius: 8px;
    }

    /* Partners section mobile */
    .partners-slider {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .partners-slider::-webkit-scrollbar {
        display: none;
    }

    .partner-logos {
        display: flex;
        gap: 20px;
        min-width: max-content;
        padding: 0 20px;
    }

    .partner-logos img {
        height: 40px;
        width: auto;
        flex-shrink: 0;
    }

    /* Offers section mobile */
    .offers-container {
        padding: 0 20px;
    }

    .offer-slide {
        border-radius: 12px;
        overflow: hidden;
    }

    .offer-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 300px;
        border-radius: 12px;
    }

    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .time-unit {
        font-size: 1.8rem;
        min-width: 40px;
    }

    .know-more-btn {
        min-height: 48px;
        padding: 12px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    /* Extra small screen optimizations */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefit-item h3 {
        font-size: 14px;
        line-height: 1.4;
    }

    .countdown-timer .time-unit {
        font-size: 1.6rem;
        min-width: 35px;
    }

    .section-header {
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .solutions-grid, .benefits-grid, .stats-grid {
        padding: 0 15px;
    }

    .partner-logos {
        padding: 0 15px;
        gap: 15px;
    }

    .partner-logos img {
        height: 35px;
    }
}

/* 下
拉菜单动画 */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 响应式下拉菜单 */
@media (max-width: 768px) {
    .dropdown-content {
        position: fixed;
        top: 80px;
        left: 20px;
        right: 20px;
        min-width: auto;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .dropdown-item {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .item-icon {
        font-size: 1.4rem;
        margin-right: 15px;
    }

    .nav-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .dropdown-content {
        left: 10px;
        right: 10px;
        top: 70px;
    }

    .dropdown-header {
        padding: 0.8rem 1rem;
    }

    .dropdown-item {
        padding: 0.8rem 1rem;
    }
}

/* 菜单项悬停效果增强 */
.dropdown-item {
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(226, 37, 38, 0.1), transparent);
    transition: left 0.5s;
}

.dropdown-item:hover::before {
    left: 100%;
}

/* 语言按钮动画 */
.lang-btn {
    position: relative;
    overflow: hidden;
}

.lang-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(226, 37, 38, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.lang-btn:hover::after {
    width: 100px;
    height: 100px;
}

/* 菜单切换按钮增强动画 */
.menu-toggle {
    position: relative;
}

.menu-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(226, 37, 38, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.menu-toggle:hover::before {
    width: 50px;
    height: 50px;
}

/* 移动端
语言切换按钮 */
@media (max-width: 768px) {
    .language-switcher {
        order: -1;
        /* 在移动端将语言按钮放在最前面 */
    }

    .lang-switch-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        min-width: 50px;
    }

    .nav-actions {
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .lang-switch-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
        min-width: 45px;
    }

    .apply-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* RTL支持 */
[dir="rtl"] .nav-container {
    direction: rtl;
}

[dir="rtl"] .nav-left {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-right {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
    margin-left: 0;
    margin-right: 5%;
    text-align: right;
}

[dir="rtl"] .hero-overlay {
    background: linear-gradient(to left,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            transparent 100%);
}

/* H5 Mobile Optimizations */
/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .card-btn, .cta-button, .know-more-btn, .apply-btn {
        min-height: 48px;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .nav-link, .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 12px 0;
    }
    
    .dropdown-item {
        padding: 12px 1.5rem;
    }
}

/* Prevent zoom on input focus */
input, select, textarea {
    font-size: 16px;
}

/* Smooth scrolling for mobile */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Improve tap targets */
.support-btn, .lang-switch-btn, .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 移动端优化 - 减小最小宽度 */
@media (max-width: 768px) {
    .support-btn, .lang-switch-btn, .menu-toggle {
        min-width: 35px;
        min-height: 35px;
    }
}

@media (max-width: 480px) {
    .support-btn, .lang-switch-btn, .menu-toggle {
        min-width: 30px;
        min-height: 30px;
    }
}

@media (max-width: 360px) {
    .support-btn, .lang-switch-btn, .menu-toggle {
        min-width: 25px;
        min-height: 25px;
    }
}

/* Navigation Bar - 始终固定显示 */
.navbar {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* 移除所有隐藏相关的类 */
.navbar.navbar-hidden,
.navbar.navbar-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Mobile-specific animations */
@media (max-width: 768px) {
    .solution-card, .benefit-item, .stat-item {
        transition: transform 0.2s ease;
    }
    
    .solution-card:active, .benefit-item:active {
        transform: scale(0.98);
    }
    
    /* Reduce motion for better performance */
    @media (prefers-reduced-motion: reduce) {
        .navbar {
            transition: background 0.3s ease, box-shadow 0.3s ease !important;
        }
        
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-content {
        padding: 80px 1rem 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .dropdown-content {
        max-height: calc(100vh - 80px);
    }
    
    /* Navbar in landscape should be more compact */
    .nav-container {
        padding: 0.5rem 1rem;
    }
    
    .nav-logo .logo {
        height: 30px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .partner-logos img, .benefit-icon img, .stat-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}
/* 超高优先级 - 确保导航栏始终可见 */
html .navbar,
body .navbar,
.navbar.navbar-hidden,
.navbar.navbar-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

/* 移动端特殊处理 */
@media (max-width: 768px) {
    .navbar,
    .navbar.navbar-hidden,
    .navbar.navbar-visible {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
}
/* 终极导航栏保护 - 最高优先级 */
.navbar,
.navbar[style],
.navbar.navbar-hidden,
.navbar.navbar-visible,
nav.navbar,
html .navbar,
body .navbar,
* .navbar {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

/* 移动端终极保护 */
@media screen and (max-width: 768px) {
    .navbar,
    .navbar[style*="transform"],
    .navbar[style*="translateY"],
    .navbar.navbar-hidden,
    .navbar.navbar-visible {
        transform: translateY(0) !important;
        -webkit-transform: translateY(0) !important;
        -moz-transform: translateY(0) !important;
        -ms-transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
}