* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f0f13;
    color: #fff;
    min-height: 100vh;
}

.container { max-width: 1400px; margin: 0 auto; padding: 20px; }

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid #2a2a35;
}
/* 品牌Logo整体容器：横向排列 + 垂直居中 */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;          /* 图标与文字的间距，可按需微调 */
    cursor: pointer;    /* 鼠标悬停显示手型，适合点击跳首页 */
    transition: all 0.2s ease;
    user-select: none;
}

/* Logo 图片：固定尺寸 + 精致化处理 */
.brand-logo__img {
    width: 36px;
    height: 36px;
    object-fit: contain;  /* 保持图片比例，不变形 */
    border-radius: 6px;   /* 轻微圆角，更柔和精致；不喜欢可删除 */
}

/* Logo 文字：和原风格保持一致 */
.brand-logo__text {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1;       /* 消除文字行高导致的错位 */
}

/* 悬停效果：提升交互感（可选） */
.brand-logo:hover {
    opacity: 0.88;
}
.brand-logo:hover .brand-logo__text {
    color: #6366f1;  /* 悬停时文字变主题紫，和全站风格呼应 */
}
.nav a {
    color: #999;
    text-decoration: none;
    margin-left: 24px;
    padding-bottom: 4px;
}
.nav a.active { color: #fff; border-bottom: 2px solid #6366f1; }

.main {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
}

/* 预览区 */
.preview-panel {
    background: #1a1a24;
    border-radius: 16px;
    padding: 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preview-box {
    width: 100%;
    aspect-ratio: 16/9;
    background: #0a0a10;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preview-placeholder { text-align: center; color: #666; }
.preview-placeholder .icon { font-size: 48px; margin-bottom: 12px; }
.result-video { width: 100%; height: 100%; object-fit: contain; }

.loading-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 设置区 */
.settings-panel {
    background: #1a1a24;
    border-radius: 16px;
    padding: 20px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a35;
}
.tab {
    padding: 8px 14px;
    background: #2a2a35;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.tab.active { background: #6366f1; color: #fff; }

.upload-section { margin-bottom: 16px; }
.upload-section label {
    display: block;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
}
.upload-box {
    border: 2px dashed #3a3a4a;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #888;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s;
}
.upload-box:hover { border-color: #6366f1; }
.upload-box input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.preview-img img {
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}
.ref-img-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.ref-img-list img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
}

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
}
.prompt-input {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    background: #2a2a35;
    border: 1px solid #3a3a4a;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    resize: vertical;
    outline: none;
}
.prompt-input:focus { border-color: #6366f1; }
.tip { font-size: 12px; color: #666; margin-top: 6px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.form-item label {
    display: block;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
}
.form-item select,
.form-item input {
    width: 100%;
    padding: 10px 12px;
    background: #2a2a35;
    border: 1px solid #3a3a4a;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
}
.form-item select:focus,
.form-item input:focus { border-color: #6366f1; }

.switches { align-items: center; }
.switch-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ccc;
    cursor: pointer;
}

.generate-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: transform 0.2s, opacity 0.2s;
}
.generate-btn:hover { transform: translateY(-1px); }
.generate-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* 历史页 */
.history-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.history-item {
    background: #1a1a24;
    border-radius: 12px;
    overflow: hidden;
}
.history-item video {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}
.history-info { padding: 12px; }
.history-prompt {
    font-size: 13px;
    color: #ccc;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
.history-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    justify-content: space-between;
}
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}
.status-succeeded { background: #10b981; color: #fff; }
.status-failed { background: #ef4444; color: #fff; }
.status-running, .status-queued { background: #f59e0b; color: #fff; }

/* 响应式 H5 */
@media (max-width: 900px) {
    .main {
        grid-template-columns: 1fr;
    }
    .settings-panel {
        max-height: none;
    }
    .preview-panel {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .container { padding: 12px; }
    .form-row { grid-template-columns: 1fr; }
    .mode-tabs { gap: 6px; }
    .tab { padding: 6px 10px; font-size: 12px; }
        .brand-logo__img {
        width: 30px;
        height: 30px;
    }
    .brand-logo__text {
        font-size: 17px;
    }
    .brand-logo {
        gap: 8px;
    }
}

/* 用户栏 */
.user-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}
.user-bar a {
    color: #6366f1;
    text-decoration: none;
    cursor: pointer;
}
.balance {
    color: #f59e0b;
    font-weight: 500;
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
}

/* 弹窗 */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-content {
    background: #1a1a24;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
}
.modal-content h3 {
    margin-bottom: 20px;
    text-align: center;
}
.modal-content input,
.modal-content select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    background: #2a2a35;
    border: 1px solid #3a3a4a;
    border-radius: 8px;
    color: #fff;
    outline: none;
}
.modal-tip {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #888;
}
.modal-tip a {
    color: #6366f1;
    cursor: pointer;
}

/* 素材按钮 */
.btn-small {
    padding: 6px 12px;
    background: #2a2a35;
    border: 1px solid #3a3a4a;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}
.btn-small:hover { border-color: #6366f1; }
.material-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* @提及下拉框 */
.mention-wrapper { position: relative; }
.mention-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #1a1a24;
    border: 1px solid #3a3a4a;
    border-radius: 8px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.mention-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #2a2a35;
}
.mention-item:hover, .mention-item.active {
    background: #2a2a35;
}
/* 新增缩略图样式 */
.m-thumb {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.mention-item .m-type {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #6366f1;
    color: #fff;
    flex-shrink: 0;
}
.mention-item .m-name {
    flex: 1;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cost-tip {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

.ref-file-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ref-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: #2a2a35;
    border-radius: 6px;
    font-size: 13px;
    color: #ccc;
}
.ref-file-item .file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}
.ref-file-item .remove-btn {
    color: #ef4444;
    cursor: pointer;
    font-size: 14px;
}

.modal-upload-box {
    margin: 12px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #3a3a4a;
    border-radius: 10px;
    color: #888;
    cursor: pointer;
    transition: border-color 0.2s;
    position: relative; /* 新增这一行，核心修复 */
}
.modal-upload-box:hover { border-color: #6366f1; }
.modal-upload-box input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.material-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

/* ========== 首页导航 ========== */
.home-main {
    max-width: 960px;
    margin: 0 auto;
}

/* 轮播广告 */
.carousel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #1a1a24;
}
.carousel-track {
    position: relative;
    height: 200px;
}
.carousel-slide {
    position: absolute;
    inset: 0;
    background: var(--slide-bg);
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    padding: 0 40px;
}
.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}
.carousel-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.carousel-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    max-width: 480px;
}
.carousel-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
    backdrop-filter: blur(4px);
}
.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}
.carousel-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* 功能区块 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #1a1a24;
    border-radius: 14px;
    border: 1px solid #2a2a35;
    transition: all 0.2s ease;
    position: relative;
}
.feature-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.feature-card--link:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.15);
}
.feature-card--soon {
    cursor: pointer;
    opacity: 0.85;
}
.feature-card--soon:hover {
    border-color: #3a3a4a;
    background: #1e1e2a;
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.feature-info {
    flex: 1;
    min-width: 0;
}
.feature-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.feature-info p {
    font-size: 13px;
    color: #888;
}
.feature-arrow {
    color: #6366f1;
    font-size: 18px;
    flex-shrink: 0;
}
.feature-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    padding: 2px 8px;
    background: #2a2a35;
    color: #888;
    border-radius: 4px;
}
.home-footer-tip {
    text-align: center;
    font-size: 13px;
    color: #555;
    padding-bottom: 20px;
}

