@charset "UTF-8";

/* ---------------------------------------------------------
   1. 全域設定
   --------------------------------------------------------- */
:root {
    --ai-primary: #287fc4;
    --ai-primary-dark: #1e5f9c;
    --ai-primary-light: #eaf5ff;
    --ai-secondary: #42bdca;
    --ai-navy: #0f1835;
    --ai-navy-light: #172044;
    --ai-text: #252b36;
    --ai-text-muted: #667085;
    --ai-border: #e4e9f2;
    --ai-bg-light: #f7f9fd;
    --ai-white: #ffffff;
    --ai-shadow-sm: 0 12px 30px rgba(41, 67, 120, 0.08);
    --ai-shadow-md: 0 20px 50px rgba(41, 67, 120, 0.13);
    --ai-radius-sm: 1rem;
    --ai-radius-md: 1.5rem;
    --ai-radius-lg: 2rem;
    --navbar-height: 92px;

    /* 參考海報：冷灰藍、深海軍藍、藍色漸層、少量金棕色 */
    --budget-navy: #123451;
    --budget-navy-deep: #0b2740;
    --budget-blue: #2176b8;
    --budget-blue-dark: #14598e;
    --budget-blue-light: #82bde5;
    --budget-cyan: #36b7c4;
    --budget-aqua: #93d5dc;
    --budget-bronze: #a87043;
    --budget-bronze-light: #d8b083;
    --budget-warning: #d58a3f;
    --budget-danger: #b75e54;
    --budget-green: #3d9c8a;
    --budget-ink: #1d2f40;
    --budget-muted: #66798a;
    --budget-border: #d8e4ec;
    --budget-bg: #edf3f7;
    --budget-bg-soft: #f7fafc;
    --budget-surface: #ffffff;
    --budget-shadow-sm: 0 14px 35px rgba(18, 52, 81, 0.08);
    --budget-shadow-md: 0 24px 60px rgba(18, 52, 81, 0.14);
    --budget-shadow-lg: 0 36px 90px rgba(18, 52, 81, 0.2);
    --budget-radius-sm: 1rem;
    --budget-radius-md: 1.5rem;
    --budget-radius-lg: 2.2rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--navbar-height) + 10px);
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--budget-ink);
    background: var(--budget-surface);
    font-family:
        "Noto Sans TC",
        "Microsoft JhengHei",
        "PingFang TC",
        Arial,
        sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    overflow: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

a,
button {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(40, 127, 196, 0.38);
    outline-offset: 3px;
}

section,
header {
    scroll-margin-top: 0;
}

.rounded-4 {
    border-radius: 1.35rem !important;
}

/* ---------------------------------------------------------
   2. 共用按鈕
   --------------------------------------------------------- */
.btn {
    font-weight: 700;
}

.btn-green {
    border: 1px solid var(--ai-primary);
    color: var(--ai-white);
    background: var(--ai-primary);
}

.btn-green:hover,
.btn-green:focus {
    border-color: var(--ai-primary-dark);
    color: var(--ai-white);
    background: var(--ai-primary-dark);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   3. 固定導覽列（維持原樣）
   --------------------------------------------------------- */
#mainNav {
    min-height: var(--navbar-height);
    border-bottom: 1px solid rgba(29, 59, 104, 0.08);
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#mainNav .container {
    min-height: var(--navbar-height);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand img {
    display: block;
    width: auto;
    max-width: 330px;
    height: 58px;
    object-fit: contain;
}

#mainNav .nav-link {
    position: relative;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    color: #5d6471;
    font-weight: 700;
    white-space: nowrap;
}

#mainNav .nav-link::after {
    content: "";
    position: absolute;
    right: 0.75rem;
    bottom: 0.45rem;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--ai-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
    color: var(--ai-primary);
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link:focus::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: 1px solid rgba(40, 127, 196, 0.3);
    color: var(--ai-primary);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 127, 196, 0.18);
}

.navbar-toggler .bi-list {
    font-size: 1.75rem;
}

/* ---------------------------------------------------------
   4. 共用標題與按鈕
   --------------------------------------------------------- */
