:root {
    --primary: #0052D9;
    --primary-dark: #0046B8;
    --primary-light: #1B6FE4;
    --secondary: #FF9500;
    --secondary-dark: #FF8500;
    --dark: #2C3E50;
    --gray: #95A5A6;
    --light: #ECF0F1;
    --white: #FFFFFF;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* 主横幅样式 */
.hero {
    padding: 234px 0 171px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/miniapp/hero-bg.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(0 0 0 / 90%), rgb(44 76 27 / 27%));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.primary-btn {
    background: var(--white);
    color: var(--primary);
    padding: 12px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.video-btn {
    background: transparent;
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 16px;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.video-btn:hover {
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* 痛点解决样式 */
.pain-points {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
    color: var(--dark);
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.point-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.point-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.point-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    font-size: 24px;
}

.point-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.point-card p {
    color: var(--gray);
}

/* 核心功能样式 */
.features {
    padding: 100px 0;
    background: var(--light);
}

.features-showcase {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.feature-card.active {
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover:not(.active) {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
    font-size: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--dark);
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    margin-bottom: 8px;
    color: var(--gray);
    position: relative;
    padding-left: 24px;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.features-preview {
    position: relative;
    height: 490px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.preview-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.preview-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
}

.preview-item.active {
    opacity: 1;
    visibility: visible;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.preview-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

.preview-text h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.preview-text p {
    font-size: 16px;
    opacity: 0.9;
}

/* 使用流程样式 */
.process {
    padding: 80px 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    font-size: 32px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    color: var(--gray);
}

/* 联系咨询样式 */
.contact {
    padding: 80px 0;
    background: var(--light);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    text-align: center;
}

.qrcode {
    margin-bottom: 24px;
}

.qrcode img {
    width: 200px;
    margin-bottom: 12px;
}

.contact-text p {
    margin-bottom: 8px;
}

/* 视频弹窗样式 */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 90%;
    max-width: 800px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

/* 快速配置部分样式 */
.quick-setup {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--white), var(--light));
    overflow: hidden;
}

.section-desc {
    text-align: center;
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.setup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.setup-image {
    position: relative;
}

.phone-preview {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.phone-preview img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.setup-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.icon-circle:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-circle i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
}

.icon-circle span {
    font-size: 14px;
    color: var(--dark);
}

.setup-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.setup-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.setup-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.card-header i {
    font-size: 24px;
    color: var(--primary);
}

.card-header h3 {
    font-size: 20px;
    color: var(--dark);
    margin: 0;
}

.setup-card p {
    color: var(--gray);
    margin: 0;
    padding-left: 40px;
}

.setup-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.highlight-item i {
    font-size: 24px;
    color: var(--primary);
}

.highlight-item span {
    font-size: 14px;
    color: var(--dark);
}

.setup-btn {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 30px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: inline-block;
    align-self: center;
}

.setup-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .setup-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .setup-image {
        order: -1;
    }

    .phone-preview {
        max-width: 300px;
    }

    .features-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-preview {
        height: 500px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .setup-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-desc {
        font-size: 16px;
        padding: 0 20px;
    }

    .features-preview {
        height: 400px;
    }

    .feature-card.active {
        transform: translateX(0);
    }

    .preview-text {
        padding: 16px;
    }

    .preview-text h4 {
        font-size: 18px;
    }

    .preview-text p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .setup-highlights {
        grid-template-columns: 1fr;
    }

    .setup-icons {
        gap: 20px;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .icon-circle i {
        font-size: 20px;
    }

    .icon-circle span {
        font-size: 12px;
    }

    .features-preview {
        height: 300px;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .points-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step:nth-child(2)::after {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .points-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step::after {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
} 