/* ==========================================================================
   官网页面样式（首页 / 模型广场 / 开发者中心 / 内容页）
   依赖 theme.css 中的变量与基础组件
   ========================================================================== */

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 80px 0 56px;
    overflow: hidden;
    background: linear-gradient(180deg, #FFF7F7 0%, #FFFFFF 60%);
}

/* 浅粉光斑 + 细网格，营造通透感而不抢主色 */
.hero::before {
    content: "";
    position: absolute;
    top: -280px;
    right: -180px;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(246, 94, 107, .14), transparent 66%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: .35;
    mask-image: radial-gradient(circle at 70% 20%, #000, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 70% 20%, #000, transparent 72%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 60px;
    align-items: center;
}

.hero__content {
    max-width: 580px;
}

/* 首屏顶部的小徽标 */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 14px 0 10px;
    border: 1px solid var(--brand-200);
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-800);
    font-size: 13px;
    font-weight: 500;
}

.hero__badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-50);
}

.hero__title {
    margin-top: 22px;
    font-size: clamp(32px, 3.5vw, 47px);
    line-height: 1.26;
    letter-spacing: -.02em;
}

.hero__title em {
    position: relative;
    z-index: 0;
    color: var(--brand-600);
    font-style: normal;
}

/* 标题下的手绘感下划线 */
.hero__title em::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: 2px;
    height: 8px;
    border-radius: 4px;
    background: var(--brand-100);
    opacity: .55;
    z-index: -1;
}

.hero__desc {
    max-width: 560px;
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.85;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

/* ---------- 首屏右侧调用示意卡片 ---------- */

.hero__visual {
    position: relative;
}

.mock {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 30px 64px -34px rgba(30, 42, 50, .34), 0 2px 8px rgba(30, 42, 50, .04);
    overflow: hidden;
}

.mock__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 16px;
    background: #F8FBFC;
    border-bottom: 1px solid var(--line);
}

.mock__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #D8E3EA;
}

.mock__dot:first-child {
    background: var(--brand);
}

.mock__title {
    margin-left: 8px;
    color: #8c9aa4;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
}

.mock__body {
    padding: 18px 18px 20px;
}

.mock__req {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
}

.mock__verb {
    padding: 2px 7px;
    border-radius: 5px;
    background: var(--brand-50);
    color: var(--brand-800);
    font-weight: 600;
}

.mock__path {
    color: var(--ink);
}

.mock__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13.5px;
}

.mock__row span {
    color: #8c9aa4;
}

.mock__row b {
    color: var(--ink);
    font-weight: 600;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
}

.mock__res {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 10px 13px;
    border-radius: 9px;
    background: rgba(173, 205, 32, .15);
    color: #5f7410;
    font-size: 13px;
    font-weight: 600;
}

/* 浮在卡片外的两个小标签 */
.mock__chip {
    position: absolute;
    padding: 6px 13px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px -14px rgba(30, 42, 50, .45);
    font-size: 12px;
    white-space: nowrap;
}

.mock__chip--a {
    top: -15px;
    right: 22px;
    border: 1px solid var(--brand-200);
    background: var(--brand-50);
    color: var(--brand-800);
    animation: chipFloat 5.5s ease-in-out infinite;
}

.mock__chip--b {
    bottom: -15px;
    left: -16px;
    border: 1px solid rgba(0, 161, 239, .32);
    background: rgba(0, 161, 239, .08);
    color: #0a7fa8;
    animation: chipFloat 6.5s ease-in-out infinite .8s;
}

@keyframes chipFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}



/* 流程线：横向路径条，置于首屏底部 */
.flow {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 14px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
}

.flow__label {
    margin-right: 8px;
    color: #8c9aa4;
    font-size: 13px;
}

.flow__node {
    padding: 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 13.5px;
}

.flow__node--start {
    border-color: var(--brand-200);
    background: var(--brand-50);
    color: var(--brand-800);
    font-weight: 500;
}

.flow__arrow {
    color: #c3ced6;
    font-size: 12px;
}

/* ---------- 企业四问 ---------- */

.questions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.question {
    position: relative;
    padding: 34px 26px 32px;
    overflow: hidden;
}

