* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff0050;
    --secondary-color: #00f2ea;
    --dark-bg: #0a0a0a;
    --text-light: #ffffff;
    --text-gray: #b3b3b3;
    --gradient-1: linear-gradient(135deg, #ff0050, #00f2ea);
    --gradient-2: linear-gradient(135deg, #667eea, #764ba2);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 导航�?*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    background: #ffffff;
    border-bottom-color: #eeeeee;
}

.navbar.scrolled .logo {
    background: linear-gradient(135deg, #ff0050, #ff0050);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar.scrolled .nav-menu a {
    color: #333333;
}

/* navbar hover时不做任何变色处�?*/

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

/* 导航栏链接字体样式（仅作用于导航栏，不影响下拉菜单） */
.nav-menu > .nav-item > .nav-link {
    color: #333333; /* 导航栏字体颜色：深灰�?*/
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 6px;
}

/* 电脑端导航链接hover变色 */
.nav-menu > .nav-item > .nav-link:hover {
    color: var(--primary-color);
    background: transparent;
}

.navbar.scrolled .nav-menu > .nav-item > .nav-link:hover {
    color: var(--primary-color);
    background: transparent;
}

.nav-menu > .nav-item > .nav-link.current {
    color: var(--primary-color);
    background: transparent;
    font-weight: 600;
}


.nav-item.parent-current > .nav-link {
    color: var(--primary-color);
    background: transparent;
    font-weight: 600;
}
.nav-menu > .nav-item:not(.active) > .nav-link:not(.current)::after {
    display: none;
}

.nav-contact {
    display: none;
    gap: 15px;
}

/* 下拉菜单 */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item:not(.active) .nav-link:not(.current)::after {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 120px;
    width: auto; /* 自动适应内容宽度 */
    background: #ffffff;
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    margin-top: 25px;
    text-align: center;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 30px;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #000000; /* 下拉菜单字体颜色：黑色，独立于导航栏 */
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap; /* 不换行，完整显示 */
    overflow: visible; /* 确保文字不被截断 */
    cursor: pointer; /* 始终显示手型光标 */
}

.dropdown-item:hover {
    background: #f5f5f5;
    color: var(--primary-color); /* 下拉菜单hover字体变色，独立于导航�?*/
    cursor: pointer; /* hover时保持手型光�?*/
}

.dropdown-item.current {
    background: #f5f5f5;
    color: var(--primary-color);
    font-weight: 600;
}


.dropdown-item::after {
    display: none !important;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 180px;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 80, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background-size: cover !important;
    background-position: center;
}

/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 242, 234, 0.15) 0%, transparent 50%);
} */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 0, 80, 0.2);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.section-desc {
    color: #FFF;
    max-width: 600px;
    margin: 0 auto;
}

