:root {
    --bg: #f7f5f2;
    --bg-soft: #fbfaf7;
    --paper: #ffffff;
    --paper-soft: #f4f1ed;
    --ink: #252128;
    --text: #403a44;
    --muted: #746b77;
    --muted-strong: #5e5662;
    --line: rgba(59, 49, 64, 0.12);
    --line-strong: rgba(59, 49, 64, 0.2);
    --accent: #c94376;
    --accent-strong: #a72e5e;
    --accent-soft: #f7dce8;
    --blue: #2f72a8;
    --blue-soft: #d9e9f5;
    --green: #4b7b68;
    --gold: #9b7135;
    --shadow: 0 18px 42px rgba(36, 30, 41, 0.08);
    --shadow-soft: 0 10px 26px rgba(36, 30, 41, 0.06);
    --radius: 8px;
    --max-width: 1240px;
}

html {
    scroll-padding-top: 96px;
}

body {
    color: var(--text);
    font-family: "HarmonyOS Sans SC", "Alibaba PuHuiTi", "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    background:
        linear-gradient(180deg, #fbfaf7 0%, #f7f5f2 52%, #eef4f5 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(45, 38, 50, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 38, 50, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 78%);
}

.container {
    width: min(var(--max-width), calc(100vw - 40px));
    margin: 0 auto;
}

.section {
    padding: 92px 0 0;
}

.glass,
.card,
.soft-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.kicker,
.badge {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-head h2,
.page-banner h1 {
    margin: 12px 0 0;
    color: var(--ink);
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.14;
    font-weight: 1000;
    letter-spacing: 0;
    text-shadow: none;
}

.section-head p,
.lead,
.text-muted {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.section-head p {
    margin: 0;
    max-width: 760px;
}

.btn-row,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    border-color: var(--accent-strong);
    color: #fff;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.btn-secondary {
    color: var(--accent-strong);
    background: #fff;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.tag-row span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 18px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    min-height: 198px;
    padding: 24px;
    display: grid;
    align-content: start;
    gap: 12px;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 900;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.page-banner {
    padding: 88px 0 28px;
}

.page-banner-panel {
    min-height: 330px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    justify-items: center;
    padding: 34px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
        url("/背景.png");
    background-size: cover;
    background-position: center;
    text-align: center;
}

.page-banner-panel > div:first-child {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-banner p {
    max-width: 720px;
    margin: 16px auto 0;
}

.visual-strip {
    width: min(760px, 100%);
    min-height: 220px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.2)),
        url("/背景.png");
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.dyc-guide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
    justify-items: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.dyc-guide__intro {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 12px;
    max-width: 920px;
    text-align: center;
}

.dyc-guide__intro h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 1000;
}

.dyc-guide__intro p,
.dyc-guide-result p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
    max-width: 760px;
}

.dyc-guide__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dyc-guide-card {
    min-height: 120px;
    padding: 18px;
    display: grid;
    align-content: start;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    color: var(--text);
    justify-items: center;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dyc-guide-card:hover,
.dyc-guide-card.is-active {
    transform: translateY(-2px);
    border-color: rgba(201, 67, 118, 0.38);
    background: #fff;
}

.dyc-guide-card strong {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.25;
}

.dyc-guide-card span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.dyc-guide-result {
    width: min(720px, 100%);
    padding: 22px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 14px;
    border: 1px solid rgba(47, 114, 168, 0.18);
    border-radius: var(--radius);
    background: #f6fafc;
}

.dyc-guide-result h3 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.25;
}

.copy-template-wrap {
    display: grid;
    gap: 12px;
}

.copy-template-actions {
    display: flex;
    justify-content: center;
}

.dyc-quick-dock {
    position: fixed;
    left: 50%;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 76;
    display: none;
    transform: translateX(-50%);
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dyc-quick-dock a {
    min-width: 54px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 900;
}

.dyc-quick-dock a:hover {
    color: #fff;
    background: var(--accent-strong);
}

[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
}

.reveal-ready [data-reveal].is-visible,
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1040px) {
    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 80px;
    }

    .container {
        width: min(var(--max-width), calc(100vw - 24px));
    }

    .section {
        padding-top: 64px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .dyc-guide__options {
        grid-template-columns: 1fr;
    }

    .page-banner {
        padding-top: 74px;
    }

    .page-banner-panel,
    .card,
    .dyc-guide {
        padding: 22px;
    }

    .visual-strip {
        min-height: 170px;
    }

    .section-head h2,
    .page-banner h1 {
        font-size: 31px;
        line-height: 1.18;
    }

    .btn-row,
    .contact-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        min-width: 0;
    }

    .dyc-quick-dock {
        display: inline-flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
