﻿:root {
    --bg: #09090b;
    --bg-soft: #18181b;
    --card: #1f1f23;
    --text: #ffffff;
    --muted: #c8c8ce;
    --muted-dark: #66666f;
    --gold: #f5c542;
    --gold-dark: #b88916;
    --white: #ffffff;
    --line: rgba(255,255,255,0.12);
    --shadow: 0 24px 80px rgba(0,0,0,0.28);
    --radius: 28px;
}

@font-face {
    font-family: "WenDing Bold XingKai";
    src: url("/font/文鼎粗行楷.woff2") format("woff2"), url("/font/文鼎粗行楷.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 91px;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        color: inherit;
    }

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1160px, calc(100% - 40px));
    max-width: none;
    padding: 0;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(9, 9, 11, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    min-height: 76px;
    padding: 0;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    color: var(--white);
}

    .brand strong {
        font-size: 20px;
        letter-spacing: 0.08em;
    }

    .brand span {
        margin-top: 4px;
        color: var(--muted);
        font-size: 12px;
        letter-spacing: 0.04em;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--muted);
    font-size: 15px;
}

    .nav-links a:hover {
        color: var(--white);
    }

.nav-toggle {
    border-color: rgba(255,255,255,0.2);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: #121212;
    border-color: var(--gold);
}

    .btn-primary:hover {
        background: #ffd95d;
        border-color: #ffd95d;
        color: #121212;
        transform: translateY(-1px);
    }

.btn-secondary {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    color: var(--white);
}

    .btn-secondary:hover {
        background: rgba(255,255,255,0.12);
        border-color: rgba(255,255,255,0.28);
        color: var(--white);
        transform: translateY(-1px);
    }

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 64px;
    background-image: linear-gradient(180deg, rgba(0,0,0,0.24), rgba(0,0,0,0.12) 48%, rgba(0,0,0,0.58)), url('/images/img/02.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0,0,0,0.5), rgba(0,0,0,0.08) 52%, rgba(0,0,0,0.34));
        pointer-events: none;
    }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-copy,
.hero-title-band {
    position: relative;
    z-index: 1;
}

.hero-title-band {
    margin-top: 46px;
}

    .hero-title-band h1 {
        max-width: 980px;
        margin: 0;
        font-family: "WenDing Bold XingKai", "文鼎粗行楷", "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;
        font-weight: 700;
        text-shadow: 0 8px 28px rgba(0,0,0,0.55);
        font-size: 2.5rem;
        text-align: center;
    }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(245,197,66,0.35);
    background: rgba(245,197,66,0.3);
    color: #ffe8a6;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 22px;
}

h1, h2 {
    font-weight: 950;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
}

h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.16;
}

.hero p {
    margin-top: 0;
    color: #fff;
    font-size: 19px;
    max-width: 620px;
}

.hero-actions, .cta-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-card {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border-radius: 36px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.car-visual {
    min-height: 440px;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(0,0,0,0.35)), radial-gradient(circle at 50% 38%, rgba(255,255,255,0.25), transparent 14%), linear-gradient(120deg, #2a2a30, #09090b 55%, #000000);
    overflow: hidden;
    position: relative;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .car-visual::before {
        content: "";
        position: absolute;
        left: 10%;
        right: 10%;
        top: 47%;
        height: 98px;
        border-radius: 999px 999px 26px 26px;
        background: linear-gradient(90deg, #151515, #767676 50%, #111111);
        box-shadow: 0 28px 70px rgba(0,0,0,0.55);
        opacity: 0.9;
    }

    .car-visual::after {
        content: "";
        position: absolute;
        left: 18%;
        right: 18%;
        top: 41%;
        height: 50px;
        border-radius: 999px 999px 14px 14px;
        background: linear-gradient(90deg, #080808, #333, #080808);
        opacity: 0.95;
    }

.visual-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 1rem;
}

.visual-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    margin: auto;
    margin-bottom: 1rem;
}

.visual-bottom2 {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    margin: auto;
    margin-bottom: 1rem;
}

.flag-list {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #2b292f;
    padding: 0.6rem 0.9rem;
    border-radius: 1rem;
}

    .flag-list img {
        width: 30px;
        height: 20px;
        object-fit: cover;
        border-radius: 3px;
        box-shadow: 0 0 0 1px rgba(255,255,255,0.28);
    }

.visual-panel {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.48);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 20px;
    margin-top: auto;
}

.panel-title {
    color: var(--muted);
    font-size: 2rem;
    margin-bottom: 12px;
    margin: auto;
    margin-bottom: 1rem;
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.panel-grid2 {
    display: grid;
    gap: 10px;
    margin-bottom: 0.6rem;
}

.panel-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 12px;
    border-radius: 14px;
    color: #f5f5f5;
    font-size: 14px;
}

.panel-item-email {
    margin: 0.5rem;
    padding: 0.5rem 4rem;
    text-align: center;
    letter-spacing: 1em;
    text-indent: 1em;
    display: flex;
    font-size: 1rem;
}

section {
    padding: 88px 0;
}

    section[id] {
        scroll-margin-top: 91px;
    }

#about.section-soft {
    /* 保持你原本的寬高，不需設定 50vh */
    background-image: url(/images/img/07-6.png);
    background-repeat: no-repeat;
    /* 關鍵設定 */
    background-size: 100% 200%; /* 寬度 100%，高度是容器的 2 倍 */
    background-position: top center; /* 對齊頂部，所以顯示上半 50% */
}

