/* 修了么官网：色值沿用桌面端 Dark 主题（src/utils/themes.ts） */
:root {
    --bg-primary: rgb(24, 24, 24);
    --bg-secondary: rgb(35, 35, 35);
    --surface: rgb(28, 28, 28);
    --card-active: rgb(43, 43, 43);
    --border: rgb(45, 45, 45);
    --text-primary: rgb(232, 234, 237);
    --text-secondary: rgb(158, 158, 158);
    --accent: rgb(255, 255, 255);
    --button-text: rgb(0, 0, 0);
    --warm: rgb(198, 142, 110);
    --warm-soft: rgba(198, 142, 110, 0.14);
    --radius-md: 8px;
    --radius-lg: 15px;
    --shadow-shiny: 0 0 24px rgba(255, 255, 255, 0.12);
    --nav-height: 68px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
    margin: 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html,
body,
div,
section,
header,
footer,
nav,
article,
ul,
ol,
li,
a,
img,
input,
button,
details {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 860px;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

button.btn {
    appearance: none;
}

.btn--sm {
    padding: 7px 16px;
    font-size: 14px;
}

.btn--lg {
    padding: 14px 26px;
    font-size: 16px;
}

.btn--primary {
    background: var(--accent);
    color: var(--button-text);
}

.btn--primary:hover {
    box-shadow: var(--shadow-shiny);
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text-primary);
}

.btn--ghost:hover {
    background: var(--bg-secondary);
    border-color: rgb(70, 70, 70);
}

.btn--disabled {
    background: var(--card-active);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.btn--disabled:hover {
    box-shadow: none;
    transform: none;
}

.btn__badge {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--warm-soft);
    color: var(--warm);
    font-size: 12px;
    font-weight: 500;
}

/* ===== 标签 ===== */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 13px;
}

.tag--accent {
    border-color: rgba(198, 142, 110, 0.35);
    background: var(--warm-soft);
    color: var(--warm);
}

/* ===== 导航 ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.is-scrolled {
    background: rgba(24, 24, 24, 0.86);
    border-bottom-color: var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav__logo {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
}

.nav__name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    padding: 8px 14px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 15px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--text-primary);
}

.nav__link.is-active {
    background: var(--bg-secondary);
}

.nav__link--mobile-only {
    display: none;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav__sub {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav__sub:hover {
    color: var(--text-primary);
}

.nav__toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
}

/* ===== 首屏 ===== */
.hero {
    position: relative;
    padding: calc(var(--nav-height) + 72px) 0 96px;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero__glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    will-change: transform;
}

.hero__glow-orb--warm {
    top: -8%;
    right: 8%;
    width: min(640px, 72vw);
    height: min(480px, 55vw);
    background: radial-gradient(ellipse at center, rgba(198, 142, 110, 0.16), transparent 68%);
    animation: glowDriftWarm 16s ease-in-out infinite alternate;
}

.hero__glow-orb--cool {
    top: -4%;
    left: -6%;
    width: min(520px, 60vw);
    height: min(420px, 48vw);
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.055), transparent 70%);
    animation: glowDriftCool 18s ease-in-out infinite alternate;
}

@keyframes glowDriftWarm {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-4%, 6%) scale(1.08); }
}

@keyframes glowDriftCool {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 4%) scale(1.06); }
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 56px;
}

.hero-enter {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0ms);
}

.hero.is-ready .hero-enter {
    opacity: 1;
    transform: none;
}

.hero__title {
    margin: 20px 0;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero__title-accent {
    background: linear-gradient(105deg, rgb(232, 200, 170), var(--warm), rgb(232, 200, 170));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: accentShimmer 10s ease-in-out infinite;
}

@keyframes accentShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero__desc {
    max-width: 480px;
    color: var(--text-secondary);
    font-size: 17px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 28px;
    color: var(--text-secondary);
    font-size: 14px;
}

.hero__points li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero__points i {
    color: var(--warm);
}

/* ===== 桌面端窗口示意 ===== */
.app-mock-wrap {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.app-mock {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02);
    overflow: hidden;
    user-select: none;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    will-change: transform;
}

.app-mock.is-tilting {
    transition: none;
}

.app-mock__titlebar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 14px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.app-mock__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgb(60, 60, 60);
}

