/* 重置和基础样式 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00B1FF;
    --primary-dark: #0099E6;
    --secondary-color: #00B1FF;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f9ff;
    --bg-dark: #0a1929;
    --gradient-1: linear-gradient(135deg, #00B1FF 0%, #0088CC 100%);
    --gradient-2: linear-gradient(135deg, #00B1FF 0%, #006699 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00B1FF 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 177, 255, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 177, 255, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 177, 255, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 177, 255, 0.15);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    will-change: box-shadow;
    overflow-x: hidden;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00B1FF;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    max-width: calc(100% - 50px);
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    will-change: transform;
}

.logo:hover img {
    transform: scale(1.1) rotate(5deg);
}

.logo span {
    display: inline-block;
    letter-spacing: -0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-shrink: 1;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00B1FF;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #00B1FF;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    background: #00B1FF;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.hamburger:hover {
    background: rgba(0, 177, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(0, 177, 255, 0.15);
}

.hamburger span {
    width: 22px;
    height: 2.5px;
    background: #1f2937;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-radius: 2px;
    display: block;
    position: relative;
    margin: 0 auto;
}

/* 对称 X：用伪元素绘制，始终居中、轴对称 */
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 2.5px;
    margin-left: -12px;
    margin-top: -1.25px;
    background: #1f2937;
    border-radius: 2px;
    transform-origin: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.hamburger::before {
    transform: rotate(45deg);
}

.hamburger::after {
    transform: rotate(-45deg);
}

.hamburger.active span {
    opacity: 0;
}

.hamburger.active::before,
.hamburger.active::after {
    opacity: 1;
}

/* 主页Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00B1FF 0%, #0088CC 50%, #006699 100%);
    padding-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-left {
    left: 5%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hero-right {
    right: 5%;
    top: 50%;
    transform: translate(50%, -50%);
}

.hero-side-icon {
    flex: 0 0 auto;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s ease, filter 0.3s ease;
    pointer-events: auto;
    position: absolute;
    will-change: transform, opacity, filter;
    filter: drop-shadow(0 0 15px rgba(0, 177, 255, 0.6));
}

.hero-side-icon:hover {
    opacity: 0.9;
    filter: drop-shadow(0 0 25px rgba(0, 177, 255, 0.9));
    z-index: 10;
}

.hero-side-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}


.hero-top-left {
    animation-delay: 1s;
}

.hero-top-right {
    animation-delay: 3s;
}

.hero-bottom-left {
    animation-delay: 1.5s;
}

.hero-bottom-right {
    animation-delay: 2.5s;
}

.hero-content {
    flex: 1;
    text-align: center;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease;
    max-width: 800px;
}

.hero-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.1) rotate(5deg);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: white;
    color: #00B1FF;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 177, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #00B1FF;
}

.btn-outline {
    background: transparent;
    color: #00B1FF;
    border-color: #00B1FF;
}

.btn-outline:hover {
    background: #00B1FF;
    color: white;
}

/* 粒子背景动画 */
.hero-feature-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-scattered-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    will-change: transform, opacity, filter;
    transform-origin: center center;
    filter: drop-shadow(0 0 8px rgba(0, 177, 255, 0.5));
    z-index: 1;
}

.hero-scattered-icon:hover {
    opacity: 0.8 !important;
    filter: drop-shadow(0 0 15px rgba(0, 177, 255, 0.8));
    z-index: 10;
}

.hero-scattered-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

.hero-scattered-icon:hover {
    opacity: 0.8 !important;
    transform: scale(1.3) rotate(0deg) !important;
    z-index: 10;
    filter: brightness(1.2);
}

.hero-scattered-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.hero-scattered-icon:hover img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}


