/* Ripple 333 領域職人成長計畫專屬 CSS */

/* 覆蓋 nicepage u-section-1 固定高度與 overflow:hidden，讓頁面可以正常滾動 */
.plan333-body .u-section-1 {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

.plan333-body .u-section-1 .u-sheet {
    height: auto !important;
    min-height: auto !important;
    display: block !important;
}

/* 基礎版面與排版 */
.plan333-body {
    background-color: #f6f8fb !important;
    font-family: 'Open Sans', 'Microsoft JhengHei', sans-serif !important;
    color: #333f57 !important;
}

/* ========== 頂部橫幅 ========== */
.plan333-banner {
    background: linear-gradient(135deg, #ff8635 0%, #ff7b2e 40%, #ffca59 100%);
    color: #ffffff;
    padding: 110px 20px 150px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plan333-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 122, 89, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

.plan333-banner h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: 1px;
    color: #ffffff !important;
}

.plan333-banner .banner-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== 內容卡片容器 ========== */
.plan333-container {
    max-width: 900px;
    margin: -80px auto 80px;
    padding: 60px 80px;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(32, 50, 102, 0.06);
    position: relative;
    z-index: 1;
}

/* ========== 引言區塊 ========== */
.plan333-lead {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 48px;
    border-left: 4px solid #ff7a59;
    padding-left: 20px;
}

/* ========== 段落區塊 ========== */
.plan333-section {
    margin-bottom: 40px;
    padding-top: 32px;
    border-top: 1px solid #edf2f7;
}

.plan333-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.plan333-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #203266 !important;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-bottom: none;
    padding-bottom: 0;
}

.plan333-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #203266 !important;
    margin-top: 20px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan333-section h3::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 18px;
    background-color: #ff7a59;
    border-radius: 2px;
    flex-shrink: 0;
}

.plan333-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 8px;
}

.plan333-section p:last-child {
    margin-bottom: 0;
}

.plan333-section ul,
.plan333-section ol {
    margin-top: 8px;
    margin-bottom: 12px;
    padding-left: 20px;
}

.plan333-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 4px;
}

/* ========== 333 三欄數字高亮卡片 ========== */
.plan333-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.plan333-highlight-card {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan333-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(32, 50, 102, 0.08);
}

.plan333-highlight-card .highlight-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff7a59;
    line-height: 1;
    margin-bottom: 8px;
}

.plan333-highlight-card .highlight-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #203266;
    margin-bottom: 8px;
}

.plan333-highlight-card .highlight-desc {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
}

/* ========== 時間軸範例 ========== */
.plan333-timeline {
    position: relative;
    padding-left: 36px;
    margin: 16px 0 20px;
}

.plan333-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: linear-gradient(180deg, #ff7a59 0%, #203266 100%);
    border-radius: 2px;
}

.plan333-timeline-item {
    position: relative;
    margin-bottom: 12px;
    padding-left: 20px;
}

.plan333-timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 6px;
    width: 12px;
    height: 12px;
    background-color: #ff7a59;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.2);
}

.plan333-timeline-item:last-child::before {
    background-color: #203266;
    box-shadow: 0 0 0 3px rgba(32, 50, 102, 0.2);
}

.plan333-timeline-item .timeline-date {
    font-weight: 700;
    color: #203266;
    font-size: 0.95rem;
}

.plan333-timeline-item .timeline-event {
    color: #4a5568;
    font-size: 0.95rem;
    margin-left: 8px;
}

/* ========== 資格條件卡片 ========== */
.plan333-eligibility {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 14px 0 16px;
}

.plan333-eligibility ul {
    margin: 0;
    padding-left: 20px;
}

.plan333-eligibility li {
    margin-bottom: 6px;
}

/* ========== 功能清單方格 ========== */
.plan333-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 14px 0 16px;
}

.plan333-feature-item {
    background-color: #ffffff;
    border: 1px solid #edf2f7;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.2s;
}

.plan333-feature-item:hover {
    border-color: #ff7a59;
}

.plan333-feature-item::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ff7a59;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========== 重點提示區塊 ========== */
.plan333-notice {
    background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 100%);
    border: 1px solid #fed7aa;
    border-left: 4px solid #ff7a59;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a5568;
}

/* ========== 零費用重點標示 ========== */
.plan333-no-charge {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 14px 0 16px;
}

.plan333-no-charge ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: none;
}

.plan333-no-charge li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.plan333-no-charge li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

/* ========== CTA 區塊 ========== */
.plan333-cta {
    background: linear-gradient(135deg, #203266 0%, #1a2750 100%);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    margin: 48px 0 0;
}

.plan333-cta .cta-badge {
    display: inline-block;
    background: rgba(255, 122, 89, 0.15);
    color: #ff7a59;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.plan333-cta h3 {
    color: #ffffff !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.plan333-cta h3::before {
    display: none;
}

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

.plan333-cta .cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff7a59 0%, #e85d3a 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(255, 122, 89, 0.3);
}

.plan333-cta .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 122, 89, 0.4);
}

/* ========== 重要說明底部 ========== */
.plan333-disclaimer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #edf2f7;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #94a3b8;
}

/* ========== 分隔線 ========== */
.plan333-section hr {
    border: none;
    border-top: 1px solid #edf2f7;
    margin: 32px 0;
}

/* ========== RWD 響應式調整 ========== */
@media (max-width: 991px) {
    .plan333-container {
        margin-left: 24px;
        margin-right: 24px;
        padding: 50px 50px;
    }

    .plan333-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .plan333-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .plan333-banner {
        padding: 90px 20px 130px;
    }

    .plan333-banner h1 {
        font-size: 2rem;
    }

    .plan333-container {
        margin-top: -70px;
        padding: 40px 30px;
        border-radius: 16px;
    }

    .plan333-section h2 {
        font-size: 1.35rem;
    }

    .plan333-cta {
        padding: 36px 24px;
    }
}

@media (max-width: 480px) {
    .plan333-container {
        margin-left: 16px;
        margin-right: 16px;
        padding: 30px 20px;
    }

    .plan333-cta .cta-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .plan333-timeline {
        padding-left: 28px;
    }
}