:root {
    --primary-color: #0066cc;
    --secondary-color: #00c2ff;
    --accent-color: #ff4d4d;
    --bg-color: #f0f2f5;
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    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-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f2f5 100%);
}

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

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

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

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

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

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

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

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(to right, #004494, #00c2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Pricing Section */
.pricing-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

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

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

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

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.15);
}

.badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
}

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

.features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li::before {
    content: '✓';
    color: #4cd964;
    font-weight: bold;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #0052a3;
}

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

.outline-button:hover {
    background: var(--primary-color);
    color: white;
}

/* Node Status */
.status-section {
    background: white;
    padding: 80px 0;
    border-radius: 40px 40px 0 0;
}

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

.node-item {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4cd964;
}

.latency {
    font-size: 14px;
    color: var(--text-muted);
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: scale(1.02);
}

.article-content {
    padding: 24px;
}

.article-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.article-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 60px 0;
    background: #1d1d1f;
    color: white;
    text-align: center;
}

.footer-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: #86868b;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
/* Article Page Specific */
.article-page {
    padding: 120px 0 80px;
    background: white;
}

.article-header {
    margin-bottom: 50px;
}

.article-header h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.article-meta {
    color: var(--text-muted);
    font-size: 14px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.article-body h2 {
    margin: 40px 0 20px;
}

.article-body p {
    margin-bottom: 24px;
}

.back-home {
    margin-top: 50px;
    display: inline-block;
    color: var(--primary-color);
}