/* 卡片顶部色条：四张卡依次用主色阶与两个辅助色，形成节奏 */
.question::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-200);
}

.questions>.question:nth-child(1)::before {
    background: var(--brand-500);
}

.questions>.question:nth-child(2)::before {
    background: var(--brand-600);
}

.questions>.question:nth-child(3)::before {
    background: var(--brand-magenta);
}

.questions>.question:nth-child(4)::before {
    background: var(--brand-blue);
}

.question__no {
    color: var(--brand-200);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
}

.questions>.question:nth-child(1) .question__no {
    color: var(--brand-500);
}

.questions>.question:nth-child(2) .question__no {
    color: var(--brand-600);
}

.questions>.question:nth-child(3) .question__no {
    color: var(--brand-magenta);
}

.questions>.question:nth-child(4) .question__no {
    color: var(--brand-blue);
}

.question__title {
    margin: 14px 0 10px;
    font-size: 19px;
}

.question__desc {
    font-size: 14.5px;
    line-height: 1.8;
}

/* ---------- 使用旅程 ---------- */

.journey {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step {
    position: relative;
    padding: 30px 26px 28px;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 2px rgba(30, 42, 50, .04);
}

.step {
    overflow: hidden;
}

.step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 30px;
    width: 3px;
    height: 22px;
    border-radius: 0 3px 3px 0;
    background: var(--brand);
}

/* 六步依次轮换主色与辅助色，作为路径上的视觉锚点 */
.journey>.step:nth-child(2)::before {
    background: var(--brand-blue);
}

.journey>.step:nth-child(3)::before {
    background: var(--brand-500);
}

.journey>.step:nth-child(4)::before {
    background: var(--brand-green);
}

.journey>.step:nth-child(5)::before {
    background: var(--brand-600);
}

.journey>.step:nth-child(6)::before {
    background: var(--brand-magenta);
}

.step__no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-800);
    font-size: 13px;
    font-weight: 700;
}

.journey>.step:nth-child(2) .step__no {
    background: rgba(0, 161, 239, .12);
    color: #0779ad;
}

.journey>.step:nth-child(3) .step__no {
    background: var(--brand-100);
    color: var(--brand-800);
}

.journey>.step:nth-child(4) .step__no {
    background: rgba(173, 205, 32, .2);
    color: #6b7f0c;
}

.journey>.step:nth-child(5) .step__no {
    background: var(--brand-50);
    color: var(--brand-600);
}

.journey>.step:nth-child(6) .step__no {
    background: rgba(230, 0, 132, .1);
    color: #b3006a;
}

.step__title {
    margin: 14px 0 8px;
    font-size: 17px;
}

.step__desc {
    font-size: 14.5px;
    line-height: 1.8;
}

.note {
    margin-top: 28px;
    color: #8c9aa4;
    font-size: 13px;
}

/* ---------- 模型市场 ---------- */

.market {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.market-card {
    padding: 32px 28px;
}

.market-card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 12px;
    font-size: 21px;
}

.market-card__icon--text {
    background: var(--brand-50);
    color: var(--brand-600);
}

.market-card__icon--image {
    background: rgba(0, 161, 239, .1);
    color: var(--brand-blue);
}

.market-card__icon--audio {
    background: rgba(173, 205, 32, .18);
    color: #7a9010;
}

.market-card__title {
    margin-bottom: 10px;
    font-size: 18px;
}

.market-card__desc {
    font-size: 14.5px;
    line-height: 1.8;
}

