/*!
 * GD Kit · GGCB 全球綠認證機構 · 官網設計 (GD 綠白版)
 * Reference: gdcertified.com/service/ + 20260726_GD_SalesKit_線上版
 *
 * Scope: body.gd-kit  → 這個 stylesheet 只在 body 帶 gd-kit class 時生效
 * 舊 gd-home.css 仍保留給 /legacy 首頁使用；兩套並存不衝突。
 *
 * 元件命名前綴 .gdkit- 避免跟 Sneat / gd-home 撞名。
 * ─────────────────────────────────────────────────────
 */

/* ══════════ 1. Design Tokens ══════════ */
body.gd-kit {
    --gd-kit-green:  #79bd28;
    --gd-kit-green-h:#8bc93f;         /* hover 亮一階 */
    --gd-kit-deep:   #5A7D0A;         /* 減少使用比例 */
    --gd-kit-light:  #B0D84A;
    --gd-kit-pale:   #F0F7DC;
    --gd-kit-gold:   #C9A227;
    --gd-kit-warm:   #F6F4EE;

    /* v2.0 新增 · 天空藍 + 礦物灰藍 */
    --gd-kit-sky:      #4A90E2;
    --gd-kit-sky-pale: #EAF4FF;
    --gd-kit-mineral:  #1a1f2b;       /* Dark mode 底色（取代純黑）*/
    --gd-kit-mineral-2:#242a37;       /* Dark 卡片 */

    --gd-kit-ink:    #111;
    --gd-kit-ink-2:  #333;
    --gd-kit-muted:  #6b6b6b;
    --gd-kit-line:   #E4E3DE;
    --gd-kit-white:  #ffffff;
    --gd-kit-radius: 12px;
    --gd-kit-radius-sm: 8px;
    --gd-kit-shadow: 0 2px 24px rgba(30,50,20,0.06);
    --gd-kit-shadow-lift: 0 14px 44px rgba(30,50,20,0.13);
    --gd-kit-font-tc: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

/* ══════════ 1b. Dark Mode Tokens ══════════
   Sneat 有多種 dark 標記可能：[data-bs-theme=dark] 在 html / body，或 body 加 dark-style class。
   多寫幾個 selector 保底，還加 prefers-color-scheme 讓 OS 偏好也生效。
*/
html[data-bs-theme="dark"] body.gd-kit,
html[data-style="dark"] body.gd-kit,
body.gd-kit[data-bs-theme="dark"],
body.gd-kit.dark-style {
    /* v2.0 · 礦物灰藍取代純黑，避免大面積純黑背景 */
    --gd-kit-white:  #1a1f2b;
    --gd-kit-warm:   #242a37;
    --gd-kit-pale:   rgba(176, 216, 74, 0.10);
    --gd-kit-ink:    #eef1ea;
    --gd-kit-ink-2:  #cfd3ca;
    --gd-kit-muted:  #8f948a;
    --gd-kit-line:   #2a2e33;
    --gd-kit-green:  #8bc93f;
    --gd-kit-deep:   #b0d84a;
    --gd-kit-shadow: 0 2px 24px rgba(0,0,0,0.35);
    --gd-kit-shadow-lift: 0 14px 44px rgba(0,0,0,0.5);
}

/* html 背景一併吃深底，才不會 padding-top 區域露白 */
html[data-bs-theme="dark"],
html[data-style="dark"] {
    background: #16181d !important;
}
html[data-bs-theme="dark"] body.gd-kit,
html[data-style="dark"] body.gd-kit,
body.gd-kit[data-bs-theme="dark"],
body.gd-kit.dark-style {
    background: #16181d !important;
    color: #eef1ea !important;
}

/* Dark 下 hero 綠色 radial 減淡避免過飽 */
html[data-bs-theme="dark"] body.gd-kit .gdkit-hero,
body.gd-kit.dark-style .gdkit-hero {
    background:
      radial-gradient(ellipse at 20% 10%, rgba(139,201,63,.10), transparent 60%),
      radial-gradient(ellipse at 90% 40%, rgba(139,201,63,.06), transparent 60%),
      #16181d !important;
}

/* Section --pale / --warm 在 dark 底下也吃深底 */
html[data-bs-theme="dark"] body.gd-kit .gdkit-section--pale,
body.gd-kit.dark-style .gdkit-section--pale { background: #1c1f24 !important; }
html[data-bs-theme="dark"] body.gd-kit .gdkit-section--warm,
body.gd-kit.dark-style .gdkit-section--warm { background: #1a1d22 !important; }

/* 卡片類 dark 底 */
html[data-bs-theme="dark"] body.gd-kit .gdkit-stat,
html[data-bs-theme="dark"] body.gd-kit .gdkit-flow6__item,
html[data-bs-theme="dark"] body.gd-kit .gdkit-entry,
html[data-bs-theme="dark"] body.gd-kit .gdkit-card,
body.gd-kit.dark-style .gdkit-stat,
body.gd-kit.dark-style .gdkit-flow6__item,
body.gd-kit.dark-style .gdkit-entry,
body.gd-kit.dark-style .gdkit-card {
    background: #1c1f24 !important;
    border-color: #2a2e33 !important;
}

/* Dark 也一樣：外層透明 + 內層 pill 保持深色淡玻璃 */
html[data-bs-theme="dark"] body.gd-kit .layout-navbar,
html[data-bs-theme="dark"] body.gd-kit nav.layout-navbar,
body.gd-kit.dark-style .layout-navbar,
body.gd-kit.dark-style nav.layout-navbar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
html[data-bs-theme="dark"] body.gd-kit .landing-navbar,
html[data-bs-theme="dark"] body.gd-kit .navbar.landing-navbar,
body.gd-kit.dark-style .landing-navbar,
body.gd-kit.dark-style .navbar.landing-navbar {
    background: rgba(22, 24, 29, 0.55) !important;
    backdrop-filter: saturate(1.8) blur(20px) !important;
    -webkit-backdrop-filter: saturate(1.8) blur(20px) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html[data-bs-theme="dark"] body.gd-kit.navbar-active .landing-navbar,
html[data-bs-theme="dark"] body.gd-kit .landing-navbar.navbar-active,
html[data-bs-theme="dark"] body.gd-kit .navbar-active .landing-navbar,
body.gd-kit.dark-style.navbar-active .landing-navbar,
body.gd-kit.dark-style .landing-navbar.navbar-active,
body.gd-kit.dark-style .navbar-active .landing-navbar {
    background: rgba(22, 24, 29, 0.82) !important;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* 選單文字在 dark 強制反白 */
html[data-bs-theme="dark"] body.gd-kit .layout-navbar .nav-link,
html[data-bs-theme="dark"] body.gd-kit .landing-nav-menu .nav-link,
html[data-bs-theme="dark"] body.gd-kit .app-brand-link,
html[data-bs-theme="dark"] body.gd-kit .app-brand-link span,
body.gd-kit.dark-style .layout-navbar .nav-link,
body.gd-kit.dark-style .landing-nav-menu .nav-link {
    color: #eef1ea !important;
}
html[data-bs-theme="dark"] body.gd-kit .layout-navbar .nav-link:hover,
body.gd-kit.dark-style .layout-navbar .nav-link:hover {
    color: #b0d84a !important;
}

/* CTA banner 在 dark 稍微降飽和 */
html[data-bs-theme="dark"] body.gd-kit .gdkit-cta-banner,
body.gd-kit.dark-style .gdkit-cta-banner {
    background: linear-gradient(135deg, #5a8a1a 0%, #3a5e05 100%) !important;
}

/* Footer 在 dark 已經是深底，但這裡確保不會被 Sneat 覆蓋 */
html[data-bs-theme="dark"] body.gd-kit .landing-footer,
body.gd-kit.dark-style .landing-footer {
    background: #0d0f12 !important;
}

/* ══════════ 2. Base ══════════ */
body.gd-kit {
    font-family: var(--gd-kit-font-tc);
    color: var(--gd-kit-ink);
    background: var(--gd-kit-white);
    letter-spacing: 0.005em;
    transition: background-color .25s ease, color .25s ease;
    font-size: 17px;                   /* 全域基準拉大（原 16px 太小）*/
    line-height: 1.65;
}

/* Bootstrap .small 在 gd-kit 下拉大一階 */
body.gd-kit .small,
body.gd-kit small { font-size: .95rem !important; }

/* 段落 / 內文 */
body.gd-kit p { font-size: 1.02rem; line-height: 1.7; }

/* Boxicons 圖示放大：card / entry / stat 內的圖示自動拉到舒服的大小 */
body.gd-kit .gdkit-card [class^="bx-"],
body.gd-kit .gdkit-card [class*=" bx-"],
body.gd-kit .gdkit-entry [class^="bx-"],
body.gd-kit .gdkit-entry [class*=" bx-"],
body.gd-kit .gdkit-stat [class^="bx-"],
body.gd-kit .gdkit-stat [class*=" bx-"] {
    font-size: 2.6rem !important;
}

body.gd-kit h1, body.gd-kit h2, body.gd-kit h3, body.gd-kit h4, body.gd-kit h5 {
    font-family: var(--gd-kit-font-tc);
    color: var(--gd-kit-ink);
    font-weight: 700;
    letter-spacing: -0.01em;
}

body.gd-kit a { color: var(--gd-kit-deep); text-decoration: none; }
body.gd-kit a:hover { color: var(--gd-kit-green); }

/* ══════════ 3. Navbar 透明浮動 pill 風 ══════════
   Sneat 的 landing template：
     .layout-navbar (外層 <nav>)   ← 固定 fixed 定位，容器透明
     .landing-navbar (內層 pill)   ← 保留 Sneat 的 pill 形狀 (margin + border-radius)，只透明化背景
   捲動後 → pill 加淡玻璃（不是全寬）
*/
body.gd-kit .layout-navbar,
body.gd-kit nav.layout-navbar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1030;
}

/* 內層 pill：永遠保持淡玻璃感（Liquid Glass）*/
body.gd-kit .landing-navbar,
body.gd-kit .navbar.landing-navbar {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: saturate(1.8) blur(20px) !important;
    -webkit-backdrop-filter: saturate(1.8) blur(20px) !important;
    box-shadow: 0 4px 24px rgba(30, 50, 20, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

/* 捲動後 pill 稍微加深、更明顯（可讀性）*/
body.gd-kit.navbar-active .landing-navbar,
body.gd-kit .landing-navbar.navbar-active,
body.gd-kit .navbar-active .landing-navbar,
body.gd-kit .navbar.landing-navbar.navbar-active {
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 6px 28px rgba(30, 50, 20, 0.10) !important;
    border-color: rgba(228, 227, 222, 0.7) !important;
}

/* body 頂部不留 padding（navbar 已浮，Hero 自己會有 padding-top）*/
body.gd-kit { padding-top: 0; }

/* Hero 增加頂部空間讓 navbar 有透氣區 */
body.gd-kit .gdkit-hero { padding-top: 7rem; }
@media (max-width: 991px) { body.gd-kit .gdkit-hero { padding-top: 6rem; } }

body.gd-kit .layout-navbar .nav-link,
body.gd-kit .landing-nav-menu .nav-link {
    color: var(--gd-kit-ink) !important;
    font-weight: 500;
}
body.gd-kit .layout-navbar .nav-link:hover {
    color: var(--gd-kit-green) !important;
}

body.gd-kit .navbar.landing-navbar { padding-top: .5rem; padding-bottom: .5rem; }

/* Logo 品牌名縮短（xl 以下藏副標） */
body.gd-kit .app-brand-link span { font-size: .92rem; line-height: 1; }
@media (max-width: 1199px) {
    body.gd-kit .app-brand-link span.d-none.d-md-inline,
    body.gd-kit .app-brand-link span { display: none !important; }
}

/* CTA 按鈕（如 登入/註冊 / 申請認證）— 統一 nowrap 避免斷行 */
body.gd-kit .btn-primary,
body.gd-kit .btn-outline-primary {
    white-space: nowrap;
}
body.gd-kit .btn-primary {
    background: var(--gd-kit-green) !important;
    border-color: var(--gd-kit-green) !important;
    color: var(--gd-kit-white) !important;
    box-shadow: none !important;
    border-radius: 999px;
    font-weight: 600;
    padding: .55rem 1.2rem;
    line-height: 1.2;
}
body.gd-kit .btn-primary:hover,
body.gd-kit .btn-primary:focus {
    background: var(--gd-kit-green-h) !important;
    border-color: var(--gd-kit-green-h) !important;
}

/* Navbar 右側 toolbar 縮小間距，讓元件不擠 */
body.gd-kit .layout-navbar .navbar-nav .nav-item.dropdown { margin-right: .25rem; }
body.gd-kit .layout-navbar .dropdown-user .nav-link { padding: .25rem .5rem !important; }

/* 主題切換按鈕 focus / active 外框收乾淨 */
body.gd-kit .dropdown-style-switcher .nav-link,
body.gd-kit .dropdown-language .nav-link {
    border-radius: 999px;
    padding: .5rem .6rem !important;
}
body.gd-kit .dropdown-style-switcher .nav-link:focus,
body.gd-kit .dropdown-language .nav-link:focus,
body.gd-kit .dropdown-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
body.gd-kit .dropdown-style-switcher.show .nav-link,
body.gd-kit .dropdown-language.show .nav-link {
    background: var(--gd-kit-pale) !important;
}
/* dark 下 hover 用綠色淡背景 */
html[data-bs-theme="dark"] body.gd-kit .dropdown-style-switcher.show .nav-link,
html[data-bs-theme="dark"] body.gd-kit .dropdown-language.show .nav-link,
body.gd-kit.dark-style .dropdown-style-switcher.show .nav-link,
body.gd-kit.dark-style .dropdown-language.show .nav-link {
    background: rgba(139,201,63,.15) !important;
}

body.gd-kit .btn-outline-primary {
    color: var(--gd-kit-green) !important;
    border-color: var(--gd-kit-green) !important;
    border-radius: 999px;
}
body.gd-kit .btn-outline-primary:hover {
    background: var(--gd-kit-green) !important;
    color: var(--gd-kit-white) !important;
}

/* ══════════ 4. Kit 元件 ══════════ */

/* --- Section 基本間距 --- */
.gdkit-section { padding: 5rem 0; }
.gdkit-section--sm { padding: 3rem 0; }
.gdkit-section--pale { background: var(--gd-kit-pale); }
.gdkit-section--warm { background: var(--gd-kit-warm); }

.gdkit-eyebrow {
    display: inline-block;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--gd-kit-deep);
    text-transform: uppercase;
    padding: .45rem 1.1rem;
    background: var(--gd-kit-pale);
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.gdkit-section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}
.gdkit-section-title em {
    color: var(--gd-kit-green);
    font-style: normal;
}
.gdkit-section-sub {
    color: var(--gd-kit-muted);
    font-size: 1.2rem;
    line-height: 1.75;
    max-width: 820px;
    margin-bottom: 3rem;
}

/* Section 間距拉更大更呼吸 */
.gdkit-section { padding: 6rem 0; }
@media (max-width: 991px) { .gdkit-section { padding: 4rem 0; } }
.gdkit-section--sm { padding: 3.5rem 0; }

/* --- Hero (子頁通用) --- */
.gdkit-hero {
    position: relative;
    padding: 4rem 0 5rem;
    overflow: hidden;
    background:
      radial-gradient(ellipse at 20% 10%, rgba(176,216,74,.35), transparent 60%),
      radial-gradient(ellipse at 90% 40%, rgba(240,247,220,.9), transparent 60%),
      var(--gd-kit-white);
}
.gdkit-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 991px) {
    .gdkit-hero__grid { grid-template-columns: 1fr; text-align: center; }
}
.gdkit-hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.15;
    margin: 1rem 0 1.25rem;
}
.gdkit-hero__title em {
    color: var(--gd-kit-green);
    font-style: normal;
}
.gdkit-hero__lead {
    font-size: 1.15rem;
    color: var(--gd-kit-ink-2);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 560px;
}
@media (max-width: 991px) { .gdkit-hero__lead { margin-left: auto; margin-right: auto; } }
.gdkit-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 991px) { .gdkit-hero__ctas { justify-content: center; } }

.gdkit-hero__art {
    position: relative;
    text-align: center;
}
.gdkit-hero__art img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
.gdkit-hero__art--frame {
    border-radius: 24px;
    background: var(--gd-kit-pale);
    padding: 1.5rem;
    box-shadow: var(--gd-kit-shadow-lift);
}

/* Hero photo：大氣照片版（子頁用）*/
.gdkit-hero__photo {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--gd-kit-shadow-lift);
    aspect-ratio: 4 / 3;
    background: var(--gd-kit-pale);
}
.gdkit-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.gdkit-hero__photo:hover img { transform: scale(1.04); }
.gdkit-hero__photo::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.08) 100%);
    pointer-events: none;
}
@media (min-width: 992px) {
    .gdkit-hero__photo { aspect-ratio: auto; min-height: 460px; }
}

