/* 新模板风格：现代、圆润、悬浮 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    background-color: #f8fafc;
}

/* 椭圆形悬浮导航栏 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    border-radius: 50px; /* 核心：椭圆/胶囊形 */
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

nav a:hover {
    color: #8b5cf6;
}

/* 按钮样式 - 胶囊状 */
.cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

/* 主视觉区 - 左右分布 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 140px 5% 60px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

/* 增加一点背景装饰 */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 55%;
    padding-right: 40px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 24px;
    color: #1e293b;
    line-height: 1.2;
    font-weight: 800;
}

.hero h2 {
    font-size: 1.4em;
    margin-bottom: 45px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.6;
}

.hero-animation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 动态元素重新设计：更加现代的渐变形态 */
.dynamic-element {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    background-size: 200% 200%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite alternate, gradient 5s ease infinite;
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.3);
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

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

/* 通用区块样式 */
section {
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

h3 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 60px;
    color: #1e293b;
    font-weight: 700;
}

/* 卡片布局 - 大圆角、悬浮感 */
.card-container, .article-grid, .pricing-table {
    display: grid;
    gap: 30px;
}

.card-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card, .article-card {
    background: #fff;
    padding: 40px 35px;
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.card:hover, .article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
}

.card h4, .article-card h4 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #334155;
    font-weight: 700;
}

.card p, .article-card p {
    color: #64748b;
}

/* 价格表 - 重点突出 */
.pricing-table {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
}

.price-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.3s;
}

.price-card.recommended {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5);
    border: none;
    padding: 60px 40px;
}

.price-card.recommended h4 {
    color: #e2e8f0;
}

.price-card.recommended .price {
    color: #fff;
}

.price-card.recommended .price span {
    color: #94a3b8;
}

.price-card.recommended li {
    color: #cbd5e1;
}

.price-card h4 {
    font-size: 1.3em;
    color: #475569;
    margin-bottom: 20px;
}

.price {
    font-size: 3.5em;
    font-weight: 800;
    color: #6366f1;
    margin: 20px 0 30px;
}

.price span {
    font-size: 0.35em;
    color: #94a3b8;
    font-weight: 500;
}

.price-card ul {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    padding-left: 20px;
}

.price-card li {
    margin-bottom: 15px;
    color: #64748b;
    font-size: 1.05em;
    position: relative;
}

.price-card li::before {
    content: "✓";
    position: absolute;
    left: -25px;
    color: #10b981;
    font-weight: bold;
}

/* 文章网格 */
.article-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.article-card {
    text-decoration: none;
    display: block;
}

/* FAQ & 评价 */
.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.faq-item h4 {
    margin-bottom: 12px;
    color: #334155;
    font-size: 1.2em;
}

.faq-item p {
    color: #64748b;
}

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

.review {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    color: #475569;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.03);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.review p {
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.7;
}

.review::before {
    content: '"';
    font-size: 80px;
    color: #e2e8f0;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
    line-height: 1;
}

.review span {
    display: block;
    margin-top: 25px;
    font-style: normal;
    font-weight: 700;
    color: #1e293b;
    text-align: right;
}

/* 页脚 */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 70px 5% 40px;
    text-align: center;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: 80px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.footer-seo-links p {
    margin-bottom: 15px;
}

/* 移动端适配 */
@media (max-width: 860px) {
    header {
        padding: 12px 25px;
        width: 92%;
        border-radius: 40px;
    }
    nav ul {
        display: none;
    }
    .hero {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 50px;
    }
    .hero h1 { font-size: 2.8em; }
    .dynamic-element {
        width: 280px;
        height: 280px;
    }
    .price-card.recommended {
        transform: scale(1);
    }
}
