body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 保持淺橘色漸層背景 */
    background: radial-gradient(circle at 50% 50%, #fff7ed 0%, #ffedd5 var(--p1, 40%), #fff var(--p2, 70%));
    z-index: -1;
    animation: pulseGradient 15s ease-in-out infinite;
    opacity: 0.7;
}
@keyframes pulseGradient {
    0% { --p1: 40%; --p2: 70%; }
    50% { --p1: 50%; --p2: 80%; }
    100% { --p1: 40%; --p2: 70%; }
}
html {
    scroll-behavior: smooth;
}
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.fade-in {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}
.fade-in.is-in-view {
    opacity: 1;
    transform: translateY(0);
}

.badge { display: inline-block; padding: 0.375rem 0.75rem; border-radius: 9999px; background-color: #fff6f2; color: #BB5725; font-size: 0.75rem; font-weight: 500; }
/* .badge { display: inline-block; padding: 0.375rem 0.75rem; border-radius: 9999px; background-color: #fff6f2; color: #BB5725; font-size: 0.75rem; font-weight: 500; border: 1px solid #DFAD27; } */

.cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 9999px; background: #BB5725; color: #fff; font-weight: 600; box-shadow: 0 4px 6px -1px rgb(187 87 37 / 0.2), 0 2px 4px -2px rgb(187 87 37 / 0.2); transition: all 0.3s ease; }
.cta:hover { background: #964218; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgb(187 87 37 / 0.2), 0 4px 6px -4px rgb(187 87 37 / 0.2); }
.cta:disabled { background-color: #cd7f55; opacity: 0.7; cursor: not-allowed; }

.cta-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: 9999px; background: #fff; color: #BB5725; font-weight: 600; border: 1px solid #BB5725; transition: all 0.3s ease; }
.cta-ghost:hover { border: 1px solid #DFAD27; background: #fffbf0; transform: translateY(-2px); }

/* --- KPI Card (保留優化後的設計) --- */
.kpi-container {
    display: flex;
    width: 90%;
    gap: 1rem;
    margin-top: 2rem;
}

.kpi-card { 
    background: #fff; 
    border-left: 6px solid #BB5725; 
    border-top: 1px solid #e7e8e9; 
    border-right: 1px solid #e7e8e9; 
    border-bottom: 1px solid #e7e8e9; 
    border-radius: 0.5rem;
    padding: 1.25rem 1rem; 
    padding-left: 1.75rem;
    text-align: left;
    transition: all 0.3s ease; 
    flex: 1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kpi-card:hover { 
     border-color: #DFAD27;
    /* transform: translateY(-5px);  */
    /* box-shadow: 0 10px 20px -3px rgba(187, 87, 37, 0.15);  */
}

.kpi-n { 
    font-size: 3rem;
    font-weight: 800; 
    color: #BB5725; 
    line-height: 1; 
    margin-bottom: 0.25rem;
}
.kpi-l { 
    font-size: 1rem; 
    color: #57534e; 
    font-weight: 600;
}
/* --- End KPI --- */

.info-card { background: #fff; border: 1px solid #f3f4f6; border-radius: 1.5rem; padding: 1.8rem; box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: all 0.3s ease-in-out; display: flex; flex-direction: column; height: 100%;}
.info-card:hover { 
    border-color: #DFAD27; 
    /* transform: translateY(-5px); box-shadow: 0 10px 30px rgba(187,87,37,0.1);  */ }
.card-title { margin: 0 0 0.5rem; font-size: 1.45rem; color: #1e293b; font-weight: 700; }
.card-text { margin: 0; color: #475569; line-height: 1.7; flex-grow: 1; }
.styled-list { margin: 0; padding-left: 1.25rem; color: #475569; list-style: none; }
.styled-list li { position: relative; padding-left: 0.5rem; margin: 0.5rem 0; }
.styled-list li::before { content: '✔'; position: absolute; left: -1.25rem; color: #DFAD27; }

.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #334155; }
.form-input { width: 100%; padding: 0.75rem 1rem; border: 1px solid #d1d5db; border-radius: 0.75rem; transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus { border-color: #DFAD27; outline: none; box-shadow: 0 0 0 3px rgba(223, 173, 39, 0.3); }

.contact-item { display: flex; align-items: center; gap: 0.75rem; }
.contact-icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: #DFAD27; }

.link { color: #BB5725; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.link:hover { color: #964218; text-decoration: underline; }

.footer-link { color: #9ca3af; text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: #fff; }

.carousel-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; background-color: rgba(255,255,255,0.6); backdrop-filter: blur(4px); border-radius: 9999px; display: flex; align-items: center; justify-content: center; color: #1e293b; cursor: pointer; border: none; transition: all 0.2s ease-in-out; opacity: 0; }
#hero-carousel:hover .carousel-nav-btn { opacity: 1; }
.carousel-nav-btn:hover { background-color: rgba(255,255,255,0.9); transform: translateY(-50%) scale(1.1); }
.carousel-dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background-color: rgba(255, 255, 255, 0.5); border: 1px solid rgba(0,0,0,0.1); cursor: pointer; transition: all 0.3s ease; }
.carousel-dot.active { background-color: white; transform: scale(1.25); }


/* --- Global Container Override --- */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px !important;
    }
}