﻿:root {
    --bg-color: #0f172a;
    --surface-color: #1e293b;
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'KaiTi', '楷体', STKaiti, serif;
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

#tsparticles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
}
nav .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}
nav ul {
    list-style: none;
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}
nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}
nav ul li a:hover {
    color: var(--primary-color);
}
.nav-btn {
    padding: 8px 25px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}
.nav-btn:hover {
    background: var(--secondary-color);
}

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 120px 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.hero-content {
    flex: 1;
    max-width: 550px;
}
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--text-main);
}
.hero h1 .highlight {
    color: var(--primary-color);
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    font-size: 1.1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    font-family: inherit;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--text-main);
    position: relative;
}
section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-main);
}
.pricing-card .price {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--primary-color);
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    text-align: left;
}
.pricing-card ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    color: var(--text-muted);
    font-size: 1.1rem;
}
.pricing-card ul li.yes::before {
    content: '✅';
    position: absolute;
    left: 0;
}
.pricing-card ul li.no::before {
    content: '❌';
    position: absolute;
    left: 0;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.tutorial-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    text-align: center;
}
.tutorial-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.tutorial-card p {
    color: var(--text-muted);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.article-card {
    background: var(--surface-color);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s;
    display: block;
}
.article-card:hover {
    background: #283548;
    border-color: var(--primary-color);
}
.article-card h4 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.article-card p {
    color: var(--text-muted);
    margin: 0;
}

.content-container {
    max-width: 900px;
    margin: 80px auto 40px;
    background: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}
.content-container h1 {
    text-align: center;
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 2.2rem;
}
.content-container h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}
.content-container h2::after {
    display: none;
}
.content-container p {
    text-indent: 2em;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #cbd5e1;
}
.content-container a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary-color);
}
.content-container a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.faq-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}
.faq-section h2 {
    text-align: center;
    color: var(--text-main);
}
.faq-section dt {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 25px;
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
}
.faq-section dd {
    margin-left: 0;
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 0 15px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

footer {
    text-align: center;
    padding: 40px;
    background: #0b1120;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}
footer a {
    color: var(--primary-color);
    text-decoration: none;
}
