/* 牧牛云机场 (muniuyunjc.my) 全局样式表 */
/* 字体设置：正楷体 / 楷体 */
:root {
    --primary-bg: linear-gradient(to right, rgb(41, 128, 185), rgb(109, 213, 250), rgb(255, 255, 255));
    --accent-red: #e52929;
    --accent-red-hover: #cc2222;
    --text-dark: #1b2a4a;
    --text-muted: #4b6584;
    --card-bg: rgba(255, 255, 255, 0.94);
    --card-border: #dbeafe;
    --tag-bg: #eff6ff;
    --tag-border: #bfdbfe;
    --font-family: "STKaiti", "KaiTi", "楷体", "楷体_GB2312", serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--primary-bg);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 17px;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 顶部导航栏 */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(41, 128, 185, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-svg {
    width: 44px;
    height: 44px;
    transition: transform 0.3s ease;
}

.logo-group:hover .logo-svg {
    transform: scale(1.08) rotate(-3deg);
}

.logo-text {
    font-size: 26px;
    font-weight: bold;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent-red);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-red);
    background: rgba(41, 128, 185, 0.08);
}

.cta-btn {
    display: inline-block;
    background: var(--accent-red);
    color: #ffffff;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(229, 41, 41, 0.25);
}

.cta-btn:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 41, 41, 0.35);
}

.cta-btn-outline {
    background: transparent;
    color: #2980b9;
    border: 2px solid #2980b9;
    box-shadow: none;
}

.cta-btn-outline:hover {
    background: #2980b9;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(41, 128, 185, 0.3);
}

/* 动态矢量点缀装饰 */
.hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.25;
    animation: floatAnim 6s ease-in-out infinite alternate;
}

.deco-1 {
    width: 260px;
    height: 260px;
    background: #2980b9;
    top: 80px;
    left: -60px;
}

.deco-2 {
    width: 320px;
    height: 320px;
    background: #6dd5fa;
    bottom: 50px;
    right: -80px;
    animation-delay: -3s;
}

@keyframes floatAnim {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-25px) rotate(12deg); }
}

/* Hero Section */
.hero-section {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 40px 20px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(41, 128, 185, 0.12);
    color: #1e5799;
    border: 1px solid rgba(41, 128, 185, 0.3);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 46px;
    font-weight: bold;
    color: #0f2b48;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent-red);
}

.hero-subtitle {
    font-size: 21px;
    color: #2c4a6f;
    max-width: 850px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 核心卖点网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

.feature-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #2980b9;
    box-shadow: 0 12px 24px rgba(41, 128, 185, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: #e0f2fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2980b9;
}

.feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0f2b48;
}

.feature-desc {
    font-size: 16px;
    color: var(--text-muted);
}

/* 通用 Section 容器 */
.section-container {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #0f2b48;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 19px;
    color: var(--text-muted);
}

/* 节点列表 */
.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}

.node-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s ease;
}

.node-card:hover {
    border-color: #2980b9;
    box-shadow: 0 8px 20px rgba(41, 128, 185, 0.12);
}

.node-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.node-name {
    font-size: 19px;
    font-weight: bold;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag-icon {
    font-size: 20px;
}

.node-badge {
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: bold;
    background: #dcfce7;
    color: #15803d;
}

.node-meta {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #64748b;
    border-top: 1px dashed #e2e8f0;
    padding-top: 10px;
}

.ping-status {
    color: #16a34a;
    font-weight: bold;
}

/* 套餐购买 (样式匹配图2暗色黑卡风格/经典清晰卡片) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.pricing-card {
    background: #181c24;
    color: #ffffff;
    border-radius: 18px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid #2d3748;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--accent-red);
    box-shadow: 0 10px 30px rgba(229, 41, 41, 0.25);
    transform: scale(1.03);
}

.pricing-card:hover {
    transform: translateY(-6px);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-red);
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 12px;
}

.plan-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #ffffff;
}

.plan-price {
    font-size: 38px;
    font-weight: bold;
    color: var(--accent-red);
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.plan-price span {
    font-size: 17px;
    color: #94a3b8;
    font-weight: normal;
}

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

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

.plan-features li strong {
    color: var(--accent-red);
    min-width: 44px;
}

.plan-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    background: var(--accent-red);
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.plan-btn:hover {
    background: var(--accent-red-hover);
}

/* 使用教程与下载中心 */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 22px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    border: 2px solid #2980b9;
    background: transparent;
    color: #1e5799;
    cursor: pointer;
    font-family: var(--font-family);
    transition: all 0.2s ease;
}

.tab-btn.active, .tab-btn:hover {
    background: #2980b9;
    color: #ffffff;
}

.tutorial-card, .download-card {
    background: #ffffff;
    border: 2px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
}

.step-list {
    margin-top: 20px;
    padding-left: 24px;
}

.step-list li {
    margin-bottom: 16px;
    font-size: 18px;
}

/* 下载表格/卡片 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.download-box {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: all 0.25s ease;
}

.download-box:hover {
    border-color: #2980b9;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(41, 128, 185, 0.12);
}

.download-box h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #0f2b48;
}

.download-box p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 16px;
}

/* FAQ 常见问题 */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-size: 20px;
    font-weight: bold;
    color: #0f2b48;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 17px;
    color: var(--text-muted);
    display: none;
    border-top: 1px solid #f1f5f9;
    margin-top: 10px;
    padding-top: 16px;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 用户评价 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    background: #2980b9;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.user-info h4 {
    font-size: 18px;
    color: #1e293b;
}

.stars {
    color: #f59e0b;
    font-size: 15px;
}

.review-text {
    font-size: 16px;
    color: var(--text-muted);
}

/* 60+ 关键词标签词云 */
.tag-cloud-section {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--card-border);
    border-radius: 18px;
    padding: 36px 28px;
    margin-bottom: 60px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag-item {
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    color: #1e5799;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-item:hover {
    background: #2980b9;
    color: #ffffff;
    border-color: #2980b9;
    transform: translateY(-2px);
}

/* 文章推荐模块 */
.article-recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.article-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.article-card:hover {
    border-color: #2980b9;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(41, 128, 185, 0.12);
}

.article-card h3 {
    font-size: 20px;
    color: #0f2b48;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.article-link {
    color: #2980b9;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-link:hover {
    color: var(--accent-red);
}

/* 文章详情页样式 */
.article-container {
    max-width: 900px;
    margin: 40px auto 80px;
    background: #ffffff;
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.article-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.article-title {
    font-size: 34px;
    color: #0f2b48;
    line-height: 1.35;
    margin-bottom: 16px;
}

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

.article-body {
    font-size: 18px;
    line-height: 1.85;
    color: #1e293b;
}

.article-body h2 {
    font-size: 26px;
    color: #0f2b48;
    margin: 36px 0 18px;
    border-left: 4px solid #2980b9;
    padding-left: 12px;
}

.article-body h3 {
    font-size: 22px;
    color: #1e5799;
    margin: 28px 0 14px;
}

.article-body p {
    margin-bottom: 20px;
    text-align: justify;
}

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

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

.article-cta-box {
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    border: 2px dashed #2980b9;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    margin: 40px 0;
}

.article-cta-box h3 {
    font-size: 24px;
    color: #0f2b48;
    margin-bottom: 10px;
}

/* 页脚 Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 20px 30px;
    border-top: 3px solid #2980b9;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 18px;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    font-size: 15px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .pricing-card.featured {
        transform: none;
    }
    .article-container {
        padding: 24px 18px;
    }
}
