
/* 全屏背景的容器 */
.full-bg-section {
    
}

    /* 容器内部内容保持居中 */
    .full-bg-section .inner-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

/* 徽章位置修正 */
.preview-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.mobile-badge-fixed {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* 确保卡片位置正确 */
.card-container {
    max-width: 1200px;
    margin: -30px auto 0;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

/* 电子邀请函专用样式 */
.invitation-hero {
    background: linear-gradient(257deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

    .invitation-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('/images/pattern.png') repeat;
        opacity: 0.1;
    }

.invitation-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    max-width: 1200px;
    margin: 60px auto 50px;
    position: relative;
    z-index: 10;
}

.invitation-header {
    background: linear-gradient(to right, #4a6cf7, #2a4bd7);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.invitation-main {
    padding: 3rem 2rem;
}

.template-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.template-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .template-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }

.template-preview {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.template-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .feature-item:hover {
        background: #e9ecef;
        transform: translateY(-3px);
    }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4a6cf7;
}

.process-steps {
    counter-reset: step-counter;
}

.process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

    .process-step::before {
        counter-increment: step-counter;
        content: counter(step-counter);
        position: absolute;
        left: 0;
        top: 0;
        width: 60px;
        height: 60px;
        background: #4a6cf7;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
    }

.customization-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 4rem;
}

.price-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.price-amount {
    font-size: 3rem;
    font-weight: bold;
    color: #4a6cf7;
    margin: 1rem 0;
}

.designer-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.designer-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.designer-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid #4a6cf7;
}

.demo-modal .modal-content {
    border-radius: 20px;
    overflow: hidden;
}

.demo-preview {
    position: relative;
    width: 100%;
    height: 500px;
    background: #f8f9fa;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .invitation-hero {
        padding: 3rem 0;
    }

    .invitation-card {
        margin: -30px auto 30px;
    }

    .template-gallery {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding-left: 60px;
    }

        .process-step::before {
            width: 40px;
            height: 40px;
        }
}

/* 简洁横向流程样式（无图标版） */
.process-flow-minimal {
    display: none; /* 默认隐藏，大屏显示 */
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    gap: 5px;
}

/* 大屏显示横向流程 */
@media (min-width: 992px) {
    .process-flow-minimal {
        display: flex;
    }

    .process-flow-mobile-minimal {
        display: none;
    }
}

/* 流程步骤样式 */
.process-step-minimal {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.8rem 1.2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    min-height: 150px;
    max-width: 260px;
    position: relative;
    border: 1px solid #f0f0f0;
}

    .process-step-minimal:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
        border-color: #667eea;
    }

/* 步骤数字 */
.step-number-minimal {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.process-step-minimal:hover .step-number-minimal {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 内容区域 */
.step-content-minimal {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .step-content-minimal h5 {
        color: #333;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .step-content-minimal p {
        color: #666;
        line-height: 1.5;
        font-size: 0.9rem;
    }

/* 连接箭头 */
.step-connector-minimal {
    color: #ddd;
    font-size: 1.8rem;
    margin: 0 5px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.process-step-minimal:hover + .step-connector-minimal {
    color: #667eea;
    opacity: 1;
    animation: arrowSlide 0.5s ease;
}

@keyframes arrowSlide {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}

/* 移动端版本 */
.process-flow-mobile-minimal {
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem;
}

.process-step-mobile-minimal {
    display: flex;
    align-items: flex-start;
    padding: 1.2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

    .process-step-mobile-minimal:hover {
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-color: #667eea;
    }

.step-number-mobile {
    min-width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    margin-right: 1rem;
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.process-step-mobile-minimal:hover .step-number-mobile {
    transform: scale(1.1);
    box-shadow: 0 5px 12px rgba(102, 126, 234, 0.4);
}

.step-content-mobile-minimal {
    flex: 1;
}

    .step-content-mobile-minimal h5 {
        color: #333;
        font-size: 1rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }

    .step-content-mobile-minimal p {
        color: #666;
        font-size: 0.85rem;
        line-height: 1.4;
    }

/* 响应式调整 */
@media (max-width: 1200px) {
    .process-step-minimal {
        padding: 1.5rem 1rem;
        min-height: 140px;
        max-width: 220px;
    }

    .step-number-minimal {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .step-connector-minimal {
        font-size: 1.5rem;
        margin: 0 3px;
    }

    .step-content-minimal h5 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .process-step-mobile-minimal {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }

    .step-number-mobile {
        min-width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin-right: 0.8rem;
    }

    .step-content-mobile-minimal h5 {
        font-size: 0.95rem;
    }
}

/* 步骤之间的间距优化 */
@media (max-width: 576px) {
    .process-step-mobile-minimal {
        padding: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .step-number-mobile {
        min-width: 28px;
        height: 28px;
        font-size: 0.85rem;
        margin-right: 0.6rem;
    }
}

/* 更简洁的版本：去掉连接箭头，用边框连接 */
.process-flow-minimal.alternative {
    gap: 0;
}

    .process-flow-minimal.alternative .process-step-minimal {
        border-radius: 0;
        border-right: none;
        box-shadow: none;
        margin: 0;
    }

        .process-flow-minimal.alternative .process-step-minimal:first-child {
            border-top-left-radius: 10px;
            border-bottom-left-radius: 10px;
        }

        .process-flow-minimal.alternative .process-step-minimal:last-child {
            border-top-right-radius: 10px;
            border-bottom-right-radius: 10px;
            border-right: 1px solid #f0f0f0;
        }

        .process-flow-minimal.alternative .process-step-minimal:hover {
            background: linear-gradient(to bottom, #f8f9ff, white);
            z-index: 1;
        }

/* 可选：添加步骤分隔线 */
.process-step-minimal:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: #e0e0e0;
}

/* 确保最后一个步骤没有分隔线 */
.process-step-minimal:last-child::after {
    display: none;
}