/* ═══════════ Hero Swiper（首頁專用，多版型輪播）═══════════ */
.gdkit-hero-swiper {
    width: 100%;
    height: clamp(560px, 78vh, 780px);
    position: relative;
    background: var(--gd-kit-pale);
}
.gdkit-hero-swiper .swiper-wrapper,
.gdkit-hero-swiper .swiper-slide { height: 100%; }
.gdkit-hero-swiper .swiper-slide { overflow: hidden; }

/* --- Slide 通用 --- */
.gdkit-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* --- Slide: image (大圖 + overlay) --- */
.gdkit-slide--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.gdkit-slide--image .gdkit-slide__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 100%);
    display: flex; align-items: center;
    width: 100%; height: 100%;
}
.gdkit-slide__content {
    max-width: 720px;
    color: #fff;
    padding-top: 4rem;   /* 避開固定 navbar */
}
.gdkit-slide__title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.12;
    font-weight: 800;
    margin: 1rem 0 1.25rem;
    color: #fff;
}
.gdkit-slide__title--dark { color: var(--gd-kit-ink) !important; }
.gdkit-slide__lead { font-size: 1.35rem; margin-bottom: .75rem; color: rgba(255,255,255,.95); }
.gdkit-slide__sub  { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.9); max-width: 620px; }