.budget-kicker,
.budget-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--budget-blue);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.budget-kicker::before {
    content: "";
    width: 2rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.budget-section-head {
    max-width: 840px;
    margin-bottom: 3.5rem;
}

.budget-section-head h2,
.budget-excel__intro h2,
.budget-faq__intro h2 {
    margin: 0.9rem 0 1rem;
    color: var(--budget-navy);
    font-size: clamp(2.15rem, 4vw, 3.55rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.budget-section-head p,
.budget-excel__intro>p,
.budget-faq__intro p {
    margin: 0;
    color: var(--budget-muted);
    font-size: 1.03rem;
    line-height: 1.9;
}

.budget-section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 4rem;
    align-items: end;
    max-width: none;
}

.budget-btn {
    position: relative;
    min-width: 160px;
    overflow: hidden;
    padding: 0.9rem 1.5rem;
    border-width: 1px;
    isolation: isolate;
    font-weight: 800;
}

.budget-btn::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -90%;
    left: -35%;
    width: 28%;
    height: 280%;
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(24deg) translate3d(-220%, 0, 0);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.budget-btn:hover::after,
.budget-btn:focus-visible::after {
    transform: rotate(24deg) translate3d(650%, 0, 0);
}

.budget-btn--primary {
    border-color: var(--budget-blue);
    color: #fff;
    background: linear-gradient(135deg, var(--budget-blue), var(--budget-cyan));
    box-shadow: 0 16px 34px rgba(33, 118, 184, 0.24);
}

.budget-btn--primary:hover,
.budget-btn--primary:focus {
    border-color: var(--budget-blue-dark);
    color: #fff;
    background: linear-gradient(135deg, var(--budget-blue-dark), #279aa8);
    transform: translateY(-2px);
}

.budget-btn--light {
    border-color: rgba(20, 89, 142, 0.24);
    color: var(--budget-navy);
    background: rgba(255, 255, 255, 0.88);
}

.budget-btn--light:hover,
.budget-btn--light:focus {
    border-color: var(--budget-blue);
    color: var(--budget-blue-dark);
    background: #fff;
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   5. Hero
   --------------------------------------------------------- */
.budget-hero {
    position: relative;
    min-height: 800px;
    padding: calc(var(--navbar-height) + 5.5rem) 0 5.5rem;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(245, 249, 252, 0.98) 0%, rgba(235, 243, 248, 0.96) 56%, rgba(224, 237, 246, 0.92) 100%),
        repeating-linear-gradient(90deg, rgba(18, 52, 81, 0.035) 0 1px, transparent 1px 58px),
        repeating-linear-gradient(0deg, rgba(18, 52, 81, 0.03) 0 1px, transparent 1px 58px);
}

.budget-hero::before {
    content: "";
    position: absolute;
    top: -250px;
    right: -190px;
    width: 760px;
    height: 760px;
    border: 115px solid rgba(49, 132, 190, 0.08);
    border-radius: 50%;
}

.budget-hero::after {
    content: "";
    position: absolute;
    right: 7%;
    bottom: -210px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(54, 183, 196, 0.07);
}

.budget-hero__shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.budget-hero__shape--one {
    left: -130px;
    bottom: -100px;
    width: 330px;
    height: 330px;
    border: 60px solid rgba(168, 112, 67, 0.08);
}

.budget-hero__shape--two {
    top: 20%;
    left: 45%;
    width: 170px;
    height: 170px;
    background: rgba(130, 189, 229, 0.11);
}

.budget-hero .container {
    position: relative;
    z-index: 2;
}

.budget-eyebrow {
    margin-bottom: 1.35rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(33, 118, 184, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 28px rgba(18, 52, 81, 0.06);
}

.budget-hero__title {
    margin: 0;
    color: var(--budget-navy);
    font-size: clamp(3.1rem, 5.4vw, 5.7rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1.07;
}

.budget-hero__title span {
    color: var(--budget-blue);
}

.budget-hero__lead {
    max-width: 680px;
    margin: 1.8rem 0 1.35rem;
    color: var(--budget-muted);
    font-size: 1.12rem;
    line-height: 1.9;
}

.budget-hero__quote {
    max-width: 650px;
    margin: 0 0 2rem;
    padding: 0.85rem 1.05rem;
    border-left: 4px solid var(--budget-bronze);
    color: #5e4d3e;
    background: rgba(255, 250, 244, 0.72);
    font-size: 0.98rem;
    font-weight: 750;
}

.budget-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* Hero 儀表板 */
.budget-visual {
    position: relative;
    width: min(100%, 690px);
    min-height: 610px;
    margin-left: auto;
    isolation: isolate;
}

.budget-visual__halo {
    position: absolute;
    z-index: -2;
    inset: 40px 10px 25px 45px;
    border-radius: 48px;
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.82) 0 5px, transparent 6px),
        radial-gradient(circle at 82% 25%, rgba(255, 255, 255, 0.6) 0 4px, transparent 5px),
        linear-gradient(145deg, #79b8e1 0%, #2f7bb2 48%, #2d9eab 100%);
    box-shadow: 0 36px 90px rgba(18, 52, 81, 0.2);
    transform: rotate(3deg);
}

.budget-visual__halo::before,
.budget-visual__halo::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.budget-visual__halo::before {
    top: -55px;
    right: -30px;
    width: 170px;
    height: 170px;
    border: 30px solid rgba(255, 255, 255, 0.13);
}

.budget-visual__halo::after {
    left: -50px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    background: rgba(168, 112, 67, 0.16);
}

.budget-dashboard {
    position: absolute;
    z-index: 3;
    top: 48px;
    left: 50%;
    width: min(610px, calc(100% - 50px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--budget-shadow-lg);
    transform: translateX(-48%) rotate(-1.5deg);
}

.budget-dashboard__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    color: #fff;
    background: linear-gradient(105deg, var(--budget-navy), #1d5d86);
}

.budget-dashboard__brand,
.budget-dashboard__user {
    display: flex;
    align-items: center;
}

.budget-dashboard__brand {
    gap: 9px;
    font-size: 0.86rem;
}

.budget-dashboard__logo {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: var(--budget-navy);
    background: #fff;
}

.budget-dashboard__user {
    gap: 6px;
}

.budget-dashboard__user span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
}

.budget-dashboard__body {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    min-height: 440px;
    background: #f4f8fb;
}

.budget-dashboard__sidebar {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 18px 10px;
    border-right: 1px solid #e2ebf1;
    background: #fff;
}

.budget-dashboard__sidebar span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    color: #718292;
    font-size: 0.65rem;
    font-weight: 750;
    white-space: nowrap;
}

.budget-dashboard__sidebar span.is-active {
    color: var(--budget-blue-dark);
    background: #eaf4fb;
}

.budget-dashboard__main {
    min-width: 0;
    padding: 19px;
}

.budget-dashboard__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.budget-dashboard__heading small,
.budget-dashboard__heading strong {
    display: block;
}

.budget-dashboard__heading small {
    margin-bottom: 2px;
    color: #8292a0;
    font-size: 0.58rem;
}

.budget-dashboard__heading strong {
    color: var(--budget-navy);
    font-size: 1rem;
}

.budget-dashboard__heading>span {
    padding: 5px 10px;
    border: 1px solid #d7e5ee;
    border-radius: 999px;
    color: var(--budget-blue-dark);
    background: #fff;
    font-size: 0.6rem;
    font-weight: 800;
}

.budget-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.budget-metric {
    min-width: 0;
    padding: 11px;
    border: 1px solid #e0eaf0;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(18, 52, 81, 0.045);
}

.budget-metric span,
.budget-metric strong {
    display: block;
}

.budget-metric span {
    margin-bottom: 6px;
    color: #8493a0;
    font-size: 0.54rem;
}

.budget-metric strong {
    overflow: hidden;
    color: var(--budget-navy);
    font-size: 0.7rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.budget-metric--warning {
    border-color: rgba(213, 138, 63, 0.26);
    background: #fffaf4;
}

.budget-metric--warning strong {
    color: #ad6728;
}

.budget-metric--control {
    border-color: rgba(54, 183, 196, 0.24);
    background: #f3fbfc;
}

.budget-metric--control strong {
    color: #287f88;
}

.budget-chart-card {
    margin-top: 11px;
    padding: 14px;
    border: 1px solid #e0eaf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(18, 52, 81, 0.05);
}

.budget-chart-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

.budget-chart-card__head strong {
    color: var(--budget-navy);
    font-size: 0.76rem;
}

.budget-chart-card__head span {
    color: var(--budget-blue);
    font-size: 0.56rem;
    font-weight: 800;
}

.budget-chart-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 36px;
    gap: 9px;
    align-items: center;
    margin-top: 12px;
}

.budget-chart-row>span,
.budget-chart-row>b {
    font-size: 0.56rem;
}

.budget-chart-row>span {
    color: #667989;
}

.budget-chart-row>b {
    color: var(--budget-navy);
    text-align: right;
}

.budget-chart-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9f0f5;
}

.budget-chart-track i {
    display: block;
    width: var(--budget-bar);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--budget-blue), var(--budget-cyan));
    transform-origin: left center;
}

