/* ============================================
   Components — All UI elements (Clean v5)
   ============================================ */

/* --- Header --- */
.app-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.brand-desc {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    font-weight: 500;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-btn {
    height: 36px;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0 var(--space-3);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
    color: var(--text);
}

.nav-btn svg {
    width: 16px;
    height: 16px;
}

.nav-btn-label {
    display: none;
}

@media (min-width: 768px) {
    .nav-btn-label {
        display: inline;
    }
}

.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* --- Card --- */
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-hover);
}

/* --- Labels --- */
.input-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--text);
    margin-bottom: var(--space-2);
}

.input-label svg {
    width: 16px;
    height: 16px;
    color: var(--text-tertiary);
}

.section-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--text);
    margin-bottom: var(--space-2);
}

.section-label svg {
    width: 16px;
    height: 16px;
    color: var(--text-tertiary);
}

.hint {
    font-weight: 400;
    color: var(--text-tertiary);
    font-size: var(--text-xs);
}

/* --- Input --- */
.input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
}

.input-header .input-label {
    margin-bottom: 0;
}

.input-wrapper {
    position: relative;
    display: flex;
    gap: var(--space-2);
}

.url-input {
    width: 100%;
    padding: var(--space-4);
    padding-right: 52px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    resize: none !important;
    overflow: hidden;
    background: var(--surface);
    color: var(--text);
    line-height: var(--leading-relaxed);
    transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.url-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-alpha);
    background: var(--surface);
}

.url-input::placeholder {
    color: var(--text-tertiary);
}

.paste-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: var(--surface-raised);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: all var(--transition-fast);
}

.paste-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.paste-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.paste-btn svg {
    width: 16px;
    height: 16px;
}

.paste-tooltip {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    padding: 2px 8px;
    background: var(--text);
    color: var(--text-inverse);
    font-size: 11px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-fast);
}

.paste-btn:hover .paste-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* --- XHS Live Toggle --- */
.xhs-live-toggle {
    margin-top: var(--space-3);
    padding: var(--space-3);
    background: var(--surface-hover);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    user-select: none;
}

.toggle-label input {
    display: none;
}

.toggle-switch {
    width: 38px;
    height: 20px;
    background: var(--border);
    border-radius: 10px;
    position: relative;
    transition: background var(--transition-base);
    flex-shrink: 0;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-xs);
}

.toggle-label input:checked + .toggle-switch {
    background: var(--primary);
}

.toggle-label input:checked + .toggle-switch::after {
    transform: translateX(18px);
}

.toggle-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.toggle-label input:checked ~ .toggle-text {
    color: var(--primary);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-xs);
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-600);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--surface-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--surface-hover);
    color: var(--text);
}

.btn-sm {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    gap: var(--space-1);
}

.btn-sm svg {
    width: 14px;
    height: 14px;
}

.btn-lg {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-md);
}

.btn-lg svg {
    width: 20px;
    height: 20px;
}

.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn-secondary.btn-loading::after {
    border: 2px solid var(--border);
    border-top-color: var(--primary);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.action-buttons {
    display: flex;
    gap: var(--space-3);
}

.action-buttons .btn {
    flex: 1;
}

/* --- Example Buttons --- */
.example-section {
    margin-bottom: var(--space-2);
}

.example-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.example-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.example-btn:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.example-btn svg {
    width: 14px;
    height: 14px;
}

.example-btn[data-platform="douyin"]:hover { border-color: var(--color-douyin); color: var(--color-douyin); }
.example-btn[data-platform="bilibili"]:hover { border-color: var(--color-bilibili); color: var(--color-bilibili); }
.example-btn[data-platform="xiaohongshu"]:hover { border-color: var(--color-xiaohongshu); color: var(--color-xiaohongshu); }
.example-btn[data-platform="kuaishou"]:hover { border-color: var(--color-kuaishou); color: var(--color-kuaishou); }

[data-theme="dark"] .example-btn[data-platform="douyin"]:hover { color: #e2e2e2; border-color: #e2e2e2; }

/* --- Status Card --- */
.status-card {
    background: var(--surface-hover);
    border-color: var(--border);
}

.status-content {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.status-icon {
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.status-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.status-card.success {
    background: var(--success-light);
    border-color: rgba(16, 185, 129, 0.2);
}

.status-card.success .status-icon,
.status-card.success .status-text {
    color: var(--success);
}

.status-card.error {
    background: var(--error-light);
    border-color: rgba(239, 68, 68, 0.2);
}

.status-card.error .status-icon,
.status-card.error .status-text {
    color: var(--error);
}

/* --- Result Header (info line) --- */
.result-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    margin-bottom: var(--space-3);
}

.result-title {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.result-author {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    white-space: nowrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: white;
    white-space: nowrap;
    flex-shrink: 0;
}

.platform-badge[data-platform="抖音"] { background: var(--color-douyin); }
.platform-badge[data-platform="哔哩哔哩"] { background: var(--color-bilibili); }
.platform-badge[data-platform="小红书"] { background: var(--color-xiaohongshu); }
.platform-badge[data-platform="快手"] { background: var(--color-kuaishou); }
.platform-badge[data-platform="好看视频"] { background: var(--color-haokan); }
.platform-badge[data-platform="最右"] { background: var(--color-zuiyou); }

/* default fallback */
.platform-badge:not([data-platform]) {
    background: var(--primary);
}

/* --- Cover --- */
.cover-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface-hover);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cover-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-tertiary);
}

.cover-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.4;
    transition: opacity var(--transition-base);
}

