/* ─── 高级主题变量系统 (Glassmorphism & HSL) ────────────────────────────────────── */
:root {
    --bg-base: #f0f4f2;
    --bg-mesh-1: rgba(108, 141, 113, 0.15); /* #6c8d71 */
    --bg-mesh-2: rgba(47, 73, 56, 0.1);    /* #2f4938 */
    
    --panel: rgba(255, 255, 255, 0.7);
    --panel-border: rgba(255, 255, 255, 0.5);
    
    --text: #17211a;
    --muted: #5b6d62;
    --line: rgba(219, 232, 221, 0.6);
    --soft: rgba(237, 246, 239, 0.6);
    
    --accent: #5e7f64;
    --accent-strong: #273b2d;
    --accent-glow: rgba(94, 127, 100, 0.4);
    
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.03);
    --shadow-hard: 0 12px 24px rgba(39, 59, 45, 0.15);
    --shadow-inner: inset 0 2px 4px rgba(255, 255, 255, 0.8);
    
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    /* 极致流体排版字体群 */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    min-height: 100vh;
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(at 0% 0%, var(--bg-mesh-1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, var(--bg-mesh-2) 0px, transparent 50%),
        radial-gradient(at 100% 100%, var(--bg-mesh-1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, var(--bg-mesh-2) 0px, transparent 50%);
    background-attachment: fixed;
    animation: bgBreathe 20s ease-in-out infinite alternate;
}

@keyframes bgBreathe {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.shell {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 20px 64px;
    position: relative;
    z-index: 1;
}

/* ─── 毛玻璃卡片核心 ────────────────────────────────────── */
.card {
    background: var(--panel);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft), var(--shadow-inner);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06), var(--shadow-inner);
}

.hero {
    padding: 28px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    right: -10%;
    top: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite alternate;
}

@keyframes floatOrb {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-strong);
    border: 1px solid rgba(108, 141, 113, 0.4);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 8px 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(47, 73, 56, 0.05);
}

