/* Base Variables */
:root {
    --bg-color: #050505;
    --bg-darker: #020202;
    --text-color: #f0f0f0;
    --text-muted: #a0a0a0;
    
    --primary-color: #7b2cbf;
    --secondary-color: #3a0ca3;
    --accent-color: #f72585;
    --gradient-1: linear-gradient(135deg, #7b2cbf, #f72585);
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

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

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

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.section {
    padding: 100px 0;
}

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

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

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-suffix {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-glow {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(247, 37, 133, 0.3);
}

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

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

.btn-glow {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 0 20px rgba(247, 37, 133, 0.5);
    border: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(247, 37, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 37, 133, 0); }
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--primary-color);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--accent-color);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow);
}

/* Features */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

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

/* Nodes */
.nodes-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.node-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 25px;
}

.node-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.node-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.ping-bar {
    width: 100%;
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.ping-bar .fill {
    height: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.ping-excellent { background: #00e676; }
.ping-good { background: #ffea00; }
.ping-fair { background: #ff9100; }

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

.price-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-card.recommended {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    background: rgba(247, 37, 133, 0.05);
}

.price-card.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card .badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-1);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price-card .price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.price-card .price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

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

.price-features li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Tutorials */
.tutorials-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.tutorial-card {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.tutorial-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tutorial-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tutorial-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Articles */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 20px 30px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.article-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.article-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.article-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.review-card .stars {
    margin-bottom: 15px;
}

.review-card p {
    font-style: italic;
    color: #ddd;
    margin-bottom: 20px;
}

.review-card .author {
    color: var(--accent-color);
    font-weight: bold;
    text-align: right;
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 10px;
}

.faq-question {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

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

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

/* Footer */
.footer {
    background: #000;
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    text-align: center;
    margin-bottom: 40px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

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

.seo-keywords {
    margin-bottom: 40px;
    text-align: center;
}

.seo-keywords h4 {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.tags-cloud a {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: #888;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tags-cloud a:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.copyright {
    text-align: center;
    color: #555;
    font-size: 0.8rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .price-card.recommended {
        transform: scale(1);
    }
    
    .price-card.recommended:hover {
        transform: translateY(-5px);
    }
}
