:root {
    /* Dark Futuristic Color Palette - Neon Blue Only */
    --bg-dark: #0a0b10;
    --bg-darker: #050608;
    --bg-card: rgba(18, 20, 28, 0.6);
    
    --primary: #00b4d8;
    --primary-light: #48cae4;
    --primary-glow: rgba(0, 180, 216, 0.5);
    
    --accent: #00ffff;
    --accent-glow: rgba(0, 255, 255, 0.5);
    
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Orbitron', 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section-dark {
    background-color: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism & Neon */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    z-index: 1;
}

.glass-card:hover::before {
    left: 125%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
    border-color: rgba(0, 180, 216, 0.3);
}

.neon-text {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-glow), 0 0 20px var(--primary-glow), 0 0 30px var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    z-index: 2;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    color: white;
    box-shadow: 0 0 25px var(--primary-glow);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.1), 0 0 10px rgba(0, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.2), 0 0 15px rgba(0, 255, 255, 0.4);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 6, 8, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px var(--accent-glow);
}

.logo-icon {
    color: var(--accent);
}

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

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-family: var(--font-heading);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    box-shadow: 0 0 8px var(--accent);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(0, 180, 216, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 30% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.hero-content {
    flex: 1;
    z-index: 10;
    padding-left: 5%;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.stat-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-graphics {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cyber-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    box-shadow: inset 0 0 20px rgba(0, 180, 216, 0.1), 0 0 20px rgba(0, 180, 216, 0.1);
}

.cyber-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--primary-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.cyber-circle.inner {
    width: 250px;
    height: 250px;
    border: 1px dashed rgba(0, 255, 255, 0.3);
    animation: rotate 15s linear infinite reverse;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.el-1 { top: 20%; left: 20%; animation-delay: 0s; }
.el-2 { top: 60%; right: 20%; animation-delay: 2s; color: var(--primary-light); }
.el-3 { bottom: 20%; left: 30%; animation-delay: 4s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--accent-glow);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Node Section */
.node-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0;
    background: var(--bg-card);
}

.node-map {
    position: relative;
    min-height: 300px;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    border-right: 1px solid var(--border-color);
    padding: 30px;
}

.pulse-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    cursor: pointer;
}

.pulse-point::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(0, 255, 255, 0.4);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border: 1px solid var(--primary);
}

.pulse-point:hover .tooltip {
    opacity: 1;
}

.node-list-container {
    padding: 30px;
}

.node-list-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.node-list {
    list-style: none;
}

.node-list li {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.region i {
    color: var(--primary-light);
    margin-right: 8px;
}

.status.online {
    color: var(--accent);
}

.latency {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: monospace;
}

.bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.bar {
    height: 100%;
    border-radius: 2px;
}

.bar.green { background: var(--accent); box-shadow: 0 0 5px var(--accent); }
.bar.yellow { background: #ffd166; box-shadow: 0 0 5px #ffd166; }

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

.pricing-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 180, 216, 0.2);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 5px 0 15px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.currency {
    font-size: 1.5rem;
    margin-top: 5px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.period {
    align-self: flex-end;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: center;
    min-height: 40px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.pricing-features i {
    color: var(--accent);
}

.discount-info {
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-stars {
    color: #ffd166;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(0, 180, 216, 0.2);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-light);
}

.author-info h4 {
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    padding: 0;
    cursor: pointer;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary-light);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px; /* arbitrary large value */
}

/* Knowledge Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.article-card {
    display: block;
    color: var(--text-main);
}

.article-date {
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: 10px;
    font-family: monospace;
}

.article-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.article-card:hover h3 {
    color: var(--accent);
}

.article-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 0.9rem;
    color: var(--primary-light);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-card:hover .read-more {
    color: var(--accent);
}

/* Footer */
.footer {
    background-color: #030406;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 10px;
}

.footer-logo p {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-graphics { display: none; }
    .node-dashboard { grid-template-columns: 1fr; }
    .node-map { min-height: 200px; border-right: none; border-bottom: 1px solid var(--border-color); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 6, 8, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    .nav-actions { display: none; }
    
    .hero-content { padding-left: 0; text-align: center; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; flex-direction: column; gap: 15px; }
    .hero-stats { justify-content: center; }
    
    .pricing-card.popular { transform: scale(1); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-logo p { margin: 15px auto; }
}

/* Particle Background - basic implementation */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 180, 216, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 255, 255, 0.05), transparent 25%);
}

/* Article Page Specific Styles */
.article-header {
    padding-top: 150px;
    padding-bottom: 50px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.article-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    margin: 40px 0 20px;
    color: var(--primary-light);
}

.article-content h3 {
    margin: 30px 0 15px;
    color: #fff;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-muted);
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.article-content li {
    margin-bottom: 10px;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}
