/* Global Reset & Fonts */
:root {
    --bg-primary: rgb(78, 84, 200);
    --bg-secondary: rgb(143, 148, 251);
    --text-main: #e0e6ed;
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-pink: #ff007f;
    --glass-bg: rgba(25, 25, 35, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "KaiTi", "STKaiti", "楷体", serif;
}

body {
    background: linear-gradient(to right, var(--bg-primary), var(--bg-secondary));
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Particles Background Container */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Glassmorphism Utilities */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 16px;
}

/* Neon Text Utilities */
.neon-text {
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue),
        0 0 80px var(--neon-blue);
}

.neon-text-sub {
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px var(--neon-purple),
        0 0 20px var(--neon-purple);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-radius: 0 0 16px 16px;
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar nav a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

/* Buttons */
.btn-primary, .btn-neon, .btn-outline, .btn-pricing {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: #fff;
    border: none;
    box-shadow: 0 0 15px var(--neon-purple);
}

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

.btn-neon {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue) inset, 0 0 10px var(--neon-blue);
}

.btn-neon:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px var(--neon-blue) inset, 0 0 20px var(--neon-blue);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

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

/* Main Sections */
.section {
    padding: 6rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.glitch {
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255,0,0,0.75),
                -0.025em -0.05em 0 rgba(0,255,0,0.75),
                0.025em 0.05em 0 rgba(0,0,255,0.75);
    animation: glitch 500ms infinite;
}

.subtitle {
    font-size: 1.5rem;
    margin: 1.5rem 0 2.5rem;
    color: #e0e0e0;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-tags span {
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.2);
    border-color: var(--neon-blue);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

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

.pricing-card {
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.premium {
    background: rgba(10, 10, 15, 0.8);
    border: 2px solid var(--neon-purple);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.plan-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #fff;
    color: #000;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.pricing-card.premium .plan-tag {
    background: transparent;
    color: #fff;
    font-size: 1.5rem;
    padding: 0;
    margin-bottom: 0.5rem;
}

.plan-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: #aaa;
    font-weight: normal;
}

.plan-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.plan-features li {
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-pricing {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
}

.btn-pricing:hover {
    background: #fff;
    color: #000;
}

.btn-premium {
    background: #fff;
    color: #000;
    border: none;
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.btn-premium:hover {
    background: var(--neon-purple);
    color: #fff;
    box-shadow: 0 0 25px var(--neon-purple);
}

.hot-badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: #ffcc00;
    color: #000;
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 0 10px #ffcc00;
}

/* Article Cards */
.article-card {
    padding: 1.5rem;
    display: block;
    transition: all 0.3s;
}

.article-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--neon-pink);
    transform: translateY(-5px);
}

.article-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
}

.article-card p {
    font-size: 0.9rem;
    color: #bbb;
}

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

.review-card {
    padding: 2rem;
    text-align: left;
}

.review-card .stars {
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

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

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

.faq-item {
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    text-align: left;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-family: "KaiTi", "STKaiti", "楷体", serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #ccc;
}

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

.faq-item.active .icon {
    transform: rotate(45deg);
}

.icon {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 3rem 5% 1rem;
    border-radius: 20px 20px 0 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-blue);
}

.footer-links a {
    margin: 0 10px;
}

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

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #888;
}

/* Animations */
@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255,0,0,0.75), -0.05em -0.025em 0 rgba(0,255,0,0.75), -0.025em 0.05em 0 rgba(0,0,255,0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255,0,0,0.75), -0.05em -0.025em 0 rgba(0,255,0,0.75), -0.025em 0.05em 0 rgba(0,0,255,0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255,0,0,0.75), 0.025em 0.025em 0 rgba(0,255,0,0.75), -0.05em -0.05em 0 rgba(0,0,255,0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255,0,0,0.75), 0.025em 0.025em 0 rgba(0,255,0,0.75), -0.05em -0.05em 0 rgba(0,0,255,0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255,0,0,0.75), 0.05em 0 0 rgba(0,255,0,0.75), 0 -0.05em 0 rgba(0,0,255,0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255,0,0,0.75), 0.05em 0 0 rgba(0,255,0,0.75), 0 -0.05em 0 rgba(0,0,255,0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255,0,0,0.75), -0.025em -0.025em 0 rgba(0,255,0,0.75), -0.025em -0.05em 0 rgba(0,0,255,0.75);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .navbar nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .glitch {
        font-size: 2.5rem;
    }
    .pricing-card.premium {
        transform: scale(1);
    }
}
