:root {
    --primary-color: #0066FF;
    --primary-hover: #0052cc;
    --bg-dark: #0a0b10;
    --bg-card: #161b22;
    --text-main: #f0f6fc;
    --text-muted: #8b949e;
    --border-color: #30363d;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Header & Nav */
header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -1px;
}

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

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

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

/* Hero Section */
.hero {
    padding: 200px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top, #1a1f35 0%, #0a0b10 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

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

/* Pricing Grid */
.pricing {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

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

.pricing-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

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

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 0 24px 0 24px;
    font-size: 12px;
    font-weight: 700;
}

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

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

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

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

.features li {
    margin-bottom: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    font-size: 14px;
}

.features li::before {
    content: "✓";
    color: #00b894;
    font-weight: 800;
    margin-right: 10px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

/* Nodes Section */
.nodes {
    padding: 80px 0;
    background: transparent;
}

.node-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.node-item {
    background: var(--bg-card);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.node-item:hover {
    border-color: var(--primary-color);
    background: rgba(0, 102, 255, 0.1);
}

.latency {
    margin-left: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #00b894;
    font-weight: 700;
    opacity: 0.8;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00b894;
    border-radius: 50%;
    box-shadow: 0 0 10px #00b894;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
}

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

.article-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.article-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.article-card h3 {
    margin-bottom: 15px;
    color: var(--text-main);
}

/* Footer */
footer {
    padding: 60px 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .nav-links { display: none; }
}