/* Eyebrow 深底版 */
.gdkit-eyebrow--onDark {
    background: rgba(255,255,255,.18) !important;
    color: #fff !important;
    backdrop-filter: blur(8px);
}

/* Ghost 按鈕深底版 */
.gdkit-btn--onDark {
    color: #fff !important;
    border-color: rgba(255,255,255,.55) !important;
}
.gdkit-btn--onDark:hover {
    background: rgba(255,255,255,.15) !important;
    color: #fff !important;
}

/* --- Slide: split（左文右圖）--- */
.gdkit-slide--split {
    background:
      radial-gradient(ellipse at 20% 10%, rgba(176,216,74,.35), transparent 60%),
      radial-gradient(ellipse at 90% 40%, rgba(240,247,220,.9), transparent 60%),
      var(--gd-kit-white);
}
.gdkit-slide__grid {
    height: 100%;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: center;
    padding-top: 4rem;
}
@media (max-width: 991px) {
    .gdkit-slide__grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; padding-top: 6rem; }
}
.gdkit-slide__art { text-align: center; }
.gdkit-slide__art img {
    max-width: 100%;
    max-height: 60vh;
    height: auto;
    display: inline-block;
    border-radius: 24px;
    box-shadow: var(--gd-kit-shadow-lift);
}