#value.section-soft {
    /* 保持你原本的寬高 */
    background-image: url(/images/img/07-6.png);
    background-repeat: no-repeat;
    /* 關鍵設定 */
    background-size: 100% 200%; /* 寬度 100%，高度是容器的 2 倍 */
    background-position: bottom center; /* 對齊底部，所以顯示下半 50% */
}

.section-white {
    background: #ffffff;
    color: #111113;
}

.section-soft {
    background: var(--bg-soft);
}

#about.section-soft,
#value.section-soft {
/*    background-image: linear-gradient(180deg, rgba(24,24,27,0.42), rgba(24,24,27,0.68)), url('/images/img/07-.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
}

#cases.section-soft {
    /*background-image: linear-gradient(180deg, rgba(24,24,27,0.42), rgba(24,24,27,0.68)), url('/images/img/06.jpg');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-dark {
    background-color: var(--bg);
    color: var(--text);
}

.section-head {
    max-width: 100%;
    margin-bottom: 44px;
}

    .section-head.center {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

.section-label {
    color: var(--gold-dark);
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.section-dark .section-label, .section-soft .section-label {
    color: var(--gold-dark);
}

.section-head p {
    margin-top: 18px;
    font-size: 18px;
    color: var(--muted-dark);
}

.section-dark .section-head p, .section-soft .section-head p {
    color: var(--muted-dark);
}

.about-mobile-image {
    display: none;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.mini-card {
    border: 1px solid #e8e8ea;
    border-radius: 22px;
    padding: 22px;
    background: #fff;
    min-height: 130px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

    .mini-card .icon {
        color: var(--gold-dark);
        font-size: 22px;
        margin-bottom: 14px;
        font-weight: 900;
    }

    .mini-card strong {
        display: block;
        font-size: 17px;
    }

.trust-grid, .case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.trust-card, .value-card {
    border: 1px solid var(--line);
    background: #222126;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.trust-card {
    min-height: 260px;
}

.trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(245,197,66,0.14);
    color: #ffe08a;
    display: grid;
    place-items: center;
    font-weight: 900;
    margin-bottom: 18px;
}

.trust-card h3, .value-card h3, .process-card h3, .case-card h3, .faq-item h3, .admin-card h3 {
    font-size: 23px;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: 0;
}

.trust-card p, .value-card p, .case-card p {
    color: var(--muted);
    font-size: 16px;
}

.value-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.value-list {
    display: grid;
    gap: 16px;
}

.value-card h3 {
    color: #ffe8a6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.process-card {
    border: 1px solid #e8e8ea;
    border-radius: var(--radius);
    padding: 28px;
    background: #fff;
    min-height: 240px;
    position: relative;
}

.process-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.process-icon {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background: #111113;
    color: var(--gold);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.process-num {
    font-size: 36px;
    font-weight: 950;
    color: #e4e4e7;
}

.process-card p, .faq-item p {
    color: #65656d;
}

.faq-answer {
    white-space: pre-line;
}

.case-grid {
    grid-template-columns: repeat(3, 1fr);
}

.case-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: #222126;
    border-radius: var(--radius);
}

.case-img {
    height: 180px;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), transparent 22%), linear-gradient(135deg, #3b3b40, #09090b 58%, #000);
}

.case-content {
    padding: 28px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid #e8e8ea;
    background: #fff;
    border-radius: 24px;
    padding: 26px;
}

.cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-top: 0;
    padding-bottom: 2rem;
}

    .cta .container {
        position: relative;
        padding-top: 36px;
    }

.cta-image {
    width: 100%;
    height: clamp(260px, 34vw, 430px);
    object-fit: cover;
    object-position: center;
}

.cta p {
    margin: 22px auto 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.cta-actions {
    justify-content: center;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 34px 0;
    color: var(--muted);
    font-size: 14px;
    background: var(--bg);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

    .footer-inner strong {
        color: var(--white);
        margin-bottom: 4px;
        font-size: 1.2rem;
        display: flex;
        align-items: flex-start;
    }

.footer-tagline {
    display: inline;
}

.login-section {
    min-height: 680px;
    display: flex;
    align-items: center;
}

.login-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
}

.login-card {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.06);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-control {
    min-height: 48px;
    border-radius: 14px;
}

.login-hint {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.admin-section {
    min-height: 620px;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 36px;
}

    .admin-top p {
        color: #65656d;
        max-width: 680px;
    }

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.admin-grid-single {
    grid-template-columns: minmax(0, 420px);
}

.admin-card {
    border: 1px solid #e8e8ea;
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

    .admin-card span {
        color: var(--gold-dark);
        font-weight: 950;
    }

    .admin-card p {
        color: #65656d;
    }

.admin-logout {
    color: #111113;
    border-color: #dddddf;
    background: #fff;
}

    .admin-logout:hover {
        color: #111113;
        background: #f4f4f5;
    }

@media (max-width: 980px) {
    .hero {
        background-image: linear-gradient(180deg, rgba(0,0,0,0.42), rgba(0,0,0,0.18) 46%, rgba(0,0,0,0.78)), url('/images/img/02.jpg');
        background-position: center top;
    }

    .hero-grid, .value-layout, .login-layout {
        grid-template-columns: 1fr;
    }

    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid, .process-grid, .case-grid, .admin-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 20px 0;
    }

    .nav-cta {
        margin-bottom: 18px;
    }

    .car-visual {
        min-height: 360px;
    }
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 77px;
    }

    section[id] {
        scroll-margin-top: 77px;
    }

    .container {
        width: min(100% - 28px, 1160px);
    }

    .nav-inner {
        min-height: auto;
        padding: 14px 0;
    }

    .brand span {
        display: none;
    }

    .nav-cta, .hero-actions .btn, .cta-actions .btn {
        width: 100%;
    }

    .hero {
        padding: 64px 0 52px;
        background-image: linear-gradient(180deg, rgba(0,0,0,0.42), rgba(0,0,0,0.18) 46%, rgba(0,0,0,0.78)), url('/images/img/05.png');
        background-position: center top;
    }

        .hero::before {
            background: linear-gradient(180deg, rgba(0,0,0,0.52), rgba(0,0,0,0.16) 48%, rgba(0,0,0,0.74));
        }

    #about.section-soft,
    #value.section-soft {
        background-image: linear-gradient(180deg, rgba(24,24,27,0.38), rgba(24,24,27,0.72)), url('/images/img/07-4.png');
        background-position: center top;
    }

    .about-mobile-image {
        display: block;
        width: 100%;
    }

    .hero-title-band {
        margin-top: 36px;
    }

    .hero-actions, .cta-actions {
        flex-direction: row;
        align-items: center;
        align-content: center;
    }

    .pain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(14px, 4vw, 20px);
        padding: 0 clamp(12px, 6vw, 28px);
    }

    .mini-card {
        aspect-ratio: 1 / 1;
        min-height: 0;
        border: 0;
        border-radius: 16px;
        padding: 22px 12px;
        background: #f1f1f2;
        box-shadow: 0 8px 22px rgba(0,0,0,0.04);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

        .mini-card .icon {
            margin-bottom: 20px;
            font-size: 24px;
            line-height: 1;
        }

        .mini-card strong {
            font-size: 16px;
            line-height: 1.35;
        }

    section {
        padding: 64px 0;
    }

    .footer-inner, .admin-top {
        flex-direction: column;
    }

        .footer-inner strong {
            flex-wrap: wrap;
        }

    .footer-separator {
        display: none;
    }

    .footer-tagline {
        width: 100%;
        margin-top: 6px;
    }
}

.faq-contact-panel {
    margin-top: 24px;
    border: 1px solid #e8e8ea;
    border-radius: 24px;
    background: #f7f7f8;
    padding: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

    .faq-contact-panel h3 {
        margin: 0 0 6px;
        font-size: 24px;
        font-weight: 900;
    }

    .faq-contact-panel p {
        margin: 0;
        color: #65656d;
    }

.contact-alert {
    margin-top: 18px;
    border-radius: 16px;
}

.contact-modal {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

    .contact-modal .modal-header, .contact-modal .modal-footer {
        border-color: #eeeeef;
        padding: 22px 24px;
    }

    .contact-modal .modal-title {
        font-size: 24px;
        color: #111113;
    }

    .contact-modal .modal-body {
        padding: 24px;
        color: #111113;
    }

.modal-cancel {
    color: #111113;
    border-color: #dddddf;
    background: #fff;
}

    .modal-cancel:hover {
        color: #111113;
        background: #f4f4f5;
    }

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-card-link {
    color: #111113;
    transition: 0.2s ease;
}

    .admin-card-link:hover {
        color: #111113;
        transform: translateY(-2px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    }

.admin-table-wrap {
    border: 1px solid #e8e8ea;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.admin-table {
    margin: 0;
}

    .admin-table thead th {
        background: #111113;
        color: #fff;
        border: 0;
        padding: 18px;
    }

    .admin-table tbody td {
        padding: 18px;
        vertical-align: middle;
    }

    .admin-table p {
        margin: 6px 0 0;
        color: #65656d;
        max-width: 620px;
    }

.admin-table-btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 14px;
}

.admin-edit-btn {
    box-shadow: 0 8px 20px rgba(184,137,22,0.24);
}

    .admin-edit-btn:hover, .admin-edit-btn:focus-visible {
        box-shadow: 0 12px 26px rgba(184,137,22,0.34);
    }

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    background: #efeff1;
    color: #66666f;
    font-weight: 800;
    font-size: 13px;
}

    .status-pill.is-active {
        background: rgba(184,137,22,0.14);
        color: #8a640d;
    }

.admin-form-container {
    max-width: 860px;
}

.admin-form-card {
    border: 1px solid #e8e8ea;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
}

.btn-danger {
    background: #b42318;
    border-color: #b42318;
    color: #fff;
}

    .btn-danger:hover {
        background: #9f1f15;
        border-color: #9f1f15;
        color: #fff;
    }

@media (max-width: 640px) {
    .faq-contact-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-actions, .admin-form-actions {
        flex-direction: column;
    }

        .admin-actions .btn, .admin-form-actions .btn {
            width: 100%;
        }

    .admin-table-wrap {
        overflow-x: auto;
    }

    .admin-table {
        min-width: 760px;
    }

    .footer-img {
        width: 8rem;
    }

    .footer-separator {
    }

    .footer-tagline {
        width: 100%;
        margin-top: 6px;
        font-size: 1rem;
    }
}

.admin-body {
    background: #f5f5f6;
    color: #111113;
}

.admin-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #111113;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.admin-nav-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.admin-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    color: #fff;
}

    .admin-brand:hover {
        color: #fff;
    }

    .admin-brand strong {
        font-size: 18px;
        letter-spacing: 0.05em;
    }

    .admin-brand span {
        color: var(--muted);
        font-size: 12px;
        margin-top: 4px;
    }

.admin-nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 15px;
}

    .admin-nav-links a:hover {
        color: #fff;
    }

    .admin-nav-links form {
        margin: 0;
    }

    .admin-nav-links button {
        border: 1px solid rgba(255,255,255,0.22);
        background: rgba(255,255,255,0.08);
        color: #fff;
        border-radius: 999px;
        padding: 8px 14px;
        font-weight: 800;
    }

        .admin-nav-links button:hover {
            background: rgba(255,255,255,0.14);
        }

@media (max-width: 720px) {
    .admin-nav-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .admin-nav-links {
        flex-wrap: wrap;
        gap: 12px;
    }
}

.panel-input {
    width: 100%;
    min-height: 50px;
    color: #f5f5f5;
    outline: none;
    appearance: none;
}

    .panel-input::placeholder {
        color: #f5f5f5;
        opacity: 1;
    }

button.panel-item-email {
    border: 1px solid rgba(255,255,255,0.08);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.spam-check {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


.case-img {
    height: 180px;
    overflow: hidden;
}

    .case-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.case-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.045);
    height: 13vw;
}

section.hero .hero-title-band > h1.hero-main-title {
    font-family: "WenDing Bold XingKai", "文鼎粗行楷", DFKai-SB, serif !important;
    font-weight: 700 !important;
    margin: auto;
}

/* Mobile layout refinements requested 2026-05-12 */
@media (max-width: 640px) {
    .nav-inner {
        position: relative;
        justify-content: center;
        min-height: auto;
        padding: 14px 0;
    }

    .brand {
        align-items: center;
        margin: 0 auto;
    }

        .brand strong img {
            width: 8.5rem;
        }

    .nav-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    #mainNav {
        flex-basis: 100%;
    }

    .hero-card {
        padding: 12px;
        border-radius: 28px;
    }

    .car-visual {
        min-height: 330px;
        padding: 14px;
    }

    .visual-top {
        align-items: center;
        gap: 8px;
        font-size: 11px;
    }

    .flag-list {
        gap: 5px;
        padding: 0.45rem 0.55rem;
        border-radius: 0.8rem;
    }

        .flag-list img {
            width: 24px;
            height: 16px;
        }

    .panel-title {
        font-size: 1.65rem;
        text-align: center;
    }

    .visual-panel {
        padding: 14px;
        border-radius: 18px;
    }

    .visual-bottom {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
        justify-content: center;
        text-align: center;
        font-size: 12px;
        line-height: 1.35;
    }

        .visual-bottom span {
            min-width: 0;
            white-space: nowrap;
        }

    .panel-grid {
        gap: 8px;
    }

    .panel-item {
        min-width: 0;
        padding: 10px 8px;
        text-align: center;
        font-size: 13px;
    }

    .panel-input {
        min-height: 46px;
        text-align: center;
    }

    .visual-bottom2 {
        width: 100%;
        justify-content: center;
    }

    .panel-item-email {
        width: min(100%, 180px);
        margin: 0.5rem auto 0;
        padding: 0.5rem 1rem;
        letter-spacing: 0.5em;
        text-indent: 0.5em;
    }

    .footer-inner,
    .footer-inner > div,
    .footer-inner strong {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-img {
        width: 8rem;
        margin: 0 auto;
    }

    .footer-tagline {
        text-align: center;
    }
}

