* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
    touch-action: pan-y;
}

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

/* 一键到顶按钮 */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a6ee0, #6c5ce7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(74, 110, 224, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(74, 110, 224, 0.4);
}

/* 头部样式 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

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

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

.logo-icon {
    color: #4a6ee0;
    font-size: 28px;
    animation: pulse 2s infinite;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #4a6ee0, #6c5ce7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 状态统计 */
.status-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #4a6ee0;
    background: rgba(74, 110, 224, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    min-width: 80px;
    text-align: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: #4a6ee0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #4a6ee0;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #4a6ee0;
    cursor: pointer;
}

/* 主横幅 */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600" opacity="0.1"><path d="M400,300 Q450,250 500,300 T600,300" stroke="%234a6ee0" fill="none" stroke-width="3"/><circle cx="400" cy="300" r="5" fill="%234a6ee0"/><circle cx="500" cy="300" r="5" fill="%234a6ee0"/><circle cx="600" cy="300" r="5" fill="%234a6ee0"/></svg>') no-repeat;
    background-size: contain;
    opacity: 0.3;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero h1 .highlight {
    color: #4a6ee0;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

/* 警告框 */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: fadeInUp 1s ease 0.3s both;
}

.warning-box i {
    color: #f39c12;
    font-size: 1.2rem;
    margin-top: 3px;
}

.warning-box p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #4a6ee0, #6c5ce7);
    color: white;
    box-shadow: 0 8px 20px rgba(74, 110, 224, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(74, 110, 224, 0.4);
}

.btn-secondary {
    background-color: white;
    color: #4a6ee0;
    border: 2px solid #4a6ee0;
}

.btn-secondary:hover {
    background-color: #4a6ee0;
    color: white;
}

/* 特性部分 */
.features {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.section-title .underline {
    display: inline-block;
    position: relative;
}

.section-title .underline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: rgba(74, 110, 224, 0.2);
    bottom: 8px;
    left: 0;
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: #f8f9ff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a6ee0, #6c5ce7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
}

/* 套餐部分 */
.pricing {
    padding: 100px 0;
    background-color: #f8f9ff;
}

.pricing-highlight {
    text-align: center;
    font-size: 1.2rem;
    color: #4a6ee0;
    background-color: rgba(74, 110, 224, 0.1);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #4a6ee0;
    transform: scale(1.05);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4a6ee0;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: #4a6ee0;
    margin-bottom: 30px;
}

.pricing-price span {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.pricing-features li i {
    color: #4a6ee0;
    margin-right: 10px;
}

/* 节点地图部分 - 修复图片显示问题 */
.nodes {
    padding: 100px 0;
    background-color: white;
}

.node-map {
    position: relative;
    height: 400px;
    background-color: #f5f7ff;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
}

.node-img-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.node-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 800px;
    max-height: 360px;
}

/* 数据对比部分 */
.comparison {
    padding: 100px 0;
    background-color: #f8f9ff;
}

.comparison-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comparison-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    width: 100%;
}

.comparison-item {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.comparison-item h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.comparison-img-container {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.comparison-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.comparison-img:hover {
    transform: scale(1.05);
}

.comparison-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 5px;
}

.color-good {
    background-color: #4CAF50;
}

.color-better {
    background-color: #8BC34A;
}

.color-warning {
    background-color: #FFC107;
}

.color-worse {
    background-color: #FF9800;
}

.color-bad {
    background-color: #F44336;
}

/* 联系方式部分 */
.contact-section {
    padding: 100px 0;
    background-color: #f8f9ff;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.contact-method {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a6ee0, #6c5ce7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.contact-method h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-method p {
    color: #666;
    margin-bottom: 10px;
}

.contact-link {
    display: inline-block;
    margin-top: 15px;
    color: #4a6ee0;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

/* 页脚 */
footer {
    background-color: #1a1a2e;
    color: #b0b7d3;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: #4a6ee0;
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b7d3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4a6ee0;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .status-stats {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .node-map {
        height: 300px;
    }
    
    .node-img {
        max-width: 600px;
        max-height: 280px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    nav.active {
        max-height: 300px;
        margin-top: 20px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .node-map {
        height: 250px;
    }
    
    .node-img {
        max-width: 450px;
        max-height: 210px;
    }
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card, .pricing-card {
        padding: 25px 20px;
    }
    
    .node-map {
        height: 200px;
    }
    
    .node-img {
        max-width: 350px;
        max-height: 180px;
    }
}