.market-card__models {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.market-foot {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.market-foot .note {
    margin: 0;
}

/* ---------- 开发者接入 ---------- */

.dev {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.dev__steps {
    counter-reset: devstep;
    margin-top: 30px;
}

.dev__step {
    position: relative;
    padding-left: 44px;
    margin-bottom: 22px;
    counter-increment: devstep;
}

.dev__step::before {
    content: counter(devstep);
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-800);
    font-size: 13px;
    font-weight: 700;
}

.dev__step b {
    display: block;
    color: var(--ink);
    font-size: 15.5px;
    font-weight: 600;
}

.dev__step span {
    font-size: 14.5px;
}

.dev__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

/* 代码块 */
.code {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #1E2A32;
    box-shadow: var(--shadow-lg);
}

.code__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.code__bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.code__bar i:first-child {
    background: var(--brand);
}

.code__bar span {
    margin-left: 8px;
    color: rgba(255, 255, 255, .45);
    font-size: 12.5px;
}

.code pre {
    margin: 0;
    padding: 22px 20px 26px;
    overflow-x: auto;
    color: #d6e3ea;
    font-size: 13px;
    line-height: 1.95;
}

.code .c-key {
    color: #F7A4AA;
}

.code .c-str {
    color: #ADCD20;
}

.code .c-fn {
    color: #00A1EF;
}

.code .c-cm {
    color: #6b7f8b;
}

/* ---------- 底部 CTA ---------- */

.cta {
    position: relative;
    padding: 72px 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    /* 柔光需独立调透明度，故用规范色的 RGB 分量（hex 无法直接塞进 rgba）：
       粉 #FFBFE4 = var(--brand-pink)，蓝 #00A1EF = var(--brand-blue) */
    --cta-pink: 255, 191, 228;
    --cta-blue: 0, 161, 239;
    /* 三层背景：左上浅粉柔光 + 右下沉蓝柔光 + 带品红过渡的主渐变。
       主渐变必须跨色相（深红→品红→深红），若只在红系内调明度，远看仍是一块纯红 */
    background-image:
        radial-gradient(74% 94% at 10% 4%, rgba(var(--cta-pink), .88) 0%, rgba(var(--cta-pink), .3) 40%, rgba(var(--cta-pink), 0) 82%),
        radial-gradient(46% 62% at 94% 104%, rgba(var(--cta-blue), .5) 0%, rgba(var(--cta-blue), .14) 46%, rgba(var(--cta-blue), 0) 84%),
        linear-gradient(112deg, var(--brand-800) 0%, var(--brand-600) 22%, var(--brand-magenta) 47%, var(--brand-600) 70%, var(--brand-800) 100%);
    background-size: 150% 150%, 150% 150%, 230% 230%;
    background-position: 0% 0%, 100% 100%, 0% 50%;
    animation: ctaDrift 20s ease-in-out infinite;
    text-align: center;
}

@keyframes ctaDrift {

    0%,
    100% {
        background-position: 0% 0%, 100% 100%, 0% 50%;
    }

    33% {
        background-position: 70% 30%, 30% 70%, 70% 40%;
    }

    66% {
        background-position: 18% 76%, 82% 18%, 100% 64%;
    }
}

.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .5;
    animation: ctaDots 26s linear infinite;
    pointer-events: none;
}

/* 点阵极缓慢平移，让静态纹理也有细微动势 */
@keyframes ctaDots {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 22px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cta,
    .cta::after {
        animation: none;
    }
}

.cta__inner {
    position: relative;
    z-index: 1;
}

.cta__title {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    /* 背景含浅粉柔光，加极淡暗投影把白字从亮区里托出来 */
    text-shadow: 0 2px 18px rgba(90, 8, 26, .3);
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.cta .btn--primary {
    background: #fff;
    color: var(--brand-800);
}

.cta .btn--primary:hover {
    background: #fff;
    color: var(--brand-800);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

.cta .btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}

.cta .btn--ghost:hover {
    border-color: #fff;
    color: #fff;
}

/* ---------- 模型广场 ---------- */

.page-head {
    padding: 64px 0 40px;
    background: linear-gradient(180deg, #FFF6F6 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--line);
}

.page-head__title {
    font-size: 38px;
}

.page-head__desc {
    max-width: 680px;
    margin-top: 16px;
    font-size: 16px;
}

/* 模型广场分类切换：分段控件，选中项浮起并显示数量 */
.tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 26px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
}

.tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 9px;
    color: var(--text);
    font-size: 14px;
    line-height: 1;
    transition: background .2s var(--ease), color .2s var(--ease),
        box-shadow .2s var(--ease);
}

.tab:hover {
    color: var(--ink);
}

.tab.is-active {
    background: #fff;
    color: var(--brand-800);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(30, 42, 50, .12);
}

.tab__count {
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(30, 42, 50, .06);
    color: #8c9aa4;
    font-size: 12px;
    font-weight: 400;
}

.tab.is-active .tab__count {
    background: var(--brand-50);
    color: var(--brand-800);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 28px 0 0;
}

.filter {
    height: 36px;
    padding: 0 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: all .2s var(--ease);
}

.filter:hover {
    border-color: var(--brand-200);
    color: var(--brand-600);
}

.filter.is-active {
    border-color: var(--brand);
    background: var(--brand-50);
    color: var(--brand-800);
    font-weight: 500;
}

.filters__clear {
    margin-left: auto;
    color: #8c9aa4;
    font-size: 13px;
    background: none;
    border: 0;
    cursor: pointer;
}

.filters__clear:hover {
    color: var(--brand-600);
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 36px 0 8px;
}

.model-card {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
}

.model-card__top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.model-card__avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 16px;
    font-weight: 700;
}

