:root {
            --primary-color: #14b8a6;
            --primary-600: #0f766e;
            --primary-700: #115e59;
            --accent-color: #f59e0b;
            --ink: #102033;
            --muted: #64748b;
            --line: #dbe4ee;
            --background-color: #f4f8fb;
            --surface: rgba(255, 255, 255, 0.86);
            --surface-solid: #ffffff;
            --section-bg: #ffffff;
            --header-text: #102033;
            --secondary-color: #334155;
            --button-bg: #14b8a6;
            --button-text: #ffffff;
            --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
            --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
            --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.18);
            --radius-lg: 28px;
            --radius-md: 20px;
            --radius-sm: 14px;
            --max-width: 1180px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            color: var(--ink);
            background:
                radial-gradient(circle at top left, rgba(20, 184, 166, 0.18), transparent 30rem),
                radial-gradient(circle at 90% 12%, rgba(245, 158, 11, 0.14), transparent 24rem),
                linear-gradient(180deg, #f8fbff 0%, var(--background-color) 55%, #eef6f5 100%);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
            font-size: 16px;
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            background-image:
                linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
                linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
            background-size: 44px 44px;
            mask-image: linear-gradient(to bottom, black, transparent 72%);
            z-index: -1;
        }

        a {
            color: var(--primary-600);
            text-decoration: none;
            text-underline-offset: 4px;
        }

        a:hover {
            color: var(--primary-700);
            text-decoration: underline;
        }

        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        header {
            position: sticky;
            top: 0;
            z-index: 20;
            background: rgba(255, 255, 255, 0.82);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(148, 163, 184, 0.24);
            box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
        }

        .header-content {
            max-width: var(--max-width);
            margin: 0 auto;
            min-height: 82px;
            padding: 14px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 22px;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            color: var(--ink);
            min-width: 260px;
            text-decoration: none;
        }

        .brand:hover {
            color: var(--ink);
            text-decoration: none;
        }

        .brand-mark {
            width: 48px;
            height: 48px;
            display: inline-grid;
            place-items: center;
            flex: 0 0 48px;
            border-radius: 16px;
            color: #ffffff;
            font-weight: 800;
            letter-spacing: 0.03em;
            background: linear-gradient(135deg, var(--primary-color), #2563eb);
            box-shadow: 0 12px 24px rgba(20, 184, 166, 0.28);
        }

        .brand-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: 0.02em;
        }

        .brand-text small {
            color: var(--muted);
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.04em;
        }

        nav {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            flex-wrap: wrap;
            gap: 6px;
        }

        nav a {
            position: relative;
            display: inline-flex;
            align-items: center;
            min-height: 40px;
            padding: 8px 13px;
            border-radius: 999px;
            color: var(--secondary-color);
            font-size: 0.95rem;
            font-weight: 700;
            text-decoration: none;
            transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
        }

        nav a:hover,
        nav a.active {
            color: var(--primary-700);
            background-color: rgba(20, 184, 166, 0.11);
            text-decoration: none;
            transform: translateY(-1px);
        }

        .menu-toggle {
            display: none;
            width: 44px;
            height: 44px;
            border: 1px solid var(--line);
            border-radius: 14px;
            background: #ffffff;
            color: var(--ink);
            font-size: 1.4rem;
            cursor: pointer;
            box-shadow: var(--shadow-sm);
        }

        main {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 42px 24px 70px;
        }

        .page {
            display: none;
        }

        .page.active {
            display: block;
            animation: pageIn 0.32s ease both;
        }

        @keyframes pageIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        section.page {
            background: transparent;
            border-radius: 0;
            box-shadow: none;
            padding: 0;
            margin: 0;
        }

        section.page > h2,
        .content-section h3,
        .content-item h3,
        .news-category h3,
        .join-item h3,
        .benefit-item h3,
        .contact-info h3 {
            margin-top: 0;
            color: var(--ink);
            line-height: 1.25;
            letter-spacing: -0.02em;
        }

        section.page > h2 {
            margin: 0 0 24px;
            font-size: clamp(2rem, 3.6vw, 3.2rem);
        }

        section.page > h2::after,
        .content-section h3::after,
        .content-item h3::after,
        .news-category h3::after,
        .join-item h3::after,
        .benefit-item h3::after,
        .contact-info h3::after {
            content: "";
            display: block;
            width: 54px;
            height: 4px;
            margin-top: 12px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        }

        .hero-section {
            position: relative;
            isolation: isolate;
            overflow: hidden;
            min-height: 420px;
            display: grid;
            place-items: center;
            padding: clamp(56px, 8vw, 92px) clamp(24px, 6vw, 72px);
            margin-bottom: 30px;
            border-radius: var(--radius-lg);
            color: #ffffff;
            text-align: center;
            background:
                linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(37, 99, 235, 0.9)),
                radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.34), transparent 30rem);
            box-shadow: var(--shadow-lg);
        }

        .hero-section::before,
        .hero-section::after {
            content: "";
            position: absolute;
            border-radius: 999px;
            pointer-events: none;
            z-index: -1;
        }

        .hero-section::before {
            width: 240px;
            height: 240px;
            right: -72px;
            top: -72px;
            background: rgba(255, 255, 255, 0.16);
        }

        .hero-section::after {
            width: 320px;
            height: 320px;
            left: -150px;
            bottom: -150px;
            background: rgba(245, 158, 11, 0.22);
        }

        .hero-section h2 {
            max-width: 860px;
            margin: 0 auto 18px;
            color: #ffffff;
            font-size: clamp(2.2rem, 5vw, 4.6rem);
            line-height: 1.12;
            letter-spacing: -0.055em;
            border: 0;
        }

        .hero-section h2::after {
            display: none;
        }

        .hero-section p {
            max-width: 760px;
            margin: 0 auto 30px;
            color: rgba(255, 255, 255, 0.9);
            font-size: clamp(1.05rem, 2vw, 1.3rem);
        }

        .hero-section .line-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 12px 18px;
            min-height: 54px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .hero-section .line-btn:hover {
            transform: translateY(-3px);
            text-decoration: none;
            box-shadow: 0 22px 48px rgba(15, 23, 42, 0.3);
        }

        .hero-section .line-btn img {
            display: block;
            height: 36px;
        }

        .content-section,
        .content-item,
        .news-category,
        .join-item,
        .benefit-item {
            background: var(--surface);
            border: 1px solid rgba(226, 232, 240, 0.84);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            padding: clamp(22px, 3vw, 30px);
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .content-section {
            margin: 0 0 28px;
        }

        .content-item:hover,
        .news-category:hover,
        .join-item:hover,
        .benefit-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: rgba(20, 184, 166, 0.26);
        }

        .content-grid,
        .news-grid,
        .join-grid,
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
            gap: 20px;
        }

        .content-grid .content-item,
        .news-grid .news-category,
        .join-grid .join-item,
        .benefits-grid .benefit-item {
            min-width: 0;
        }

        .full-width {
            grid-column: 1 / -1;
        }

        .content-item h4,
        .news-item h4,
        .join-item h4,
        .benefit-subitem h4,
        .person-card h4 {
            margin: 0 0 10px;
            color: var(--ink);
            font-size: 1.05rem;
            line-height: 1.35;
        }

        .content-item p,
        .news-item p,
        .join-item p,
        .benefit-item p,
        .person-card p,
        .transportation li,
        .contact-info li {
            color: var(--secondary-color);
        }

        .content-item ul,
        .join-item ul,
        .join-item ol,
        .benefit-item ul,
        .transportation,
        .contact-info ul {
            padding-left: 1.25rem;
        }

        .content-item li,
        .join-item li,
        .benefit-item li {
            margin-bottom: 10px;
        }

        .person-card {
            position: relative;
            overflow: hidden;
            margin: 16px 0 0;
            padding: 18px;
            border: 1px solid rgba(20, 184, 166, 0.16);
            border-left: 5px solid var(--primary-color);
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(255, 255, 255, 0.74));
        }

        .work-plan {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            overflow: hidden;
            border-radius: 16px;
            border: 1px solid var(--line);
            background: #ffffff;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
        }

        .work-plan th,
        .work-plan td {
            padding: 14px 16px;
            text-align: left;
            border-bottom: 1px solid var(--line);
            vertical-align: top;
        }

        .work-plan th {
            color: #ffffff;
            background: linear-gradient(135deg, var(--primary-600), #2563eb);
            font-weight: 800;
        }

        .work-plan tr:nth-child(even) td {
            background: #f8fafc;
        }

        .work-plan tr:last-child td {
            border-bottom: 0;
        }

        .news-item {
            position: relative;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(226, 232, 240, 0.9);
        }

        .news-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: 0;
        }

        .news-date {
            display: inline-flex;
            align-items: center;
            margin-top: 10px;
            padding: 5px 10px;
            border-radius: 999px;
            color: var(--primary-700);
            background: rgba(20, 184, 166, 0.1);
            font-size: 0.86rem;
            font-weight: 700;
        }

        .download-list {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 16px 0 0;
            padding: 0;
        }

        .download-btn,
        .cta-btn,
        #modalContent button,
        #modalContent input[type="submit"] {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            padding: 10px 18px;
            border: 0;
            border-radius: 999px;
            color: #ffffff;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-600));
            box-shadow: 0 12px 24px rgba(20, 184, 166, 0.22);
            font-weight: 800;
            cursor: pointer;
            text-decoration: none;
            transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
        }

        .download-btn:hover,
        .cta-btn:hover,
        #modalContent button:hover {
            color: #ffffff;
            filter: saturate(1.05);
            transform: translateY(-2px);
            box-shadow: 0 16px 34px rgba(20, 184, 166, 0.3);
            text-decoration: none;
        }

        .image-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 12px;
            margin-top: 20px;
        }

        .image-gallery img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            border-radius: 16px;
            transition: transform 0.25s ease;
        }

        .image-gallery img:hover {
            transform: scale(1.035);
        }

        .contact-container {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 20px;
        }

        .contact-info {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .contact-info ul,
        .transportation {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .contact-info li,
        .transportation li {
            display: flex;
            gap: 10px;
            align-items: flex-start;
            margin-bottom: 13px;
        }

        .contact-info li span,
        .transportation li strong {
            color: var(--ink);
            font-weight: 800;
        }

        .contact-info i {
            display: inline-flex;
            width: 22px;
            min-width: 22px;
            color: var(--primary-600);
            margin-top: 4px;
        }

        .social-media,
        .social-icons,
        .social-icons-container {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 38px;
            padding: 8px 13px;
            border-radius: 999px;
            color: #ffffff !important;
            font-size: 0.92rem;
            font-weight: 800;
            text-decoration: none;
            box-shadow: var(--shadow-sm);
        }

        .social-icon:hover {
            text-decoration: none;
            transform: translateY(-1px);
        }

        .social-icon.facebook {
            background: #1877f2;
        }

        .social-icon.line {
            background: #06c755;
        }

        .map-container {
            margin-top: 24px;
            width: 100%;
            height: min(56vh, 460px);
            min-height: 320px;
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid rgba(226, 232, 240, 0.86);
            box-shadow: var(--shadow-md);
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }

        footer {
            margin-top: 40px;
            padding: 42px 24px;
            color: rgba(255, 255, 255, 0.86);
            text-align: center;
            background: linear-gradient(135deg, #0f172a, #115e59);
        }

        footer h3 {
            margin: 0 0 18px;
            color: #ffffff;
            font-size: 1.25rem;
        }

        .footer-services {
            max-width: var(--max-width);
            margin: 0 auto 22px;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            list-style: none;
        }

        .footer-services li {
            padding: 9px 14px;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
            color: #ffffff;
            cursor: pointer;
            transition: background-color 0.2s ease, transform 0.2s ease;
        }

        .footer-services li:hover {
            background: rgba(255, 255, 255, 0.18);
            transform: translateY(-2px);
        }

        footer p {
            margin: 0;
            color: rgba(255, 255, 255, 0.72);
            font-size: 0.92rem;
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 50;
            inset: 0;
            overflow: auto;
            padding: 24px;
            background: rgba(15, 23, 42, 0.52);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .modal-content {
            width: min(92vw, 620px);
            margin: min(14vh, 110px) auto;
            padding: 28px;
            border: 1px solid rgba(226, 232, 240, 0.9);
            border-radius: var(--radius-md);
            background: #ffffff;
            box-shadow: var(--shadow-lg);
        }

        .close {
            float: right;
            display: inline-grid;
            place-items: center;
            width: 38px;
            height: 38px;
            border-radius: 999px;
            color: var(--muted);
            background: #f1f5f9;
            font-size: 24px;
            font-weight: 800;
            line-height: 1;
            cursor: pointer;
        }

        .close:hover,
        .close:focus {
            color: var(--ink);
            background: #e2e8f0;
            text-decoration: none;
        }

        #modalContent form {
            display: grid;
            gap: 12px;
        }

        #modalContent input,
        #modalContent textarea,
        #modalContent select {
            width: 100%;
            padding: 12px 14px;
            border: 1px solid var(--line);
            border-radius: 14px;
            color: var(--ink);
            background: #ffffff;
            font: inherit;
        }

        #modalContent textarea {
            min-height: 128px;
            resize: vertical;
        }

        @media (max-width: 980px) {
            .header-content {
                align-items: flex-start;
            }

            .menu-toggle {
                display: inline-grid;
                place-items: center;
                margin-top: 4px;
            }

            nav {
                position: absolute;
                left: 16px;
                right: 16px;
                top: calc(100% + 8px);
                display: none;
                justify-content: flex-start;
                padding: 14px;
                border: 1px solid rgba(226, 232, 240, 0.9);
                border-radius: 20px;
                background: rgba(255, 255, 255, 0.96);
                box-shadow: var(--shadow-md);
            }

            nav.open {
                display: flex;
            }

            nav a {
                flex: 1 1 calc(50% - 8px);
                justify-content: center;
                background: #f8fafc;
            }
        }

        @media (max-width: 768px) {
            .header-content {
                min-height: 72px;
                padding: 12px 16px;
            }

            .brand {
                min-width: 0;
            }

            .brand-mark {
                width: 42px;
                height: 42px;
                flex-basis: 42px;
                border-radius: 14px;
                font-size: 0.9rem;
            }

            .brand-text {
                font-size: 0.96rem;
            }

            .brand-text small {
                display: none;
            }

            main {
                padding: 24px 16px 52px;
            }

            .hero-section {
                min-height: auto;
                border-radius: 22px;
            }

            .content-section,
            .content-item,
            .news-category,
            .join-item,
            .benefit-item {
                border-radius: 18px;
            }

            .work-plan {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }

            .footer-services {
                flex-direction: column;
                align-items: stretch;
            }

            .footer-services li {
                width: 100%;
            }
        }

        @media (max-width: 520px) {
            nav a {
                flex-basis: 100%;
            }

            .hero-section h2 {
                letter-spacing: -0.035em;
            }

            .download-list,
            .social-icons,
            .social-icons-container {
                flex-direction: column;
            }

            .download-btn,
            .cta-btn,
            .social-icon {
                width: 100%;
            }
        }

/* Dynamic content states */
.loading-card,
.error-card,
.empty-card {
    background: var(--surface);
    border: 1px solid rgba(226, 232, 240, 0.84);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: clamp(22px, 3vw, 30px);
    color: var(--secondary-color);
}

.loading-card i,
.error-card i,
.empty-card i {
    margin-right: 8px;
    color: var(--primary-600);
}

.error-card {
    border-color: rgba(220, 38, 38, 0.22);
}

.error-card i {
    color: #dc2626;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--primary-700);
    background: rgba(20, 184, 166, 0.1);
    font-size: 0.86rem;
    font-weight: 800;
}

.inline-link {
    font-weight: 800;
}

.link-list {
    margin: 0;
    padding-left: 1.25rem;
}

.link-list li {
    margin-bottom: 12px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-section .cta-btn {
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary-700);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
}

.hero-section .cta-btn:hover {
    color: var(--primary-700);
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.news-label {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    color: #92400e;
    background: rgba(245, 158, 11, 0.14);
    font-size: 0.84rem;
    font-weight: 800;
}

.contact-info li i.fa-fw {
    text-align: center;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 100;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}
