:root {
    --brand-red: #D71920;
    --brand-red-dark: #A90F14;
    --brand-clay: #B86A4A;
    --brand-paper: #F7F3EA;
    --brand-mist: #ECE7DC;
    --brand-stone: #CFC8BA;
    --brand-gray: #6F6A61;
    --brand-silver: #DED8CC;
    --ink: #0B0B0D;
    --paper: #FFFFFF;
    --accent-primary: var(--brand-red);
    --accent-secondary: var(--brand-clay);
    --accent-lime: var(--brand-red);
}

body {
    background: var(--brand-paper);
}

.nav-capsule {
    background: rgba(247, 243, 234, 0.88);
    border-color: rgba(11, 11, 13, 0.06);
}

.nav-capsule:hover {
    background: rgba(247, 243, 234, 0.94);
}

.nav-links a:hover,
.nav-links a.is-active {
    background: var(--ink-900);
}

.btn {
    background: var(--ink-900);
    border-color: var(--ink-900);
}

.btn:hover {
    background: var(--brand-paper);
    color: var(--ink-900);
}

.btn-accent {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
    box-shadow: 0 8px 24px rgba(215, 25, 32, 0.18);
}

.btn-accent:hover {
    background: var(--brand-red-dark);
    color: #fff;
    border-color: var(--brand-red-dark);
    box-shadow: 0 12px 30px rgba(215, 25, 32, 0.24);
}

.btn-wechat {
    background: var(--brand-paper);
    color: var(--ink-900);
    border-color: var(--brand-paper);
}

.btn-wechat:hover {
    background: #fff;
    color: var(--ink-900);
    border-color: #fff;
}

.contact-cta {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.2rem;
}

.contact-cta .btn {
    min-width: 220px;
    padding: 1rem 2.4rem;
    border-radius: 2px;
    text-align: center;
    box-shadow: none;
}

.contact-cta .btn-accent {
    box-shadow: 0 10px 28px rgba(215, 25, 32, 0.2);
}

.contact-cta .btn-wechat {
    border-color: var(--brand-paper);
}

.contact-cta .btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    border-color: rgba(247, 243, 234, 0.52);
}

.contact-cta .btn-ghost:hover {
    background: var(--brand-paper);
    color: var(--ink-900);
    border-color: var(--brand-paper);
}

.contact-secondary-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.82rem;
}

.contact-secondary-actions a,
.contact-secondary-actions button {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    padding: 0.25rem 0.9rem;
    transition: color 0.25s ease;
}

.contact-secondary-actions a + button,
.contact-secondary-actions button + a {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-secondary-actions a:hover,
.contact-secondary-actions button:hover {
    color: #fff;
}

@media (max-width: 560px) {
    .contact-secondary-actions {
        flex-direction: column;
        gap: 0.55rem;
    }

    .contact-secondary-actions a,
    .contact-secondary-actions button {
        padding: 0.2rem 0;
    }

    .contact-secondary-actions a + button,
    .contact-secondary-actions button + a {
        border-left: 0;
    }
}

.contact-channels {
    --contact-line: rgba(255, 255, 255, 0.16);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top-color: var(--contact-line);
    border-bottom-color: var(--contact-line);
}

.contact-channel {
    border-color: var(--contact-line);
}

.contact-channel + .contact-channel {
    border-left: 0;
}

.contact-channel:nth-child(2) {
    border-left: 1px solid var(--contact-line);
}

.contact-channel:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--contact-line);
}

.works-section,
.trust-strip,
.services,
.cases {
    background: var(--brand-paper);
}

.section-alt,
.plans {
    background: var(--brand-mist);
}

.work-image {
    background: var(--brand-mist);
}

.trust-strip {
    border-bottom-color: rgba(11, 11, 13, 0.06);
}

.trust-item {
    color: rgba(11, 11, 13, 0.58);
}

.trust-dot {
    background: var(--brand-stone);
}

.problem-card::after,
.method-step::after,
.plan-card::after {
    background: var(--accent-secondary);
}

.problem-num,
.step-num {
    color: var(--brand-stone);
}

.service-grid,
.plan-grid {
    background: rgba(11, 11, 13, 0.09);
    border-color: rgba(11, 11, 13, 0.09);
}

.service-card:hover {
    background: #FBF8F1;
}

.case-actions {
    margin-top: 2rem;
}

.case-visual-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.case-title a {
    color: inherit;
    text-decoration: none;
}

.case-title a:visited,
.case-title a:focus {
    color: inherit;
}

.case-title a:hover {
    color: var(--brand-red);
}

.case-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 152px;
    padding: 0.85rem 1.4rem;
    border: 1px solid rgba(11, 11, 13, 0.16);
    color: var(--ink-900);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    transition: all 0.35s ease;
}

.case-more-link:hover {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
   Liquid Glass 视觉层
   ======================================== */

.liquid-glass,
.glass-button,
.glass-nav,
.nav-capsule {
    position: relative;
    overflow: hidden;
}

.liquid-glass {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow:
        0 18px 42px rgba(11, 11, 13, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.74),
        inset 0 -1px 0 rgba(11, 11, 13, 0.04);
}

.liquid-glass::before,
.glass-button::before,
.glass-nav::before,
.nav-capsule::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.58) 0%,
            rgba(255, 255, 255, 0.2) 32%,
            rgba(255, 255, 255, 0.04) 62%,
            rgba(255, 255, 255, 0) 100%
        );
    opacity: 0.72;
}

.liquid-glass::after,
.glass-button::after,
.glass-nav::after,
.nav-capsule::after {
    content: "";
    position: absolute;
    inset: 1px;
    pointer-events: none;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.liquid-glass > *,
.glass-button > *,
.glass-nav > *,
.nav-capsule > * {
    position: relative;
    z-index: 1;
}

.glass-nav,
.nav-capsule {
    background: rgba(247, 243, 234, 0.56);
    backdrop-filter: blur(26px) saturate(175%);
    -webkit-backdrop-filter: blur(26px) saturate(175%);
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow:
        0 14px 38px rgba(11, 11, 13, 0.1),
        0 1px 6px rgba(11, 11, 13, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.64),
        inset 0 -1px 0 rgba(11, 11, 13, 0.035);
}

.nav-capsule:hover {
    background: rgba(247, 243, 234, 0.64);
    box-shadow:
        0 16px 42px rgba(11, 11, 13, 0.12),
        0 2px 8px rgba(11, 11, 13, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(11, 11, 13, 0.04);
}

.nav-logo {
    background: rgba(11, 11, 13, 0.9);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-button {
    border-radius: 999px;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        0 14px 32px rgba(11, 11, 13, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        background 0.32s ease,
        border-color 0.32s ease,
        color 0.32s ease;
}

@media (max-width: 768px) {
    .nav-capsule {
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
        box-shadow:
            0 12px 32px rgba(11, 11, 13, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .nav-links a:hover,
    .nav-links a.is-active {
        background: transparent;
        color: #000;
        box-shadow: none;
        transform: none;
    }

    .contact-channels {
        grid-template-columns: 1fr;
    }

    .contact-channel:nth-child(2) {
        border-left: 0;
        border-top: 1px solid var(--contact-line);
    }
}