/* ========== 任务中心 ========== */
.tasks-main {
    max-width: 1100px;
    margin: 0 auto;
}
.tasks-header {
    margin-bottom: 24px;
}
.tasks-header h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}
.tasks-subtitle {
    font-size: 14px;
    color: #888;
}
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a35;
}
.category-tabs .tab {
    border: none;
    font-family: inherit;
}
.task-stats {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}
.task-stats strong {
    color: #6366f1;
}
.task-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.task-card {
    background: #1a1a24;
    border: 1px solid #2a2a35;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}
.task-card:hover {
    border-color: #3a3a4a;
}
.task-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.task-category {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 6px;
    background: #2a2a35;
    color: #ccc;
}
.task-category--电商 { background: rgba(99,102,241,0.15); color: #a5b4fc; }
.task-category--企业 { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.task-category--短剧 { background: rgba(236,72,153,0.15); color: #f9a8d4; }
.task-category--开发 { background: rgba(245,158,11,0.15); color: #fcd34d; }
.task-reward {
    font-size: 14px;
    font-weight: 600;
    color: #f59e0b;
}
.task-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}
.task-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.task-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.task-tag {
    font-size: 11px;
    padding: 2px 8px;
    background: #2a2a35;
    border-radius: 4px;
    color: #888;
}
.task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 12px;
    color: #666;
    margin-bottom: 14px;
    padding-top: 12px;
    border-top: 1px solid #2a2a35;
}
.task-join-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    font-family: inherit;
}
.task-join-btn:hover {
    transform: translateY(-1px);
}
.task-empty {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #666;
}
.task-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* Toast 提示 */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #2a2a35;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 2000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    border: 1px solid #3a3a4a;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    max-width: 90vw;
    text-align: center;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

a.brand-logo {
    text-decoration: none;
    color: inherit;
}

/* ========== 引导页（AI直播 / AI获客） ========== */
.guide-main {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.guide-hero {
    position: relative;
    text-align: center;
    padding: 40px 24px 32px;
    margin-bottom: 28px;
    border-radius: 20px;
    background: #1a1a24;
    border: 1px solid #2a2a35;
    overflow: hidden;
}
.guide-hero--live {
    background: linear-gradient(180deg, #1a1a24 0%, rgba(239,68,68,0.08) 100%);
}
.guide-hero--agent {
    background: linear-gradient(180deg, #1a1a24 0%, rgba(6,182,212,0.08) 100%);
}
.guide-hero-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(239,68,68,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.guide-hero-glow--cyan {
    background: radial-gradient(ellipse, rgba(6,182,212,0.25) 0%, transparent 70%);
}
.guide-hero-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(239,68,68,0.15);
    color: #f87171;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.guide-hero--agent .guide-hero-badge {
    background: rgba(6,182,212,0.15);
    color: #22d3ee;
}
.guide-hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}
.guide-hero-desc {
    font-size: 15px;
    color: #999;
    max-width: 420px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

/* AI直播 - 模拟直播画面 */
.guide-hero-visual {
    display: flex;
    justify-content: center;
}
.live-screen {
    width: 100%;
    max-width: 320px;
    background: #0a0a10;
    border-radius: 14px;
    border: 1px solid #2a2a35;
    overflow: hidden;
    text-align: left;
}
.live-screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(239,68,68,0.12);
    font-size: 12px;
    color: #f87171;
}
.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    margin-right: 6px;
    animation: livePulse 1.5s ease infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.live-viewers {
    color: #888;
}
.live-screen-body {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: 140px;
}
.live-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.live-bubble {
    background: #2a2a35;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    color: #ccc;
    line-height: 1.5;
    max-width: 90%;
}
.live-screen-footer {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    border-top: 1px solid #2a2a35;
    font-size: 12px;
    color: #888;
}

/* AI获客 - 模拟手机界面 */
.agent-phone {
    width: 220px;
    background: #0a0a10;
    border-radius: 28px;
    border: 3px solid #2a2a35;
    padding: 12px 10px 16px;
    position: relative;
}
.agent-phone-notch {
    width: 60px;
    height: 6px;
    background: #2a2a35;
    border-radius: 3px;
    margin: 0 auto 12px;
}
.agent-phone-screen {
    background: #1a1a24;
    border-radius: 16px;
    overflow: hidden;
}
.agent-chat {
    padding: 12px 10px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.agent-chat-item {
    font-size: 11px;
    line-height: 1.5;
    padding: 8px 10px;
    border-radius: 10px;
    max-width: 90%;
}
.agent-chat-item--user {
    background: #6366f1;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.agent-chat-item--ai {
    background: #2a2a35;
    color: #ccc;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.agent-ai-label {
    display: block;
    font-size: 10px;
    color: #22d3ee;
    margin-bottom: 4px;
    font-weight: 600;
}
.agent-input-bar {
    padding: 10px 12px;
    background: #0a0a10;
    font-size: 11px;
    color: #666;
    border-top: 1px solid #2a2a35;
}

.guide-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.guide-feature-item {
    background: #1a1a24;
    border: 1px solid #2a2a35;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    transition: border-color 0.2s;
}
.guide-feature-item:hover {
    border-color: #3a3a4a;
}
.guide-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
}
.guide-feature-item h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.guide-feature-item p {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

.guide-slogan {
    text-align: center;
    margin-bottom: 24px;
    padding: 0 16px;
}
.guide-slogan blockquote {
    font-size: 15px;
    color: #aaa;
    font-style: italic;
    line-height: 1.6;
    position: relative;
    padding: 16px 24px;
    background: #1a1a24;
    border-radius: 12px;
    border-left: 3px solid #06b6d4;
}

.guide-action-card {
    background: #1a1a24;
    border: 1px solid #2a2a35;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
}
.guide-action-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.guide-action-tip {
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
    line-height: 1.6;
}
.guide-action-tip strong {
    color: #f59e0b;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    text-align: left;
}
.guide-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #ccc;
}
.guide-step-num {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.guide-link-box {
    background: #0a0a10;
    border: 1px solid #2a2a35;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    overflow-x: auto;
}
.guide-link-box code {
    font-size: 13px;
    color: #a5b4fc;
    word-break: break-all;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
}

.guide-cta-btn {
    display: inline-block;
    width: 100%;
    max-width: 360px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
    text-decoration: none;
}
.guide-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.3);
}
.guide-cta-btn--live {
    background: linear-gradient(135deg, #ef4444, #f87171);
}
.guide-cta-btn--live:hover {
    box-shadow: 0 8px 24px rgba(239,68,68,0.3);
}
.guide-cta-btn--download {
    background: linear-gradient(135deg, #06b6d4, #22d3ee) !important;
    color: #0f0f13 !important;
    font-weight: 700;
}
.guide-cta-btn--download:hover {
    box-shadow: 0 8px 24px rgba(6,182,212,0.35) !important;
}

.agent-app-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #06b6d4, #6366f1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 16px;
}
.agent-version-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #888;
}
.agent-version-tag {
    padding: 2px 10px;
    background: rgba(6,182,212,0.15);
    color: #22d3ee;
    border-radius: 4px;
    font-size: 12px;
}
.guide-action-note {
    margin-top: 16px;
    font-size: 12px;
    color: #666;
}

@media (max-width: 640px) {
    .carousel-track { height: 160px; }
    .carousel-slide { padding: 0 24px; }
    .carousel-content h2 { font-size: 18px; }
    .carousel-content p { font-size: 12px; }
    .feature-grid { grid-template-columns: 1fr; }
    .task-list { grid-template-columns: 1fr; }
    .tasks-header h1 { font-size: 22px; }
    .guide-hero h1 { font-size: 22px; }
    .guide-features { grid-template-columns: 1fr; }
    .guide-hero { padding: 28px 16px 24px; }
}