.model-card__name {
    color: var(--ink);
    font-size: 16.5px;
    font-weight: 600;
    word-break: break-all;
}

.model-card__vendor {
    color: #8c9aa4;
    font-size: 13px;
}

.model-card__desc {
    flex: 1;
    font-size: 14px;
    line-height: 1.75;
}

.model-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.model-card__price {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    font-size: 13px;
}

.model-card__price b {
    color: var(--brand-800);
    font-size: 15px;
    font-weight: 600;
}

.empty {
    padding: 80px 0;
    text-align: center;
    color: #8c9aa4;
}

/* ---------- 内容页（关于 / 法律 / 文档） ---------- */

.prose {
    max-width: 820px;
    padding: 56px 0 88px;
}

.prose h2 {
    margin: 40px 0 16px;
    font-size: 22px;
}

.prose h3 {
    margin: 28px 0 12px;
    font-size: 18px;
}

.prose p {
    margin-bottom: 16px;
    line-height: 1.9;
}

.prose ul,
.prose ol {
    margin: 0 0 16px;
    padding-left: 22px;
    list-style: revert;
}

.prose li {
    margin-bottom: 8px;
    line-height: 1.85;
}

.prose img {
    margin: 24px 0;
    border-radius: var(--radius);
}

/* 文档正文中的代码块与行内代码 */
.prose pre {
    margin: 18px 0;
    padding: 16px 18px;
    overflow-x: auto;
    border-radius: var(--radius);
    background: #1E2A32;
    color: #d6e3ea;
    font-size: 13px;
    line-height: 1.85;
}

.prose code {
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--bg);
    color: var(--brand-800);
    font-size: 13px;
}

.prose pre code {
    padding: 0;
    background: none;
    color: inherit;
}

/* ---------- 技术文档 ---------- */

.docs {
    padding: 32px 0 72px;
}

.docs__layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.docs__side {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 112px);
    padding-right: 8px;
    overflow-y: auto;
}

.docs__group {
    margin-bottom: 26px;
}

.docs__group-title {
    margin-bottom: 8px;
    padding-left: 10px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.docs__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.docs__link {
    display: block;
    padding: 7px 10px;
    border-radius: 7px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.55;
}

.docs__link:hover {
    background: var(--bg);
    color: var(--ink);
}

.docs__link.is-active {
    background: var(--brand-50);
    color: var(--brand-800);
    font-weight: 500;
}

.docs__main {
    min-width: 0;
    max-width: 820px;
}

.docs__crumb {
    margin-bottom: 10px;
    color: #8c9aa4;
    font-size: 13px;
}

.docs__title {
    margin-bottom: 22px;
    font-size: 30px;
}

.docs__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

@media (max-width: 880px) {
    .docs {
        padding: 24px 0 56px;
    }

    .docs__layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .docs__side {
        position: static;
        max-height: none;
        padding: 0 0 16px;
        border-bottom: 1px solid var(--line);
    }

    .docs__title {
        font-size: 24px;
    }
}

/* ---------- 表单 ---------- */

.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}

.input,
.textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.input:focus,
.textarea:focus {
    border-color: var(--brand-200);
    outline: 0;
    box-shadow: 0 0 0 3px var(--brand-50);
}

