:root {
    --sk-bg: #0f172a;
    --sk-card: #1e293b;
    /* [2026-08-24] 인디고 하드코딩(리브랜딩 이전 잔재)을 공용 브랜드 토큰 참조로
       교체 — 값만 바꾸지 않고 var() 참조로 연결해 다음에 브랜드색이 또 바뀌어도
       이 파일을 다시 찾을 필요 없게 함(사람 지시: "토큰화 꼼꼼히"). */
    --sk-primary: var(--brand-accent);
    --sk-text: #e2e8f0;
    --sk-bright: #f8fafc;
    --sk-border: #334155;
    --sk-s-class-gradient: linear-gradient(135deg, #f59e0b, #d97706);
}
/* [V15-THEME-LIGHT, 2026-08-01] 전달.md 지적 — analysis_view.html 등과 동일 패턴 */
[data-theme="light"] {
    --sk-bg: #eef2f7;
    --sk-card: #ffffff;
    --sk-primary: var(--brand-accent-deep);
    --sk-text: #334155;
    --sk-bright: #0f172a;
    --sk-border: #e2e8f0;
}
body { background-color: var(--sk-bg); color: var(--sk-text); font-family: var(--font-sans); line-height: 1.8; }
.guide-container { max-width: 800px; padding: 40px 20px; margin: 0 auto; }

.hero-section {
    text-align: center;
    padding: 60px 20px 40px;
    background: radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
    border-radius: 20px;
}
.hero-badge {
    background: var(--sk-s-class-gradient);
    color: #000;
    font-weight: 900;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4);
}
.hero-title {
    color: var(--sk-bright);
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}
.hero-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.highlight-text {
    color: #fcd34d;
    font-weight: 700;
}

.step-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid var(--sk-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.3);
    border-color: rgba(250, 204, 21, 0.4);
}
.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    background: var(--sk-primary);
    color: white;
    font-weight: 900;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.4);
}
.step-card h3 {
    color: var(--sk-bright);
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.step-card p {
    color: #cbd5e1;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.equation-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 50px 0;
    padding: 30px;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
}
.eq-item {
    text-align: center;
    padding: 15px 25px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    color: #e2e8f0;
    font-weight: 700;
}
.eq-plus {
    font-size: 1.5rem;
    color: #64748b;
}
.eq-result {
    background: var(--sk-s-class-gradient);
    color: #000;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
}

.action-area {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed var(--sk-border);
}

@media (max-width: 768px) {
    .hero-title { font-size: 1.7rem; }
    .step-card { padding: 25px 20px; }
    .step-number { left: 20px; }
    .equation-section { flex-direction: column; }
    .eq-plus { transform: rotate(90deg); }
}

/* [V15-THEME-LIGHT] :root 변수로 안 잡히는 하드코딩 색상 */
[data-theme="light"] .hero-section { background: radial-gradient(circle at 50% 0%, rgba(180, 83, 9, 0.08) 0%, transparent 70%); border-bottom-color: rgba(15, 23, 42, 0.06); }
[data-theme="light"] .hero-subtitle { color: #64748b; }
[data-theme="light"] .highlight-text { color: #b45309; }
[data-theme="light"] .step-card { background: rgba(15, 23, 42, 0.02); }
[data-theme="light"] .step-card p { color: #334155; }
[data-theme="light"] .equation-section { background: rgba(15, 23, 42, 0.03); }
[data-theme="light"] .eq-item { background: rgba(15, 23, 42, 0.03); border-color: rgba(15, 23, 42, 0.08); color: #334155; }
[data-theme="light"] .text-secondary { color: #64748b !important; }
[data-theme="light"] .btn-outline-secondary { color: #334155 !important; border-color: #cbd5e1 !important; }