h1, h2, h3, p {
    margin: 0;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 680px;
    background: linear-gradient(135deg, #17211a 0%, #3e5244 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .sub {
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    max-width: 720px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 18px;
    align-items: stretch;
    margin-top: 32px;
}

.mini-panel {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #fbfefb, #f3f8f4);
}

.mini-panel h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.mini-panel ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-minimal {
    min-height: 48vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 42px 20px;
}

.hero-minimal::after {
    display: none;
}

.hero-minimal h1 {
    max-width: none;
    margin: 0;
}

.hero-actions-single {
    justify-content: center;
    margin-top: 28px;
}

button {
    border: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font: inherit;
    position: relative;
    overflow: hidden;
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(1px);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(39, 59, 45, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.btn-primary:hover {
    box-shadow: 0 16px 32px rgba(39, 59, 45, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::after {
    opacity: 1;
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    color: var(--accent-strong);
    padding: 14px 24px;
    border-radius: 16px;
    border: 1px solid rgba(108, 141, 113, 0.3);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 8px 16px rgba(108, 141, 113, 0.1);
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

.test-wrap,
.result-wrap {
    margin-top: 22px;
    padding: 22px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.progress {
    flex: 1;
    min-width: 240px;
    height: 10px;
    background: #edf3ee;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.progress>span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    border-radius: inherit;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(94, 127, 100, 0.4);
}

.progress-text {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.question-list {
    display: grid;
    gap: 16px;
}

.question {
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 10px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.question-title {
    font-size: 16px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.options {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(108, 141, 113, 0.15);
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.option:hover {
    border-color: var(--accent);
    background: #fff;
    transform: translateX(4px);
    box-shadow: 0 8px 16px rgba(108, 141, 113, 0.08);
}

.option input {
    margin-top: 3px;
    accent-color: var(--accent-strong);
    transform: scale(1.1);
    flex-shrink: 0;
}

.option-code {
    font-weight: 800;
    color: var(--accent-strong);
    min-width: 22px;
}

.actions-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 6px;
}

.hint {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.result-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    align-items: stretch;
}

.type-box,
.score-box,
.dim-box,
.top3-box,
.about-box {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.type-kicker {
    font-size: 12px;
    color: var(--accent-strong);
    margin-bottom: 8px;
    letter-spacing: .05em;
}

.type-name {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.type-subname {
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
}

.match {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--soft);
    border: 1px solid var(--line);
    color: var(--accent-strong);
    font-weight: 700;
}

.type-desc {
    margin-top: 18px;
    line-height: 1.85;
    font-size: 15px;
    color: #304034;
}

.score-box h3,
.dim-box h3,
.top3-box h3,
.about-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.score-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
}

.score-item .k {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.score-item .v {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-strong);
}

.dim-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dim-pill {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dim-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.dim-pill .label {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 6px;
}

.dim-pill .value {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-strong);
}

.top3-list {
    display: grid;
    gap: 10px;
}

.top3-item {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    transition: transform 0.2s ease;
}

.top3-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.8);
}

.top3-item strong {
    display: block;
    margin-bottom: 4px;
}

.top3-item span {
    color: var(--muted);
    font-size: 13px;
}

.top3-score {
    color: var(--accent-strong);
    font-weight: 800;
    white-space: nowrap;
}

.about-box p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer-note {
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}


.result-layout {
    display: grid;
    gap: 18px;
}

.result-top {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 18px;
    align-items: stretch;
}

.poster-box,
.type-box,
.analysis-box,
.dim-box,
.note-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff, #fbfdfb);
}

.poster-box {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 280px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(127, 165, 134, 0.16), rgba(127, 165, 134, 0) 40%),
        linear-gradient(180deg, #ffffff, #f7fbf8);
}

.poster-box::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -46px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(127, 165, 134, 0.12), rgba(127, 165, 134, 0.01));
    pointer-events: none;
}

.poster-image {
    width: 100%;
    min-height: 220px;
    max-height: 460px;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 1;
}

.poster-box.no-image .poster-image {
    display: none;
}

.poster-caption {
    margin-top: 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.type-kicker {
    font-size: 12px;
    color: var(--accent-strong);
    margin-bottom: 8px;
    letter-spacing: .06em;
}

.type-name {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.type-subname {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.match {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--soft);
    border: 1px solid var(--line);
    color: var(--accent-strong);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
}

.analysis-box h3,
.dim-box h3,
.note-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.result-actions {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
}

.analysis-box p {
    margin: 0;
    color: #304034;
    font-size: 15px;
    line-height: 1.9;
    white-space: pre-wrap;
}

.dim-list {
    display: grid;
    gap: 12px;
}

.dim-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    background: #fff;
}

.dim-item-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.dim-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.dim-item-score {
    color: var(--accent-strong);
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}

.dim-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.note-box p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.author-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #fbfdfb);
    overflow: hidden;
}

.author-box summary {
    list-style: none;
    cursor: pointer;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.author-box summary::-webkit-details-marker {
    display: none;
}

.author-box summary::after {
    content: '展开';
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-strong);
    border: 1px solid var(--line);
    background: var(--soft);
    padding: 6px 10px;
    border-radius: 999px;
    flex-shrink: 0;
}

.author-box[open] summary::after {
    content: '收起';
}

.author-content {
    border-top: 1px solid var(--line);
    padding: 0 18px 18px;
}

.author-content p {
    margin: 14px 0 0;
    color: #304034;
    font-size: 14px;
    line-height: 1.9;
}

.result-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

@media (max-width: 860px) {
    .result-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {

    .hero-grid,
    .result-hero {
        grid-template-columns: 1fr;
    }

    .dim-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .shell {
        padding: 14px 12px 42px;
    }

    .hero,
    .test-wrap,
    .result-wrap {
        padding: 16px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .question-title {
        font-size: 15px;
    }

    .dim-grid,
    .score-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── AI 个性化解读区块 ────────────────────────────────────── */
.ai-analysis-box {
    border: 1px solid rgba(108, 141, 113, 0.35);
    border-radius: 18px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #f0f9f1 0%, #fdfffe 60%, #eef8f0 100%);
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

/* 顶部光晕装饰 */
.ai-analysis-box::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 141, 113, 0.18), transparent 70%);
    pointer-events: none;
}

.ai-hidden {
    display: none;
}

.ai-analysis-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #4d6a53, #6c8d71);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.ai-subtitle {
    color: var(--muted);
    font-size: 12px;
}

/* 骨架屏 */
.ai-skeleton {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, #dff0e3 25%, #edf7ef 50%, #dff0e3 75%);
    background-size: 200% 100%;
    border-radius: 999px;
    animation: shimmer 1.4s infinite linear;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── 触发区 ── */
.ai-action-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 0 8px;
    text-align: center;
}

.ai-trigger-warning {
    font-size: 13px;
    font-weight: 600;
    color: #b85c38;
    margin: 0;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

/* 按钮光晕脉冲动画 */
@keyframes ai-pulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(77, 106, 83, 0.28), 0 0 0 0 rgba(122, 170, 130, 0.5); }
    50%       { box-shadow: 0 12px 36px rgba(77, 106, 83, 0.38), 0 0 0 10px rgba(122, 170, 130, 0); }
}

.btn-ai-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* 渐变背景 */
    background: linear-gradient(135deg, #3e5e45 0%, #5f9468 50%, #7aaa82 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 36px;
    border-radius: 16px;
    border: none;
    letter-spacing: 0.04em;
    /* 脉冲光晕 */
    animation: ai-pulse 2.4s ease-in-out infinite;
    transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, opacity .18s ease;
    cursor: pointer;
    /* 光泽遮罩 */
    overflow: hidden;
}

/* 顶部高光条 */
.btn-ai-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, transparent 100%);
    border-radius: 0 0 50% 50%;
    pointer-events: none;
}

.btn-ai-trigger:hover {
    transform: translateY(-3px) scale(1.03);
    animation-play-state: paused;
    box-shadow: 0 18px 44px rgba(77, 106, 83, 0.4), 0 0 0 4px rgba(122, 170, 130, 0.18);
}

.btn-ai-trigger:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 4px 12px rgba(77, 106, 83, 0.25);
}

.btn-ai-trigger:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
    animation: none;
    box-shadow: 0 4px 12px rgba(77, 106, 83, 0.15);
}