.cover-container:hover .cover-placeholder svg {
    opacity: 0.6;
}

.cover-placeholder span {
    font-size: var(--text-sm);
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.cover-container:hover .cover-image {
    transform: scale(1.02);
}

/* --- Result Actions --- */
.result-actions {
    display: flex;
    gap: var(--space-3);
}

.result-actions .btn {
    flex: 1;
}

/* --- Video Player --- */
.video-container {
    width: 100%;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.video-container video {
    width: 100%;
    max-height: 400px;
}

/* --- Gallery --- */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    margin-bottom: var(--space-2);
    border-bottom: 1px solid var(--border);
}

.gallery-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.gallery-count {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Masonry / waterfall layout for images */
.images-grid {
    column-count: 3;
    column-gap: var(--space-3);
    padding: var(--space-2);
}

.image-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface-hover);
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: var(--space-3);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.image-item:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: var(--shadow-md);
}

.image-item img {
    width: 100%;
    display: block;
    transition: transform var(--transition-slow);
}

.image-item:hover img {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: var(--space-2);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.image-item:hover .image-overlay {
    opacity: 1;
}

.image-number {
    font-size: var(--text-xs);
    font-weight: 600;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.image-preview-btn,
.image-play-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.image-preview-btn:hover,
.image-play-btn:hover {
    background: white;
    transform: scale(1.1);
}

.image-preview-btn svg,
.image-play-btn svg {
    width: 16px;
    height: 16px;
    color: var(--text);
}

.image-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--primary);
}

/* --- Live Indicator --- */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.image-item.is-live .image-overlay {
    opacity: 1;
}

.image-item.is-live .live-indicator {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
}

/* --- Empty State --- */
.empty-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) var(--space-4);
    color: var(--text-tertiary);
    text-align: center;
}

.empty-visual {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-alpha);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
}

.empty-visual svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    opacity: 0.8;
}

