:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --bg-overlay: rgba(15, 23, 42, 0.7);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-kaiti: 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-kaiti);
    background-color: #0f172a;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: url('https://images.unsplash.com/photo-1506744626753-1116bf199e22?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover;
}
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.6) 100%);
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    transition: all 0.3s ease;
}
.logo {
    flex: 1;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}
.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}
.search-box input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    padding: 8px 15px 8px 35px;
    border-radius: 20px;
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    width: 200px;
}
.search-box input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}
.search-box input::placeholder {
    color: var(--text-muted);
}
.search-icon {
    position: absolute;
    left: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}
.btn-register {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-register:hover {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover {
    color: #93c5fd;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #93c5fd;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out;
}
.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    animation: fadeIn 1.2s ease-out;
}

.pricing-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pricing-card .price {
    font-size: 3rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: #fff;
}
.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
}
.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}
.pricing-card ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}
.pricing-card ul li::before {
    content: '✓';
    color: #34d399;
    position: absolute;
    left: 0;
}
.badge-popular {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #3b82f6;
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
}

.node-list {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
}
.node-list th, .node-list td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}
.node-list th {
    background: rgba(255,255,255,0.05);
    color: #93c5fd;
}
.status-green { color: #34d399; }
.ping { color: #34d399; }

.keywords-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 2rem;
}
.keyword-tag {
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    text-decoration: none;
}
.keyword-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #fff;
    border-color: #3b82f6;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}
.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.article-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    font-size: 1.15rem;
    line-height: 1.8;
}
.article-content h2 { margin: 2rem 0 1rem; color: #93c5fd; }
.article-content h3 { margin: 1.5rem 0 1rem; color: #e2e8f0; }
.article-content p { margin-bottom: 1.5rem; }
.article-content a { color: #60a5fa; text-decoration: none; }
.article-content a:hover { text-decoration: underline; }

.faq-section { margin-top: 4rem; }
.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.5rem;
}
.faq-q { font-weight: bold; color: #93c5fd; margin-bottom: 0.5rem; }
.faq-a { color: var(--text-muted); }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

footer {
    text-align: center;
    padding: 3rem 0;
    background: rgba(15,23,42,0.9);
    border-top: 1px solid var(--card-border);
    margin-top: 5rem;
}