.budget-chart-track--warning i {
    background: linear-gradient(90deg, #e8b36e, var(--budget-warning));
}

.budget-chart-track--danger i {
    background: linear-gradient(90deg, #d88d82, var(--budget-danger));
}

.budget-dashboard__foot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 11px;
}

.budget-dashboard__foot>div {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 11px;
    border-radius: 12px;
    color: #436174;
    background: #eaf4fb;
    font-size: 0.62rem;
    font-weight: 800;
}

.budget-dashboard__foot>div:last-child {
    color: #416d68;
    background: #eaf8f6;
}

.budget-alert-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--budget-shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.budget-alert-card>i {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: #fff;
    font-size: 1.05rem;
}

.budget-alert-card span,
.budget-alert-card strong {
    display: block;
}

.budget-alert-card span {
    margin-bottom: 2px;
    color: var(--budget-muted);
    font-size: 0.62rem;
}

.budget-alert-card strong {
    color: var(--budget-navy);
    font-size: 0.78rem;
    line-height: 1.45;
}

.budget-alert-card--warning {
    top: 7px;
    right: -8px;
    transform: rotate(4deg);
}

.budget-alert-card--warning>i {
    background: linear-gradient(145deg, #e4ad63, var(--budget-warning));
}

.budget-alert-card--approval {
    left: -12px;
    bottom: 3px;
    max-width: 270px;
    transform: rotate(-4deg);
}

.budget-alert-card--approval>i {
    background: linear-gradient(145deg, var(--budget-cyan), #278d98);
}

/* ---------------------------------------------------------
   6. 財務焦慮
   --------------------------------------------------------- */
.budget-pain {
    position: relative;
    padding: 7rem 0;
    background:
        radial-gradient(circle at 7% 12%, rgba(130, 189, 229, 0.12), transparent 20rem),
        radial-gradient(circle at 94% 82%, rgba(168, 112, 67, 0.08), transparent 19rem),
        #fff;
}

.budget-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.budget-pain-card {
    position: relative;
    min-height: 330px;
    padding: 1.8rem;
    overflow: hidden;
    border: 1px solid var(--budget-border);
    border-radius: 1.8rem;
    background: #fff;
    box-shadow: var(--budget-shadow-sm);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.budget-pain-card::after {
    content: "";
    position: absolute;
    right: -65px;
    bottom: -75px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(33, 118, 184, 0.055);
}

.budget-pain-card:nth-child(2)::after {
    background: rgba(168, 112, 67, 0.06);
}

.budget-pain-card:nth-child(3)::after {
    background: rgba(54, 183, 196, 0.065);
}

.budget-pain-card:hover {
    border-color: rgba(33, 118, 184, 0.27);
    box-shadow: var(--budget-shadow-md);
    transform: translateY(-7px);
}

.budget-pain-card__number {
    position: absolute;
    top: 1.45rem;
    right: 1.55rem;
    color: rgba(18, 52, 81, 0.12);
    font-size: 2.9rem;
    font-weight: 900;
    line-height: 1;
}

.budget-pain-card__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(145deg, var(--budget-blue), var(--budget-blue-light));
    box-shadow: 0 15px 30px rgba(33, 118, 184, 0.2);
    font-size: 1.55rem;
}

.budget-pain-card:nth-child(2) .budget-pain-card__icon {
    background: linear-gradient(145deg, var(--budget-bronze), var(--budget-bronze-light));
    box-shadow: 0 15px 30px rgba(168, 112, 67, 0.2);
}

.budget-pain-card:nth-child(3) .budget-pain-card__icon {
    background: linear-gradient(145deg, var(--budget-cyan), var(--budget-aqua));
    box-shadow: 0 15px 30px rgba(54, 183, 196, 0.2);
}

.budget-pain-card h3,
.budget-pain-card p {
    position: relative;
    z-index: 1;
}

.budget-pain-card h3 {
    margin-bottom: 0.85rem;
    color: var(--budget-navy);
    font-size: 1.35rem;
    font-weight: 900;
}

.budget-pain-card p {
    margin: 0;
    color: var(--budget-muted);
    line-height: 1.88;
}

/* ---------------------------------------------------------
   7. Excel 三大問題
   --------------------------------------------------------- */
.budget-excel {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 16%, rgba(54, 183, 196, 0.11), transparent 19rem),
        linear-gradient(130deg, #e9f1f6 0%, #eef5f8 48%, #e5eef4 100%);
}

.budget-excel::before {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -170px;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(33, 118, 184, 0.08);
    border-radius: 50%;
}

.budget-excel__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    gap: 4rem;
    align-items: center;
}

.budget-excel__intro {
    max-width: 580px;
}

.budget-excel__quote {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-top: 1.6rem;
    padding: 1.2rem 1.3rem;
    border-left: 4px solid var(--budget-bronze);
    border-radius: 0 1rem 1rem 0;
    color: #6d5946;
    background: rgba(255, 255, 255, 0.64);
    font-weight: 700;
    line-height: 1.75;
}

.budget-excel__quote i {
    margin-top: 0.1rem;
    color: var(--budget-bronze);
    font-size: 1.35rem;
}

.budget-excel__cards {
    display: grid;
    gap: 1rem;
}

.budget-excel__cards article {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1.15rem;
    align-items: center;
    padding: 1.45rem 3.1rem 1.45rem 1.45rem;
    overflow: hidden;
    border: 1px solid rgba(33, 118, 184, 0.13);
    border-radius: 1.55rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 17px 42px rgba(18, 52, 81, 0.075);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.budget-excel__cards article:hover {
    border-color: rgba(33, 118, 184, 0.28);
    box-shadow: var(--budget-shadow-md);
    transform: translateX(7px);
}

.budget-excel__cards article>span {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    color: rgba(18, 52, 81, 0.12);
    font-size: 1.35rem;
    font-weight: 900;
}

.budget-excel__icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 19px;
    color: var(--budget-blue-dark);
    background: #e8f3fa;
    font-size: 1.45rem;
}

.budget-excel__cards article:nth-child(2) .budget-excel__icon {
    color: #a66429;
    background: #fff3e6;
}

.budget-excel__cards article:nth-child(3) .budget-excel__icon {
    color: #287d86;
    background: #e8f8f9;
}

.budget-excel__cards h3 {
    margin: 0 0 0.35rem;
    color: var(--budget-navy);
    font-size: 1.16rem;
    font-weight: 900;
}

.budget-excel__cards p {
    margin: 0;
    color: var(--budget-muted);
    font-size: 0.94rem;
    line-height: 1.78;
}

/* ---------------------------------------------------------
   8. 四大核心功能
   --------------------------------------------------------- */
.budget-features {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 15%, rgba(130, 189, 229, 0.13), transparent 19rem),
        radial-gradient(circle at 92% 84%, rgba(168, 112, 67, 0.08), transparent 20rem),
        #fff;
}

.budget-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.budget-feature-card {
    position: relative;
    min-height: 365px;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid var(--budget-border);
    border-radius: 1.85rem;
    background: #fff;
    box-shadow: var(--budget-shadow-sm);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.budget-feature-card::after {
    content: "";
    position: absolute;
    right: -75px;
    bottom: -90px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(33, 118, 184, 0.05);
}

.budget-feature-card:hover {
    border-color: rgba(33, 118, 184, 0.28);
    box-shadow: var(--budget-shadow-md);
    transform: translateY(-7px);
}

.budget-feature-card--wide {
    color: #fff;
    background:
        radial-gradient(circle at 92% 6%, rgba(255, 255, 255, 0.13), transparent 13rem),
        linear-gradient(135deg, var(--budget-navy-deep), #1a5d88 64%, #258da0 100%);
    box-shadow: 0 28px 64px rgba(18, 52, 81, 0.24);
}

.budget-feature-card--wide::after {
    background: rgba(255, 255, 255, 0.06);
}

.budget-feature-card--alert {
    background:
        radial-gradient(circle at 92% 8%, rgba(213, 138, 63, 0.12), transparent 13rem),
        #fffaf4;
}

.budget-feature-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.45rem;
}

.budget-feature-card__number {
    color: rgba(18, 52, 81, 0.15);
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1;
}

.budget-feature-card--wide .budget-feature-card__number {
    color: rgba(255, 255, 255, 0.2);
}

.budget-feature-card__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(145deg, var(--budget-blue), var(--budget-cyan));
    box-shadow: 0 14px 28px rgba(33, 118, 184, 0.2);
    font-size: 1.5rem;
}

.budget-feature-card--wide .budget-feature-card__icon {
    color: var(--budget-navy);
    background: #fff;
    box-shadow: 0 14px 30px rgba(5, 23, 39, 0.22);
}

.budget-feature-card--alert .budget-feature-card__icon {
    background: linear-gradient(145deg, #e5ae64, var(--budget-warning));
    box-shadow: 0 14px 28px rgba(213, 138, 63, 0.2);
}

.budget-feature-card:nth-child(3) .budget-feature-card__icon {
    background: linear-gradient(145deg, var(--budget-cyan), #268c97);
}

.budget-feature-card:nth-child(4) .budget-feature-card__icon {
    background: linear-gradient(145deg, var(--budget-bronze), var(--budget-bronze-light));
}

.budget-feature-card h3,
.budget-feature-card>p,
.budget-feature-detail,
.budget-feature-tags {
    position: relative;
    z-index: 1;
}

.budget-feature-card h3 {
    margin-bottom: 0.85rem;
    color: var(--budget-navy);
    font-size: 1.45rem;
    font-weight: 900;
}

.budget-feature-card>p,
.budget-feature-detail p {
    margin: 0;
    color: var(--budget-muted);
    line-height: 1.87;
}

.budget-feature-card--wide h3,
.budget-feature-card--wide>p {
    color: #fff;
}

.budget-feature-card--wide>p {
    color: rgba(255, 255, 255, 0.77);
}

.budget-feature-detail {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(213, 138, 63, 0.18);
}

.budget-feature-detail strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #a35e23;
    font-size: 0.88rem;
}

.budget-feature-detail p {
    font-size: 0.94rem;
}

.budget-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.budget-feature-tags li {
    padding: 0.48rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
    font-weight: 800;
}

/* ---------------------------------------------------------
   9. 導入前後差異
   --------------------------------------------------------- */
.budget-change {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 89% 12%, rgba(54, 183, 196, 0.11), transparent 20rem),
        linear-gradient(180deg, #edf3f7 0%, #f6f9fb 100%);
}

.budget-change::before {
    content: "";
    position: absolute;
    left: -130px;
    top: 80px;
    width: 330px;
    height: 330px;
    border: 55px solid rgba(33, 118, 184, 0.065);
    border-radius: 50%;
}

.budget-compare {
    position: relative;
    z-index: 1;
}

.budget-compare__labels {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) 70px minmax(0, 1.1fr);
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 1.3rem;
}

.budget-compare__labels span {
    color: var(--budget-navy);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.budget-compare__labels span:last-child {
    color: var(--budget-blue-dark);
}

.budget-compare__labels i {
    color: var(--budget-blue);
    text-align: center;
}

.budget-compare-row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) 70px minmax(0, 1.1fr);
    gap: 1rem;
    align-items: stretch;
    margin-top: 1rem;
}

