/* ============================================
   定制方案页面样式 - Apple 风格
   ============================================ */

/* 页面标题 */
.page-header {
    background: #ffffff;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.4rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1rem;
    color: #86868b;
}

/* 通用区块 */
.custom-hero {
    background: #ffffff;
    padding: 60px 0 80px;
}

.custom-types {
    background: #f5f5f7;
    padding: 80px 0;
}

.custom-process {
    background: #ffffff;
    padding: 80px 0;
}

.custom-faq {
    background: #f5f5f7;
    padding: 80px 0;
}

.custom-form {
    background: #ffffff;
    padding: 80px 0;
}

/* 通用section-header */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header.left {
    text-align: left;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0071e3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1rem;
    color: #86868b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-header.left .section-desc {
    margin: 0;
}

/* Hero */
.custom-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.custom-hero-text h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.25;
    margin-bottom: 20px;
}

.custom-hero-text > p {
    font-size: 1rem;
    color: #86868b;
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.hero-badges span {
    font-size: 0.88rem;
    color: #86868b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-badges span i {
    color: #34c759;
}

.custom-hero-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

/* 定制类型 */
.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.type-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    transition: all 0.3s;
}

.type-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.type-icon {
    width: 52px;
    height: 52px;
    background: #f5f5f7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.type-icon i {
    font-size: 1.4rem;
    color: #0071e3;
}

.type-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.type-card p {
    font-size: 0.88rem;
    color: #86868b;
    line-height: 1.6;
}

/* 服务流程 */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.process-item {
    text-align: center;
    padding: 28px 12px;
}

.process-num {
    width: 44px;
    height: 44px;
    background: #0071e3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 auto 16px;
}

.process-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.process-content p {
    font-size: 0.85rem;
    color: #86868b;
    line-height: 1.55;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
}

.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 14px;
}

.faq-item p {
    font-size: 0.9rem;
    color: #86868b;
    line-height: 1.7;
}

/* 表单区域 */
.form-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.form-info {
    position: sticky;
    top: 100px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 8px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item > i {
    width: 44px;
    height: 44px;
    background: #f5f5f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0071e3;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item strong {
    font-size: 0.9rem;
    color: #1d1d1f;
    font-weight: 600;
}

.contact-item span {
    font-size: 0.85rem;
    color: #86868b;
}

/* 表单 */
.form-wrapper {
    background: #f5f5f7;
    border-radius: 24px;
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.form-group .required {
    color: #ff3b30;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: #fff;
    border: 1.5px solid #d2d2d7;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #1d1d1f;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a1a1a6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0071e3;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    background: #0071e3;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.btn-submit:hover {
    background: #0077ed;
}

/* 按钮 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0071e3;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0077ed;
}

.btn-large {
    padding: 14px 28px;
    font-size: 0.95rem;
}

/* CTA */
.cta-section {
    background: #000;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    font-size: 1rem;
}

.cta-section .btn-primary {
    background: #0071e3;
    color: #fff;
}

.cta-section .btn-primary:hover {
    background: #0077ed;
}

/* 页脚 */
.footer {
    background: #f5f5f7;
    color: #1d1d1f;
    padding: 60px 0 30px;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1d1d1f;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-logo i {
    color: #0071e3;
}

.footer-desc {
    color: #86868b;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: #e8e8ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.social-link:hover {
    background: #0071e3;
    color: #fff;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: #1d1d1f;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #86868b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #0071e3;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #86868b;
    font-size: 0.85rem;
}

.contact-list i {
    color: #0071e3;
    width: 14px;
}

.footer-bottom {
    border-top: 1px solid #d2d2d7;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #86868b;
    font-size: 0.8rem;
}

/* 回到顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #e8e8ed;
    color: #1d1d1f;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0071e3;
    color: #fff;
}

/* 响应式 */
@media (max-width: 1024px) {
    .custom-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .form-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-info {
        position: static;
    }

    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .custom-hero-text h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-wrapper {
        padding: 28px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
