:root {
    /* 主色调：更现代的红色系 */
    --primary-color: #FF2D55;        /* 鲜艳的霓虹红 */
    --primary-dark: #E0234E;         /* 深玫瑰红 */
    --secondary-color: #FF4769;      /* 亮玫红 */
    --accent-color: #FF6B8B;         /* 柔和的粉红 */
    
    /* 背景色系：深邃的科技黑 */
    --dark-bg: #0A0B14;              /* 深邃科技黑 */
    --darker-bg: #060710;            /* 暗夜黑 */
    --card-bg: #12141F;              /* 卡片背景 */
    
    /* 文字颜色 */
    --text-primary: #FFFFFF;         /* 纯白 */
    --text-secondary: #E0E0E0;       /* 高对比灰白 */
    
    /* 特效相关 */
    --glass-bg: rgba(10, 11, 20, 0.85);
    --accent-gradient: linear-gradient(135deg, #FF2D55, #FF4769);
    --hover-gradient: linear-gradient(135deg, #E0234E, #FF2D55);
    --glow: 0 0 30px rgba(255, 45, 85, 0.25);
    
    /* 阴影效果 */
    --shadow-sm: 0 2px 4px rgba(255, 45, 85, 0.1);
    --shadow-md: 0 4px 6px rgba(255, 45, 85, 0.15);
    --shadow-lg: 0 8px 24px rgba(255, 45, 85, 0.2);
    
    /* 边框颜色 */
    --border-color: rgba(255, 45, 85, 0.15);
    --vh: 1vh;  /* 用于动态计算真实视口高度 */
    /* 添加系统字体备选方案 */
    --font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 
        'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 移除全局过渡，避免不必要的动画 */
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background-color: var(--dark-bg);
    background: linear-gradient(
        135deg,
        var(--darker-bg),
        var(--dark-bg)
    );
    position: relative;
}

/* 添加背景网格效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(255, 45, 85, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 45, 85, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* 添加背景光效 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(255, 45, 85, 0.1),
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* 导航栏样式优化 */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0.5rem max(2rem, 5%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: center;
    align-items: center;
}

.logo .company-name {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    text-align: center;
}

.logo .website {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
    letter-spacing: 0.02em;
    text-align: center;
}

.logo img {
    height: 37px;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.3));
    transition: filter 0.3s var(--transition-bezier);
}

.logo:hover img {
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.5));
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    background: linear-gradient(to right, transparent 50%, rgba(255, 45, 85, 0.1) 50%);
    background-size: 200% 100%;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
}

.nav-links a:hover {
    background-position: -100% 0;
}

.contact-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    transition: transform 0.3s !important;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

/* Hero 区域样式优化 */
#hero {
    min-height: calc(100 * var(--vh));
    height: calc(100 * var(--vh));
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1600px;
    padding: 0 max(2rem, 5%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
    height: 100%;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

/* 背景效果增强 */
#hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(239, 68, 68, 0.08) 0%,
        transparent 70%);
    opacity: 0.8;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom right,
        rgba(239, 68, 68, 0.1),
        transparent 40%
    );
}

/* 响应式优化 */
@media (max-width: 1200px) {
    .hero-container {
        padding: 0 2rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-image {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }

    nav {
        padding: 0.5rem 1rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-content h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        text-align: center;
    }

    .hero-content p {
        font-size: 1rem;
        text-align: center;
        max-width: 400px;
        margin: 1rem auto;
    }
}

/* 移动端优化 */
@media (max-width: 480px) {
    .hero-container {
        padding: 0 1rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .product-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .product-btn {
        width: 100%;
        text-align: center;
    }

    .logo .company-name {
        font-size: 1.5rem;
    }
    
    .logo .website {
        font-size: 0.75rem;
    }
}

/* 处理异形屏幕 */
@supports (padding: env(safe-area-inset-top)) {
    header {
        padding-top: env(safe-area-inset-top);
    }

    .nav-links {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* 横屏优化 */
@media (max-height: 600px) and (orientation: landscape) {
    #hero {
        min-height: 120vh;
    }

    .hero-container {
        padding-top: 100px;
    }
}

/* 产品区域样式 */
#products {
    min-height: 100vh; /* 改为最小高度，允许内容增长 */
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    line-height: 1;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(
        145deg, 
        rgba(18, 18, 26, 0.95), 
        rgba(10, 10, 15, 0.95)
    );
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(225, 29, 72, 0.2);
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.15);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.product-features {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-features span {
    color: #4b5563;
}

.product-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.product-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s;
}

.product-btn:hover {
    transform: translateY(-2px);
}

/* 页脚样式 */
footer {
    background: var(--darker-bg);
    color: var(--text-primary);
    padding: 4rem 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-contact p:hover {
    color: var(--primary-color);
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color),
        transparent
    );
    opacity: 0.2;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copyright i {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a i {
    color: var(--primary-color);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }

    .copyright {
        justify-content: center;
    }
}

/* 添加页脚背景效果 */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color),
        transparent
    );
    opacity: 0.2;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at top center,
        rgba(255, 45, 85, 0.05),
        transparent 70%
    );
    pointer-events: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    #hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
} 