/* 正文打印文字 */
.ai-text {
    margin: 0;
    color: #2c3e30;
    font-size: 15px;
    line-height: 1.95;
    white-space: pre-wrap;
    letter-spacing: 0.01em;
}

/* ─── 全局头部导航 (官网感) ────────────────────────────────────── */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 16px 24px;
    border-radius: 999px;
    margin-bottom: 32px;
    box-shadow: 0 4px 24px rgba(47, 73, 56, 0.04), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 10;
}

.main-header .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--accent-strong);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.header-ai-badge {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(94, 127, 100, 0.3);
    text-transform: uppercase;
}

/* ─── 底部声明区 (官网感) ────────────────────────────────────── */
.main-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dashed var(--line);
    text-align: center;
}

.main-footer .credits {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

.main-footer .credits p {
    margin-bottom: 6px;
}

.main-footer a {
    color: var(--accent-strong);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(108, 141, 113, 0.3);
    transition: all 0.2s ease;
}

.main-footer a:hover {
    color: #2f4937;
    border-bottom-color: #2f4937;
}

.main-footer .hosting-info {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.7;
}

@media (max-width: 600px) {
    .main-header {
        flex-direction: column;
        gap: 12px;
        border-radius: 20px;
        padding: 16px;
    }
}

/* ─── SEO FAQ 区块样式 ────────────────────────────────────── */
.seo-faq {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(180deg, #f9fbf9, #ffffff);
    border-radius: 18px;
    border: 1px solid var(--line);
}

.seo-faq h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent-strong);
    text-align: center;
}

.seo-faq details {
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 12px;
}

.seo-faq details:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.seo-faq summary {
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    color: var(--text);
    padding: 8px 0;
    outline: none;
}

.seo-faq p {
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}