/* 确保Hero区域可以容纳所有图标 */
.hero {
    overflow: visible;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    will-change: transform, opacity;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 19s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 21s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    0%, 100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

@keyframes floatSide {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        -webkit-transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes nav-link-fade-in {
    to {
        opacity: 1;
    }
}

@keyframes menu-bg-breathe {
    0%, 100% {
        background-position: 0 0, 0 0, 0% 0%, 0 0;
    }
    50% {
        background-position: 0 0, 0 0, 4% 3%, 0 0;
    }
}

/* 通用section样式 */
.section {
    padding: 3rem 0;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* 关于0808 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.intro {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 功能简介 */
.features-section {
    background: var(--bg-secondary);
}

.feature-category {
    margin-bottom: 2.5rem;
}

.feature-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #00B1FF;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #00B1FF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.feature-card {
    background: white;
    padding: 0.8rem 0.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 177, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 177, 255, 0.15);
    border-color: #00B1FF;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f9ff;
    border-radius: 8px;
    padding: 6px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(0, 177, 255, 0.1);
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.feature-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card h4 {
    font-size: 0.75rem;
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.3;
    word-break: break-word;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

/* 插件下载 */
.download-section {
    background: linear-gradient(135deg, #00B1FF 0%, #0088CC 100%);
    color: white;
}

.download-section .section-title,
.download-section .section-subtitle {
    color: white;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.download-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.download-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 0808消息 */
.news-section {
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 4px solid #00B1FF;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
    -webkit-transform: translateX(5px);
}

.news-header {
    margin-bottom: 1.5rem;
}

.news-date {
    display: inline-block;
    background: #00B1FF;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.news-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.news-content p {
    margin-bottom: 1rem;
}

.price-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.price-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-list li:last-child {
    border-bottom: none;
}

/* 联系方式 */
.contact-section {
    background: var(--bg-dark);
    color: white;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    will-change: transform;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.contact-icon.qq-icon {
    background: rgba(255, 255, 255, 0.15);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.qr-code {
    width: 180px;
    height: 180px;
    margin: 1rem auto;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.links-section {
    margin-top: 4rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.links-title {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.links span {
    opacity: 0.5;
}

.footer-info {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-info a:hover {
    opacity: 1;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

/* 响应式设计 - 移动端 */
@media screen and (max-width: 768px), screen and (max-device-width: 768px) {
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100vw !important;
        text-align: center !important;
        transition: left 0.3s ease !important;
        padding: 2rem 0.75rem !important;
        z-index: 1001 !important;
        display: flex !important;
        border-top: 1px solid rgba(0, 177, 255, 0.25) !important;
        /* 深色半透明 + 毛玻璃：网格 + 光晕 + 渐变 */
        background-color: rgba(8, 28, 48, 0.88) !important;
        background-image:
            repeating-linear-gradient(0deg, transparent 0, transparent 23px, rgba(0, 177, 255, 0.08) 23px, rgba(0, 177, 255, 0.08) 24px),
            repeating-linear-gradient(90deg, transparent 0, transparent 23px, rgba(0, 177, 255, 0.08) 23px, rgba(0, 177, 255, 0.08) 24px),
            radial-gradient(ellipse 100% 70% at 0% 0%, rgba(0, 177, 255, 0.15) 0%, rgba(0, 177, 255, 0.06) 40%, transparent 65%),
            linear-gradient(180deg, rgba(12, 38, 62, 0.92) 0%, rgba(8, 28, 48, 0.9) 40%, rgba(6, 22, 38, 0.88) 100%) !important;
        background-size: 24px 24px, 24px 24px, 100% 100%, 100% 100% !important;
        background-position: 0 0, 0 0, 0 0, 0 0 !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        box-shadow:
            inset 4px 0 24px -8px rgba(0, 177, 255, 0.25),
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(0, 177, 255, 0.15) !important;
    }

    .nav-menu.active {
        left: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        animation: menu-bg-breathe 12s ease-in-out infinite !important;
    }
    
    /* 菜单打开时：取消 navbar 裁剪，避免固定定位的菜单被裁掉导致“有遮罩没文字” */
    body.nav-menu-open .navbar {
        overflow: visible !important;
    }
    
    /* 菜单与导航整体高于遮罩，确保白底菜单与文字始终可见 */
    body.nav-menu-open .navbar,
    body.nav-menu-open #navMenu {
        z-index: 1002 !important;
    }
    
    .nav-menu li {
        width: 100% !important;
        display: block !important;
    }
    
    .nav-menu .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 1rem 1rem !important;
        text-align: center !important;
        font-weight: 600 !important;
        letter-spacing: 0.02em !important;
        color: rgba(255, 255, 255, 0.88) !important;
        transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
        border-left: 3px solid transparent !important;
        margin: 0 0 4px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(0, 177, 255, 0.18) !important;
        border-left-color: #00B1FF !important;
        color: #fff !important;
    }
    
    .nav-menu .nav-link::after {
        display: none !important;
    }
    
    .nav-menu.active .nav-link {
        opacity: 0;
        animation: nav-link-fade-in 0.3s ease forwards;
    }
    .nav-menu.active li:nth-child(1) .nav-link { animation-delay: 0.04s; }
    .nav-menu.active li:nth-child(2) .nav-link { animation-delay: 0.08s; }
    .nav-menu.active li:nth-child(3) .nav-link { animation-delay: 0.12s; }
    .nav-menu.active li:nth-child(4) .nav-link { animation-delay: 0.16s; }
    .nav-menu.active li:nth-child(5) .nav-link { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(6) .nav-link { animation-delay: 0.24s; }
    
    /* 添加背景遮罩层（低于 navbar 1000 / menu 1001，避免挡住菜单与汉堡按钮） */
    body.nav-menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: block;
        pointer-events: auto;
    }

    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1001;
        position: relative;
        align-items: center;
        justify-content: center;
        width: 40px !important;
        height: 40px !important;
        background: transparent;
        order: 2;
    }
    
    .hamburger span {
        background: #1f2937 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 22px !important;
        height: 2.5px !important;
        border-radius: 2px !important;
    }
    
    .hamburger.active span {
        opacity: 0 !important;
    }
    
    .hamburger.active {
        background: rgba(0, 177, 255, 0.1) !important;
        box-shadow: 0 0 0 1px rgba(0, 177, 255, 0.2) !important;
    }
    
    .hamburger::before,
    .hamburger::after {
        background: #1f2937 !important;
    }
    
    .nav-container {
        justify-content: space-between;
        padding: 1rem 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .hamburger {
        flex-shrink: 0;
        margin-left: auto;
    }
    
    .navbar {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* 对称 X：伪元素绘制，不依赖三条线平移，绝对居中 */
    .hamburger::before,
    .hamburger::after {
        content: '' !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        width: 24px !important;
        height: 2.5px !important;
        margin-left: -12px !important;
        margin-top: -1.25px !important;
        border-radius: 2px !important;
        transform-origin: center !important;
        opacity: 0 !important;
        transition: opacity 0.2s ease !important;
    }
    .hamburger::before {
        transform: rotate(45deg) !important;
    }
    .hamburger::after {
        transform: rotate(-45deg) !important;
    }
    .hamburger.active::before,
    .hamburger.active::after {
        opacity: 1 !important;
    }
    
    .hamburger span {
        display: block !important;
        position: relative !important;
        transition: opacity 0.2s ease !important;
    }

    .hero-icons-wrapper {
        padding: 0 1rem;
    }

    .hero-icons-wrapper.hero-bottom {
        bottom: 2rem;
    }

    .hero-container {
        flex-direction: column;
        padding: 0 10px;
    }

    .hero-side-icon {
        width: 120px;
        height: 120px;
    }


    .hero-left,
    .hero-right {
        width: 120px;
        height: 120px;
    }
    
    .hero-left {
        left: 3% !important;
    }
    
    .hero-right {
        right: 3% !important;
    }

    .hero-scattered-icon {
        width: 40px;
        height: 40px;
    }
    
    .hero-scattered-icon img {
        filter: brightness(1.2) contrast(1.2);
    }

    .hero-logo img {
        width: 80px;
        height: 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.8rem;
    }

    .feature-card {
        padding: 0.6rem 0.4rem;
        min-height: 90px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.4rem;
        padding: 4px;
    }

    .feature-card h4 {
        font-size: 0.7rem;
    }

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

    .qr-code {
        width: 150px;
        height: 150px;
    }

    .contact-icon {
        width: 56px;
        height: 56px;
        padding: 10px;
    }
}

/* 性能优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 加载优化 */
img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* 字体优化 */
@supports (font-display: swap) {
    @font-face {
        font-family: system-ui;
        font-display: swap;
    }
}

/* 减少重绘优化 */
.feature-card,
.news-card,
.contact-card {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* 滚动优化 */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