.mobile-break {
    display: none;
}

@media (max-width: 640px) {
    .mobile-break {
        display: block;
    }

    .hero-copy .mobile-break {
        display: none;
    }

    .mobile-h2-title {
        font-size: 1.8rem;
    }

    .case-card {
        height: 20rem;
    }
}

/* Mobile hero layout matching compact screenshot */
@media (max-width: 640px) {
    .hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 26px 0 32px;
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18) 46%, rgba(0, 0, 0, 0.78)), url(/images/img/05.png);
        background-position: center top;
    }

        .hero::before {
            display: none;
        }

    .hero-grid {
        order: 2;
        display: flex;
        flex-direction: column;
        width: min(calc(100vw - 64px), 420px);
        max-width: calc(100vw - 64px);
        margin: 0 auto;
        flex: 1;
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
        min-height: 0;
        text-align: center;
        align-items: center;
    }

        .hero-copy::after {
            content: "";
            order: 3;
            width: 100%;
            aspect-ratio: 3 / 1;
            /*            background-image: url('/images/img/02.png');
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            box-shadow: none;*/
        }

    .hero.section-dark {
        background-image: url('/images/img/05.png');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        box-shadow: none;
    }

    .hero-title-band {
        order: 1;
        width: 100%;
        margin: 0 auto 16px;
        text-align: center;
    }

        .hero-title-band h1 {
            max-width: 100%;
            margin: 0 auto;
            font-size: 1.1rem;
            line-height: 1.65;
            text-align: center;
            word-break: keep-all;
            overflow-wrap: normal;
            text-shadow: none;
        }

            .hero-title-band h1 span {
            }

    .eyebrow {
        order: 1;
        margin-bottom: 14px;
        padding: 5px 11px;
        font-size: 10px;
        line-height: 1.4;
        border-color: rgba(245,197,66,0.4);
        background: rgba(38,29,16,0.62);
    }

    .hero p {
        order: 2;
        max-width: 292px;
        margin: 0 auto;
        color: rgba(255,255,255,0.92);
        font-size: 10.5px;
        line-height: 1.85;
        word-break: keep-all;
        overflow-wrap: normal;
        text-shadow: none;
        text-align: left;
    }

    .hero-actions {
        order: 4;
        width: 100%;
        margin-top: 0;
        padding-top: 0;
        flex-direction: column;
        gap: 10px;
    }

        .hero-actions .btn {
            width: 100%;
            min-height: 44px;
            font-size: 14px;
            box-shadow: none;
        }

        .hero-actions .btn-secondary {
            background: rgba(10,10,12,0.88);
            border-color: rgba(255,255,255,0.18);
        }

    .hero-card {
        display: block;
        width: 100%;
        margin-top: 22px;
        padding: 0;
        border: 0;
        border-radius: 24px;
        background: transparent;
        box-shadow: none;
        overflow: hidden;
    }

    .car-visual {
        width: 100%;
        min-height: 0;
        padding: 14px;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 24px;
        box-shadow: none;
        overflow: hidden;
    }

        .car-visual::before,
        .car-visual::after {
            display: none;
        }

    .visual-top {
        align-items: center;
        gap: 8px;
        margin-bottom: 18px;
        font-size: 12px;
        overflow: hidden;
    }

        .visual-top > span:first-child {
            flex: 0 0 auto;
        }

    .flag-list {
        gap: 5px;
        max-width: 142px;
        padding: 0.45rem 0.55rem;
        border-radius: 0.8rem;
        flex: 0 1 auto;
        overflow: hidden;
    }

        .flag-list img {
            width: 24px;
            height: 16px;
        }

    .panel-title {
        margin: 0 0 14px;
        color: #f3f3f5;
        font-size: 1.8rem;
        text-align: center;
    }

    .visual-panel {
        width: 100%;
        margin-top: 0;
        padding: 14px;
        border-radius: 18px;
        background: rgba(0,0,0,0.55);
        backdrop-filter: none;
    }

    .visual-bottom {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
        justify-content: center;
        text-align: center;
        font-size: 12px;
        line-height: 1.35;
    }

        .visual-bottom span {
            min-width: 0;
            white-space: nowrap;
        }

    .panel-grid {
        gap: 8px;
    }

    .panel-item {
        min-width: 0;
        padding: 10px 8px;
        text-align: center;
        font-size: 13px;
    }

    .panel-input {
        min-height: 46px;
        text-align: center;
    }

    .visual-bottom2 {
        width: 100%;
        justify-content: center;
        margin-bottom: 0;
    }

    .panel-item-email {
        width: min(100%, 180px);
        margin: 12px auto 0;
        padding: 0.5rem 1rem;
        letter-spacing: 0.5em;
        text-indent: 0.5em;
    }
}

