/* Base & Color Variables matching Image 1 & Image 2 */
:root {
    --bg-main: #0B111E;
    --bg-card: #121A2A;
    --bg-card-hover: #182236;
    --bg-pricing: #0E1624;
    --primary-blue: #2563EB;
    --primary-blue-hover: #1D4ED8;
    --accent-emerald: #10B981;
    --accent-emerald-hover: #059669;
    --accent-green-bright: #00E699;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(16, 185, 129, 0.4);
    --font-main: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, sans-serif;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-card {
    background-color: rgba(18, 26, 42, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.text-center {
    text-align: center;
}

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

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 17, 30, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.brand-logo .logo-icon {
    font-size: 1.6rem;
}

.badge-tag {
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    margin-left: 6px;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-hero {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, #059669 100%);
    color: #fff;
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: 10px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pulse-btn {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Hero Section */
.hero-section {
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
}

.glow-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-section h1 {
    font-size: 3.2rem;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 20px;
}

.highlight-gradient {
    background: linear-gradient(90deg, #60A5FA 0%, var(--accent-emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    max-width: 750px;
    margin: 0 auto 36px;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Node Status */
.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.node-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.2s;
}

.node-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
}

.node-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.node-name {
    font-weight: 600;
    font-size: 1rem;
}

.ping {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
}

.node-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
}

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

.feature-box {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing Grid - Matching Reference Image 2 strictly */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background-color: #0B1320;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border: 1.5px solid var(--accent-emerald);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.15);
    background-color: #0D1726;
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.plan-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFF;
    display: inline-block;
}

.plan-title .english-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFF;
    margin-top: 4px;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-discount {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-recommend {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-hot {
    background: #10B981;
    color: #0B111E;
    font-weight: 700;
}

.price-box {
    background: #060B14;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.price-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 8px;
}

.price-val {
    color: #00E699;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.price-val .currency {
    font-size: 1.2rem;
    margin-right: 2px;
}

.price-val .period {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
}

.data-box {
    background: #060B14;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.data-icon {
    font-size: 1.1rem;
}

.data-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.data-amount {
    margin-left: auto;
    font-weight: 700;
    font-size: 1.1rem;
    color: #FFF;
}

.pricing-features {
    margin-bottom: 30px;
}

.detail-head {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 14px;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 18px;
}

.pricing-features li::before {
    content: "•";
    color: var(--accent-emerald);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.btn-pricing {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFF;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    width: 100%;
}

.btn-pricing:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-pricing.highlight-btn {
    background: #10B981;
    color: #0B111E;
    border: none;
}

.btn-pricing.highlight-btn:hover {
    background: #059669;
    color: #FFF;
}

/* Tutorials & Clients */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.client-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
}

.client-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.client-card h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.client-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.btn-link {
    color: var(--accent-emerald);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-link:hover {
    text-decoration: underline;
}

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

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
}

.stars {
    margin-bottom: 12px;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

.reviewer h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.reviewer span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* FAQ */
.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px 24px;
}

.faq-question {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Articles Layout */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.article-card:hover {
    border-color: var(--accent-emerald);
    transform: translateY(-3px);
}

.article-tag {
    font-size: 0.75rem;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.read-more {
    color: var(--accent-emerald);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Single Article Page Styles */
.article-header {
    padding: 60px 0 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-meta-info {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #D1D5DB;
    max-width: 860px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.6rem;
    color: #FFF;
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.article-content h3 {
    font-size: 1.3rem;
    color: #FFF;
    margin: 28px 0 12px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

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

.cta-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.cta-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #FFF;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.internal-nav {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    margin: 40px 0;
}

.internal-nav h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.internal-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    padding: 0;
}

.internal-nav a {
    color: var(--accent-emerald);
    font-size: 0.95rem;
}

.internal-nav a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #060A12;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 14px;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.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-emerald);
}

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

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    .hero-section h1 {
        font-size: 2.4rem;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
}
