/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: '微软雅黑', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 移动端文字行间距 */
@media (max-width: 768px) {
    body {
        line-height: 1.5;
    }
}

/* 颜色变量 */
:root {
    --primary-color: #165DFF;
    --secondary-color: #FF7D00;
    --white: #ffffff;
    --light-gray: #f0f0f0;
    --medium-gray: #999999;
    --dark-gray: #333333;
    --success-color: #4CAF50;
    --error-color: #f44336;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* 首屏 Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #0047AB);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ff6a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 痛点&解决方案区 */
.pain-points {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--dark-gray);
}

.pain-solution-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.pain-column, .solution-column {
    flex: 1;
    min-width: 300px;
}

.pain-item, .solution-item {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.pain-item {
    background-color: #fff3f3;
    border-left: 4px solid var(--error-color);
}

.solution-item {
    background-color: #f3fff3;
    border-left: 4px solid var(--success-color);
}

.pain-item i, .solution-item i {
    font-size: 24px;
    margin-top: 5px;
}

.pain-item i {
    color: var(--error-color);
}

.solution-item i {
    color: var(--success-color);
}

/* 核心功能区 */
.features {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.feature-card p {
    color: var(--medium-gray);
}

/* 价格套餐区 */
.pricing {
    padding: 80px 0;
    background-color: var(--white);
}

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

.pricing-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* 移动端价格卡片布局 */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 100%;
    }
    
    .pricing-card .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(22, 93, 255, 0.2);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.pricing-card .price {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card li i {
    color: var(--success-color);
}

/* 效果对比区 */
.comparison {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .clawkit-col {
    font-weight: bold;
    color: var(--primary-color);
}

/* 教程&信任区 */
.tutorial {
    padding: 80px 0;
    background-color: var(--white);
}

.tutorial-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.tutorial-image {
    flex: 1;
    min-width: 300px;
}

.tutorial-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tutorial-text {
    flex: 1;
    min-width: 300px;
}

.tutorial-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.tutorial-text p {
    margin-bottom: 30px;
    color: var(--medium-gray);
}

.testimonials {
    margin-top: 60px;
}

.testimonial-item {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-item p {
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial-item .author {
    font-weight: bold;
    color: var(--primary-color);
}

/* 底部 Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column p,
.footer-column li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.qr-code {
    width: 150px;
    height: 150px;
    background-color: var(--white);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

/* 移动端二维码自适应 */
@media (max-width: 768px) {
    .qr-code {
        width: 200px;
        height: 200px;
        margin: 0 auto 10px;
    }
}

/* 二维码放大弹窗 */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.qr-modal-content {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
    max-height: 90%;
}

.qr-modal-content img {
    max-width: 100%;
    max-height: 80vh;
}

.qr-close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
}

/* 限时优惠弹窗 */
.discount-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1500;
    max-width: 300px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.discount-modal .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: var(--white);
}

.discount-modal h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.discount-modal p {
    margin-bottom: 15px;
    font-size: 14px;
}

.discount-modal .btn {
    width: 100%;
    background-color: var(--white);
    color: var(--secondary-color);
    font-size: 14px;
}

/* 已售标注 */
.sales-badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
    display: inline-block;
}

/* FAQ 样式 */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--light-gray);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-question h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

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

.faq-answer.active {
    max-height: 200px;
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    color: var(--medium-gray);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.active {
    transform: rotate(180deg);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--medium-gray);
}

.modal-content h3 {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.modal-qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background-color: var(--white);
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.modal-qr-code img {
    width: 100%;
    height: 100%;
}

.modal-content p {
    margin-bottom: 20px;
    color: var(--medium-gray);
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏 */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 50%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .nav-menu a {
        font-size: 18px;
        font-weight: bold;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    /* 首屏 */
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    /* 痛点&解决方案区 */
    .pain-solution-container {
        flex-direction: column;
    }

    /* 教程&信任区 */
    .tutorial-content {
        flex-direction: column;
    }

    /* 底部 */
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    /* 首屏 */
    .hero h1 {
        font-size: 28px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    /* 价格套餐区 */
    .pricing-card {
        padding: 20px;
    }

    /* 效果对比区 */
    .comparison-table th,
    .comparison-table td {
        padding: 15px;
        font-size: 14px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* 滚动动画 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}