:root {
    --primary: #8a2be2;
    --primary-gradient: linear-gradient(135deg, #8a2be2 0%, #00d2ff 100%);
    --bg-dark: #0f0f13;
    --bg-darker: #000000;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Canvas Background */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

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

/* Header */
.header {
    padding: 20px 0;
    background: rgba(15, 15, 19, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--card-border);
}

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.nav a:not(.btn) {
    color: var(--text-muted);
    transition: color 0.3s;
}

.nav a:not(.btn):hover {
    color: var(--text-main);
}

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

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

.btn-dark {
    background: #333344;
    color: #fff;
}
.btn-dark:hover {
    background: #444455;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.glow {
    position: relative;
}
.glow::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: var(--primary-gradient);
    z-index: -1;
    border-radius: 10px;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s;
}
.glow:hover::before {
    opacity: 0.6;
}

/* Glassmorphism */
.glass {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

/* Generic Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
}

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

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}
.feature-card p {
    color: var(--text-muted);
}

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

.pricing-card {
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    background: #1a1b26; /* match image background closely */
}

.highlight-card {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    background: #1e1f2b;
}

@media (max-width: 900px) {
    .highlight-card {
        transform: scale(1);
    }
}

.card-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: bold;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 40px;
}

.plan-price .currency {
    font-size: 2rem;
    font-weight: bold;
}

.plan-price .amount {
    font-size: 4rem;
    font-weight: bold;
}

.plan-price .period {
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
}

.plan-features li {
    margin-bottom: 16px;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-features .check {
    color: #00d2ff;
    font-weight: bold;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.review-card {
    padding: 30px;
}
.stars {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #ccc;
}
.reviewer {
    font-weight: 600;
    color: var(--primary);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 20px;
    overflow: hidden;
}
.faq-question {
    padding: 20px 30px;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 30px;
    max-height: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}
.faq-item.active .faq-answer {
    padding: 20px 30px;
    max-height: 200px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 60px 0 30px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-links a, .footer-articles a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-links a:hover, .footer-articles a:hover {
    color: var(--text-main);
}
.footer h3, .footer h4 {
    margin-bottom: 20px;
}
.footer ul {
    list-style: none;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

/* Article Page styles (shared) */
.article-header {
    padding: 100px 0 50px;
    text-align: center;
}
.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
}
.article-content h2, .article-content h3 {
    margin: 30px 0 15px;
    color: var(--primary);
}
.article-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #d0d0e0;
}
.article-content a {
    color: #00d2ff;
    text-decoration: underline;
}
