:root {
    --primary-color: #0056b3;
    --primary-light: #4da3ff;
    --primary-dark: #003d82;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-secondary: #f4f9ff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --border-color: #e0echo;
    --border-color: #e0eaf5;
    --shadow: 0 8px 30px rgba(0, 86, 179, 0.08);
    --node-green: #2ecc71;
    --node-yellow: #f1c40f;
}

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

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Particle Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 14px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    margin-top: 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    color: var(--text-color);
    font-weight: 600;
}

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

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

/* Node Status */
.status-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.node-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.node-card:hover {
    transform: translateY(-5px);
}

.node-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.node-header h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
}

.flag {
    font-size: 1.5rem;
}

.node-ping {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 600;
}

.ping-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.ping-dot.good {
    background-color: var(--node-green);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
    animation: pulseGood 2s infinite;
}

.ping-dot.fair {
    background-color: var(--node-yellow);
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.4);
}

@keyframes pulseGood {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Pricing */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 86, 179, 0.12);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    box-shadow: 0 15px 50px rgba(0, 86, 179, 0.15);
}

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.package-price {
    margin-bottom: 15px;
}

.package-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.package-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.package-price .period {
    color: var(--text-light);
    font-weight: 500;
}

.package-terms {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.package-features {
    list-style: none;
    margin-bottom: 30px;
}

.package-features li {
    padding: 10px 0;
    color: var(--text-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

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

.package-features strong {
    margin-right: 5px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
}

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

.seo-links a {
    color: #888;
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}
