﻿:root {
    --primary-bg: linear-gradient(to right, rgb(201, 214, 255), rgb(226, 226, 226));
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --text-color: #333;
    --highlight: #2c3e50;
}
body {
    margin: 0;
    font-family: 'KaiTi', '楷体', serif;
    background: var(--primary-bg);
    color: var(--text-color);
    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: 15px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    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(--highlight);
    text-decoration: none;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s ease;
}
nav ul li a:hover {
    color: #e74c3c;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    perspective: 1000px;
    padding-top: 60px;
}
.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    transform: translateZ(50px);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}
.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 40px;
    transform: translateZ(30px);
}
@keyframes float {
    0% { transform: translateY(0px) translateZ(50px); }
    50% { transform: translateY(-20px) translateZ(50px); }
    100% { transform: translateY(0px) translateZ(50px); }
}

.btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: var(--highlight);
    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(0,0,0,0.2);
}
.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--highlight);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-10px);
}
.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #e74c3c;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}
.pricing-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}
.pricing-card ul li::before {
    content: '✓';
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.article-card {
    background: rgba(255,255,255,0.7);
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: background 0.3s;
}
.article-card:hover {
    background: rgba(255,255,255,0.9);
}
.article-card h4 {
    margin-top: 0;
    color: var(--highlight);
}

.content-container {
    max-width: 800px;
    margin: 100px auto;
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.content-container h1 {
    text-align: center;
    color: var(--highlight);
    margin-bottom: 30px;
}
.content-container p {
    text-indent: 2em;
    margin-bottom: 15px;
}
.faq-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px dashed #ccc;
}
.faq-section dt {
    font-weight: bold;
    margin-top: 15px;
    color: #e74c3c;
}
.faq-section dd {
    margin-left: 0;
    margin-bottom: 15px;
}

footer {
    text-align: center;
    padding: 30px;
    background: rgba(0,0,0,0.1);
    margin-top: 50px;
}