.textarea {
    min-height: 128px;
    resize: vertical;
}

.form-tip {
    margin-top: 18px;
    color: #8c9aa4;
    font-size: 13px;
}

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
    .hero {
        padding: 60px 0 44px;
    }

    /* 窄屏改为上下堆叠：文案在上，调用示意卡片在下 */
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__title {
        font-size: 36px;
    }

    .mock__chip--b {
        left: 0;
    }

    .questions,
    .journey,
    .market,
    .model-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dev {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .hero__title {
        font-size: 29px;
    }

    .hero__desc {
        font-size: 16px;
    }

    .hero__badge {
        height: auto;
        padding: 6px 12px;
        font-size: 12px;
        line-height: 1.5;
    }

    .mock__chip--a {
        right: 10px;
    }

    .mock__chip--b {
        left: 6px;
    }

    .flow__label {
        width: 100%;
        margin: 0;
    }

    .questions,
    .journey,
    .market,
    .model-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 52px 0;
        border-radius: 0;
    }

    .cta__title {
        font-size: 24px;
    }

    .page-head__title {
        font-size: 28px;
    }
}

/* 尊重系统「减少动态效果」偏好：关闭首屏浮动标签的动画 */
@media (prefers-reduced-motion: reduce) {

    .mock__chip--a,
    .mock__chip--b {
        animation: none;
    }
}

/* ---------- 登录 / 注册 ---------- */

/* 左右分栏：左侧品牌区，右侧表单 */
/* 登录/注册页撑满首屏剩余高度，卡片垂直居中，避免大屏下页脚上方留大片空白 */
.authx {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 48px 0 72px;
}

.authx>.wrap {
    width: 100%;
}

.authx__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 40px;
    align-items: stretch;
    max-width: 1060px;
}

.authx__brand {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 44px 40px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, var(--brand-800) 0%, var(--brand-600) 48%, var(--brand-500) 100%);
    color: #fff;
}

.authx__brand::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .55;
    pointer-events: none;
}

.authx__brand>* {
    position: relative;
    z-index: 1;
}

.authx__logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45);
}

.authx__title {
    margin-top: 24px;
    color: #fff;
    font-size: 26px;
    line-height: 1.4;
}

.authx__desc {
    margin-top: 14px;
    color: rgba(255, 255, 255, .84);
    font-size: 14.5px;
    line-height: 1.85;
}

.authx__points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.authx__points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    line-height: 1.6;
}

.authx__points li::before {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.authx__brand-foot {
    margin-top: auto;
    padding-top: 32px;
    color: rgba(255, 255, 255, .62);
    font-size: 12.5px;
    line-height: 1.7;
}

.authx__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
}

.authx__card {
    padding: 34px 32px 30px;
}

.authx__switch {
    display: flex;
    gap: 4px;
    margin-bottom: 26px;
    padding: 4px;
    border-radius: 11px;
    background: var(--bg);
}

.authx__switch a {
    flex: 1;
    padding: 8px 0;
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    text-align: center;
}

.authx__switch a.is-active {
    background: #fff;
    color: var(--brand-800);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(30, 42, 50, .12);
}

@media (max-width: 980px) {
    .authx__layout {
        grid-template-columns: 1fr;
        gap: 26px;
        max-width: 520px;
        margin: 0 auto;
    }

    .authx__brand {
        padding: 32px 28px;
    }

    .authx__title {
        margin-top: 18px;
        font-size: 22px;
    }

    .authx__points {
        margin-top: 22px;
    }

    .authx__brand-foot {
        padding-top: 22px;
    }
}

.auth {
    display: flex;
    justify-content: center;
    padding: 24px 0 56px;
}

.auth__card {
    width: 100%;
    max-width: 448px;
    padding: 36px 34px 30px;
}

.auth__card--center {
    text-align: center;
}

.auth__title {
    margin-bottom: 10px;
    font-size: 26px;
}

.auth__desc {
    margin-bottom: 26px;
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.75;
}

.auth__submit {
    width: 100%;
    margin-top: 8px;
}

.auth__code {
    display: flex;
    gap: 10px;
}

