:root {
    --primary-color: #ff4b2b; /* 火焰红 */
    --primary-dark: #e03a1e;
    --text-color: #ffffff; /* 统一白字在深色背景上 */
    --text-light: rgba(255, 255, 255, 0.8);
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(-45deg, #1a0000, #4d0000, #8b0000, #330000);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

html {
    scroll-behavior: smooth;
}

/* 粒子背景 */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-color);
    line-height: 1.2;
}

.highlight {
    color: #ffdf00; /* 金色高亮 */
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.bg-light {
    background-color: transparent; /* 取消浅色背景段落断层 */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #ffdf00;
    color: #d32f2f;
    box-shadow: 0 4px 15px rgba(255, 223, 0, 0.4);
}

.btn-primary:hover {
    background-color: #fff176;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 223, 0, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo span {
    color: #ffdf00;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #ffdf00;
}

.btn-nav {
    padding: 8px 20px;
    background-color: #ffdf00;
    color: #d32f2f !important;
    border-radius: 20px;
}

.btn-nav:hover {
    background-color: #fff176;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 700px;
    animation: fadeIn 1s ease-out forwards;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    color: #333;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #222;
}

.feature-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Status Section */
.status-table-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    color: #333;
}

.status-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.status-table th, .status-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.status-table th {
    background-color: rgba(0,0,0,0.03);
    color: #333;
    font-weight: 600;
}

.status-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: #e8f5e9;
    color: #2e7d32;
}

.ping {
    font-weight: 700;
    color: #2e7d32;
}

/* Pricing Section */
.pricing {
    background: transparent;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: #fdf4f4;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    color: #333;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #111;
}

.badge-yellow {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffc107;
    color: #000;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.price {
    font-size: 4.5rem;
    font-weight: 700;
    color: #0a1930;
    margin: 20px 0;
}

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

.period {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.period del {
    color: #999;
    margin-right: 5px;
}

.pricing-desc {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.btn-red {
    background-color: #d32f2f;
    color: var(--white);
    width: 100%;
}

.btn-red:hover {
    background-color: #b71c1c;
    color: var(--white);
}

.btn-outline-red {
    background-color: transparent;
    color: #d32f2f;
    border: 1px solid #d32f2f;
    width: 100%;
}

.btn-outline-red:hover {
    background-color: rgba(211, 47, 47, 0.05);
}

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

.review-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    color: #333;
}

.stars {
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.user-info strong {
    display: block;
    color: #111;
}

.user-info span {
    font-size: 0.85rem;
    color: #777;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    color: #333;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    color: #555;
    transition: all 0.3s ease;
}

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

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

/* Knowledge Base */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.knowledge-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.knowledge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.knowledge-card h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #111;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h2 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #ddd;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffdf00;
}

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

/* Article Styles (for the article pages) */
.article-header {
    background-color: transparent;
    padding: 150px 0 50px;
    text-align: center;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-content {
    background: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto 50px auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    color: #333;
}

.article-content h2 {
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.article-content p {
    margin-bottom: 20px;
    color: #555;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
    color: #555;
}

.article-content li {
    margin-bottom: 10px;
}

.article-nav {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.article-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.article-nav a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .nav-links { display: none; } /* Simplified for mobile, ideally needs a hamburger menu */
    .footer-content { flex-direction: column; text-align: center; }
    .article-content { padding: 20px; }
}
