body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: #24272D;
    color: #E8EAED;
    overflow-x: hidden;
}
.text-gold-gradient {
    background: linear-gradient(135deg, #A8833C 0%, #C8A96A 50%, #E3C98B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bg-gold-gradient {
    background: linear-gradient(135deg, #A8833C 0%, #C8A96A 50%, #E3C98B 100%);
}
.bg-hero-gradient {
    background: radial-gradient(circle at 50% 30%, rgba(200, 169, 106, 0.15) 0%, rgba(22, 35, 59, 0.95) 50%, #0E1423 100%);
}
.glass-panel {
    background: rgba(22, 35, 59, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(200, 169, 106, 0.25);
}
.case-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}
.case-scroll::-webkit-scrollbar {
    display: none;
}
.case-scroll.dragging {
    cursor: grabbing;
}
.case-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(168, 131, 60, 0.18);
    box-shadow: 0 18px 45px rgba(22, 35, 59, 0.06);
    scroll-snap-align: start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(22, 35, 59, 0.1);
}
.case-nav-btn {
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(200, 169, 106, 0.45);
    color: #16233B;
    transition: all 0.2s ease;
}
.case-nav-btn:hover {
    background: rgba(200, 169, 106, 0.18);
    border-color: rgba(200, 169, 106, 0.7);
}
@media (max-width: 640px) {
    body {
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }
    section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    #home {
        padding-top: 9.5rem !important;
    }
    h1 {
        font-size: clamp(2.5rem, 9vw, 4rem) !important;
        line-height: 1.08 !important;
    }
    h2 {
        font-size: clamp(1.8rem, 7vw, 2.6rem) !important;
        line-height: 1.2 !important;
    }
    h3 {
        font-size: clamp(1.7rem, 6.8vw, 2.4rem) !important;
        line-height: 1.25 !important;
    }
    .case-card {
        min-width: 82vw !important;
    }
    .case-card h5 {
        font-size: 1.1rem !important;
    }
    .field-input,
    .field-textarea {
        font-size: 1rem !important;
        padding-top: 0.9rem !important;
        padding-bottom: 0.9rem !important;
    }
    .mobile-floating-cta {
        display: flex !important;
    }
    a,
    button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

.mobile-floating-cta {
    display: none;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    z-index: 40;
    padding: 0.45rem;
    border-radius: 1rem;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(200, 169, 106, 0.18);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.24);
}
.mobile-floating-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.8rem 0.6rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-floating-cta a:active {
    transform: scale(0.98);
}
.mobile-floating-cta .cta-primary {
    background: #C8A96A;
    color: #16233B;
}
.mobile-floating-cta .cta-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #F8FAFC;
    border: 1px solid rgba(200, 169, 106, 0.18);
}

/* 企業體檢表單欄位樣式 */
.field-input,
.field-textarea {
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #E8EAED;
    color: #16233B;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.field-input::placeholder,
.field-textarea::placeholder {
    color: #8F96A3;
}
.field-input:focus,
.field-textarea:focus {
    outline: none;
    border-color: #C8A96A;
    box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.25);
}
.field-input:invalid:not(:placeholder-shown),
.field-textarea:invalid:not(:placeholder-shown) {
    border-color: #C0392B;
}
.field-error {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
    background-color: #fff5f5 !important;
}
.field-textarea {
    min-height: 140px;
    resize: vertical;
}
.field-unit-wrap {
    position: relative;
}
.field-unit-wrap .field-input {
    padding-left: 3.1rem;
}
.field-unit-tag {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #A8833C;
    pointer-events: none;
}
.field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #16233B;
    margin-bottom: 0.4rem;
}
.field-required::after {
    content: " *";
    color: #B23A2E;
}

/* 表單防機器人蜜罐欄位：對真人視覺隱藏，機器人常會自動填寫 */
.lc-hp-field {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 後台管理頁 */
.admin-tab-btn {
    color: #8A8F98;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 0.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.admin-tab-btn.active {
    color: #C8A96A;
    border-bottom-color: #C8A96A;
}
.admin-table {
    width: 100%;
    font-size: 0.8rem;
    border-collapse: collapse;
}
.admin-table th {
    background: #16233B;
    color: #E3C98B;
    text-align: left;
    padding: 0.6rem 0.75rem;
    white-space: nowrap;
}
.admin-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #E8EAED;
    vertical-align: top;
}
.admin-table tbody tr:hover {
    background: rgba(200, 169, 106, 0.08);
}
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 20, 35, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 60;
}
.admin-card {
    background: #FFFFFF;
    border: 1px solid rgba(168, 131, 60, 0.18);
    border-radius: 1rem;
    padding: 1.25rem;
}

/* 案例/文章載入中的骨架佔位 */
.lc-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 37%, rgba(255,255,255,0.06) 63%);
    background-size: 400% 100%;
    animation: lc-skeleton-loading 1.4s ease infinite;
}
@keyframes lc-skeleton-loading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}