.app-mock__title {
    margin-left: 10px;
    color: var(--text-secondary);
    font-size: 12px;
}

.app-mock__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px 40px;
    height: 400px;
}

.app-mock__stage {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
    gap: 10px;
    background: var(--bg-secondary);
}

.app-mock__canvas {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-mock__photo {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 4px;
    filter: brightness(var(--mock-bright, 1.06)) contrast(var(--mock-contrast, 1.03)) saturate(var(--mock-saturate, 1.06));
    transition: filter 0.7s ease;
}

.app-mock__face {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 64px;
    height: 78px;
    transform: translateX(-50%);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

.app-mock__face.is-pulse {
    animation: facePulse 1.8s ease-in-out infinite;
}

@keyframes facePulse {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.7);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        border-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
    }
}

.app-mock__filmstrip {
    display: flex;
    gap: 6px;
    height: 54px;
    flex-shrink: 0;
}

.app-mock__filmstrip img {
    flex: 1;
    min-width: 0;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.55;
}

.app-mock__filmstrip img.is-active {
    opacity: 1;
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.app-mock__panel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-left: 1px solid var(--border);
    background: var(--surface);
    font-size: 11px;
    overflow: hidden;
}

.app-mock__panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 700;
}

.app-mock__panel-head i {
    color: var(--text-secondary);
}

.app-mock__status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(52, 211, 153, 0.10);
    color: rgb(110, 220, 170);
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.app-mock__status.is-flash {
    background: rgba(52, 211, 153, 0.22);
    box-shadow: 0 0 0 1px rgba(110, 220, 170, 0.35);
}

.app-mock__group {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--border);
    color: var(--text-primary);
    font-weight: 600;
}

.mock-slider {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-secondary);
}

.mock-slider b {
    position: relative;
    display: block;
    height: 3px;
    border-radius: 3px;
    background: var(--card-active);
}

.mock-slider b::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--v);
    border-radius: 3px;
    background: rgb(120, 120, 120);
    transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.mock-slider b::after {
    content: "";
    position: absolute;
    top: 50%;
    left: var(--v);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-mock__switcher {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    border-left: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 16px;
}

.app-mock__switcher .is-active {
    color: var(--accent);
}

/* ===== 通用分区 ===== */
.section {
    padding: 104px 0;
}

.section--alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section__head {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.section__title {
    margin: 16px 0 12px;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
}

.section__desc {
    color: var(--text-secondary);
    font-size: 17px;
}

/* ===== 卡片 ===== */
.card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    transition:
        border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.3s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
}

.card:hover {
    border-color: rgb(70, 70, 70);
    background: var(--card-active);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.card--compact {
    padding: 20px;
}

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--warm);
    font-size: 22px;
}

.card__title {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
}

.card__desc {
    color: var(--text-secondary);
    font-size: 14px;
}

.grid {
    display: grid;
    gap: 16px;
}

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

/* ===== AI 人像 ===== */
.portrait {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 32px;
    align-items: stretch;
}

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

.compare {
    position: relative;
    min-height: 480px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    overflow: hidden;
    user-select: none;
    transition: box-shadow 0.4s ease;
}

.compare.is-demoing {
    box-shadow: 0 0 0 1px rgba(198, 142, 110, 0.22);
}

.compare__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 占位效果：替换真实修后图片后删除此滤镜即可 */
.compare__img--after {
    filter: brightness(1.08) contrast(1.04) saturate(1.1);
}

.compare__after {
    position: absolute;
    inset: 0;
    clip-path: inset(0 0 0 var(--pos));
}

.compare__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    pointer-events: none;
}

.compare__handle i {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--button-text);
    font-size: 18px;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.compare__label,