.section-white2 {
    display: none;
    position: relative;
    overflow: hidden;
}

    .section-white2::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 58%;
        background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.86) 18%, rgba(255,255,255,0.34) 48%, rgba(255,255,255,0) 100%);
        pointer-events: none;
    }

/* Mobile hero overflow guard */
@media (max-width: 640px) {
    .hero,
    .hero-grid,
    .hero .hero-card,
    .hero2 .hero-card,
    .car-visual,
    .visual-top,
    .visual-panel,
    .panel-grid {
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .panel-grid {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel-item {
        width: 100%;
        font-size: 12px;
    }

    .visual-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .visual-bottom span {
            font-size: 11px;
        }

    .flag-list {
        max-width: 126px;
    }

        .flag-list img {
            width: 21px;
            height: 14px;
        }

    .container.hero-actions {
        background-image: url(/images/img/02.png);
        background-position: center center;
        width: 100%;
    }

    .section-white2 {
        display: block;
        background-color: white;
        margin: 0;
        padding: 0;
    }
}

.hero2 {
    display: none;
}

@media (max-width: 640px) {
    .hero .hero-card {
        display: none;
    }

    .hero2 {
        display: block;
        padding: 24px 0 36px;
        background: #0e1016;
    }

        .hero2 .hero-card {
            display: block;
            width: min(calc(100vw - 64px), 420px);
            margin: 0 auto;
        }
}
