/* =========================================================
   好物推薦網 — partnership.css
   合作提案頁專用樣式：Page Header、合作方案卡片、
   流程步驟、LINE CTA、FAQ、Responsive
   ========================================================= */

/* ===== PAGE HEADER ===== */
.partner-header {
    background: linear-gradient(160deg, #2d5a3d 0%, var(--color-primary) 40%, var(--color-primary-light) 100%);
    color: #fff;
    padding: 6.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.partner-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 166, 32, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.partner-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 181, 152, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.partner-header h1 {
    font-size: 2.25rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.partner-header p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* ===== PARTNER TYPES ===== */
.partner-type-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.partner-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.partner-type-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.25rem;
}

.partner-type-card h5 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.partner-type-card p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    flex: 1;
}

.partner-type-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(74, 124, 89, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-top: 0.75rem;
}

/* ===== BENEFITS ===== */
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
}

.benefit-item + .benefit-item {
    border-top: 1px solid var(--color-border);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(74, 124, 89, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.benefit-item h6 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.benefit-item p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ===== PROCESS STEPS ===== */
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    padding-bottom: 2rem;
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 52px;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.process-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.process-step-content h6 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    padding-top: 0.15rem;
}

.process-step-content p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== LINE CTA ===== */
.line-cta-section {
    background: linear-gradient(135deg, #2d5a3d 0%, var(--color-primary) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.line-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 166, 32, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.line-cta-section h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.line-cta-section p {
    opacity: 0.9;
    font-size: 1rem;
    max-width: 450px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.btn-line-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #06C755;
    color: #fff;
    border: none;
    padding: 0.9rem 2.25rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(6, 199, 85, 0.3);
}

.btn-line-cta:hover {
    background: #05b34c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(6, 199, 85, 0.4);
}

.btn-line-cta i {
    font-size: 1.3rem;
}

.line-cta-hint {
    font-size: 0.82rem;
    opacity: 0.7;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

/* ===== FAQ ===== */
.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.15rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(74, 124, 89, 0.04);
}

.faq-question i {
    font-size: 1rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 1.25rem 1.15rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .partner-header {
        padding: 5.5rem 0 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .partner-header h1 {
        font-size: 1.75rem;
    }

    .line-cta-section {
        padding: 2.25rem 1.5rem;
    }

    .line-cta-section h3 {
        font-size: 1.35rem;
    }

    .process-step {
        gap: 1rem;
    }

    .process-step-num {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .process-step:not(:last-child)::after {
        left: 19px;
        top: 44px;
    }
}