.budget-compare-row__before,
.budget-compare-row__after {
    padding: 1.5rem;
    border-radius: 1.45rem;
}

.budget-compare-row__before {
    border: 1px solid #dce4e9;
    background: rgba(255, 255, 255, 0.7);
}

.budget-compare-row__before>span {
    display: inline-flex;
    margin-bottom: 0.6rem;
    padding: 0.36rem 0.65rem;
    border-radius: 999px;
    color: #7a6452;
    background: #f4ece4;
    font-size: 0.74rem;
    font-weight: 850;
}

.budget-compare-row__before p,
.budget-compare-row__after p {
    margin: 0;
    color: var(--budget-muted);
    line-height: 1.8;
}

.budget-compare-row__arrow {
    display: grid;
    place-items: center;
}

.budget-compare-row__arrow i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--budget-blue), var(--budget-cyan));
    box-shadow: 0 12px 26px rgba(33, 118, 184, 0.22);
}

.budget-compare-row__after {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    border: 1px solid rgba(33, 118, 184, 0.16);
    background: #fff;
    box-shadow: var(--budget-shadow-sm);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.budget-compare-row:hover .budget-compare-row__after {
    border-color: rgba(33, 118, 184, 0.3);
    box-shadow: var(--budget-shadow-md);
    transform: translateX(7px);
}

.budget-compare-row__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: var(--budget-blue-dark);
    background: #e9f4fb;
    font-size: 1.35rem;
}

.budget-compare-row:nth-of-type(3) .budget-compare-row__icon {
    color: #287d86;
    background: #e8f8f9;
}

.budget-compare-row:nth-of-type(4) .budget-compare-row__icon {
    color: #9b612f;
    background: #fff2e5;
}

.budget-compare-row__after h3 {
    margin: 0 0 0.35rem;
    color: var(--budget-navy);
    font-size: 1.2rem;
    font-weight: 900;
}



/* 運作方式 ------------------------------------------------- */
.budget-change .container {
    position: relative;
    z-index: 1;
}

.budget-process-head {
    max-width: 900px;
    margin-bottom: 3.25rem;
}

.budget-process-head .budget-kicker {
    justify-content: center;
}

.budget-process-head h2 {
    margin: 0.9rem 0 1rem;
    color: var(--budget-navy);
    font-size: clamp(2.15rem, 4vw, 3.55rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.budget-process-head p {
    max-width: 780px;
    margin: 0 auto;
    color: var(--budget-muted);
    font-size: 1.03rem;
    line-height: 1.9;
}

.budget-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.budget-process-card {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: 1.25rem;
    align-items: start;
    min-width: 0;
    min-height: 210px;
    padding: 1.75rem 1.8rem;
    overflow: hidden;
    border: 1px solid rgba(33, 118, 184, 0.14);
    border-radius: 1.65rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.98));
    box-shadow: var(--budget-shadow-sm);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.budget-process-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(33, 118, 184, 0.78), rgba(54, 183, 196, 0.55));
}

.budget-process-card::after {
    content: "";
    position: absolute;
    right: -58px;
    bottom: -68px;
    width: 165px;
    height: 165px;
    border-radius: 50%;
    background: rgba(130, 189, 229, 0.09);
    pointer-events: none;
}

.budget-process-card:hover {
    border-color: rgba(33, 118, 184, 0.25);
    box-shadow: var(--budget-shadow-md);
    transform: translateY(-5px);
}

.budget-process-card__number {
    position: absolute;
    top: 1.2rem;
    right: 1.35rem;
    color: rgba(18, 52, 81, 0.1);
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1;
}