.auth__code .input {
    flex: 1;
    min-width: 0;
}

.auth__code .btn {
    flex: none;
    height: 45px;
}

.auth__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.form-tip--error {
    color: var(--brand-800);
}

/* ---------- 控制台 ---------- */

.console {
    padding: 40px 0 72px;
}

.console__layout {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.console__side {
    padding: 20px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 1px 2px rgba(30, 42, 50, .04);
}

.console__user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.console__avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-800);
    font-size: 15px;
    font-weight: 600;
}

.console__name {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.console__role {
    color: #8c9aa4;
    font-size: 12px;
}

.console__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 0;
}

.console__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
}

a.console__item:hover {
    background: var(--bg);
    color: var(--ink);
}

.console__item.is-active {
    background: var(--brand-50);
    color: var(--brand-800);
    font-weight: 500;
}

.console__item.is-disabled {
    color: #a9b8c2;
    cursor: not-allowed;
}

.console__soon {
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--bg);
    color: #8c9aa4;
    font-size: 11px;
}

.console__logout {
    width: 100%;
}

.console__title {
    margin-bottom: 8px;
    font-size: 26px;
}

.console__desc {
    margin-bottom: 28px;
    font-size: 15px;
}

@media (max-width: 880px) {
    .console__layout {
        grid-template-columns: 1fr;
    }
}

/* ---------- 关于我们 ---------- */

/* 能力/优势条目：两列图文块 */
.about-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.about-point {
    padding: 26px 26px 24px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 1px 2px rgba(30, 42, 50, .04);
}

.about-point h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.about-point p {
    font-size: 14.5px;
    line-height: 1.8;
}

/* 联系信息列表：每行可复制 */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 760px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #fff;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.contact-item:hover {
    border-color: var(--brand-200);
    box-shadow: 0 2px 10px rgba(30, 42, 50, .05);
}

.contact-item__label {
    flex: none;
    width: 56px;
    color: #8c9aa4;
    font-size: 14px;
}

.contact-item__value {
    flex: 1;
    min-width: 0;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.65;
    word-break: break-word;
}

.copy-btn {
    flex: none;
    height: 32px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .2s var(--ease), color .2s var(--ease),
        background .2s var(--ease);
}

.copy-btn:hover {
    border-color: var(--brand-500);
    color: var(--brand-600);
}

.copy-btn.is-done {
    border-color: var(--brand-200);
    background: var(--brand-50);
    color: var(--brand-800);
}

/* 必填标记 */
.req {
    margin-left: 3px;
    color: var(--brand-500);
    font-style: normal;
}

/* 联系页：左右两张对称卡片 */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1040px;
}

.contact-panel {
    display: flex;
    flex-direction: column;
    padding: 30px 28px 28px;
}

.contact-panel__title {
    font-size: 20px;
}

.contact-panel__desc {
    margin: 8px 0 20px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.75;
}

.contact-panel__submit {
    width: 100%;
    margin-top: 4px;
}

/* 卡片内的联系方式去掉外框，改为分隔线，避免双层边框 */
.contact-panel .contact-list {
    gap: 0;
    max-width: none;
}

.contact-panel .contact-item {
    padding: 19px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
}

.contact-panel .contact-item:last-child {
    border-bottom: 0;
}

.contact-panel .contact-item:hover {
    border-color: transparent;
    border-bottom-color: var(--line);
    box-shadow: none;
}

.contact-panel .contact-item__label {
    width: 56px;
    font-size: 15px;
}

/* 卡片内联系信息放大一号，避免左侧留白过多 */
.contact-panel .contact-item__value {
    font-size: 17px;
}

.contact-panel .copy-btn {
    height: 34px;
    padding: 0 16px;
    font-size: 13.5px;
}

/* 回复时效：贴底填充左侧卡片空白 */
.contact-panel__note {
    margin-top: auto;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--bg);
    font-size: 14px;
    line-height: 1.7;
}

.contact-panel__note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 880px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 760px) {
    .about-points {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .contact-item__label {
        width: auto;
    }

    .contact-item__value {
        flex: 1 1 100%;
        order: 3;
    }

    .copy-btn {
        margin-left: auto;
    }
}
