/* 基础重置与变量 (暗黑科技紫风格) */
:root {
    --primary: #a855f7; 
    --primary-hover: #c084fc;
    --bg-main: #0f172a;
    --bg-light: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --white: #1e293b; 
    --border: #334155;
    --shadow: 0 10px 40px rgba(0,0,0,0.5);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 90px 0; }
.bg-light { background: var(--bg-light); }
h2 { text-align: center; font-size: 2.4rem; margin-bottom: 50px; color: var(--text-main); }

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; border: none; box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(168, 85, 247, 0.6); }
.btn-outline { background: rgba(168, 85, 247, 0.1); color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-large { padding: 16px 40px; font-size: 1.1rem; }

/* 胶囊悬浮导航栏 */
.header {
    background: rgba(30, 41, 59, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 100;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
}
.navbar .logo { font-size: 1.5rem; font-weight: 800; color: var(--text-main); letter-spacing: 0.5px; }
.navbar .logo::after { content: '.'; color: var(--primary); }
.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}
.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--text-main); }

/* 主视觉区 (左右布局) */
.hero { 
    background: radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.2) 0%, transparent 50%), var(--bg-main); 
    padding: 180px 0 80px; 
    overflow: hidden;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-content { flex: 1; text-align: left; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 24px; line-height: 1.15; font-weight: 800; color: var(--text-main); }
.hero-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 95%; }

/* 动态视觉元素 (纯 CSS) */
.hero-visual { 
    flex: 1; 
    position: relative; 
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.visual-bg-circle {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.05));
    border-radius: 50%;
    position: absolute;
    animation: pulse 4s ease-in-out infinite alternate;
    filter: blur(10px);
}
.floating-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--text-main);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.05);
}
.floating-card .icon { font-size: 1.8rem; }
.card-1 { top: 10%; left: 0%; animation-delay: 0s; }
.card-2 { top: 50%; right: -5%; animation-delay: -2s; }
.card-3 { bottom: 10%; left: 15%; animation-delay: -4s; }

/* 动画 Keyframes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* 网格系统 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* 卡片样式 */
.card { background: var(--bg-light); padding: 45px 35px; border-radius: 20px; box-shadow: var(--shadow); text-align: center; transition: transform 0.3s, background 0.3s; border: 1px solid rgba(255,255,255,0.02); }
.card:hover { transform: translateY(-8px); background: #243147; }
.card .icon { font-size: 3.5rem; margin-bottom: 25px; filter: drop-shadow(0 4px 10px rgba(168, 85, 247, 0.3)); }
.card h3 { margin-bottom: 15px; font-size: 1.4rem; color: var(--text-main); }
.card p { color: var(--text-muted); font-size: 1.05rem; }

/* 价格表 */
.price-card { background: var(--bg-light); padding: 45px 35px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.05); text-align: center; position: relative; display: flex; flex-direction: column; transition: transform 0.3s;}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.popular { border: 2px solid var(--primary); transform: scale(1.05); background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); box-shadow: 0 20px 50px rgba(168, 85, 247, 0.15); }
.price-card.popular:hover { transform: scale(1.05) translateY(-8px); }
.price-card .badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; padding: 6px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: bold; box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4); }
.price-card h3 { font-size: 1.4rem; color: var(--text-main); margin-bottom: 15px; }
.price-card .price { font-size: 3.2rem; font-weight: 800; margin-bottom: 30px; color: var(--primary); }
.price-card .price span { font-size: 1.1rem; color: var(--text-muted); font-weight: normal; }
.price-card ul { list-style: none; margin-bottom: 35px; text-align: left; flex-grow: 1; }
.price-card ul li { margin-bottom: 16px; padding-left: 32px; position: relative; color: var(--text-muted); font-size: 1.05rem; }
.price-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 800; font-size: 1.2rem; }
.price-card .btn { width: 100%; }

/* 用户评价 & 常见问题 */
.review-card { background: var(--bg-main); padding: 35px; border-radius: 20px; font-style: italic; border: 1px solid rgba(255,255,255,0.03); }
.review-card p { font-size: 1.1rem; color: var(--text-muted); }
.review-card .author { margin-top: 25px; font-weight: bold; font-style: normal; font-size: 1rem; color: var(--primary); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.faq-item h4 { font-size: 1.3rem; margin-bottom: 15px; color: var(--text-main); }
.faq-item p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }

/* 页脚 */
footer { background: #0b1120; color: var(--text-muted); padding: 60px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.02); }
.footer-links { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-links a { color: var(--text-muted); transition: color 0.3s; font-size: 1rem; }
.footer-links a:hover { color: var(--primary); }
.pbn-links { margin-top: 20px; font-size: 0.95rem; }

/* SEO 博客卡片 */
.blog { background: var(--bg-main); }
.article-card { display: flex; flex-direction: column; background: var(--bg-light); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: #243147; }
.article-img { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 4rem; background: rgba(0,0,0,0.2); }
.article-content { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.article-content h3 { font-size: 1.25rem; color: var(--text-main); margin-bottom: 15px; line-height: 1.4; }
.article-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* 子页面通用样式 */
.subpage-header { padding: 60px 20px; background: var(--bg-light); color: var(--text-main); text-align: center; margin-top: 80px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.subpage-header h1 { font-size: 2.2rem; font-weight: 600; }
.subpage-content { padding: 60px 20px; max-width: 800px; margin: 0 auto; min-height: 50vh; }
.subpage-content h2 { text-align: left; margin: 40px 0 20px; font-size: 1.5rem; color: var(--text-main); }
.subpage-content p, .subpage-content ul { margin-bottom: 20px; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }
.subpage-content li { margin-bottom: 10px; margin-left: 20px; }
.subpage-content a { color: var(--primary); }
.subpage-content a:hover { text-decoration: underline; }

/* 独立文章页样式 */
.article-page { max-width: 800px; margin: 120px auto 40px; padding: 40px; background: var(--bg-light); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.05); }
.article-page h1 { font-size: 2.2rem; color: var(--text-main); margin-bottom: 30px; line-height: 1.3; }
.article-body { font-size: 1.05rem; line-height: 1.8; color: var(--text-main); }
.article-body h2 { font-size: 1.6rem; margin: 30px 0 15px; text-align: left; }
.article-body h3 { font-size: 1.3rem; margin: 20px 0 10px; }
.article-body p { margin-bottom: 20px; color: var(--text-muted); }
.article-body ul { margin-bottom: 20px; padding-left: 20px; color: var(--text-muted); }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--primary); font-weight: 500; text-decoration: underline; }

/* 移动端适配 */
@media (max-width: 768px) {
    .header { width: 95%; top: 15px; border-radius: 20px; }
    .nav-links { display: none; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { text-align: center; }
    .hero-content p { max-width: 100%; }
    .hero-visual { width: 100%; height: 350px; margin-top: 30px; }
    .card-1 { left: 2%; }
    .card-2 { right: 2%; }
    .card-3 { left: 50%; transform: translateX(-50%); bottom: 0; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero { padding: 140px 0 60px; }
    .hero h1 { font-size: 2.5rem; }
    section { padding: 60px 0; }
    .price-card.popular { transform: scale(1); }
    .price-card.popular:hover { transform: translateY(-5px); }
    .article-page { margin: 100px 20px 20px; padding: 20px; }
}