.compare__note {
    position: absolute;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--text-primary);
    font-size: 12px;
    pointer-events: none;
}

.compare__label--before {
    top: 14px;
    left: 14px;
}

.compare__label--after {
    top: 14px;
    right: 14px;
}

.compare__note {
    right: 14px;
    bottom: 14px;
    color: var(--text-secondary);
}

.compare__range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    -webkit-appearance: none;
    appearance: none;
    touch-action: pan-y;
}

.compare__range:focus-visible ~ .compare__handle i,
.compare:focus-within .compare__handle i {
    box-shadow: 0 0 0 3px rgba(198, 142, 110, 0.6);
}

.highlights {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.highlight {
    display: flex;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.highlight i {
    flex-shrink: 0;
    color: var(--warm);
    font-size: 22px;
    line-height: 1.2;
}

.highlight h4 {
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 700;
}

.highlight p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ===== 工作流 ===== */
.workflow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.workflow__step {
    position: relative;
    padding: 28px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--bg-secondary), var(--surface));
}

.workflow__no {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgb(70, 70, 70);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.workflow__step i {
    display: block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 28px;
}

.workflow__step h3 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
}

.workflow__step p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== 免费使用 ===== */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pricing--free {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin: 0 auto;
}

.plan {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
}

.plan--featured {
    border-color: rgba(198, 142, 110, 0.45);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(198, 142, 110, 0.12), transparent 70%),
        var(--bg-secondary);
}

.plan__head {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.plan__head h3 {
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
}

.plan__price {
    font-size: 32px;
    font-weight: 800;
}

.plan__price small {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.plan__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.plan__list li {
    display: flex;
    gap: 8px;
}

.plan__list i {
    flex-shrink: 0;
    color: var(--warm);
}

.plan--earn .plan__head {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 12px;
}

.plan--earn .plan__head h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
}

.earn {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.earn li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.earn span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--card-active);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
}

.earn__qr {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 20px;
}

.earn__qr img {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-md);
    background: var(--accent);
    padding: 4px;
}

.earn__qr p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ===== 下载 ===== */
.download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(198, 142, 110, 0.12), transparent 70%),
        var(--bg-secondary);
}

.download__main {
    display: flex;
    align-items: center;
    gap: 24px;
}

.download__logo {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    flex-shrink: 0;
}

.download__title {
    margin-bottom: 8px;
    font-size: 32px;
    font-weight: 800;
}

.download__desc {
    max-width: 420px;
    color: var(--text-secondary);
}

.download__side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex-shrink: 0;
}

.download__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== QQ 群弹层 ===== */
.qq-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.qq-modal[hidden] {
    display: none;
}

.qq-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.qq-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 380px);
    padding: 32px 28px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.qq-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-secondary);
    font-size: 22px;
    cursor: pointer;
}

.qq-modal__close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.qq-modal__title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
}

.qq-modal__desc {
    margin: 0 0 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.qq-modal__qr {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 16px;
    border-radius: var(--radius-md);
    background: #fff;
}

.qq-modal__number {
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
}

.qq-modal__number strong {
    font-weight: 700;
    letter-spacing: 0.02em;
}

body.is-qq-modal-open {
    overflow: hidden;
}

/* ===== 拍了么推广 ===== */
.pai-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse 55% 80% at 100% 50%, rgba(198, 142, 110, 0.14), transparent 70%),
        var(--bg-secondary);
}

.pai-promo__main {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.pai-promo__logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    flex-shrink: 0;
    object-fit: contain;
}

.pai-promo__title {
    margin: 10px 0 8px;
    font-size: 26px;
    font-weight: 800;
}

.pai-promo__desc {
    max-width: 520px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.pai-promo .btn {
    flex-shrink: 0;
}

/* ===== 常见问题 ===== */
.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    transition: border-color 0.2s ease;
}