/* --- Slide: html 保底樣式 --- */
.gdkit-slide--html { padding-top: 4rem; padding-bottom: 2rem; }

/* --- Swiper 分頁 / 箭頭客製 --- */
.gdkit-hero-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,.55);
    opacity: 1;
    width: 10px; height: 10px;
    transition: all .25s ease;
}
.gdkit-hero-swiper .swiper-pagination-bullet-active {
    background: var(--gd-kit-green);
    width: 32px; border-radius: 5px;
}
/* split 底下 pagination 用深色點 */
.gdkit-hero-swiper .swiper-slide-active .gdkit-slide--split ~ .swiper-pagination,
.gdkit-hero-swiper:has(.gdkit-slide--split.swiper-slide-active) .swiper-pagination-bullet {
    background: rgba(90, 125, 10, .35);
}
.gdkit-hero-swiper:has(.gdkit-slide--split.swiper-slide-active) .swiper-pagination-bullet-active {
    background: var(--gd-kit-deep);
}

/* Dark mode 全變深 */
html[data-bs-theme="dark"] body.gd-kit .gdkit-hero-swiper,
body.gd-kit.dark-style .gdkit-hero-swiper { background: #1c1f24; }
html[data-bs-theme="dark"] body.gd-kit .gdkit-slide--split,
body.gd-kit.dark-style .gdkit-slide--split {
    background:
      radial-gradient(ellipse at 20% 10%, rgba(139,201,63,.12), transparent 60%),
      radial-gradient(ellipse at 90% 40%, rgba(139,201,63,.06), transparent 60%),
      #16181d;
}
html[data-bs-theme="dark"] body.gd-kit .gdkit-slide__title--dark,
body.gd-kit.dark-style .gdkit-slide__title--dark { color: #eef1ea !important; }

/* --- 6-step 流程條 --- */
.gdkit-flow6 {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    counter-reset: gdstep;
    position: relative;
}
@media (max-width: 991px) { .gdkit-flow6 { grid-template-columns: repeat(3, 1fr); row-gap: 1.75rem; } }
@media (max-width: 575px) { .gdkit-flow6 { grid-template-columns: repeat(2, 1fr); } }

.gdkit-flow6__item {
    position: relative;
    text-align: center;
    padding: 1.5rem 1rem 1.25rem;
    background: var(--gd-kit-white);
    border: 1px solid var(--gd-kit-line);
    border-radius: var(--gd-kit-radius);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gdkit-flow6__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--gd-kit-shadow);
    border-color: var(--gd-kit-green);
}
.gdkit-flow6__num {
    counter-increment: gdstep;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--gd-kit-green);
    color: var(--gd-kit-white);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(121, 189, 40, 0.35);
}
.gdkit-flow6__num::before { content: counter(gdstep, decimal-leading-zero); }
.gdkit-flow6__title { font-weight: 700; font-size: 1.15rem; margin: .35rem 0 .5rem; }
.gdkit-flow6__desc  { font-size: 1rem; color: var(--gd-kit-muted); line-height: 1.6; }