.budget-process-card__icon {
    position: relative;
    z-index: 1;
    display: grid;
    grid-row: 1 / span 2;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(145deg, #5f8fb3, #4f7f9f);
    box-shadow: 0 13px 28px rgba(33, 118, 184, 0.18);
    font-size: 1.4rem;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.budget-process-card:nth-child(2) .budget-process-card__icon {
    background: linear-gradient(145deg, #6d8ea9, #587b98);
}

.budget-process-card:nth-child(3) .budget-process-card__icon {
    background: linear-gradient(145deg, #6c9ba4, #5b8790);
}

.budget-process-card:nth-child(4) .budget-process-card__icon {
    background: linear-gradient(145deg, #7d91a5, #687e94);
}

.budget-process-card h3,
.budget-process-card p {
    position: relative;
    z-index: 1;
    padding-right: 2.15rem;
}

.budget-process-card h3 {
    margin: 0 0 0.7rem;
    color: var(--budget-navy);
    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.45;
}

.budget-process-card p {
    margin: 0;
    color: var(--budget-muted);
    font-size: 0.95rem;
    line-height: 1.84;
}

.budget-process-card:hover .budget-process-card__icon {
    box-shadow: 0 16px 34px rgba(33, 118, 184, 0.22);
    transform: translateY(-3px) scale(1.04);
}


/* ---------------------------------------------------------
   10. FAQ
   --------------------------------------------------------- */
.budget-faq {
    padding: 7rem 0;
    background: #fff;
}

.budget-faq__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: 4.5rem;
    align-items: start;
}

.budget-faq__intro {
    position: sticky;
    top: calc(var(--navbar-height) + 2rem);
}

.budget-faq .accordion-item {
    margin-bottom: 0.9rem;
    overflow: hidden;
    border: 1px solid var(--budget-border);
    border-radius: 1rem !important;
    background: #fff;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.budget-faq .accordion-item:hover {
    border-color: rgba(33, 118, 184, 0.25);
    box-shadow: 0 12px 30px rgba(18, 52, 81, 0.07);
}

.budget-faq .accordion-button {
    padding: 1.25rem 1.4rem;
    color: var(--budget-navy);
    background: #fff;
    box-shadow: none;
    font-weight: 850;
    line-height: 1.6;
}

.budget-faq .accordion-button:not(.collapsed) {
    color: var(--budget-blue-dark);
    background: #eaf4fb;
}

.budget-faq .accordion-button:focus {
    border-color: transparent;
    box-shadow: 0 0 0 0.25rem rgba(33, 118, 184, 0.13);
}

.budget-faq .accordion-button::after {
    filter: hue-rotate(165deg) saturate(0.8);
}

.budget-faq .accordion-body {
    padding: 1.4rem 1.35rem;
    color: var(--budget-muted);
    line-height: 1.85;
}

/* ---------------------------------------------------------
   11. 聯絡我們
   --------------------------------------------------------- */
.contact-section {
    position: relative;
    overflow: hidden;
    color: var(--budget-ink);
    background:
        radial-gradient(circle at 8% 12%, rgba(168, 112, 67, 0.1), transparent 18rem),
        radial-gradient(circle at 91% 14%, rgba(54, 183, 196, 0.12), transparent 18rem),
        linear-gradient(122deg, #e6eef4 0%, #edf4f7 48%, #e1f0f2 100%);
}

.contact-section::before,
.contact-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.contact-section::before {
    right: -120px;
    bottom: -180px;
    width: 320px;
    height: 320px;
    border: 54px solid rgba(33, 118, 184, 0.08);
}

.contact-section::after {
    left: 14%;
    bottom: -110px;
    width: 170px;
    height: 170px;
    background: rgba(168, 112, 67, 0.08);
}

.contact-section>.container {
    position: relative;
    z-index: 1;
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.contact-title {
    color: var(--budget-navy);
}

.contact-text {
    color: var(--budget-muted) !important;
    line-height: 1.9;
}

.contact-section a {
    display: block;
    color: var(--budget-ink);
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-section a:hover,
.contact-section a:focus {
    color: var(--budget-blue-dark);
    transform: translateY(-3px);
}

.icon-box {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
}

.icon-feature {
    font-size: 2.3rem;
    line-height: 1;
}

.contact-icon-box {
    margin: 0 auto 1rem;
    border: 1px solid rgba(33, 118, 184, 0.13);
    color: var(--budget-blue);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 32px rgba(18, 52, 81, 0.12);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-icon {
    color: var(--budget-blue);
    -webkit-text-fill-color: initial;
    background: none;
}

.contact-section .text-center:nth-child(2) .contact-icon {
    color: var(--budget-cyan);
}

.contact-section .text-center:nth-child(3) .contact-icon {
    color: var(--budget-bronze);
}

.contact-section a:hover .contact-icon-box,
.contact-section a:focus-visible .contact-icon-box {
    box-shadow: 0 18px 38px rgba(18, 52, 81, 0.16);
    transform: translateY(-4px) scale(1.05);
}

.contact-item-title {
    margin-bottom: 0.35rem;
    color: var(--budget-navy);
    font-size: 1.1rem;
    font-weight: 800;
}

.contact-item-text {
    color: var(--budget-muted);
}

/* ---------------------------------------------------------
   12. Footer（維持原樣）
   --------------------------------------------------------- */
footer.bg-black {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 88% 0%, rgba(54, 183, 196, 0.14), transparent 19rem),
        radial-gradient(circle at 10% 100%, rgba(130, 189, 229, 0.1), transparent 18rem),
        linear-gradient(118deg, #102b41 0%, #173f5d 52%, #1b5366 100%) !important;
}

footer.bg-black .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ---------------------------------------------------------
   13. 動畫與互動
   --------------------------------------------------------- */
.budget-dashboard,
.budget-alert-card--warning,
.budget-alert-card--approval,
.budget-chart-track i {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.budget-dashboard {
    --dashboard-x: -48%;
    --dashboard-rotate: -1.5deg;
    animation: budgetDashboardFloat 7s ease-in-out infinite;
    will-change: transform;
}

@keyframes budgetDashboardFloat {

    0%,
    100% {
        transform: translate3d(var(--dashboard-x), 0, 0) rotate(var(--dashboard-rotate));
    }

    50% {
        transform: translate3d(var(--dashboard-x), -8px, 0) rotate(-0.8deg);
    }
}

.budget-alert-card--warning {
    animation: budgetWarningFloat 7.8s ease-in-out infinite;
    will-change: transform;
}

.budget-alert-card--approval {
    animation: budgetApprovalFloat 8.4s ease-in-out infinite;
    animation-delay: -4.2s;
    will-change: transform;
}

@keyframes budgetWarningFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(4deg);
    }

    50% {
        transform: translate3d(0, -7px, 0) rotate(3deg);
    }
}

@keyframes budgetApprovalFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-4deg);
    }

    50% {
        transform: translate3d(0, 6px, 0) rotate(-3deg);
    }
}

.budget-chart-track i {
    animation: budgetBarReveal 1.2s ease both;
    will-change: transform;
}

.budget-chart-row:nth-child(3) .budget-chart-track i {
    animation-delay: 0.18s;
}

.budget-chart-row:nth-child(4) .budget-chart-track i {
    animation-delay: 0.34s;
}

@keyframes budgetBarReveal {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.budget-pain-card__icon,
.budget-feature-card__icon,
.budget-excel__icon,
.budget-compare-row__icon {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.budget-pain-card:hover .budget-pain-card__icon,
.budget-feature-card:hover .budget-feature-card__icon {
    transform: translateY(-4px) rotate(-4deg) scale(1.04);
}

.budget-excel__cards article:hover .budget-excel__icon,
.budget-compare-row:hover .budget-compare-row__icon {
    transform: scale(1.07);
}

/* ---------------------------------------------------------
   14. RWD：大型桌機以下
   --------------------------------------------------------- */
@media (max-width: 1399.98px) {
    .navbar-brand img {
        max-width: 285px;
        height: 52px;
    }

    #mainNav .nav-link {
        padding-right: 0.45rem;
        padding-left: 0.45rem;
        font-size: 0.94rem;
    }

    .budget-dashboard {
        width: min(570px, calc(100% - 45px));
    }

    .budget-visual {
        min-height: 590px;
    }
}

/* ---------------------------------------------------------
   15. RWD：小型桌機／橫向平板
   --------------------------------------------------------- */
@media (max-width: 1199.98px) {
    :root {
        --navbar-height: 82px;
    }

    #mainNav .container {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }

    .navbar-brand img {
        max-width: 240px;
        height: 47px;
    }

    #mainNav .navbar-nav {
        margin-right: 0.75rem !important;
    }

    #mainNav .nav-link {
        margin-right: 0.35rem !important;
        padding-right: 0.3rem;
        padding-left: 0.3rem;
        font-size: 0.88rem;
    }

    .budget-hero {
        min-height: 750px;
        padding-top: calc(var(--navbar-height) + 4.5rem);
    }

    .budget-hero__title {
        font-size: clamp(2.9rem, 5vw, 4.65rem);
    }

    .budget-dashboard {
        width: min(520px, calc(100% - 38px));
    }

    .budget-dashboard__body {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .budget-dashboard__sidebar span {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 0.59rem;
    }

    .budget-dashboard__main {
        padding: 15px;
    }

    .budget-chart-row {
        grid-template-columns: 78px minmax(0, 1fr) 34px;
    }

    .budget-alert-card--warning {
        right: -2px;
    }

    .budget-alert-card--approval {
        left: -4px;
    }

    .budget-excel__layout,
    .budget-faq__layout {
        gap: 3rem;
    }
}

/* ---------------------------------------------------------
   16. RWD：平板直向
   --------------------------------------------------------- */
@media (max-width: 991.98px) {
    :root {
        --navbar-height: 76px;
    }

    #mainNav,
    #mainNav .container {
        min-height: var(--navbar-height);
    }

    #mainNav .container {
        padding-right: 1.25rem !important;
        padding-left: 1.25rem !important;
    }

    .navbar-brand img {
        max-width: 230px;
        height: 45px;
    }

    #navbarResponsive {
        max-height: calc(100vh - var(--navbar-height));
        margin-top: 0.5rem;
        padding: 0.5rem 0 1rem;
        overflow-y: auto;
        border-top: 1px solid var(--ai-border);
        background: rgba(255, 255, 255, 0.99);
    }

    #mainNav .navbar-nav {
        margin: 0 !important;
    }

    #mainNav .nav-link {
        margin-right: 0 !important;
        padding: 0.72rem 0.4rem;
        font-size: 1rem;
    }

    #mainNav .nav-link::after {
        display: none;
    }

    #mainNav .btn-green {
        display: inline-flex;
        margin-top: 0.35rem;
    }

    .budget-hero {
        padding: calc(var(--navbar-height) + 3.8rem) 0 4.5rem;
    }

    .budget-hero__content {
        max-width: 760px;
        margin: 0 auto;
    }

    .budget-hero__lead,
    .budget-hero__quote {
        margin-right: auto;
        margin-left: auto;
    }

    .budget-hero__actions {
        justify-content: center;
    }

    .budget-visual {
        width: min(100%, 690px);
        min-height: 600px;
        margin: 2.5rem auto 0;
    }

    .budget-dashboard {
        --dashboard-x: -50%;
        top: 45px;
        left: 50%;
        width: min(600px, calc(100% - 50px));
    }

    .budget-dashboard__body {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .budget-dashboard__sidebar span {
        font-size: 0.64rem;
    }

    .budget-dashboard__main {
        padding: 19px;
    }

    .budget-section-head--split,
    .budget-excel__layout,
    .budget-faq__layout {
        grid-template-columns: 1fr;
    }

    .budget-section-head--split {
        gap: 1.3rem;
        align-items: start;
    }

    .budget-excel__intro {
        max-width: 820px;
    }

    .budget-faq__intro {
        position: static;
    }

    .budget-pain-grid {
        grid-template-columns: 1fr;
    }

    .budget-pain-card {
        min-height: 0;
    }

    .budget-compare__labels,
    .budget-compare-row {
        grid-template-columns: minmax(0, 0.9fr) 60px minmax(0, 1.1fr);
    }

    .contact-section .col-lg-8>.d-flex {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

/* ---------------------------------------------------------
   17. RWD：大型手機／小型平板
   --------------------------------------------------------- */
@media (max-width: 767.98px) {
    :root {
        --navbar-height: 72px;
    }

    html {
        scroll-padding-top: calc(var(--navbar-height) + 8px);
    }

    .navbar-brand img {
        max-width: 205px;
        height: 41px;
    }

    .budget-hero,
    .budget-pain,
    .budget-excel,
    .budget-features,
    .budget-change,
    .budget-faq {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .budget-hero {
        padding-top: calc(var(--navbar-height) + 2.9rem);
    }

    .budget-hero .container,
    .budget-pain .container,
    .budget-excel .container,
    .budget-features .container,
    .budget-change .container,
    .budget-faq .container,
    .contact-section .container,
    footer .container {
        padding-right: 1.15rem !important;
        padding-left: 1.15rem !important;
    }

    .budget-hero__title {
        font-size: clamp(2.45rem, 10vw, 3.55rem);
    }

    .budget-hero__lead {
        font-size: 1rem;
        line-height: 1.82;
    }

    .budget-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .budget-btn {
        width: min(100%, 300px);
    }

    .budget-visual {
        min-height: 540px;
    }

    .budget-visual__halo {
        inset: 38px 0 20px;
        border-radius: 34px;
    }

    .budget-dashboard {
        top: 38px;
        width: min(540px, calc(100% - 24px));
        border-radius: 23px;
    }

    .budget-dashboard__body {
        grid-template-columns: 1fr;
        min-height: 405px;
    }

    .budget-dashboard__sidebar {
        display: none;
    }

    .budget-dashboard__main {
        padding: 16px;
    }

    .budget-alert-card {
        padding: 11px 13px;
    }

    .budget-alert-card>i {
        width: 38px;
        height: 38px;
    }

    .budget-alert-card--warning {
        top: 8px;
        right: -2px;
    }

    .budget-alert-card--approval {
        left: -1px;
        bottom: 4px;
        max-width: 245px;
    }

    .budget-section-head {
        margin-bottom: 2.5rem;
    }

    .budget-section-head h2,
    .budget-excel__intro h2,
    .budget-faq__intro h2 {
        font-size: clamp(2rem, 8vw, 2.7rem);
    }

    .budget-pain-card,
    .budget-feature-card {
        padding: 1.5rem;
    }

    .budget-feature-grid {
        grid-template-columns: 1fr;
    }

    .budget-feature-card {
        min-height: 0;
    }

    .budget-excel__cards article {
        grid-template-columns: 56px minmax(0, 1fr);
        padding: 1.25rem 2.7rem 1.25rem 1.2rem;
    }

    .budget-excel__icon {
        width: 54px;
        height: 54px;
        border-radius: 17px;
    }

    .budget-compare__labels {
        display: none;
    }

    .budget-compare-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 1.25rem;
    }

    .budget-compare-row__arrow {
        height: 42px;
    }

    .budget-compare-row__arrow i {
        width: 42px;
        height: 42px;
        transform: rotate(90deg);
    }

    .budget-compare-row__after {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .budget-faq .accordion-button {
        padding: 1.08rem 1.1rem;
        font-size: 0.96rem;
    }

    .budget-faq .accordion-body {
        padding: 1.1rem 1.15rem;
    }

    .contact-section>.container {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .contact-section .col-lg-8>.d-flex {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-section .text-center.mb-3 {
        margin-bottom: 0 !important;
    }

    .contact-section a {
        padding: 1rem;
        border: 1px solid rgba(33, 118, 184, 0.12);
        border-radius: 1.2rem;
        background: rgba(255, 255, 255, 0.68);
        box-shadow: 0 10px 26px rgba(18, 52, 81, 0.08);
    }

    .contact-item-text {
        overflow-wrap: anywhere;
    }

    footer {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* ---------------------------------------------------------
   18. RWD：手機
   --------------------------------------------------------- */
@media (max-width: 575.98px) {
    :root {
        --navbar-height: 68px;
    }

    #mainNav .container {
        padding-right: 0.85rem !important;
        padding-left: 0.85rem !important;
    }

    .navbar-brand img {
        max-width: 185px;
        height: 38px;
    }

    .navbar-toggler {
        padding: 0.32rem 0.55rem;
    }

    .budget-hero {
        padding-top: calc(var(--navbar-height) + 2.25rem);
    }

    .budget-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.075em;
    }

    .budget-hero__quote {
        font-size: 0.9rem;
    }

    .budget-visual {
        min-height: 490px;
    }

    .budget-dashboard {
        top: 35px;
        width: calc(100% - 8px);
        border-radius: 20px;
    }

    .budget-dashboard__topbar {
        padding: 12px 13px;
    }

    .budget-dashboard__brand {
        font-size: 0.76rem;
    }

    .budget-dashboard__logo {
        width: 28px;
        height: 28px;
    }

    .budget-dashboard__body {
        min-height: 360px;
    }

    .budget-dashboard__main {
        padding: 12px;
    }

    .budget-metric-grid {
        gap: 6px;
    }

    .budget-metric {
        padding: 8px;
        border-radius: 10px;
    }

    .budget-metric span {
        font-size: 0.48rem;
    }

    .budget-metric strong {
        font-size: 0.57rem;
    }

    .budget-chart-card {
        padding: 11px;
    }

    .budget-chart-row {
        grid-template-columns: 66px minmax(0, 1fr) 31px;
        gap: 6px;
    }

    .budget-chart-row>span,
    .budget-chart-row>b {
        font-size: 0.49rem;
    }

    .budget-dashboard__foot>div {
        padding: 8px;
        font-size: 0.54rem;
    }

    .budget-alert-card--warning {
        top: 4px;
        right: -5px;
    }

    .budget-alert-card--approval {
        left: -5px;
        bottom: 2px;
        max-width: 218px;
    }

    .budget-alert-card span {
        display: none;
    }

    .budget-alert-card strong {
        font-size: 0.68rem;
    }

    .budget-alert-card>i {
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }

    .budget-kicker {
        font-size: 0.67rem;
        letter-spacing: 0.08em;
    }

    .budget-pain-card,
    .budget-feature-card {
        border-radius: 1.5rem;
    }

    .budget-excel__cards article {
        grid-template-columns: 1fr;
        padding: 1.2rem;
    }

    .budget-excel__cards article>span {
        top: 1.1rem;
    }

    .budget-excel__icon {
        width: 52px;
        height: 52px;
    }

    .budget-compare-row__before,
    .budget-compare-row__after {
        padding: 1.25rem;
    }

    .budget-compare-row__after {
        grid-template-columns: 1fr;
    }

    .budget-feature-tags {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .budget-feature-tags li {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        padding: 0.45rem 0.35rem;
        text-align: center;
    }

    .contact-title {
        font-size: 1.75rem;
    }

    .contact-text {
        font-size: 1rem !important;
    }

    .contact-icon-box {
        width: 72px;
        height: 72px;
    }

    .contact-icon {
        font-size: 2rem;
    }
}

/* ---------------------------------------------------------
   19. RWD：窄螢幕手機
   --------------------------------------------------------- */
@media (max-width: 389.98px) {
    .navbar-brand img {
        max-width: 158px;
        height: 34px;
    }

    .budget-hero__title {
        font-size: 2.0rem;
    }

    .budget-visual {
        min-height: 455px;
    }

    .budget-dashboard__heading>span {
        display: none;
    }

    .budget-dashboard__body {
        min-height: 340px;
    }

    .budget-dashboard__foot {
        gap: 5px;
    }

    .budget-alert-card--approval {
        max-width: 200px;
    }

    .budget-section-head h2,
    .budget-excel__intro h2,
    .budget-faq__intro h2 {
        font-size: 1.80rem;
    }
}

/* ---------------------------------------------------------
   20. 橫向手機
   --------------------------------------------------------- */
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 575px) {
    #navbarResponsive {
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
    }
}

/* ---------------------------------------------------------
   21. 觸控裝置
   --------------------------------------------------------- */
@media (hover: none) {

    .budget-btn:hover,
    .budget-pain-card:hover,
    .budget-feature-card:hover,
    .budget-excel__cards article:hover,
    .budget-compare-row:hover .budget-compare-row__after,
    .contact-section a:hover {
        transform: none;
    }

    .budget-pain-card:hover .budget-pain-card__icon,
    .budget-feature-card:hover .budget-feature-card__icon,
    .budget-excel__cards article:hover .budget-excel__icon,
    .budget-compare-row:hover .budget-compare-row__icon,
    .contact-section a:hover .contact-icon-box {
        transform: none;
    }
}



/* 運作方式 RWD --------------------------------------------- */
@media (max-width: 991.98px) {
    .budget-process-head {
        margin-bottom: 2.5rem;
    }

    .budget-process-grid {
        grid-template-columns: 1fr;
    }

    .budget-process-card {
        min-height: 0;
    }
}

@media (max-width: 767.98px) {
    .budget-process-head h2 {
        font-size: clamp(2rem, 8vw, 2.7rem);
    }

    .budget-process-head p {
        font-size: 1rem;
    }

    .budget-process-grid {
        gap: 1rem;
    }

    .budget-process-card {
        grid-template-columns: 60px minmax(0, 1fr);
        column-gap: 1rem;
        padding: 1.4rem;
        border-radius: 1.45rem;
    }

    .budget-process-card__number {
        top: 1.05rem;
        right: 1.15rem;
        font-size: 2rem;
    }

    .budget-process-card__icon {
        width: 56px;
        height: 56px;
        border-radius: 17px;
        font-size: 1.2rem;
    }

    .budget-process-card h3,
    .budget-process-card p {
        padding-right: 1.6rem;
    }
}

@media (max-width: 575.98px) {
    .budget-process-card {
        grid-template-columns: 1fr;
    }

    .budget-process-card__icon {
        grid-row: auto;
        margin-bottom: 1rem;
    }

    .budget-process-card h3,
    .budget-process-card p {
        padding-right: 0;
    }
}

@media (hover: none) {

    .budget-process-card:hover,
    .budget-process-card:hover .budget-process-card__icon {
        transform: none;
    }
}


/* ---------------------------------------------------------
   22. 減少動畫偏好
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .budget-dashboard,
    .budget-alert-card--warning,
    .budget-alert-card--approval,
    .budget-chart-track i {
        animation: none !important;
    }
}

/* =========================================================
   運作方式新版排版（對應目前 HTML 的新 class）
   ========================================================= */
.budget-change .container {
    position: relative;
    z-index: 1;
}

.budget-process-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.budget-process-intro {
    position: sticky;
    top: calc(var(--navbar-height) + 2rem);
    min-width: 0;
}

.budget-process-intro h2 {
    max-width: 620px;
    margin: 0.9rem 0 1.2rem;
    color: var(--budget-navy);
    font-size: clamp(2.45rem, 4vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.15;
}

.budget-process-intro>p {
    max-width: 610px;
    margin: 0;
    color: var(--budget-muted);
    font-size: 1.03rem;
    line-height: 1.95;
}

.budget-process-note {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin-top: 2rem;
    padding: 1.35rem 1.4rem;
    border: 1px solid rgba(54, 183, 196, 0.16);
    border-left: 4px solid rgba(54, 183, 196, 0.78);
    border-radius: 0 1.35rem 1.35rem 0;
    background: linear-gradient(135deg, rgba(231, 247, 248, 0.95), rgba(246, 251, 252, 0.98));
    box-shadow: 0 14px 34px rgba(18, 52, 81, 0.06);
}

.budget-process-note__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, #5fa7ad, #438f96);
    box-shadow: 0 12px 24px rgba(54, 183, 196, 0.2);
    font-size: 1.1rem;
}

.budget-process-note p {
    margin: 0;
    color: #46656a;
    font-size: 0.96rem;
    font-weight: 750;
    line-height: 1.85;
}

.budget-process-flow {
    position: relative;
    display: grid;
    gap: 1.2rem;
    min-width: 0;
    padding-left: 2.15rem;
}

.budget-process-flow::before {
    content: "";
    position: absolute;
    top: 2.2rem;
    bottom: 2.2rem;
    left: 3.3rem;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #6a9fc3 0%, #7198b2 38%, #6aa6aa 70%, #8295a8 100%);
}

.budget-process-step {
    position: relative;
    min-width: 0;
    padding-left: 1.8rem;
}

.budget-process-step__icon {
    position: absolute;
    top: 50%;
    left: -0.6rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 7px solid rgba(246, 249, 251, 0.98);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #628fb0, #4f7d9e);
    box-shadow: 0 14px 30px rgba(33, 118, 184, 0.2);
    font-size: 1.2rem;
    transform: translateY(-50%);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.budget-process-step:nth-child(2) .budget-process-step__icon {
    background: linear-gradient(145deg, #718ea7, #5c7892);
}

.budget-process-step:nth-child(3) .budget-process-step__icon {
    background: linear-gradient(145deg, #6b9da4, #58868e);
}

.budget-process-step:nth-child(4) .budget-process-step__icon {
    background: linear-gradient(145deg, #8395a7, #6f8296);
}

.budget-process-step__card {
    position: relative;
    min-height: 155px;
    padding: 1.55rem 1.75rem 1.55rem 3.6rem;
    overflow: hidden;
    border: 1px solid rgba(33, 118, 184, 0.13);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 42px rgba(18, 52, 81, 0.075);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.budget-process-step__card::after {
    content: "";
    position: absolute;
    right: -62px;
    bottom: -76px;
    width: 165px;
    height: 165px;
    border-radius: 50%;
    background: rgba(130, 189, 229, 0.09);
    pointer-events: none;
}

.budget-process-step__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 0.55rem;
}

.budget-process-step__head h3 {
    margin: 0;
    color: var(--budget-navy);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.45;
}

.budget-process-step__number {
    flex: 0 0 auto;
    color: rgba(18, 52, 81, 0.11);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.budget-process-step__card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--budget-muted);
    font-size: 0.95rem;
    line-height: 1.86;
}

.budget-process-step:hover .budget-process-step__card {
    border-color: rgba(33, 118, 184, 0.25);
    box-shadow: var(--budget-shadow-md);
    transform: translateX(5px);
}

.budget-process-step:hover .budget-process-step__icon {
    box-shadow: 0 17px 36px rgba(33, 118, 184, 0.23);
    transform: translateY(-50%) scale(1.05);
}

@media (max-width: 1199.98px) {
    .budget-process-layout {
        grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
        gap: 2.5rem;
    }

    .budget-process-step__card {
        padding-right: 1.35rem;
    }
}

@media (max-width: 991.98px) {
    .budget-process-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .budget-process-intro {
        position: static;
    }

    .budget-process-intro h2,
    .budget-process-intro>p {
        max-width: 820px;
    }

    .budget-process-note {
        max-width: 820px;
    }
}

@media (max-width: 767.98px) {
    .budget-process-intro h2 {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .budget-process-intro>p {
        font-size: 1rem;
    }

    .budget-process-note {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 0.85rem;
        margin-top: 1.5rem;
        padding: 1.15rem 1rem;
    }

    .budget-process-note__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .budget-process-flow {
        gap: 1rem;
        padding-left: 1.6rem;
    }

    .budget-process-flow::before {
        left: 0.95rem;
    }

    .budget-process-step {
        padding-left: 1.2rem;
    }

    .budget-process-step__icon {
        left: -0.45rem;
        width: 50px;
        height: 50px;
        border-width: 5px;
        font-size: 1rem;
    }

    .budget-process-step__card {
        min-height: 0;
        padding: 1.25rem 1.1rem 1.25rem 3rem;
        border-radius: 1.35rem;
    }

    .budget-process-step__head {
        gap: 0.7rem;
    }

    .budget-process-step__head h3 {
        font-size: 1.08rem;
    }

    .budget-process-step__number {
        font-size: 1.55rem;
    }
}

@media (max-width: 575.98px) {
    .budget-process-note {
        grid-template-columns: 1fr;
        border-left-width: 3px;
    }

    .budget-process-flow {
        padding-left: 1.25rem;
    }

    .budget-process-flow::before {
        left: 1.0rem;
    }

    .budget-process-step {
        padding-left: 0.9rem;
    }

    .budget-process-step__icon {
        left: -0.35rem;
        width: 44px;
        height: 44px;
        border-width: 4px;
        font-size: 0.9rem;
    }

    .budget-process-step__card {
        padding: 1.05rem 0.95rem 1.05rem 2.55rem;
        border-radius: 1.2rem;
    }

    .budget-process-step__head h3 {
        font-size: 1rem;
    }

    .budget-process-step__number {
        font-size: 1.3rem;
    }
}

@media (hover: none) {
    .budget-process-step:hover .budget-process-step__card {
        transform: none;
    }

    .budget-process-step:hover .budget-process-step__icon {
        transform: translateY(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .budget-process-step:hover .budget-process-step__card {
        transform: none;
    }

    .budget-process-step:hover .budget-process-step__icon {
        transform: translateY(-50%);
    }
}