.empty-platforms {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.empty-platforms svg {
    width: 24px;
    height: 24px;
    opacity: 0.25;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.empty-platforms svg:hover {
    opacity: 0.5;
    transform: scale(1.1);
}

.empty-text {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.empty-hint {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* --- Video / Gallery Result Containers --- */
.video-result {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.gallery-result {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.gallery-result .images-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

/* --- Guide Section --- */
.guide-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.guide-header svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.guide-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.guide-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.guide-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    font-size: var(--text-xs);
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.guide-content {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    flex: 1;
}

.guide-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-alpha);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    color: var(--primary);
    transition: background var(--transition-base);
}

.guide-icon svg {
    width: 16px;
    height: 16px;
}

.guide-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.guide-text strong {
    color: var(--text);
}

.platform-support {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
}

.support-label {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    font-weight: 500;
}

.platform-tag {
    padding: var(--space-1) var(--space-3);
    background: var(--surface-hover);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: default;
}

.platform-tag:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .result-actions {
        flex-direction: column;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .images-grid {
        column-count: 2;
    }

    .gallery-header {
        flex-direction: column;
        gap: var(--space-2);
        align-items: stretch;
    }

    .result-header {
        flex-wrap: wrap;
    }

    .card {
        padding: var(--space-4);
    }
}

@media (max-width: 600px) {
    .example-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .images-grid {
        column-count: 2;
    }

    .guide-content {
        flex-direction: column;
        gap: var(--space-2);
    }

    .guide-number {
        display: none;
    }

    .empty-text {
        font-size: var(--text-md);
    }
}

/* ============================================
   Platform Strip — 参考站 vid.suptools.win 风格
   水平滚动/换行的平台图标条，纯展示性
   ============================================ */
.platform-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-card);
    max-width: max-content;
    margin: 0 auto;
}

.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 14px;
    background: var(--surface-hover);
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.platform-chip:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: rgba(20, 120, 255, 0.2);
    transform: translateY(-1px);
}

.platform-chip svg,
.platform-chip .platform-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* 平台色彩悬停态（与 platform-badge 色彩呼应） */
.platform-chip[data-platform="douyin"]:hover { color: var(--color-douyin); }
.platform-chip[data-platform="bilibili"]:hover { color: var(--color-bilibili); }
.platform-chip[data-platform="xiaohongshu"]:hover { color: var(--color-xiaohongshu); }
.platform-chip[data-platform="kuaishou"]:hover { color: var(--color-kuaishou); }
.platform-chip[data-platform="haokan"]:hover { color: var(--color-haokan); }
.platform-chip[data-platform="zuiyou"]:hover { color: var(--color-zuiyou); }
.platform-chip[data-platform="weibo"]:hover { color: var(--color-weibo); }
.platform-chip[data-platform="pipixia"]:hover { color: #d9a800; }  /* 皮皮虾黄在浅底上需加深 */
.platform-chip[data-platform="weishi"]:hover { color: var(--color-weishi); }
.platform-chip[data-platform="xigua"]:hover { color: var(--color-xigua); }
.platform-chip[data-platform="videoaccount"]:hover { color: var(--color-videoaccount); }

/* 文字 badge（无 SVG 图标的平台用彩色文字标签） */
.platform-chip.is-text-badge {
    font-weight: 600;
}

/* 深色下皮皮虾黄仍可读 */
[data-theme="dark"] .platform-chip[data-platform="pipixia"]:hover {
    color: var(--color-pipixia);
}

/* --- Hero 内的输入卡片样式微调（更克制） --- */
.hero .input-card {
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(20, 120, 255, 0.08);
    text-align: left;
}

.hero .input-card .input-header {
    justify-content: space-between;
}

/* --- Hero 内的主按钮加大、增强阴影 --- */
.hero .action-buttons {
    margin-top: var(--space-4);
}

.hero .btn-primary {
    background: var(--primary);
    box-shadow: var(--shadow-blue);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-md);
    font-weight: 700;
}

.hero .btn-primary:hover:not(:disabled) {
    background: var(--primary-600);
    box-shadow: 0 12px 28px rgba(20, 120, 255, 0.24);
    transform: translateY(-2px);
}

/* --- Hero 内的示例区弱化（作为辅助快捷入口） --- */
.hero .example-section {
    width: 100%;
    margin-top: var(--space-3);
}

.hero .example-grid {
    justify-content: center;
}

/* --- guide 区块精修（对齐参考站 steps 风格） --- */
.guide .section-heading {
    text-align: center;
    margin-bottom: var(--space-8);
}

.guide .section-heading h2 {
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    color: var(--text);
    margin-bottom: var(--space-2);
}

.guide .section-heading p {
    font-size: var(--text-md);
    color: var(--text-secondary);
    max-width: 48ch;
    margin: 0 auto;
}

.guide-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 960px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.guide-step:hover {
    border-color: rgba(20, 120, 255, 0.2);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.guide-step-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: 700;
}

.guide-step-title {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--text);
}

.guide-step-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* hero 区响应式：小屏隐藏 eyebrow、缩小标题 */
@media (max-width: 600px) {
    .platform-strip {
        max-width: 100%;
        border-radius: var(--radius-xl);
    }

    .platform-chip {
        padding: 4px 10px;
        font-size: var(--text-xs);
    }

    .guide-grid-3 {
        grid-template-columns: 1fr;
    }
}
