:root {
    /* Color Palette - Premium Dark Theme */
    --bg-main: #0a0b10;
    --bg-card: #161821;
    --bg-card-hover: #1c1f2b;
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #a855f7;
    --cyan: #00f2ff;
    --cyan-glow: rgba(0, 242, 255, 0.5);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--primary);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: block;
    text-align: center;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Navigation */
nav {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.1), transparent);
}

.hero-container {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 900px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-glow);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Pricing Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.pricing {
    background: #0f1016;
}

.pricing-card {
    padding: 3rem 2rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.plan-name {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-features {
    margin-bottom: 3rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.plan-features li::before {
    content: "✓";
    color: var(--primary);
    margin-right: 0.75rem;
    font-weight: bold;
}

/* Articles Section */
.articles {
    background: transparent;
}

.article-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-tag {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.article-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary);
    padding-left: 5px;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
}

footer a {
    color: var(--primary);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
    }
}