/* 數字政策辦公?- 主樣式表 */
/* ================================ */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 香港政府網站配色 */
    --primary-color: #1a4680;
    --primary-dark: #0f2d52;
    --primary-light: #2d5aa0;
    --secondary-color: #00b14f;
    --accent-color: #e60012;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #dddddd;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", "Heiti TC", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Wrapper */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sr-only-focusable:focus,
.sr-only-focusable:active {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.btn--outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
}

/* ======================================== */
/* HEADER - 頁面頂部（Logo區域） */
/* ======================================== */
.page-head {
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.page-head__top-wrapper {
    background-color: var(--bg-white);
    padding: 3px 0;
    /* ̶߶ֹۯBręn׃LӶ */
    max-height: 120px;
    overflow: hidden;
    /* ݅^ scaleY ӮӰ푲 */
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: top center;
}

.page-head.scrolled .page-head__top-wrapper {
    transform: scaleY(0);
    opacity: 0;
}

/* ======================================== */
/* NAVIGATION - 粘性導航菜?*/
/* ======================================== */
.page-nav {
    background: var(--primary-color);
    width: 100%;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 4px var(--shadow-light);
}

.page-head__top {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Logo */
.page-logo {
    flex-shrink: 0;
}

.page-logo img {
    height: 74px;
    width: auto;
}

/* Accessibility & Share */
.page-head__nav {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.page-head__nav--accessibility {
    display: flex;
    gap: 5px;
}

.font-size-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.font-size-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.page-head__nav--share {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Language Switcher */
.page-head__lang {
    display: flex;
    gap: 10px;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.page-head__lang a {
    padding: 6px 12px;
    color: var(--text-medium);
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-head__lang a:hover {
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
}

.page-head__lang a.active {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Search */
.page-head__search {
    position: relative;
    display: flex;
    align-items: center;
}

.page-head__search-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    cursor: pointer;
    border-radius: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.search-box {
    display: flex;
    gap: 5px;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}

.search-box button {
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}


/* Navigation */
.page-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-nav__list {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.page-nav__item {
    position: relative;
}

.page-nav__item {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 0; /* S flex item sСС춃݌ */
}

.page-nav__item > a {
    display: block;
    padding: 15px 14px;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
    position: relative;
    white-space: nowrap; /* ֹ֓Q */
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-nav__item > a:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.page-nav__item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.page-nav__item:hover > a::after {
    width: 100%;
}

/* Dropdown */
.page-nav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-white);
    box-shadow: 0 4px 12px var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.page-nav__item:hover .page-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-nav__sub-list li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.page-nav__sub-list li a:hover {
    background: var(--primary-color);
    color: var(--text-light);
    padding-left: 25px;
}

/* ======================================== */
/* BANNER CARDS CAROUSEL - 橫向滾動卡片輪播 */
/* ======================================== */
.banner-cards-section {
    position: relative;
    width: 100%;
    padding: 50px 0 100px;
    overflow: hidden;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.banner-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.banner-cards__wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.banner-cards__track {
    display: flex;
    gap: 20px;
    padding: 50px 60px;
    animation: scrollCards 30s linear infinite;
    will-change: transform;
}

.banner-cards__track:hover {
    animation-play-state: paused;
}

@keyframes scrollCards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.banner-cards__item {
    flex-shrink: 0;
    width: 280px;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow-light);
    transition: all 0.3s ease;
}

.banner-cards__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.banner-cards__item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.banner-cards__image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.banner-cards__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-cards__item:hover .banner-cards__image img {
    transform: scale(1.05);
}

.banner-cards__content {
    padding: 16px;
}

.banner-cards__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.banner-cards__desc {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Carousel Navigation Buttons */
.banner-cards__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.banner-cards__nav:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.banner-cards__nav--prev {
    left: 15px;
}

.banner-cards__nav--next {
    right: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .banner-cards__track {
        gap: 15px;
        padding: 10px 50px;
    }
    
    .banner-cards__item {
        width: 240px;
    }
    
    .banner-cards__image {
        height: 140px;
    }
    
    .banner-cards__nav {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    
    .banner-cards__nav--prev {
        left: 8px;
    }
    
    .banner-cards__nav--next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .banner-cards__track {
        gap: 12px;
        padding: 10px 45px;
    }
    
    .banner-cards__item {
        width: 200px;
    }
    
    .banner-cards__image {
        height: 120px;
    }
    
    .banner-cards__content {
        padding: 12px;
    }
    
    .banner-cards__title {
        font-size: 14px;
    }
    
    .banner-cards__desc {
        font-size: 12px;
    }
}

/* ======================================== */
/* HIGHLIGHT CARDS - 聚焦卡片 */
/* ======================================== */
.section-highlight {
    padding: 40px 0;
    background-color: var(--bg-white);
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.highlight-cards__item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.highlight-cards__item a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.highlight-cards__icon-box {
    font-size: 48px;
    margin-bottom: 16px;
}

.highlight-cards__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.highlight-cards__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.highlight-cards__item a:hover .highlight-cards__title,
.highlight-cards__item a:hover .highlight-cards__desc {
    color: var(--text-light);
}

.highlight-cards__desc {
    font-size: 13px;
    color: var(--text-medium);
}

/* ======================================== */
/* VISION SECTION - 願景區?*/
/* ======================================== */
.section-vision {
    padding: 80px 0;
    position: relative;
}

.section-vision--primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
}

.section-vision__inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-vision__content {
    max-width: 800px;
    text-align: center;
}

.section-vision__content-inner {
    padding: 20px;
}

.section-vision__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

.section-vision__desc {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.95;
}

.section-vision__cta .btn {
    background-color: var(--secondary-color);
    font-size: 16px;
    padding: 14px 32px;
}

.section-vision__cta .btn:hover { 
    background-color: #009144;
}

/* ======================================== */
/* STATS BAR - 統計數據色塊 */
/* ======================================== */
.stats-bar-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding: 0 20px;
}

.stats-bar-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    bottom: 0;
    background: rgba(245, 245, 245, 0.85);
    z-index: -1;
}

.stats-bar {
    display: flex;
    background: linear-gradient(90deg, #e85d4c 0%, #d94e8f 50%, #a855c7 100%);
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    justify-content: space-around;
    align-items: center;
}

.stats-bar__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-bar__item:last-child {
    border-right: none;
}

.stats-bar__icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stats-bar__number-wrapper {
    height: 38px;
    overflow: hidden;
    /* Ğ block׌ scroll 픲_ʼtranslateY(0) = 0 */
    display: block;
    margin-bottom: 4px;
}

.stats-bar__number-scroll {
    display: flex;
    flex-direction: column;
    will-change: transform;
    /* transform  JS ȫƣO transition */
}

.stats-bar__digit {
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stats-bar__label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-bar-section {
        margin-top: -30px;
        padding: 0 15px;
    }

    .stats-bar {
        flex-wrap: wrap;
        padding: 20px;
        gap: 15px;
    }

    .stats-bar__item {
        flex: 1 1 40%;
        border-right: none;
        padding: 10px;
        justify-content: center;
    }

    .stats-bar__number {
        font-size: 24px;
    }

    .stats-bar__label {
        font-size: 12px;
    }
}

/* ======================================== */
/* STATS DESC - 統計說明文字 */
/* ======================================== */
.stats-desc-section {
    padding: 10px 0 0 0;
    background: rgba(245, 245, 245, 0.85);
}

.stats-desc-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
   /* padding: 0 20px 40px;*/
}

.stats-desc-left {
    flex: 1;
}

.stats-desc-text {
    font-size: 15px;
    line-height: 2;
    color: var(--text-dark);
    text-align: left;
}

.stats-desc-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end; /* w */
}

.stats-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 30px;
    width: 20em; /* s20֌ */
}

.stats-features-list li {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dark);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-desc-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .stats-desc-right {
        flex: 1;
    }

    .stats-desc-text {
        font-size: 14px;
    }

    .stats-features-list li {
        font-size: 13px;
    }
}

/* ======================================== */
/* SERVICE CARDS - 常用服務色塊 */
/* ======================================== */
.section-service-cards {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    padding: 40px 35px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(26, 70, 128, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 70, 128, 0.4);
}

.service-card__watermark {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    opacity: 0.15;
    pointer-events: none;
    line-height: 1;
}

.service-card__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.service-card__list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-card__list li {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.service-card__list li a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.service-card__list li a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.service-card__more {
    display: inline-block;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card__more:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .service-card__watermark {
        font-size: 60px;
    }

    .service-card__title {
        font-size: 20px;
    }

    .service-card__list li {
        font-size: 14px;
    }
}

/* ======================================== */
/* SCENE SERVICES - 便民利企場景服務 */
/* ======================================== */
.section-scene-services {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.scene-services-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.scene-services-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #e85d4c 0%, #d94e8f 100%);
    border-radius: 4px;
    display: inline-block;
}

.scene-services-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.scene-services-arrow {
    font-size: 20px;
    color: var(--text-dark);
    margin-left: 8px;
}

.scene-services-wrapper {
    overflow: hidden;
}

.scene-services-grid {
    display: flex;
    gap: 8px;
    transition: all 0.4s ease;
}

.scene-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    flex: 1 1 0;
    min-width: 0;
}

/* Collapsed state */
.scene-card__collapsed {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.scene-card__number {
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.scene-card--enterprise .scene-card__number {
    color: var(--primary-color);
    opacity: 0.3;
}

.scene-card__collapsed .scene-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.scene-card--enterprise .scene-card__collapsed .scene-card__title {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.scene-card__brief {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.scene-card--enterprise .scene-card__brief {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Expanded state */
.scene-card__expanded {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.scene-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.scene-card__header .scene-card__number {
    font-size: 36px;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.scene-card__header .scene-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.scene-card--enterprise .scene-card__header .scene-card__title {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.scene-card__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scene-card__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.scene-card--enterprise .scene-card__item {
    background: rgba(255, 255, 255, 0.15);
}

.scene-card__item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.scene-card--enterprise .scene-card__item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.scene-card__item-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.scene-card__item-text {
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.scene-card--enterprise .scene-card__item-text {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.scene-card__more {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.scene-card__more:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.scene-card--enterprise .scene-card__more {
    color: rgba(255, 255, 255, 0.9);
}

/* Tabs for enterprise card */
.scene-card__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.scene-card__tab {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scene-card__tab.active {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.scene-card--enterprise .scene-card__tab {
    background: rgba(26, 70, 128, 0.1);
    border-color: rgba(26, 70, 128, 0.2);
    color: var(--primary-color);
}

.scene-card--enterprise .scene-card__tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.scene-card__tab-content {
    display: none;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.scene-card__tab-content.active {
    display: flex;
}

.scene-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 8px;
    width: fit-content;
}

/* Card color variants with background images */
.scene-card--transport {
    background: linear-gradient(135deg, rgba(26, 70, 128, 0.85) 0%, rgba(45, 90, 160, 0.85) 100%),
                url('https://images.unsplash.com/photo-1494515843206-f3117d3f51b7?w=800&q=80') center/cover no-repeat;
}

.scene-card--employment {
    background: linear-gradient(135deg, rgba(200, 74, 74, 0.85) 0%, rgba(217, 78, 143, 0.85) 100%),
                url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=800&q=80') center/cover no-repeat;
}

.scene-card--housing {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.85) 0%, rgba(38, 70, 83, 0.85) 100%),
                url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=800&q=80') center/cover no-repeat;
}

.scene-card--elderly {
    background: linear-gradient(135deg, rgba(231, 111, 81, 0.85) 0%, rgba(244, 162, 97, 0.85) 100%),
                url('https://images.unsplash.com/photo-1447069387593-a5de0862481e?w=800&q=80') center/cover no-repeat;
}

.scene-card--enterprise {
    background: linear-gradient(135deg, rgba(106, 76, 147, 0.9) 0%, rgba(155, 89, 182, 0.9) 100%),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=800&q=80') center/cover no-repeat;
    border: none;
}

/* Active/Expanded state */
.scene-card.active {
    flex: 3 1 0;
}

.scene-card.active .scene-card__collapsed {
    opacity: 0;
    visibility: hidden;
}

.scene-card.active .scene-card__expanded {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 1024px) {
    .scene-card {
        flex: 1 1 0;
        min-width: 0;
        min-height: 320px;
    }
    
    .scene-card.active {
        flex: 3 1 0;
    }
}

@media (max-width: 768px) {
    .scene-services-grid {
        flex-wrap: wrap;
    }
    
    .scene-card {
        flex: 0 0 calc(50% - 4px);
        min-height: 280px;
    }
    
    .scene-card.active {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .scene-card {
        flex: 0 0 100%;
    }
}

/* ======================================== */
/* GOVERNMENT SERVICES MAP - 政务地图 */
/* ======================================== */
.section-gov-map {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.gov-map-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.gov-map-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #1a4680 0%, #2d5aa0 100%);
    border-radius: 4px;
    display: inline-block;
}

.gov-map-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.gov-map-arrow {
    font-size: 20px;
    color: var(--text-dark);
    margin-left: 8px;
}

.gov-map-content {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gov-map-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.gov-map-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.gov-map-tab {
    padding: 8px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gov-map-tab:hover {
    background: rgba(26, 70, 128, 0.08);
    border-color: var(--primary-color);
}

.gov-map-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.gov-map-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gov-map-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gov-map-list-item:hover,
.gov-map-list-item.active {
    background: rgba(26, 70, 128, 0.08);
    transform: translateX(5px);
}

.gov-map-list-marker {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.gov-map-list-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.gov-map-list-info p {
    font-size: 13px;
    color: var(--text-medium);
    margin: 0;
}

.gov-map-area {
    flex: 1;
    min-width: 0;
}

.tencent-map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-image: url('../skin/images/map-box-bg.c8014bfe.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 地图标记样式（用于自定义覆盖物） */
.map-info-window {
    padding: 12px 16px;
    min-width: 200px;
}

.map-info-window h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.map-info-window p {
    font-size: 13px;
    color: var(--text-medium);
    margin: 0;
}

/* 自定义标?*/
.custom-marker {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.custom-marker::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary-color);
}

/* 地图编号标记样式 */
.marker-number {
    width: 22px;
    height: 22px;
    background: #e60012;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .gov-map-content {
        flex-direction: column;
    }
    
    .gov-map-sidebar {
        width: 100%;
    }
    
    .gov-map-tabs {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-gov-map {
        padding: 40px 0;
    }
    
    .gov-map-image-wrapper {
        min-height: 300px;
    }
    
    .gov-map-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .gov-map-list {
        grid-template-columns: 1fr;
    }
}

/* ======================================== */
/* GOVERNMENT SERVICES - 政府资讯及服?*/
/* ======================================== */
.section-gov-services {
    padding: 60px 0;
    background: #fff;
}

.gov-services-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.gov-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.gov-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gov-service-item:hover {
    transform: translateY(-4px);
}

.gov-service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
}

.gov-service-icon svg {
    width: 100%;
    height: 100%;
}

.gov-service-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.4;
}

@media (max-width: 992px) {
    .gov-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .section-gov-services {
        padding: 40px 0;
    }
    
    .gov-services-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .gov-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 15px;
    }
    
    .gov-service-icon {
        width: 50px;
        height: 50px;
    }
    
    .gov-service-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .gov-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ======================================== */
/* INITIATIVES LIST - 主要措施列表 */
/* ======================================== */
.section-initiatives {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.section-initiatives__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.initiatives-list {
    max-width: 900px;
    margin: 0 auto;
}

.initiatives-list__item {
    border-bottom: 1px solid var(--border-color);
}

.initiatives-list__item:first-child {
    border-top: 1px solid var(--border-color);
}

.initiatives-list__item a {
    display: flex;
    align-items: center;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.initiatives-list__item a:hover {
    padding-left: 10px;
    text-decoration: none;
}

.initiatives-list__icon {
    font-size: 28px;
    margin-right: 16px;
    flex-shrink: 0;
}

.initiatives-list__text {
    flex: 1;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
}

.initiatives-list__item a:hover .initiatives-list__text {
    color: var(--primary-color);
}

.initiatives-list__arrow {
    font-size: 24px;
    color: var(--primary-color);
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.initiatives-list__item a:hover .initiatives-list__arrow {
    transform: translateX(5px);
}

/* ======================================== */
/* FOOTER - 頁尾 */
/* ======================================== */
.page-foot {
    background-color: var(--primary-dark);
    color: var(--text-light);
    margin-top: auto;
}

.page-foot a {
    color: var(--text-light);
    opacity: 0.9;
}

.page-foot a:hover {
    opacity: 1;
    text-decoration: underline;
}

.page-foot__top {
    padding: 50px 0 40px;
}

.page-foot__top-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.page-foot__col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-foot__col p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.page-foot__col ul li {
    margin-bottom: 10px;
}

.page-foot__col ul li a {
    font-size: 14px;
}

.page-foot__logos {
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-foot__logos img {
    height: 60px;
    width: auto;
    margin: 0 auto;
}

.page-foot__btm {
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.page-foot__btm ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.page-foot__btm ul li a {
    font-size: 13px;
}

.page-foot__btm p {
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
}

/* ======================================== */
/* RESPONSIVE DESIGN - 響應式設?*/
/* ======================================== */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .highlight-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .keyvisual {
        height: 400px;
    }

    .keyvisual__title {
        font-size: 32px;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .page-nav__item > a {
        padding: 15px 15px;
        font-size: 14px;
    }

    .page-head__top {
        gap: 15px;
    }

    .page-head__nav--accessibility,
    .page-head__nav--share {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }

    .page-head__nav--accessibility,
    .page-head__nav--share {
        display: none;
    }

    .search-box {
        display: none;
    }

    .page-head__search-btn {
        display: block;
    }

    .page-head__nav-btn {
        display: flex;
    }

    /* Mobile Navigation */
    .page-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 80vh;
        overflow-y: auto;
    }

    .page-nav.active {
        display: block;
    }

    .page-nav .container {
        padding: 0;
    }

    .page-nav__list {
        flex-direction: column;
    }

    .page-nav__item {
        flex: none;
        text-align: left;
    }

    .page-nav__item > a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .page-nav__item > a::after {
        display: none;
    }

    .page-nav__sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
    }

    .page-nav__sub-list li a {
        padding: 12px 30px;
        color: var(--text-light);
    }

    .page-nav__sub-list li a:hover {
        background-color: rgba(0, 0, 0, 0.3);
        color: var(--text-light);
    }

    .keyvisual {
        height: 300px;
    }

    .keyvisual__title {
        font-size: 24px;
    }

    .keyvisual__subtitle {
        font-size: 16px;
    }

    .keyvisual__content {
        bottom: 40px;
    }

    .highlight-cards {
        grid-template-columns: 1fr;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;
    }

    .section-vision {
        padding: 50px 0;
    }

    .section-vision__title {
        font-size: 28px;
    }

    .section-vision__desc {
        font-size: 16px;
    }

    .page-foot__top-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-foot__logos img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-head__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-head__lang {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 10px;
        margin-top: 10px;
        width: 100%;
    }

    .page-nav__item > a {
        padding: 12px 15px;
        font-size: 14px;
    }

    .page-logo img {
        height: 40px;
    }

    .page-logo img {
        height: 40px;
    }

    .highlight-cards__item a {
        padding: 24px 16px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .service-card__watermark {
        font-size: 60px;
    }

    .service-card__title {
        font-size: 20px;
    }

    .service-card__list li {
        font-size: 14px;
    }

    .initiatives-list__text {
        font-size: 15px;
    }

    .keyvisual__nav {
        width: 40px;
        height: 40px;
    }

    .keyvisual__nav::before {
        width: 8px;
        height: 8px;
    }
}

/* ======================================== */
/* ANIMATIONS - 動畫效果 */
/* ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Banner Auto-play Animation */
@keyframes slideIn {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    40% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Hover effects */
.page-nav__item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.page-nav__item > a:hover::after {
    width: 100%;
}

/* ======================================== */
/* WIDESCREEN - mŴ1400px ϣ */
/* ======================================== */
@media (min-width: 1400px) {
    /* SΞĻȰUɵ 1800px */
    .container {
        max-width: min(1200px + ((100vw - 1400px) * 0.4), 1800px);
    }

    /* Logo ^Ŵ */
    .page-logo img {
        height: clamp(74px, 5.2vw, 96px);
    }

    /* ڣwŴ󣬌ҲŴ */
    .page-nav__list {
        justify-content: space-evenly; /* ցѣÿ헫@õȌ */
    }

    .page-nav__item {
        flex: 0 1 auto; /* ƏM+ÿg */
        min-width: clamp(60px, 8vw, 140px); /* ÿСSΞĻŴ */
    }

    .page-nav__item > a {
        font-size: clamp(15px, 1.05vw, 18px);
        padding: 16px clamp(12px, 1.2vw, 24px);
        white-space: nowrap;
    }

    /* yӋwŴ */
    .stats-bar {
        padding: clamp(20px, 2.2vw,  0px) clamp(40px, 3.2vw, 70px);
        border-radius: clamp(12px, 0.85vw, 16px);
    }

    .stats-bar__icon {
        width: clamp(40px, 2.8vw, 56px);
        height: clamp(40px, 2.8vw, 56px);
        font-size: clamp(20px, 1.4vw, 28px);
        border-radius: clamp(8px, 0.55vw, 12px);
    }

    .stats-bar__number-wrapper {
        height: clamp(38px, 2.6vw, 52px);
    }

    .stats-bar__digit {
        height: clamp(38px, 2.6vw, 52px);
        font-size: clamp(32px, 2.2vw, 48px);
    }

    .stats-bar__label {
        font-size: clamp(14px, 0.95vw, 17px);
    }

    .stats-bar__item {
        gap: clamp(12px, 0.9vw, 16px);
        padding: 0 clamp(20px, 1.6vw, 32px);
    }

    /* yӋf^Ŵ */
    .stats-desc-wrapper {
        max-width: min(1200px + ((100vw - 1400px) * 0.4), 1800px);
        gap: clamp(60px, 4.3vw, 90px);
    }

    .stats-desc-text {
        font-size: clamp(15px, 1.05vw, 18px);
        line-height: 2.2;
    }

    .stats-features-list li {
        font-size: clamp(13px, 0.92vw, 16px);
        
    }

    /* Service ƬŴ */
    .service-cards-grid {
        gap: clamp(30px, 2.1vw, 45px);
    }

    .section-title {
        font-size: clamp(28px, 2vw, 38px);
    }

    /* Footer Ŵ */
    .page-foot__top {
        padding: clamp(50px, 3.5vw, 70px) 0 clamp(40px, 2.8vw, 55px);
    }

    .page-foot__top-inner {
        gap: clamp(40px, 2.8vw, 60px);
    }

    .page-foot__col h3 {
        font-size: clamp(18px, 1.28vw, 24px);
        margin-bottom: clamp(20px, 1.4vw, 28px);
    }

    .page-foot__col p,
    .page-foot__col ul li a {
        font-size: clamp(14px, 1vw, 17px);
    }

    /* վWŴ */
    .gov-services-grid {
        max-width: min(1100px + ((100vw - 1400px) * 0.35), 1600px);
        gap: clamp(30px, 2vw, 40px) clamp(20px, 1.4vw, 28px);
    }

    .gov-services-title {
        font-size: clamp(28px, 2vw, 38px);
    }

    .gov-service-icon {
        width: clamp(60px, 4.2vw, 80px);
        height: clamp(60px, 4.2vw, 80px);
    }

    .gov-service-text {
        font-size: clamp(14px, 1vw, 17px);
    }
}

/* 2000px+iֵ */
@media (min-width: 2000px) {
    .container {
        max-width: 1800px;
    }
}

/* ================================ */
/* ݄ӮM         */
/* ʹ÷ʽ .bubble-bgһ #bubbleBg  div  */
/* { JS: createBubbleAnimation('bubbleBg', { count: 40 }) */
/* ================================ */

.bubble-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -120%;
    border-radius: 50%;
    opacity: 0;
    animation: bubbleRise linear infinite;
}

@keyframes bubbleRise {
    0% {
        bottom: -20%;
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.6);
    }
    15% {
        opacity: 0.55;
    }
    50% {
        transform: translateY(-40vh) translateX(var(--drift, 0px)) scale(1);
    }
    85% {
        opacity: 0.3;
    }
    100% {
        bottom: 115%;
        opacity: 0;
        transform: translateY(-100vh) translateX(calc(var(--drift, 0px) * 0.5)) scale(1.1);
    }
}

