:root {
    --primary-color: #6366f1; /* Indigo */
    --primary-dark: #4f46e5;
    --primary-light: #e0e7ff;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --bg-main: #0f172a; /* Slate 900 */
    --bg-alt: #1e293b;  /* Slate 800 */
    --card-bg: #1e293b;
    --card-hover: #334155;
    --border-color: #334155;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 15px -3px rgba(99, 102, 241, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 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: 1100px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    background: linear-gradient(to right, #a5b4fc, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
    padding: 20px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.logo span {
    font-size: 1rem;
    color: var(--primary-color);
    margin-left: 5px;
    font-weight: 600;
}

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

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

.nav-links a:hover {
    color: #fff;
}

/* 按钮 */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

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

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #fff;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 200px 0 150px;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(15,23,42,0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

.card:hover {
    background: var(--card-hover);
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: rgba(99, 102, 241, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--primary-color);
}

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

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

.status-header {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    background: rgba(0,0,0,0.2);
    font-weight: 600;
    color: #fff;
}

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

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}
.status-online { background-color: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }
.status-busy { background-color: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }

.ping-good { color: #10b981; font-weight: 600;}
.ping-ok { color: #f59e0b; font-weight: 600;}

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

.pricing-card {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 50px 40px;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: var(--transition);
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(30, 41, 59, 1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.5);
    transform: scale(1.02);
}
.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: var(--shadow-md);
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
}

.plan-name {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
}

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

.plan-divider {
    height: 1px;
    background: var(--border-color);
    margin: 30px 0;
}

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

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

.plan-features li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 12px;
}

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

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 25px;
}

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

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

.article-card {
    padding: 30px;
}

.article-card h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .nav-links { display: none; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-5px); }
}
