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

.container {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

/* Header Styles */
header {
    background: #FFFFFF;
    padding: 15px 0;
    position: relative;
    overflow: visible;
    z-index: 1000;
}

.header-content {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
}

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

.logo img {
    height: 36px;
    margin-right: 8px;
}

.logo-text {
    font-size: 16px;
    font-weight: bold;
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

.menu-icon.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-icon.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Desktop Navigation */
.desktop-nav {
    margin-left: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    transition: var(--transition);
}

.nav-links a.active {
    color: #54BEFF;
}

.nav-links a:hover {
    color: #54BEFF;
    text-decoration: underline;
}

.nav-arrow {
    width: 12px;
    height: 12px;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.nav-links li:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    padding-bottom: 10px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px 0;
    margin-top: 0;
    z-index: 1000;
    display: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu:hover {
    display: block;
}

.dropdown-menu h4 {
    color: #05A0FF;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu ul li {
    margin-bottom: 10px;
    padding: 0 20px;
}

.dropdown-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.dropdown-menu ul li {
    transition: background-color 0.3s ease;
}

.dropdown-menu ul li:hover {
    background-color: #EFFDFF;
}

.dropdown-menu ul li a:hover {
    color: #05A0FF;
    text-decoration: none;
}

/* About Us Dropdown */
.about-dropdown {
    min-width: 500px;
}

.about-content {
    padding: 20px 40px;
    display: flex;
    gap: 30px;
}

.about-section {
    flex: 1;
}

.about-section h4 {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
}

.about-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #999;
}

.qr-code {
    margin-top: 10px;
}

.qr-code img {
    width: 140px;
    height: 140px;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-links a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.mobile-nav-links a.active {
    color: #54BEFF;
    font-weight: 600;
}

.mobile-nav-links a:hover {
    background-color: #f5f5f5;
}

/* Mobile Dropdown */
.mobile-dropdown {
    position: relative;
}

.mobile-nav-arrow {
    float: right;
    width: 20px;
    height: 20px;
    background-image: url('../image/002.png');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-nav-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    background-color: #f9f9f9;
}

.mobile-dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-dropdown-menu a {
    padding: 10px 30px;
    font-size: 14px;
}

.mobile-dropdown-menu a:hover {
    background-color: #f0f0f0;
}

.mobile-dropdown-menu2 {
    padding: 20px;
}

/* Footer Styles */
footer {
    background-color: white;
    color: var(--text-color);
    padding: 60px 0 30px;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #101010;
}

.footer-section p,
.footer-section li {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.ecosystem-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.ecosystem-logos img {
    max-height: 40px;
    max-width: 100%;
    object-fit: contain;
}

.wechat-qr {
    max-width: 120px;
    height: auto;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

/* One-Click Service */
.one-click-service {
    padding: 80px 0;
    background-image: url('../image/001.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.one-click-title {
    font-size: 40px;
    font-weight: bold;
    color: #05A0FF;
    margin-bottom: 20px;
}

.one-click-title2 {
    font-size: 40px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.one-click-description {
    font-size: 30px;
    color: #333;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 60px;
}

.btn-primary {
    background: linear-gradient(89.32deg, rgba(75, 87, 253, 1) 0.48%, rgba(5, 160, 255, 1) 99.71%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #05A0FF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(20px);
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.back-to-top:hover {
    background-color: #0488d1;
}

.toggle-icon {
    display: none;
}

/* Responsive Design for Header and Footer */
@media (max-width: 1400px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }

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

    .desktop-nav {
        margin-left: 30px;
        display: none;
    }

    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 20px;
        margin-bottom: 0;
        padding: 0px;
    }

    .ecosystem-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-section ul li {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .footer-section h4 {
        font-size: 14px;
        padding-bottom: 0px;
        margin-bottom: 0;
    }

    /* Footer Toggle */
    .footer-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        position: relative;
    }

    .toggle-icon {
        width: 16px;
        height: 16px;
        background-image: url('../image/003.png');
        background-size: contain;
        background-repeat: no-repeat;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .footer-section.collapsed .toggle-icon {
        background-image: url('../image/002.png');
        transform: rotate(0deg);
    }

    .footer-section .footer-hh {
        margin-top: 20px;
        max-height: 200px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .footer-section {
        text-align: left;
        border-bottom: 1px solid #eee;
        padding: 0 10px 20px;
    }

    .footer-section .footer-hh {
        max-height: none;
    }

    .footer-section.collapsed .footer-hh {
        max-height: none;
    }

    .footer-section.collapsed .footer-hh {
        margin-top: 0;
        max-height: 0;
    }

    .footer-bottom {
        font-size: 10px;
    }

    .one-click-title,
    .one-click-title2 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .one-click-description {
        font-size: 10px;
        line-height: 28px;
    }

    .btn-primary {
        padding: 6px 20px;
        font-size: 10px;
    }

    .one-click-service {
        padding: 40px 0;
    }
}