.faq__item[open] {
    border-color: rgb(70, 70, 70);
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: "\ea4e";
    font-family: "remixicon";
    color: var(--text-secondary);
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.faq__item[open] summary::after {
    transform: rotate(180deg);
}

.faq__item p {
    padding: 0 22px 20px;
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===== 页脚 ===== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 32px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
}

.footer__logo img {
    border-radius: 8px;
}

.footer__brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer__links {
    display: flex;
    gap: 64px;
}

.footer__group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__group h5 {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
}

.footer__group a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer__group a:hover {
    color: var(--text-primary);
}

.footer__oss {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.footer__oss a {
    color: var(--warm);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer__oss a:hover {
    color: var(--text-primary);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: rgb(120, 120, 120);
    font-size: 13px;
}

/* ===== 淡入动画 ===== */
.reveal {
    --i: 0;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i) * 55ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.workflow__step.reveal.is-visible .workflow__no {
    animation: stepPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--i) * 55ms + 120ms);
}

@keyframes stepPop {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 992px) {
    .app-mock-wrap {
        perspective: none;
    }

    .app-mock {
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .hero-enter {
        opacity: 1;
        transform: none;
        transition: none;
        transition-delay: 0ms;
    }

    .hero__glow-orb,
    .hero__title-accent,
    .app-mock__face.is-pulse {
        animation: none !important;
    }

    .workflow__step.reveal.is-visible .workflow__no {
        animation: none;
    }

    .app-mock,
    .mock-slider b::before,
    .mock-slider b::after,
    .app-mock__photo {
        transition: none !important;
        transform: none !important;
    }

    .compare.is-demoing {
        box-shadow: none;
    }
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .grid--5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 992px) {
    .nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav__sub {
        display: none;
    }

    .nav__menu {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px 24px 20px;
        border-bottom: 1px solid var(--border);
        background: rgba(24, 24, 24, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .nav.is-open .nav__menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav.is-open {
        background: rgba(24, 24, 24, 0.97);
        border-bottom-color: var(--border);
    }

    .nav__link {
        padding: 12px 14px;
    }

    .nav__link--mobile-only {
        display: block;
    }

    .hero {
        padding: calc(var(--nav-height) + 48px) 0 72px;
    }

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

    .hero__title {
        font-size: 42px;
    }

    .section {
        padding: 80px 0;
    }

    .section__title {
        font-size: 32px;
    }

    .compare {
        min-height: 420px;
    }

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

    .download {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px;
    }

    .pai-promo {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px;
    }

    .footer__top {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .grid--5,
    .highlights,
    .workflow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-mock__body {
        grid-template-columns: minmax(0, 1fr) 160px;
        height: 340px;
    }

    .app-mock__switcher {
        display: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .nav__actions .btn {
        display: none;
    }

    .hero__title {
        font-size: 34px;
    }

    .hero__desc,
    .section__desc {
        font-size: 15px;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .app-mock__body {
        grid-template-columns: minmax(0, 1fr);
        height: 300px;
    }

    .app-mock__panel {
        display: none;
    }

    .section {
        padding: 64px 0;
    }

    .section__head {
        margin-bottom: 36px;
    }

    .section__title {
        font-size: 26px;
    }

    .grid--5,
    .highlights,
    .workflow,
    .portrait__groups {
        grid-template-columns: minmax(0, 1fr);
    }

    .compare {
        min-height: 360px;
    }

    .download {
        padding: 28px 20px;
    }

    .download__main {
        flex-direction: column;
        align-items: flex-start;
    }

    .download__side,
    .download__side .btn {
        width: 100%;
    }

    .pai-promo {
        padding: 28px 20px;
    }

    .pai-promo__main {
        flex-direction: column;
        align-items: flex-start;
    }

    .pai-promo__title {
        font-size: 22px;
    }

    .pai-promo .btn {
        width: 100%;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
    }

    .qq-modal {
        padding: 16px;
        align-items: flex-end;
    }

    .qq-modal__dialog {
        width: 100%;
        padding: 28px 20px 24px;
    }

    .qq-modal__qr {
        width: 220px;
    }
}
