/* ===================================
   Shadowrocket 配置教程页样式
   鲜艳活力 · 移动优先 · 轻量高效
   =================================== */

/* ----- 基础重置 & 变量 ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #fffaf5;
    color: #1f2129;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* 背景装饰 */
.bg-accent {
    position: fixed;
    top: -15vh;
    right: -10vw;
    width: 70vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(255,140,80,0.06) 0%, rgba(255,200,120,0.01) 80%);
    pointer-events: none;
    z-index: -1;
    border-radius: 50%;
}

/* 容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ----- 导航栏 (与首页/下载页一致) ----- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 3px solid #ff8a5c;
}

.logo {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(130deg, #E64A2E, #FF8A4C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #3f4156;
    transition: color 0.15s;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links .active {
    color: #E64A2E;
}

/* 按钮样式 */
.btn-outline {
    background: white;
    border: 2px solid #FF8A4C;
    color: #E64A2E;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 60px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-outline:hover {
    background: #fff0e0;
    border-color: #E64A2E;
    transform: translateY(-2px);
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(105deg, #E64A2E, #FF7F3F);
    color: white;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 60px;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(230,74,46,0.2);
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: linear-gradient(105deg, #D23F24, #F06A2E);
    transform: translateY(-3px);
    box-shadow: 0 16px 24px rgba(230,74,46,0.25);
}

/* ----- 页面头部 ----- */
.page-header {
    text-align: center;
    padding: 50px 0 20px;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #1f2129;
}

.highlight {
    background: linear-gradient(120deg, #FFAE5E, #FF7640);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-header p {
    color: #4b4e65;
    max-width: 680px;
    margin: 0 auto;
}

/* ----- 创意进度步骤条 ----- */
.progress-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 30px;
}

.step-pill {
    background: white;
    border-radius: 60px;
    padding: 10px 24px;
    font-weight: 600;
    color: #A0401C;
    border: 1px solid #ffcd9f;
    box-shadow: 0 4px 8px rgba(0,0,0,0.02);
    cursor: pointer;
    transition: all 0.15s;
}

.step-pill.active {
    background: #E64A2E;
    color: white;
    border-color: #E64A2E;
}

/* ----- 教程网格卡片 ----- */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.tutorial-card {
    background: white;
    border-radius: 40px;
    padding: 32px 28px;
    border: 1px solid #ffd9bc;
    box-shadow: 0 14px 24px -8px rgba(0,0,0,0.04);
    transition: 0.2s;
}

.tutorial-card:hover {
    border-color: #FF9F66;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.card-header .icon {
    font-size: 2.4rem;
}

.card-header h2 {
    font-size: 1.6rem;
    color: #D94F2A;
}

.step-list {
    list-style: none;
}

.step-list li {
    margin: 16px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #3f4156;
}

.step-list li::before {
    content: "▹";
    color: #E64A2E;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 规则标签云 */
.rule-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.rule-tag {
    background: #FFEFE2;
    border-radius: 40px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #B3411C;
}

/* 加速技巧对比卡片 */
.tip-compare {
    display: flex;
    gap: 20px;
    margin-top: 24px;
}

.tip-box {
    flex: 1;
    background: #FFF7F0;
    border-radius: 28px;
    padding: 20px 16px;
    text-align: center;
}

.tip-box .badge {
    background: #E64A2E;
    color: white;
    border-radius: 30px;
    padding: 4px 16px;
    font-size: 0.7rem;
    display: inline-block;
    margin-bottom: 12px;
}

/* ----- 效果提升区域 (faq-mini) ----- */
.faq-mini {
    background: #fff3e9;
    border-radius: 40px;
    padding: 40px 32px;
    margin: 40px 0;
}

/* ----- 下载号召区域 (CTA) ----- */
.cta-section {
    text-align: center;
    background: linear-gradient(125deg, #FFE7D4, #FFF1E5);
    border-radius: 56px;
    padding: 56px 32px;
    margin: 40px 0 20px;
    border: 1px solid #FFCC99;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #BF4E2E;
}

.cta-section p {
    margin-bottom: 28px;
    color: #5a6075;
}

/* ----- 页脚 ----- */
.footer {
    background: #FFE8DB;
    padding: 36px 0 24px;
    border-radius: 48px 48px 0 0;
    text-align: center;
    color: #9A4B2E;
    margin-top: 40px;
}

.footer a {
    color: #C04E28;
    text-decoration: none;
    margin: 0 12px;
}

.footer a:hover {
    text-decoration: underline;
}

/* ----- 响应式调整 ----- */
@media (max-width: 700px) {
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .progress-steps {
        gap: 6px;
    }
    .step-pill {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}