:root {
    --primary: #1a1a1a;
    --accent: #007aff;
    --gray-light: #f5f5f7;
    --text-muted: #86868b;
    --border: #e5e5e5;
}

body {
    background-color: #fff;
    font-family: "PingFang TC", "Inter", sans-serif;
    line-height: 1.6;
}

.hamburger-line {
    background: var(--bg-b);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* --- Header --- */
.section-header {
    margin-bottom: 80px;
}

.section-header h1 {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.section-header h1 span {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.section-header p {
    color: var(--text-muted);
    margin-top: 10px;
}

/* --- Service Cards --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 120px;
}

.service-card {
    padding: 50px 40px;
    background: #fff;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.service-card h2 {
    font-size: 1.5rem;
    margin: 20px 0;
}

.service-list {
    list-style: none;
    padding: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-list li {
    margin-bottom: 8px;
    position: relative;
}

/* --- Process Timeline --- */
.process-section {
    padding-top: 80px;
    border-top: 1px solid var(--border);
}

.process-header h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 60px;
    letter-spacing: 0.2em;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    gap: 30px;
}

/* 邏輯導引橫線 */
/* .process-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
    z-index: 0;
} */

/* .process-item {
    position: relative;
    z-index: 1;
} */

.num-circle {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 25px;
    transition: 0.3s;
}

.process-item:hover .num-circle {
    background: var(--primary);
    color: #fff;
}

.process-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.process-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Process Section 自適應優化 --- */

.process-timeline {
    display: flex; /* 改用 flex 方便控制對齊 */
    justify-content: space-between;
    position: relative;
    gap: 30px;
}

/* 桌面版橫線 */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
    z-index: 0;
}

.process-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* 讓內容水平置中 */
    text-align: center;  /* 讓文字置中 */
    z-index: 1;
}

/* 手機版自適應 (Breakpoints: 768px) */
@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column; /* 轉為垂直排列 */
        align-items: center;
        gap: 50px; /* 增加步驟間的距離 */
    }

    /* 將橫線轉為垂直線 */
    .process-timeline::before {
        top: 0;
        bottom: 0;
        left: 50%; /* 置中線條 */
        width: 1px;
        height: 100%;
        transform: translateX(-50%);
    }

    .process-item {
        width: 100%;
        max-width: 300px; /* 限制文字寬度避免過散 */
    }

    .num-circle {
        margin-bottom: 15px; /* 縮減數字與標題距離 */
        background: #fff; /* 確保背景白色以遮擋線條 */
    }
    
    .process-item p {
        padding: 0 20px; /* 增加側邊間距，視覺更集中 */
    }
}

/* --- CTA --- */
.cta-box {
    text-align: center;
    background: var(--bg-b);
    padding: 168px 20px;
}
.cta-box h2 {
    color: var(--text-w);
}

.cta-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 45px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

.cta-btn:hover {
    opacity: 0.8;
}


/* RWD 適應 */
@media (max-width: 768px) {
    .process-timeline { grid-template-columns: 1fr; }
    .process-timeline::before { display: none; }
}