/* --- 統計數字塊 --- */
.gdkit-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
@media (max-width: 767px) { .gdkit-stats { grid-template-columns: repeat(2, 1fr); } }

.gdkit-stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--gd-kit-white);
    border: 1px solid var(--gd-kit-line);
    border-radius: var(--gd-kit-radius);
    transition: box-shadow .2s ease;
}
.gdkit-stat:hover { box-shadow: var(--gd-kit-shadow); }
.gdkit-stat__num {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gd-kit-green);
    line-height: 1;
    margin-bottom: .45rem;
}
.gdkit-stat__lbl { color: var(--gd-kit-muted); font-size: 1.05rem; font-weight: 500; }

/* --- 3 入口卡片 --- */
.gdkit-entries {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.gdkit-entries.gdkit-entries--2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1240px;
    gap: 2rem;
    margin-left: auto;
    margin-right: auto;
}
.gdkit-entries.gdkit-entries--2 .gdkit-entry__body { padding: 2.5rem; gap: .75rem; }
.gdkit-entries.gdkit-entries--2 .gdkit-entry__title { font-size: 1.7rem; }
.gdkit-entries.gdkit-entries--2 .gdkit-entry__lead  { font-size: 1.08rem; }
.gdkit-entries.gdkit-entries--2 .gdkit-entry__desc  { font-size: 1rem; line-height: 1.7; }
.gdkit-entries.gdkit-entries--2 .gdkit-entry__cta   { padding: .7rem 1.4rem; font-size: 1rem; }
@media (max-width: 991px) {
    .gdkit-entries,
    .gdkit-entries.gdkit-entries--2 { grid-template-columns: 1fr; }
}

