/* ===== Header（同風格） ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid #e6ebf2;
    transition: box-shadow .25s ease, background .25s ease;
    backdrop-filter: saturate(180%) blur(8px)
}

.main-header.scrolled {
    background: #fff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .06)
}

.navbar {
    padding: .6rem 0
}

.navbar-brand img {
    height: 32px
}

.brand-text {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.05rem
}

.navbar-light .navbar-nav .nav-link {
    color: #475569;
    font-weight: 500;
    padding: .5rem 1rem
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #0f172a
}

.btn-login {
    color: #475569;
    font-weight: 600
}

.btn-login:hover {
    color: #0f172a
}

/* ===== Premium CTA（預約 Demo） ===== */
.btn-demo {
    background: linear-gradient(135deg, #0a3bcc, #2b6ef5);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: .58rem 1.35rem;
    box-shadow: 0 10px 24px rgba(15, 76, 193, .25);
    transition: all .25s ease;
}

.btn-demo:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 76, 193, .34);
}

.btn-trial {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    padding: .5rem 1rem
}

.btn-trial:hover {
    background: #1e4ed8;
    border-color: #1e4ed8;
    color: #fff
}

/* ===== 高級 link-primary 效果（動畫底線＋箭頭） ===== */
body.site a.link-primary {
    position: relative;
    color: #1d4ed8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
}

body.site a.link-primary::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: #1d4ed8;
    transition: width .25s ease;
}

body.site a.link-primary i {
    transition: transform .25s ease;
    font-size: .92em;
}

body.site a.link-primary:hover::after {
    width: 100%;
}

body.site a.link-primary:hover i {
    transform: translateX(3px);
}

/* ===== Sections ===== */

.hero .badge-soft {
    background: #e8efff;
    color: #1e40af;
    border-radius: 999px;
    padding: .4rem .85rem;
    font-weight: 700
}

.hero h1 {
    font-weight: 800;
    color: #0f172a
}

.hero p {
    color: #334155
}

/* Cards Grid */
.feature-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06)
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff
}

.icon-blue {
    background: #3b82f6
}

.icon-green {
    background: #22c55e
}

.icon-pink {
    background: #ec4899
}

.icon-amber {
    background: #f59e0b
}

.icon-purple {
    background: #8b5cf6
}

/* Zigzag 圖文交錯 */
.zigzag .media {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06)
}

.zigzag .media-img {
    min-height: 220px;
    background: #f5f7fb
}

/* 數據帶（全寬條） */
.stats-band {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.stat-item h2 {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .2rem
}

.stat-item p {
    margin: 0;
    color: #475569
}

/* 步驟型（Steps） */
.step {
    display: flex;
    gap: .9rem
}

.step .dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800
}

.step .body h6 {
    margin: 0 0 .25rem 0
}

/* 案例卡（不同卡樣） */
.case-card {
    background: #dee8ff;
    color: #dee8ff;
    border-radius: 16px;
    padding: 24px
}

.case-card h6 {
    color: #212529
}

/* 雙欄清單 */
.bullet-list li {
    margin-bottom: .45rem
}

/* ===== Footer（沿用） ===== */
.site-footer {
    background: #0e1726;
    color: #c7d2e0;
    font-size: .95rem
}

.site-footer a {
    color: #cfe1ff;
    text-decoration: none
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline
}

.site-footer .footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: .85rem
}

.site-footer .brand {
    display: flex;
    align-items: center;
    gap: .625rem;
    margin-bottom: .75rem
}

.site-footer .brand-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0ea5e9;
    color: #0b1320;
    font-weight: 800
}

.site-footer .brand-name {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem
}

.site-footer .list-unstyled li {
    margin-bottom: .45rem
}

.site-footer .contact li {
    display: flex;
    gap: .5rem;
    align-items: start
}

.site-footer .contact i {
    width: 20px;
    text-align: center;
    opacity: .9
}

.site-footer .bottom-bar {
    border-top: 1px solid #223049;
    margin-top: 1.25rem;
    padding-top: .9rem;
    font-size: .9rem
}

@media (max-width: 767.98px) {
    .site-footer {
        font-size: 1rem
    }

    .site-footer .list-unstyled li,
    .site-footer .contact li {
        margin-bottom: .75rem
    }

    .site-footer .bottom-bar {
        text-align: center
    }
}

.footer-accordion .accordion-button {
    background: #101b2d;
    color: #fff;
    border: none
}

.footer-accordion .accordion-button:not(.collapsed) {
    background: #142038;
    color: #fff
}

.footer-accordion .accordion-body {
    background: #0e1726;
    padding-top: .75rem
}