/* Marketing Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 80, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto;
    margin-bottom: 20px;
    overflow: hidden;
}

.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card .subtitle {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-card .learn-more {
    color: var(--primary-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

/* Features Section */
.features {
    background: linear-gradient(180deg, rgba(255, 0, 80, 0.05), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 36px;
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    display: block;
    margin: 0 auto 15px;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 12px;
    color: var(--text-gray);
}

/* Cases Carousel */
.cases-section .section-header {
    text-align: left;
}

.cases-section .section-desc {
    margin: 0;
}

.cases-carousel {
    position: relative;
    margin: 0 30px;
}

.cases-slider-wrap {
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.cases-slider-wrap.is-dragging {
    cursor: grabbing;
}

.cases-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.case-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
}

.case-slide-label {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 14px 0 0;
    padding: 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-card {
    overflow: hidden;
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
    height: 480px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.case-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-img-placeholder {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 52px;
    color: rgba(255, 255, 255, 0.15);
}

.case-tag {
    display: none;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 160, 165, 0.92);
    padding: 14px 16px;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-slide:hover .case-overlay {
    opacity: 1;
    transform: translateY(0);
}

.case-overlay-label {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.case-overlay-label:not(:first-child) {
    margin-top: 8px;
}

.case-bg-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-achieve-text {
    font-size: 12px;
    color: #fff;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Cases dots */
.cases-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}

.cases-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    outline: none;
}

.cases-dot.active {
    background: #ffffff;
    width: 24px;
    border-radius: 4px;
    border-color: transparent;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    min-height: 450px;
}

.news-main {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.news-main-image {
    height: 280px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-main-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-date {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.news-main h3 {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-main p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
    flex: 1;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.news-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 20px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.news-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.news-item p {
    color: var(--text-gray);
    font-size: 13px;
}

/* About Section */
.about {
    background: linear-gradient(180deg, transparent, rgba(255, 0, 80, 0.05));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.about-stat {
    text-align: center;
}

.about-stat .number {
    font-size: 36px;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat .label {
    font-size: 14px;
    color: var(--text-gray);
}

.about-image {
    background: linear-gradient(135deg, rgba(255, 0, 80, 0.1), rgba(0, 242, 234, 0.1));
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    position: relative;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    font-size: 28px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--gradient-1);
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 14px;
}

/* Contact Float */
.contact-float {
    position: fixed;
    right: 10px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 36px;
    height: 36px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 0, 80, 0.3);
}

.float-btn:hover {
    transform: scale(1.1);
}

/* 电话悬浮按钮 PC 弹出号码气泡 */
.float-btn-phone {
    position: relative;
}
.float-phone-popup {
    display: none;
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a2e;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    pointer-events: none;
    z-index: 9999;
}
.float-phone-popup::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1a1a2e;
}
.float-btn-phone.phone-active .float-phone-popup {
    display: flex;
    align-items: center;
    animation: phonePopIn 0.18s ease;
}
@keyframes phonePopIn {
    from { opacity: 0; transform: translateY(-50%) translateX(6px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* 移动端菜单头�?- 默认隐藏 */
.mobile-menu-header {
    display: none;
}

@media (max-width: 1200px) {
    .container {
        width: 95% !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-slide {
        flex: 0 0 calc(50% - 10px);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 11px 0;
        border-bottom: 1px solid #eeeeee;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    /* 移动端导航栏布局 */
    .navbar .container {
        position: relative;
    }

    .navbar .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* 移动端菜单头�?*/
    .mobile-menu-header {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 360px;
        height: 60px;
        z-index: 2001;
        align-items: center;
        justify-content: center;
        padding: 0 15px;
        border-bottom: 1px solid #f0f0f0;
        background: #ffffff;
        box-sizing: border-box;
    }

    body.menu-open .mobile-menu-header {
        display: flex;
    }

    .mobile-menu-header .menu-logo {
        font-size: 22px;
        font-weight: bold;
        background: var(--gradient-1);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .mobile-menu-header .mobile-close-btn {
        display: none; /* 使用汉堡按钮关闭，隐藏侧边栏关闭按钮 */
    }

    .mobile-close-btn {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background: #ffffff;
        border-radius: 6px;
        transition: all 0.3s ease;
        position: relative;
    }

    .mobile-close-btn span {
        position: absolute;
        width: 20px;
        height: 2px;
        background: #666666;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-close-btn span:first-child {
        transform: rotate(45deg);
    }

    .mobile-close-btn span:last-child {
        transform: rotate(-45deg);
    }

    .mobile-close-btn:hover {
        background: #f0f0f0;
    }

    .mobile-close-btn:hover span {
        background: var(--primary-color);
    }

    /* 移动端汉堡菜单按�?*/
    .mobile-menu-btn {
        background: #ffffff;
        border-radius: 8px;
        padding: 8px !important;
    }

    .mobile-menu-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: #333333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .navbar.scrolled .mobile-menu-btn {
        background: #ffffff;
    }

    .navbar.scrolled .mobile-menu-btn span {
        background: #333333;
    }

    /* 移动端菜�?- 左侧边栏样式 */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 85% !important;
        max-width: 360px !important;
        height: 100% !important;
        background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%) !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 60px 0 0 0 !important;
        display: none !important;
        overflow-y: auto !important;
        z-index: 2000 !important;
        list-style: none !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
    }

    .nav-menu.active {
        display: flex !important;
        transform: translateX(0) !important;
        height: 100vh !important;
        min-height: 100% !important;
    }

    /* 菜单打开时的背景遮罩 */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1998;
    }

    /* 菜单打开时提升navbar层级 */
    body.menu-open .navbar {
        z-index: 2002;
    }

    .nav-menu li,
    .nav-menu .nav-item {
        display: block !important;
        width: 100% !important;
    }

    .nav-menu > li > a,
    .nav-item > .nav-link {
        display: flex !important;
        width: 100% !important;
        padding: 16px 20px !important;
        color: #333333 !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        border-bottom: 1px solid #f0f0f0 !important;
        background: transparent !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: left !important;
        transition: all 0.2s ease !important;
    }

    /* 有下拉菜单的项显�?号在右边 */
    .nav-item.has-dropdown > .nav-link {
        justify-content: space-between !important;
    }

    .nav-menu > li > a:hover,
    .nav-item > .nav-link:hover {
        color: var(--primary-color) !important;
        background: transparent !important;
    }

    .nav-menu > li > a:active,
    .nav-menu > li > a:focus,
    .nav-item > .nav-link:active,
    .nav-item > .nav-link:focus {
        color: #333333 !important;
        background: transparent !important;
    }

    .nav-item.active > .nav-link,
    .nav-item.active > .nav-link:hover,
    .nav-item.active > .nav-link:active,
    .nav-item.active > .nav-link:focus {
        color: #333333 !important;
        background: transparent !important;
    }

    .nav-item.parent-current > .nav-link {
        color: var(--primary-color) !important;
        font-weight: 600;
        background: transparent !important;
    }

    /* 当前页面菜单高亮 */
    .nav-link.current {
        color: var(--primary-color) !important;
        background: transparent !important;
        font-weight: 500;
    }

    .dropdown-item.current {
        color: var(--primary-color) !important;
        background: transparent !important;
        font-weight: 600;
    }

    .nav-menu a::after {
        display: none !important;
    }

    .nav-item {
        display: block !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .nav-item .nav-link {
        display: flex !important;
        width: 100% !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* 有下拉菜单的项显示展开按钮 */
    .nav-item.has-dropdown > .nav-link::after {
        display: none !important;
    }

    /* 移动端展开按钮样式 */
    .dropdown-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding-left: 15px;
        color: #999999;
        font-size: 12px;
        transition: all 0.3s ease;
    }

    .dropdown-toggle:hover {
        color: var(--primary-color);
    }

    .nav-item.has-dropdown {
        position: relative;
    }

    .nav-item.has-dropdown > .nav-link {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .nav-item.has-dropdown.active > .nav-link::after {
        display: none !important;
    }

    /* 移动端下拉菜�?*/
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        min-width: 100% !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: linear-gradient(180deg, #f5f5f5 0%, #efefef 100%) !important;
        margin-top: 0 !important;
        padding: 5px 0 !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        border-left: none !important;
    }

    .dropdown-menu::before {
        display: none !important;
    }

    .nav-item.active .dropdown-menu {
        display: block !important;
    }

    .dropdown-item {
        display: block !important;
        padding: 12px 20px 12px 35px !important;
        color: #555555 !important;
        font-size: 14px !important;
        border-bottom: none !important;
        background: transparent !important;
        transition: all 0.2s ease !important;
    }

    .dropdown-item:hover {
        color: var(--primary-color) !important;
        background: transparent !important;
        padding-left: 40px !important;
    }

    .dropdown-item:last-child {
        border-bottom: none !important;
    }

    /* 菜单打开时保持背景可滚动 */
    body.menu-open {
        /* overflow: hidden; 移除锁定，允许滚�?*/
    }

    .nav-contact {
        display: flex !important;
        margin-left: auto;
    }

    .hero h1 {
        font-size: 32px;
    }

    .services-grid,
    .news-grid,
    .about-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .case-slide {
        flex: 0 0 100%;
    }

    .cases-carousel {
        padding: 0 44px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 桌面端隐藏汉堡菜单和移动端菜单头�?*/
.mobile-menu-btn {
    display: none;
}

.mobile-menu-header {
    display: none;
}

/* PC端navbar: 未滚动时透明背景 + 文字白色；hover后白色背景 + 文字黑色 */
@media (min-width: 769px) {
    .navbar:not(.scrolled) {
        background: transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }

    .navbar:not(.scrolled) .nav-menu > .nav-item > .nav-link {
        color: #ffffff;
    }

    .navbar:not(.scrolled):hover {
        background: #ffffff;
        border-bottom-color: #eeeeee;
    }

    .navbar:not(.scrolled):hover .nav-menu > .nav-item > .nav-link {
        color: #333333;
    }

    /* 导航文字 hover 时变红色（透明态和白色背景态均适用） */
    .navbar:not(.scrolled) .nav-menu > .nav-item > .nav-link:hover,
    .navbar:not(.scrolled):hover .nav-menu > .nav-item > .nav-link:hover {
        color: var(--primary-color);
    }

    /* dropdown-menu 内文字始终保持黑色 */
    .navbar .dropdown-item {
        color: #000000;
    }
}

/* 桌面端隐藏展开按鈕 */
@media (min-width: 769px) {
    .dropdown-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 11px 0;
    }

    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 38px;
        height: 38px;
        padding: 7px;
        cursor: pointer;
        z-index: 2003;
        position: relative;
    }

    .mobile-menu-btn span {
        transition: all 0.3s ease;
        transform-origin: center;
    }

    /* 汉堡按钮变成 X �?*/
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-content {
    animation: float 3s ease-in-out infinite;
}





