.gdkit-entry {
    display: flex;
    flex-direction: column;
    background: var(--gd-kit-white);
    border: 1px solid var(--gd-kit-line);
    border-radius: var(--gd-kit-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--gd-kit-ink);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gdkit-entry:hover {
    transform: translateY(-6px);
    box-shadow: var(--gd-kit-shadow-lift);
    border-color: var(--gd-kit-green);
    color: var(--gd-kit-ink);
}
.gdkit-entry__eyebrow {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: .16em;
    color: var(--gd-kit-deep);
    background: var(--gd-kit-pale);
    padding: .3rem .7rem;
    border-radius: 999px;
    margin-bottom: .8rem;
    font-weight: 700;
}
.gdkit-entry__body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    flex-grow: 1;
}
.gdkit-entry__title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--gd-kit-ink);
    margin-bottom: .35rem;
}
.gdkit-entry__lead { color: var(--gd-kit-deep); font-weight: 600; font-size: 1.1rem; }
.gdkit-entry__desc { color: var(--gd-kit-muted); font-size: 1.02rem; line-height: 1.7; flex-grow: 1; }
.gdkit-entry__cta {
    align-self: flex-start;
    margin-top: 1.2rem;
    background: var(--gd-kit-green);
    color: var(--gd-kit-white);
    padding: .65rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    transition: background .2s ease;
}
.gdkit-entry:hover .gdkit-entry__cta { background: var(--gd-kit-deep); }

/* --- Baby 家族角色列 --- */
.gdkit-baby-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    text-align: center;
}
@media (max-width: 767px) { .gdkit-baby-strip { grid-template-columns: repeat(3, 1fr); } }
.gdkit-baby-strip__item img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    padding: 1rem;
    background: var(--gd-kit-pale);
    transition: transform .2s ease;
}
.gdkit-baby-strip__item:hover img { transform: scale(1.05); }
.gdkit-baby-strip__name {
    margin-top: .5rem;
    font-weight: 700;
    color: var(--gd-kit-ink);
}
.gdkit-baby-strip__role {
    font-size: .82rem;
    color: var(--gd-kit-muted);
}

/* ══════════ Icon Badge (大 icon 元件，色塊視覺主角) ══════════ */
.gdkit-ibadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: var(--gd-kit-pale);
    color: var(--gd-kit-deep);
    font-size: 3.4rem !important;
    flex-shrink: 0;
    transition: transform .25s ease;
}
.gdkit-ibadge--sm { width: 72px; height: 72px; border-radius: 18px; font-size: 2.4rem !important; }
.gdkit-ibadge--xl { width: 128px; height: 128px; border-radius: 32px; font-size: 4.4rem !important; }

