:root {
    --primary-color: #00bcd4;
    --primary-dark: #00838f;
    --primary-light: #e0f7fa;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-main: #ffffff;
    --bg-light: #f5fcfd;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: #d1ecf1;
    --shadow-sm: 0 4px 6px rgba(0, 188, 212, 0.1);
    --shadow-md: 0 10px 20px rgba(0, 188, 212, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 按钮 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 188, 212, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

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

.block-btn {
    display: block;
    width: 100%;
    padding: 15px 0;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #e0f7fa 0%, #ffffff 100%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #00bcd4;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #4dd0e1;
    bottom: 100px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #b2ebf2;
    top: 30%;
    left: 40%;
    animation-duration: 15s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

/* 优势 */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.advantage-card p {
    color: var(--text-muted);
}

/* 节点状态 */
.status-panel {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.status-header {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    background: var(--primary-light);
    font-weight: 600;
    color: var(--primary-dark);
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    align-items: center;
    transition: var(--transition);
}

.status-item:hover {
    background: #fdfdfd;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.status-online { background-color: #4CAF50; box-shadow: 0 0 8px #4CAF50; }
.status-busy { background-color: #FF9800; box-shadow: 0 0 8px #FF9800; }

.ping-good { color: #4CAF50; font-weight: 600;}
.ping-ok { color: #FF9800; font-weight: 600;}

/* 套餐价格 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

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

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.plan-name {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 30px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
}

.plan-features li span {
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

/* 用户评价 */
.reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.review-card {
    text-align: center;
}

.stars {
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.review-author {
    font-weight: 600;
    color: var(--primary-dark);
}

/* 常见问题 */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* 知识库 */
.article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.article-card h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.article-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: #004d40;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 30px 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* 简化移动端，可补充汉堡菜单 */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}
