/* 申请页面样式 */
.apply-section {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 80px);
}

.apply-section h1 {
    text-align: center;
    color: #1a365d;
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* 表单样式 */
.apply-form {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 40px;
}

.form-group h3 {
    color: #1a365d;
    font-size: 1.4em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.form-field {
    flex: 1;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.required {
    color: #e74c3c;
    margin-left: 4px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
}

textarea {
    height: 120px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* 上传区域样式 */
.upload-field {
    margin-bottom: 20px;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.05);
}

.upload-area i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 10px;
}

.upload-area p {
    margin: 5px 0;
    color: #666;
}

.upload-tip {
    font-size: 0.9em;
    color: #999;
}

/* 复选框样式 */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    min-width: 120px;
}

.checkbox-item.checkbox-other {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.checkbox-item span {
    color: #333;
}

.other-input {
    flex: 1;
    min-width: 150px;
    height: 32px;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9em;
    transition: all 0.3s;
}

.other-input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.other-input:not(:disabled) {
    border-color: #3498db;
}

.other-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

/* 提交按钮 */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.submit-btn i {
    font-size: 0.9em;
}

/* 上传文件预览 */
.uploaded-files {
    margin-top: 20px;
}

.file-preview {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
}

.file-preview i {
    color: #3498db;
    margin-right: 10px;
}

.file-preview .file-name {
    flex: 1;
    color: #333;
}

.file-preview .delete-btn {
    color: #e74c3c;
    cursor: pointer;
    padding: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .apply-section {
        padding: 40px 0;
    }

    .apply-form {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .checkbox-group {
        gap: 15px;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .checkbox-item {
        min-width: calc(50% - 10px);
    }

    .checkbox-item.checkbox-other {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .checkbox-item {
        width: 100%;
        min-width: 100%;
    }
}

/* 加载状态 */
.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn.loading span {
    display: none;
}

.submit-btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#floatingPartner {
    position: fixed;
    right: 32px;
    bottom: 30px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    transition: opacity 0.2s ease;
}

#floatingPartner.scrolling {
    opacity: 0.5;
}

#floatingPartner .btn-primary,
#floatingPartner .btn-partner,
#floatingPartner .btn-apply {
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
    height: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border: none;
    line-height: 1.2;
    text-decoration: none;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s, opacity 0.4s;
}

#floatingPartner .breath1 {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    opacity: 0.92;
    transition-delay: 0s;
}

#floatingPartner .breath2 {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    opacity: 0.92;
    transition-delay: 0.12s;
}

#floatingPartner .breath3 {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    opacity: 0.92;
    transition-delay: 0.24s;
}

#floatingPartner .btn-primary {
    background-color: #cc0000;
    color: #fff;
}
#floatingPartner .btn-primary:hover {
    background-color: #a30000;
    color: #fff;
}

#floatingPartner .btn-partner,
#floatingPartner .btn-apply {
    background-color: #0066cc;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,102,204,0.12);
}
#floatingPartner .btn-partner:hover,
#floatingPartner .btn-apply:hover {
    background-color: #005bb5;
    color: #fff;
}

#floatingPartner .btn-primary i,
#floatingPartner .btn-partner i,
#floatingPartner .btn-apply i {
    font-size: 1rem;
}

.feature-card, .client-card {
    max-width: 320px;
    padding: 20px;
    font-size: 0.98em;
    margin: 0 auto;
}

.clients-grid, .features-bar, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

@media (min-width: 1400px) {
    .clients-grid, .features-bar, .services-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (min-width: 1024px) and (max-width: 1399px) {
    .clients-grid, .features-bar, .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1023px) {
    .clients-grid, .features-bar, .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} 