/* 色塊變體：讓卡片依主題色分組 */
.gdkit-ibadge--green { background: var(--gd-kit-green);  color: #fff; }
.gdkit-ibadge--deep  { background: var(--gd-kit-deep);   color: #fff; }
.gdkit-ibadge--gold  { background: rgba(201,162,39,.15); color: #8a6d00; }
.gdkit-ibadge--warm  { background: var(--gd-kit-warm);   color: var(--gd-kit-deep); }
.gdkit-ibadge--sky   { background: #eaf4ff;              color: #1a72c7; }
.gdkit-ibadge--rose  { background: #fce9ee;              color: #b03a5b; }

/* Icon-first card: icon 大、字小、垂直排列 */
.gdkit-icard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: var(--gd-kit-white);
    border: 1px solid var(--gd-kit-line);
    border-radius: 16px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%;
}
.gdkit-icard:hover {
    transform: translateY(-6px);
    box-shadow: var(--gd-kit-shadow-lift);
    border-color: var(--gd-kit-green);
}
.gdkit-icard:hover .gdkit-ibadge { transform: rotate(-3deg) scale(1.05); }
.gdkit-icard__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gd-kit-ink);
    margin: 0;
}
.gdkit-icard__desc {
    font-size: 1rem;
    color: var(--gd-kit-muted);
    line-height: 1.65;
    margin: 0;
}

/* Icon-first card 置中版 */
.gdkit-icard--center { text-align: center; align-items: center; }

/* Dark */
html[data-bs-theme="dark"] body.gd-kit .gdkit-icard,
body.gd-kit.dark-style .gdkit-icard { background: #1c1f24 !important; border-color: #2a2e33 !important; }
html[data-bs-theme="dark"] body.gd-kit .gdkit-ibadge,
body.gd-kit.dark-style .gdkit-ibadge { background: rgba(139,201,63,.12); color: #b0d84a; }

/* --- 卡片 (通用) --- */
.gdkit-card {
    background: var(--gd-kit-white);
    border: 1px solid var(--gd-kit-line);
    border-radius: var(--gd-kit-radius);
    padding: 2rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gdkit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gd-kit-shadow);
    border-color: var(--gd-kit-green);
}
.gdkit-card--pale  { background: var(--gd-kit-pale);  border-color: transparent; }
.gdkit-card--warm  { background: var(--gd-kit-warm);  border-color: transparent; }
.gdkit-card--green { background: linear-gradient(135deg, var(--gd-kit-green) 0%, var(--gd-kit-deep) 100%); color: #fff; border-color: transparent; }
.gdkit-card--green * { color: inherit !important; }
.gdkit-card__title { font-weight: 800; font-size: 1.3rem; margin-bottom: .6rem; color: var(--gd-kit-ink); }

/* ══════════ Bento Grid（打破整齊的 5 卡列）══════════
   使用：<div class="gdkit-bento gdkit-bento--5"> ... 5 個 .gdkit-bento__item
   格子安排（≥lg）：
     ┌────────────┬──────┐
     │  item 1    │  #2  │
     │  (big)     ├──────┤
     │            │  #3  │
     ├──────┬─────┴──────┤
     │  #4  │     #5     │
     └──────┴────────────┘
*/
.gdkit-bento {
    display: grid;
    gap: 1.25rem;
}
.gdkit-bento__item {
    background: var(--gd-kit-white);
    border: 1px solid var(--gd-kit-line);
    border-radius: var(--gd-kit-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gdkit-bento__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--gd-kit-shadow);
    border-color: var(--gd-kit-green);
}
.gdkit-bento__item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gd-kit-green);
    opacity: 0;
    transition: opacity .25s ease;
}
.gdkit-bento__item:hover::before { opacity: 1; }
.gdkit-bento__item .gdkit-bento__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px; height: 88px;
    border-radius: 22px;
    background: var(--gd-kit-pale);
    color: var(--gd-kit-deep);
    font-size: 3.2rem !important;
    margin-bottom: .75rem;
    flex-shrink: 0;
}
.gdkit-bento__item .gdkit-bento__title {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--gd-kit-ink);
    margin: .25rem 0;
}
.gdkit-bento__item .gdkit-bento__desc {
    font-size: 1rem;
    color: var(--gd-kit-muted);
    line-height: 1.65;
    margin: 0;
}

