/* CSS Reset & Variables */
:root {
--primary: #1e3a8a;
--primary-light: #2563eb;
--accent: #f97316;
--dark: #0f172a;
--gray-dark: #334155;
--gray-light: #f8fafc;
--white: #ffffff;
--shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
    }

    body {
        background-color: var(--gray-light);
        color: var(--gray-dark);
        line-height: 1.6;
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* Navigation */
    nav {
        background-color: var(--white);
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        position: sticky;
        top: 0;
        z-index: 100;
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--primary);
        text-decoration: none; /* Add for link logo */
    }

    .nav-links {
        display: flex;
        gap: 1.5rem;
        list-style: none;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--gray-dark);
        font-weight: 500;
        transition: color 0.2s;
    }

    .nav-links a:hover {
        color: var(--primary-light);
    }

    .btn-nav {
        background-color: transparent;
        color: var(--accent);
        border: 2px solid var(--accent);
        padding: 0.4rem 1.25rem;
        border-radius: 9999px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.2s;
    }

    .btn-nav:hover {
        background-color: var(--accent);
        color: var(--white);
    }

    @media (max-width: 768px) {
        nav {
            padding: 0.75rem 1rem;
            padding-left: max(1rem, env(safe-area-inset-left, 0px));
            padding-right: max(1rem, env(safe-area-inset-right, 0px));
        }

        .logo {
            font-size: 1.1rem;
            max-width: 65%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .nav-links {
            display: none;
        }

        .btn-nav {
            padding: 0.5rem 1.1rem;
            font-size: 0.9rem;
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            flex-shrink: 0;
        }
    }

    /* Container */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
        padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
        color: var(--white);
        padding: 5rem 0;
        text-align: center;
    }

    .hero-badge {
        display: inline-block;
        background-color: rgba(249, 115, 22, 0.2);
        color: var(--accent);
        border: 1px solid var(--accent);
        padding: 0.25rem 1rem;
        border-radius: 9999px;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 5.5vw, 2.75rem);
        font-weight: 800;
        margin-bottom: 1rem;
        line-height: 1.25;
    }

    .hero p.slogan {
        font-size: clamp(1.05rem, 3.8vw, 1.35rem);
        color: #93c5fd;
        margin-bottom: 2rem;
        font-weight: 600;
    }

    html {
        scroll-behavior: smooth;
        text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%;
    }

    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-top: 3rem;
        flex-wrap: wrap;
    }

    .stat-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.25rem 2rem;
        border-radius: 12px;
        min-width: 180px;
    }

    .stat-num {
        font-size: 2rem;
        font-weight: 800;
        color: var(--accent);
    }
    
    .btn-hero {
        display: inline-block;
        background-color: var(--accent);
        color: var(--white);
        font-size: 1.2rem;
        font-weight: 700;
        padding: 1rem 2.5rem;
        border-radius: 9999px;
        text-decoration: none;
        margin-top: 2rem;
        transition: transform 0.2s, background-color 0.2s;
    }

    .btn-hero:hover {
        transform: translateY(-2px);
        background-color: #ea580c;
    }

    @media (max-width: 640px) {
        .hero {
            padding: 3.5rem 1rem 3rem 1rem;
        }
        .hero-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
            margin-top: 2rem;
        }
        .hero-stats .stat-item {
            min-width: unset;
            padding: 1rem 0.5rem;
        }
        .hero-stats .stat-item:last-child {
            grid-column: span 2;
        }
    }


    /* Section Commons */
    section {
        padding: 4.5rem 0;
    }

    .section-title {
        text-align: center;
        margin-bottom: 3rem;
    }

    .section-title h2 {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

    .section-title p {
        color: #64748b;
    }

    /* Pain Points Circles */
    .pain-circles-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2.5rem;
        margin-top: 1rem;
    }

    .pain-circle {
        background-color: var(--accent); /* 網頁既有橘色系 #f97316 */
        color: var(--white);
        width: 200px;
        height: 200px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 1.35rem;
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: 2px;
        box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.25);
        transition: transform 0.2s, background-color 0.2s;
    }

    .pain-circle:hover {
        transform: translateY(-3px);
        background-color: #ea580c; /* 網頁既有橘色 hover 色 */
    }

    @media (max-width: 1024px) {
        .pain-circles-container {
            gap: 1.5rem;
        }
        .pain-circle {
            width: 160px;
            height: 160px;
            font-size: 1.15rem;
        }
    }

    @media (max-width: 768px) {
        section {
            padding: 2.75rem 0;
        }
        .section-title {
            margin-bottom: 2rem;
        }
        .section-title h2 {
            font-size: 1.65rem;
        }
        .pain-circles-container {
            display: grid;
            grid-template-columns: repeat(2, auto);
            justify-content: center;
            gap: 1.25rem;
            margin-top: 1.5rem;
        }
        .pain-circle {
            width: 140px;
            height: 140px;
            font-size: 1.05rem;
            letter-spacing: 1px;
            line-height: 1.35;
            box-shadow: 0 6px 12px -2px rgba(249, 115, 22, 0.25);
        }
    }

    @media (max-width: 360px) {
        .pain-circles-container {
            gap: 0.75rem;
        }
        .pain-circle {
            width: 125px;
            height: 125px;
            font-size: 0.92rem;
            padding: 0.5rem; /* 增加防呆內距，防止文字超出幾何圓形邊界 */
        }
    }

    /* Modules Table / Timeline */
    .module-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .module-card {
        background: var(--white);
        border-radius: 12px;
        padding: 1.75rem;
        box-shadow: var(--shadow);
        display: grid;
        grid-template-columns: 160px 1fr; /* 將原本的 3 欄 (160px 1fr 240px) 改為 2 欄 */
        gap: 1.5rem;
        align-items: center;
    }

    .module-date {
        background-color: #eff6ff;
        padding: 1.15rem 0.6rem;
        border-radius: 10px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        border: 1px solid #dbeafe;
    }

    .date-day {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--primary);
        line-height: 1.25;
    }

    .date-theme {
        font-size: 0.88rem;
        font-weight: 600;
        color: #2563eb;
        line-height: 1.25;
        letter-spacing: 0.5px;
    }

    .module-content h3 {
        font-size: 1.25rem;
        color: var(--dark);
        margin-bottom: 0.5rem;
    }

    .module-content small {
        color: #64748b; /* Slate 500 次要藍灰色 (rgb(100, 116, 139)) */
        font-size: 0.88rem;
        display: inline-block;
        margin-top: 0.25rem;
    }

    @media (max-width: 900px) {
        .module-card {
            grid-template-columns: 1fr;
            padding: 1.25rem;
            gap: 1rem;
        }
        .module-date {
            padding: 0.75rem 1rem;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 0.75rem;
        }
        .date-day {
            font-size: 0.95rem;
        }
        .date-theme {
            font-size: 0.88rem;
        }
        .date-theme::before {
            content: "｜";
            opacity: 0.35;
            margin-right: 0.5rem;
        }
    }

    /* 移除 .module-deliverable 相關 CSS */

    /* Impact Section */
    .impact-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
        text-align: center;
    }

    .impact-card {
        background: var(--white);
        padding: 2rem;
        border-radius: 12px;
        box-shadow: var(--shadow);
    }

    .impact-num {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--primary-light);
        margin-bottom: 0.5rem;
    }

    @media (max-width: 480px) {
        .impact-grid {
            gap: 1rem;
        }
        .impact-card {
            padding: 1.5rem 1rem;
        }
        .impact-num {
            font-size: 2rem;
        }
    }

    /* Instructor Profiles */
    .instructor-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        gap: 1.5rem;
    }

    .instructor-card {
        background: var(--white);
        border-radius: 12px;
        padding: 2rem;
        box-shadow: var(--shadow);
    }

    .instructor-header {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--gray-light);
        padding-bottom: 0.75rem;
    }

    .instructor-name {
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--dark);
    }

    .instructor-exp {
        color: var(--accent);
        font-weight: 600;
        font-size: 0.9rem;
    }

    /* Footer Sticky CTA */
    .footer-cta {
        background: var(--dark);
        color: var(--white);
        text-align: center;
        padding: 3rem 1.5rem;
        padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
    }

    .btn-cta-large {
        display: inline-block;
        background-color: var(--accent);
        color: var(--white);
        font-size: 1.2rem;
        font-weight: 700;
        padding: 1rem 2.5rem;
        border-radius: 9999px;
        text-decoration: none;
        margin-top: 1.5rem;
        transition: transform 0.2s;
    }

    .btn-cta-large:hover {
        transform: translateY(-2px);
        background-color: #ea580c;
    }

    @media (max-width: 768px) {
        .footer-cta {
            padding: 2.5rem 1rem;
            padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
        }
        .footer-cta h2 {
            font-size: 1.65rem;
            line-height: 1.3;
        }
        .btn-cta-large {
            width: 100%;
            max-width: 320px;
            min-height: 48px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.15rem;
            padding: 0.9rem 1.5rem;
            box-sizing: border-box;
        }
    }
