/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #060b19;
    --bg-card: rgba(18, 28, 56, 0.65);
    --bg-card-hover: rgba(26, 40, 78, 0.85);
    --accent-blue: #0078d4;
    --accent-cyan: #00f2fe;
    --accent-purple: #7928ca;
    --accent-magenta: #ff0080;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(0, 242, 254, 0.3);
    --glass-blur: blur(16px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

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

.center {
    text-align: center;
}

/* 动态背景点缀 */
.bg-gradient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 120, 212, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(121, 40, 202, 0.2) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(0, 242, 254, 0.15) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* 亚克力毛玻璃卡片 (Fluent Acrylic & Depth Style) */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 242, 254, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(0, 242, 254, 0.15);
}

/* 按钮与动画 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0078d4, #00f2fe);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 120, 212, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005a9e, #00c6ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.6);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 14px;
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(30deg);
    animation: glow-sweep 4s infinite;
}

@keyframes glow-sweep {
    0% { transform: translateX(-100%) rotate(30deg); }
    20%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* 导航栏 */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 11, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.logo-highlight {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

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

/* Hero Section */
.hero-section {
    padding: 90px 0 60px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 30px;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #7928ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    padding: 30px 20px;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Section 通用 */
.section-padding {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* 官方入口卡片 */
.entry-card {
    padding: 40px;
    text-align: center;
}

.highlight-border {
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
}

.entry-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.status-dot {
    width: 12px;
    height: 12px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-text {
    color: #10b981;
    font-weight: 600;
}

.entry-action-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.url-display {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 30px;
    border-radius: 12px;
    border: 1px dashed rgba(0, 242, 254, 0.4);
}

/* 套餐价格 (参照图2核心设计) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--accent-cyan);
    background: rgba(20, 35, 70, 0.85);
    box-shadow: 0 10px 40px rgba(0, 242, 254, 0.25);
}

.popular-badge {
    position: absolute;
    top: -16px;
    right: 30px;
    background: linear-gradient(135deg, #7928ca, #ff0080);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.plan-price {
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent-cyan);
}

.plan-price .currency {
    font-size: 1.8rem;
    font-weight: 700;
    vertical-align: top;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-secondary);
}

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

.plan-features li {
    margin-bottom: 14px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.check-icon {
    color: var(--accent-cyan);
    font-weight: 800;
}

.btn-plan {
    width: 100%;
    background: linear-gradient(90deg, #7928ca, #00f2fe);
    color: #ffffff;
    padding: 14px 0;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-plan:hover {
    background: linear-gradient(90deg, #6b21a8, #00c6ff);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

/* 步骤与排查 */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    padding: 35px 25px;
    position: relative;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 242, 254, 0.2);
    margin-bottom: 10px;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.trouble-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.trouble-item {
    padding: 30px;
}

.trouble-item h4 {
    font-size: 1.15rem;
    margin-bottom: 14px;
    color: var(--accent-cyan);
}

.trouble-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 精选文章网格 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.article-preview-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-preview-card h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-preview-card h3 a {
    color: #ffffff;
}

.article-preview-card h3 a:hover {
    color: var(--accent-cyan);
}

.article-preview-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.read-more {
    font-weight: 600;
}

/* FAQ 列表 */
.faq-list {
    padding: 40px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.15rem;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* 文章详情页专用样式 */
.article-page {
    padding: 60px 0;
}

.article-header {
    margin-bottom: 40px;
}

.article-title-main {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.article-post-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
}

.article-body {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.article-body h2 {
    font-size: 1.6rem;
    color: var(--accent-cyan);
    margin: 36px 0 16px;
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    padding-bottom: 8px;
}

.article-body h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 24px 0 12px;
}

.article-body p {
    margin-bottom: 18px;
}

.article-body ul, .article-body ol {
    margin: 0 0 20px 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.cta-box-in-article {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.2), rgba(121, 40, 202, 0.2));
    border: 1px solid var(--accent-cyan);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}

.internal-links-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
}

.internal-links-box h4 {
    color: var(--accent-cyan);
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.internal-links-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}

.internal-links-box a {
    color: var(--text-secondary);
}

.internal-links-box a:hover {
    color: var(--accent-cyan);
}

/* 页脚 */
.footer {
    background: rgba(3, 6, 15, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 400px;
}

.footer-links-group h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 10px;
}

.footer-links-group a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-mirror-domains {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    margin-bottom: 30px;
}

.footer-mirror-domains h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.mirror-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mirror-tags a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mirror-tags a:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-cyan);
    color: #ffffff;
}

.footer-bottom {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 6px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .trouble-grid {
        grid-template-columns: 1fr;
    }
}