/* variant modifiers */
.gdkit-bento__item--pale   { background: var(--gd-kit-pale);  border-color: transparent; }
.gdkit-bento__item--warm   { background: var(--gd-kit-warm);  border-color: transparent; }
.gdkit-bento__item--green  { background: linear-gradient(135deg, #79bd28 0%, #5A7D0A 100%); color: #fff; border-color: transparent; }
.gdkit-bento__item--green .gdkit-bento__title,
.gdkit-bento__item--green .gdkit-bento__desc { color: #fff; }
.gdkit-bento__item--green .gdkit-bento__desc { opacity: .9; }
.gdkit-bento__item--green .gdkit-bento__icon { background: rgba(255,255,255,.2); color: #fff; }

/* 5 卡 bento（大 1 + 小 4）*/
.gdkit-bento--5 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    grid-auto-flow: dense;
}
.gdkit-bento--5 .gdkit-bento__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}
.gdkit-bento--5 .gdkit-bento__item:nth-child(1) .gdkit-bento__icon { width: 88px; height: 88px; font-size: 3rem !important; border-radius: 22px; }
.gdkit-bento--5 .gdkit-bento__item:nth-child(1) .gdkit-bento__title { font-size: 2rem; }
.gdkit-bento--5 .gdkit-bento__item:nth-child(1) .gdkit-bento__desc  { font-size: 1.15rem; }

@media (max-width: 991px) {
    .gdkit-bento--5 { grid-template-columns: repeat(2, 1fr); }
    .gdkit-bento--5 .gdkit-bento__item:nth-child(1) { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 575px) {
    .gdkit-bento--5 { grid-template-columns: 1fr; }
    .gdkit-bento--5 .gdkit-bento__item:nth-child(1) { grid-column: auto; }
}

/* 6 卡 bento（2×3，但錯落）*/
.gdkit-bento--6 {
    grid-template-columns: repeat(3, 1fr);
}
.gdkit-bento--6 .gdkit-bento__item:nth-child(4) { grid-column: span 2; }
@media (max-width: 991px) {
    .gdkit-bento--6 { grid-template-columns: repeat(2, 1fr); }
    .gdkit-bento--6 .gdkit-bento__item:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 575px) {
    .gdkit-bento--6 { grid-template-columns: 1fr; }
    .gdkit-bento--6 .gdkit-bento__item:nth-child(4) { grid-column: auto; }
}

/* --- CTA 大按鈕 --- */
.gdkit-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .01em;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    border: 2px solid transparent;
    text-decoration: none;
}
.gdkit-btn:hover { transform: translateY(-2px); }
.gdkit-btn--primary {
    background: var(--gd-kit-green);
    color: var(--gd-kit-white);
}
.gdkit-btn--primary:hover { background: var(--gd-kit-deep); color: var(--gd-kit-white); }
.gdkit-btn--ghost {
    background: transparent;
    color: var(--gd-kit-deep);
    border-color: var(--gd-kit-green);
}
.gdkit-btn--ghost:hover { background: var(--gd-kit-pale); color: var(--gd-kit-deep); }

/* --- CTA banner (footer 之前) --- */
.gdkit-cta-banner {
    background: linear-gradient(135deg, var(--gd-kit-green) 0%, var(--gd-kit-deep) 100%);
    color: var(--gd-kit-white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.gdkit-cta-banner h2 { color: var(--gd-kit-white); font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.gdkit-cta-banner p { color: rgba(255,255,255,.9); font-size: 1.05rem; margin-bottom: 2rem; }
.gdkit-cta-banner .gdkit-btn--primary {
    background: var(--gd-kit-white);
    color: var(--gd-kit-deep);
}
.gdkit-cta-banner .gdkit-btn--primary:hover { background: var(--gd-kit-pale); color: var(--gd-kit-deep); }

/* --- Footer 樣式覆蓋 --- */
body.gd-kit .landing-footer {
    background: var(--gd-kit-ink) !important;
    color: rgba(255,255,255,.85);
}
body.gd-kit .landing-footer .footer-bg,
body.gd-kit .landing-footer img.banner-bg-img { display: none !important; }
body.gd-kit .landing-footer .footer-top { padding: 3.5rem 0 2.5rem; }
body.gd-kit .landing-footer .footer-title { color: var(--gd-kit-white); font-weight: 700; }
body.gd-kit .landing-footer .footer-link { color: rgba(255,255,255,.75); }
body.gd-kit .landing-footer .footer-link:hover { color: var(--gd-kit-light); }
body.gd-kit .landing-footer .footer-text { color: rgba(255,255,255,.75); }
body.gd-kit .landing-footer .footer-bottom { background: rgba(0,0,0,.25); }

/* ══════════ Modern FAQ (accordion) ══════════ */
.gdkit-faq { display: flex; flex-direction: column; gap: 1rem; }
.gdkit-faq__item {
    background: var(--gd-kit-white);
    border: 1px solid var(--gd-kit-line);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.gdkit-faq__item:hover {
    border-color: var(--gd-kit-green);
    box-shadow: var(--gd-kit-shadow);
    transform: translateY(-2px);
}
.gdkit-faq__q {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gd-kit-ink);
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
}
.gdkit-faq__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gd-kit-pale);
    color: var(--gd-kit-deep);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: .02em;
}
.gdkit-faq__q-text { flex-grow: 1; }
.gdkit-faq__chev {
    flex-shrink: 0;
    color: var(--gd-kit-muted);
    font-size: 1.4rem !important;
    transition: transform .3s ease;
}
.gdkit-faq__item[aria-expanded="true"] .gdkit-faq__chev,
.gdkit-faq__item.is-open .gdkit-faq__chev { transform: rotate(180deg); }
.gdkit-faq__item[aria-expanded="true"] .gdkit-faq__num,
.gdkit-faq__item.is-open .gdkit-faq__num {
    background: var(--gd-kit-green);
    color: #fff;
}
.gdkit-faq__a {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.75rem 0 4.5rem;
    color: var(--gd-kit-ink-2);
    font-size: 1.08rem;
    line-height: 1.8;
    transition: max-height .35s ease, padding-bottom .35s ease;
}
.gdkit-faq__item.is-open .gdkit-faq__a { max-height: 500px; padding-bottom: 1.5rem; }

/* Dark mode */
html[data-bs-theme="dark"] body.gd-kit .gdkit-faq__item,
body.gd-kit.dark-style .gdkit-faq__item {
    background: #1c1f24 !important;
    border-color: #2a2e33 !important;
}
html[data-bs-theme="dark"] body.gd-kit .gdkit-faq__num,
body.gd-kit.dark-style .gdkit-faq__num {
    background: rgba(139,201,63,.15);
    color: #b0d84a;
}

/* --- 微互動：淡入 --- */
@keyframes gdkitFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0);    }
}
.gdkit-reveal { animation: gdkitFadeUp .7s ease both; }
.gdkit-reveal--d1 { animation-delay: .12s; }
.gdkit-reveal--d2 { animation-delay: .24s; }
.gdkit-reveal--d3 { animation-delay: .36s; }
