* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #0066cc 100%);
    color: #2d3748;
    line-height: 1.7;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px 20px;
    position: relative;
    z-index: 2;
}

.header {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px 0;
    border-bottom: 2px solid #e8f5e8;
}

.main-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.main-title .sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.9;
    display: block;
    margin-top: 3px;
}

.banner-text {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    margin-top: 8px;
    opacity: 0.9;
    line-height: 1.4;
}

.form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.question-section {
    margin-bottom: 20px;
    position: relative;
}

.question {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #0066cc);
    border-radius: 50%;
}

.options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.option-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 100px;
    text-align: center;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
    transition: left 0.5s;
}

.option-btn:hover::before {
    left: 100%;
}

.option-btn:hover {
    border-color: #0066cc;
    color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.option-btn.selected {
    background: linear-gradient(135deg, #667eea, #0066cc);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.ecommerce-section {
    margin-bottom: 20px;
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ecommerce-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.ecommerce-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #0066cc);
    border-radius: 50%;
}

.ecommerce-select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: white;
    color: #4a5568;
    transition: all 0.3s ease;
    font-family: inherit;
}

.ecommerce-select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.generate-btn {
    display: block;
    width: 260px;
    margin: 25px auto 0;
    padding: 16px 35px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    border-radius: 45px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.generate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.generate-btn:hover::before {
    left: 100%;
}

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.generate-btn:active {
    transform: translateY(-1px);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    margin: 2% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preview-item {
    margin-bottom: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 12px;
    border-left: 4px solid #0066cc;
    transition: all 0.3s ease;
}

.preview-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
}

.preview-label {
    font-weight: 600;
    color: #2d3748;
}

.preview-value {
    color: #0066cc;
    margin-left: 12px;
    font-weight: 500;
}

.modal-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}

.modal-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
}

.confirm-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.3);
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(72, 187, 120, 0.4);
}

.modify-btn {
    background: linear-gradient(135deg, #a0aec0, #718096);
    color: white;
    box-shadow: 0 8px 25px rgba(160, 174, 192, 0.3);
}

.modify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(160, 174, 192, 0.4);
}

.plan-content {
    margin-top: 30px;
}

.plan-section {
    margin-bottom: 30px;
    padding: 24px;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 16px;
    border-left: 6px solid #0066cc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.plan-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.plan-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin: 20px 0 12px 0;
    padding-left: 16px;
    border-left: 3px solid #0066cc;
}

.plan-text {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #4a5568;
    font-size: 17px;
}

.requirements {
    background: linear-gradient(135deg, #ebf8ff, #bee3f8);
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
    border: 1px solid #90cdf4;
}

.tips {
    background: linear-gradient(135deg, #fef5e7, #fed7aa);
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
    border: 1px solid #f6ad55;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: #a0aec0;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: #2d3748;
    background: rgba(0, 0, 0, 0.05);
}

.consult-btn {
    background: linear-gradient(135deg, #2196f3, #0066cc) !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-top: 8px !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3) !important;
}

.consult-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4) !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px 10px;
    }
    
    .header {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .main-title {
        font-size: 2rem;
        margin-bottom: 4px;
        line-height: 1.1;
    }
    
    .main-title .sub-title {
        font-size: 1.4rem;
        margin-top: 3px;
    }
    
    .banner-text {
        font-size: 0.95rem;
        margin-top: 8px;
    }
    
    .form-container {
        padding: 20px 15px;
    }
    
    .question-section {
        margin-bottom: 20px;
    }
    
    .question {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-left: 18px;
    }
    
    .question::before {
        width: 6px;
        height: 6px;
    }
    
    .options {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
    }
    
    .option-btn {
        width: auto;
        flex: 1;
        max-width: 120px;
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 80px;
    }
    
    .ecommerce-section {
        margin-bottom: 20px;
    }
    
    .ecommerce-title {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-left: 18px;
    }
    
    .ecommerce-title::before {
        width: 6px;
        height: 6px;
    }
    
    .ecommerce-select {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .generate-btn {
        width: 100%;
        max-width: 280px;
        margin: 30px auto 0;
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .modal-content {
        margin: 2% auto;
        padding: 20px 15px;
        max-height: 90vh;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .preview-item {
        margin-bottom: 12px;
        padding: 12px;
    }
    
    .plan-section {
        margin-bottom: 20px;
        padding: 18px;
    }
    
    .plan-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .plan-subtitle {
        font-size: 1rem;
        margin: 15px 0 8px 0;
        padding-left: 12px;
    }
    
    .plan-text {
        margin-bottom: 8px;
        line-height: 1.6;
        font-size: 1rem;
    }
    
    .requirements, .tips {
        padding: 15px;
        margin: 10px 0;
    }
    
    .modal-buttons {
        gap: 12px;
        margin-top: 20px;
    }
    
    .modal-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .consult-btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
        margin-top: 6px !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* 滚动条样式 */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #0066cc);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8, #0052a3);
}