/* 添加新的产品展示样式 */
.product-showcase {
    position: relative;
    padding: 3rem 0;
    margin: 0 auto;
    max-width: 1400px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FF2D55, #FF9500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 始终保持两列布局 */
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-features span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-features span:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.product-features i {
    color: #FF2D55;
    font-size: 1.2rem;
}

.product-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.product-btn {
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.product-btn:not(.outline) {
    background: linear-gradient(135deg, #FF2D55, #FF9500);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 45, 85, 0.2);
}

.product-btn.outline {
    background: transparent;
    border: 2px solid #FF2D55;
    color: #FF2D55;
}

.product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 45, 85, 0.25);
}

.product-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
}

.product-btn:hover::after {
    left: 100%;
    }
    
    .product-screenshot {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.product-screenshot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 45, 85, 0.1),
        rgba(255, 149, 0, 0.1)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-screenshot:hover::before {
    opacity: 1;
}

.product-screenshot img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transform: scale(1);
    transition: transform 0.5s ease;
    filter: brightness(0.95) contrast(1.05);
}

.product-screenshot:hover img {
    transform: scale(1.03);
    filter: brightness(1) contrast(1.1);
}

/* 响应式优化 */
@media (max-width: 1024px) {
.product-details {
        grid-template-columns: 1fr;
    gap: 2rem;
        padding: 1.5rem;
}

.product-info h3 {
        font-size: 2rem;
        text-align: center;
}

.product-info p {
        text-align: center;
    }
    
    .product-features {
        justify-content: center;
    }
    
    .product-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .product-showcase {
        padding: 2rem 1rem;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 反向布局的产品展示 */
.product-details.reverse {
    grid-template-columns: 1fr 1fr;
}

.product-details.reverse .product-screenshot {
    transform: perspective(1000px) rotateY(5deg);
}

.product-details.reverse .product-screenshot:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* 优化按钮样式 */
.product-btn {
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.product-btn:not(.outline) {
    background: linear-gradient(135deg, #FF2D55, #FF9500);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 45, 85, 0.2);
}

.product-btn.outline {
    background: transparent;
    border: 2px solid #FF2D55;
    color: #FF2D55;
}

.product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 45, 85, 0.25);
}

/* 添加产品图片悬浮效果 */
.product-screenshot img {
    width: 100%;
    height: auto;
    max-height: 400px; /* 限制图片最大高度 */
    object-fit: contain; /* 保持图片比例，确保完整显示 */
    transform: scale(1);
    transition: transform 0.5s ease;
    filter: brightness(0.95);
}

.product-screenshot:hover img {
    transform: scale(1.02);
    filter: brightness(1);
}

/* 调整整体间距和布局 */
section {
    padding: 4rem 0;  /* 减小section间距 */
}

.container {
    width: 100%;
    max-width: 1600px;  /* 增加最大宽度 */
    margin: 0 auto;
    padding: 0 max(2rem, 5%);  /* 动态边距 */
}

/* 添加平滑滚动效果 */
* {
    scroll-behavior: smooth;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 优化动画性能 */
.product-card, .feature, .product-screenshot {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* 默认显示，无需依赖JS */
    opacity: 1;
}

/* 添加页面过渡效果，但默认保证元素可见 */
.fade-enter {
    opacity: 1;
    transform: translateY(0);
}

.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s, transform 0.3s;
}

/* 优化交互反馈 */
.interactive-element {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 确保下拉菜单可通过CSS悬停访问 */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

/* 图片默认显示 */
img[loading="lazy"] {
    opacity: 1;
}

/* 隐藏需要JS的元素 */
.cursor {
    display: none;
}

.scroll-progress {
    display: none;
}

/* 禁用仅由JS控制的动画效果 */
[data-aos] {
    opacity: 1;
    transform: none;
    transition: none;
}

/* 优化按钮反馈 */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn:hover::after {
    opacity: 1;
}

/* 添加滚动指示器 */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 优化加载状态 */
.loading-skeleton {
    background: linear-gradient(
        90deg,
        var(--card-bg) 25%,
        var(--darker-bg) 50%,
        var(--card-bg) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 优化响应式布局 */
@media (max-width: 768px) {
    section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .product-details {
        gap: 1.5rem;
    }
    
    .product-info {
        padding: 0.5rem;
    }
}

/* 添加页面内容预加载 */
.preload {
    position: fixed;
    inset: 0;
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preload.loaded {
    opacity: 0;
    pointer-events: none;
}

/* 下拉菜单样式优化 */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown > a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background: rgba(18, 18, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 45, 85, 0.15);
    border-radius: 12px;
    padding: 0.75rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 24px -1px rgba(0, 0, 0, 0.3),
        0 0 20px -1px rgba(255, 45, 85, 0.2);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
    margin: 0.25rem 0;
    font-weight: 500;
    text-align: left;
    justify-content: flex-start;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255, 45, 85, 0.1);
    transform: translateX(5px);
}

.dropdown-menu i {
    font-size: 1.1rem;
    color: var(--primary-color);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

/* 联系方式下拉菜单特殊样式 */
.contact-menu {
    right: 0;
    left: auto;
}

/* 添加箭头指示器 */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 20px;
    width: 8px;
    height: 8px;
    background: rgba(18, 18, 24, 0.98);
    border-left: 1px solid rgba(255, 45, 85, 0.15);
    border-top: 1px solid rgba(255, 45, 85, 0.15);
    transform: rotate(45deg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.contact-menu::before {
    left: auto;
    right: 20px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        background: rgba(18, 18, 24, 0.8);
        border: none;
        box-shadow: none;
        margin-top: 0.5rem;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        transform: none;
    }
}

/* 添加新的动画效果 */
@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 优化页面整体视觉效果 */
body {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 45, 85, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255, 45, 85, 0.03) 0%, transparent 50%),
        var(--dark-bg);
}

/* 添加3D光效 */
.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 45, 85, 0.1),
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a:hover::before {
    opacity: 1;
}

/* 优化滚动体验 */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* 添加现代化滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 移除旧的进度条样式，添加新的视觉效果 */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('noise.png');
    opacity: 0.015;
    pointer-events: none;
    z-index: 1;
}

.gradient-sphere {
    position: fixed;
    width: 100vmax;
    height: 100vmax;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(255, 45, 85, 0.03) 35%,
        transparent 70%
    );
    opacity: 0.5;
    filter: blur(100px);
    animation: spherePulse 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* 现代化导航栏效果 */
.nav-links a {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 45, 85, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: -1;
}

.nav-links a:hover::before {
    transform: translateX(100%);
}

/* 优化下拉菜单动画 */
.dropdown-menu {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 
        clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown:hover .dropdown-menu {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* 新增动画效果 */
@keyframes spherePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* 优化滚动体验 */
html {
    scroll-behavior: smooth;
    scroll-timeline: --page-scroll block;
}

/* 优化性能 */
* {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

/* 添加现代化阴影效果 */
.contact-menu {
    box-shadow: 
        0 4px 24px -1px rgba(0, 0, 0, 0.1),
        0 0 20px -1px rgba(255, 45, 85, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* 优化移动端体验 */
@media (hover: hover) and (pointer: fine) {
    .nav-links a:hover {
        transform: translateY(-2px);
    }
}

@supports (backdrop-filter: blur(12px)) {
    .dropdown-menu {
        background: rgba(18, 18, 24, 0.8);
        backdrop-filter: blur(12px);
    }
}

/* 添加暗色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}

/* 移除性能密集型效果 */
.noise-overlay,
.gradient-sphere,
body::before,
body::after {
    display: none;
}

/* 移除复杂的3D和性能密集型属性 */
* {
    transform-style: initial;
    backface-visibility: initial;
    will-change: auto;
}

/* 简化动画效果 */
.nav-links a::before {
    display: none;
}

/* 移除复杂的渐变和模糊效果 */
.dropdown-menu {
    background: rgba(18, 18, 24, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* 优化现有动画效果 */
.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 优化下拉菜单动画 */
.dropdown-menu {
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 优化联系按钮效果 */
.contact-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 100%;
    transition: background-position 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-btn:hover {
    background-position: 100% 0;
    box-shadow: 0 4px 15px rgba(255, 45, 85, 0.3);
}

/* Logo 动画效果 */
.logo img {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* 统计数字动画 */
.stat-number {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    color: var(--primary-color);
}

/* 特性卡片动画 */
.feature {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

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

.feature i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* 社交图标动画 */
.social-links a {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
}

/* 按钮点击效果 */
button, .cta-button, .contact-btn {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

button:active, .cta-button:active, .contact-btn:active {
    transform: scale(0.95);
}

/* 页面滚动动画优化 */
[data-aos] {
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 下拉菜单项动画 */
.dropdown-menu a {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown:hover .dropdown-menu a {
    opacity: 1;
    transform: translateX(0);
}

.dropdown-menu a:nth-child(1) { transition-delay: 0.1s; }
.dropdown-menu a:nth-child(2) { transition-delay: 0.15s; }
.dropdown-menu a:nth-child(3) { transition-delay: 0.2s; }
.dropdown-menu a:nth-child(4) { transition-delay: 0.25s; }

/* 使用 CSS 逻辑性优化布局 */
.stat-item {
    text-align: center;
    padding-block: 1.5rem;
    padding-inline: 1.5rem;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-inline-end: none;
}

/* 使用 CSS Grid 的新特性优化布局 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    container-type: inline-size;
    container-name: stats;
}

/* 使用容器查询优化响应式布局 */
@container stats (width < 768px) {
    .stat-item {
        border-inline-end: none;
        border-block-end: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-number {
        font-size: clamp(1.5rem, 4cqi, 2.5rem);
    }
}

/* 使用新的视口单位优化字体大小 */
.stat-number {
    font-size: clamp(2rem, 3dvw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
}

.stat-label {
    font-size: clamp(0.875rem, 1.5dvw, 1.1rem);
}

/* 使用 @supports 优化渐变文本效果 */
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .stat-number {
        background: var(--accent-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

/* 使用 :has() 选择器优化布局 */
.stats-container:has(.stat-item:hover) .stat-item:not(:hover) {
    opacity: 0.7;
    transform: scale(0.98);
}

/* 优化动画性能 */
.stat-item {
    transition: 
        opacity 0.2s ease,
        transform 0.2s ease;
    will-change: transform, opacity;
}

/* 使用 @property 定义自定义属性 */
@property --stat-opacity {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

/* 使用 aspect-ratio 优化图片容器 */
.hero-image {
    aspect-ratio: 16 / 9;
}

/* 使用 overscroll-behavior 优化滚动体验 */
html {
    overscroll-behavior: none;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 使用 @media (hover) 优化触摸设备体验 */
@media (hover: hover) {
    .stat-item:hover {
        transform: translateY(-5px);
    }
}

/* 使用 color-scheme 优化系统主题适配 */
:root {
    color-scheme: dark;
}

/* 使用 @layer 优化样式优先级 */
@layer base, components, utilities;

@layer components {

}

/* 数据统计区域 */
#stats {
    background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
    padding: 2rem 0;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.stats-container {
    max-width: 1600px;
    padding: 2rem max(2rem, 5%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
}

    .stat-item {
    text-align: center;
    padding: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: var(--glow);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    white-space: nowrap;
}

/* 简介区域 */
#intro {
    padding: 6rem 2rem;
    background: var(--darker-bg);
    position: relative;
}

.intro-content {
    max-width: 1600px;
    padding: 4rem max(2rem, 5%);
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-content > p {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    margin-top: 3rem;
}

.feature {
    padding: 2rem;
    background: linear-gradient(145deg, var(--card-bg), rgba(26, 26, 26, 0.95));
    border-radius: 12px;
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.feature:hover {
    transform: translateY(-10px);
    border-color: rgba(225, 29, 72, 0.2);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(225, 29, 72, 0.2));
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* 添加滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 6px;
    opacity: 0.8;
}

/* CTA按钮样式 */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    background: var(--hover-gradient);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(225, 29, 72, 0.2);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* 纯CSS移动端菜单 */
.mobile-menu-toggle {
    display: none;
}

.menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.menu-icon {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    position: relative;
    transition: background-color 0.3s;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    transition: transform 0.3s;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

/* 移动端菜单交互 */
.mobile-menu-toggle:checked + .menu-btn .menu-icon {
    background-color: transparent;
}

.mobile-menu-toggle:checked + .menu-btn .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle:checked + .menu-btn .menu-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .mobile-menu-toggle:checked ~ .nav-links {
        right: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
        width: 100%;
    }
    
    .nav-links a {
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        box-shadow: none;
        border: none;
        background: rgba(18, 18, 24, 0.5);
    }
}

/* 根字体样式 - 从index.html内联样式移动 */
:root {
    --font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}
body {
    font-family: var(--font-family);
}

/* 无JavaScript环境的样式调整 */
html.no-js .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}
html.no-js .product-card,
html.no-js .feature,
html.no-js .stat-item {
    opacity: 1;
    transform: translateY(0);
}
html.no-js img[data-src] {
    opacity: 1;
    transition: none;
}
html.no-js .cursor {
    display: none;
}
html.no-js .scroll-progress {
    display: none;
}
