body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

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

header {
    background: #333;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    display: inline;
    font-size: 1.8rem;
}

nav ul {
    list-style: none;
    display: inline;
    float: right;
}

nav ul li {
    display: inline;
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6b00;
}

#language-selector {
    background: #555;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

.lead {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

/* 首页横幅样式 */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
    padding: 80px 0;
    border-bottom: none;
}

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

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

.trust-indicators {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b00;
}

.trust-label {
    font-size: 0.9rem;
    color: #666;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* CTA按钮样式 */
.cta-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: #ff6b00;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.cta-button:hover {
    background: #e05d00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-button.secondary {
    background: #fff;
    color: #ff6b00;
    border: 2px solid #ff6b00;
}

.cta-button.secondary:hover {
    background: #f0f0f0;
}

/* 功能特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    margin-top: 0;
    color: #333;
}

.feature-card p {
    color: #666;
}

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

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta-center {
    text-align: center;
    margin-top: 20px;
}

/* 模板类别网格 */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.template-category {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s ease;
}

.template-category:hover {
    background: #f0f0f0;
}

.template-category h3 {
    margin-top: 0;
    color: #333;
}

.template-category p {
    color: #666;
    font-size: 0.9rem;
}

.template-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

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

.testimonial {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial::before {
    content: """;
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: 10px;
    color: #ff6b00;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-rating {
    color: #ff6b00;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.testimonial p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.testimonial .author {
    text-align: right;
    font-weight: bold;
    color: #333;
}

/* 教程步骤 */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
}

.step h3 {
    margin-top: 0;
    color: #333;
}

.step p {
    color: #666;
}

/* 视频演示 */
.video-demo {
    margin: 30px 0;
    text-align: center;
}

.video-demo iframe {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 价格方案 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    border: 2px solid #eee;
}

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

.pricing-card.featured {
    border-color: #ff6b00;
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #ff6b00;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card h3 {
    margin-top: 0;
    color: #333;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b00;
    margin: 20px 0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li::before {
    content: "✓";
    color: #ff6b00;
    font-weight: bold;
    margin-right: 10px;
}

/* 使用技巧 */
#tips ul {
    list-style: none;
    padding: 0;
}

#tips ul li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
}

#tips ul li:last-child {
    border-bottom: none;
}

.tip-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
}

.tip-content strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.tip-content {
    flex: 1;
}

/* 页脚 */
.faq-item {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.faq-item h3 {
    color: #ff6b00;
    margin-bottom: 10px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 15px;
    max-height: 200px;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-toggle.rotate {
    transform: rotate(45deg);
}

footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-top: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b00;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #555;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    color: white;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.social-icon:hover {
    background: #ff6b00;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.9rem;
}

footer p {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* 博客页面样式 */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin-top: 0;
    font-size: 1.3rem;
    color: #333;
}

.blog-meta {
    color: #777;
    font-size: 0.9rem;
    margin: 10px 0;
}

.blog-content p {
    color: #666;
    margin-bottom: 20px;
}

/* 博客文章页面样式 */
.blog-post-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #333;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.blog-post-content h2 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
    color: #ff6b00;
}

.blog-post-content h3 {
    font-size: 1.3rem;
    margin: 25px 0 10px;
    color: #333;
}

.blog-post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.blog-post-content ul, 
.blog-post-content ol {
    margin: 20px 0 20px 30px;
}

.blog-post-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.post-tags {
    margin: 40px 0 30px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-tags span {
    font-weight: bold;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 5px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: #ff6b00;
    color: white;
    transform: translateY(-2px);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.prev-post a, 
.next-post a {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.prev-post a:hover, 
.next-post a:hover {
    color: #333;
}

/* 背景色 */
.bg-light {
    background-color: #f8f9fa;
}

.active {
    color: #ff6b00;
    font-weight: bold;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff6b00;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    background: #e05d00;
    transform: translateY(-3px);
}
