
/* 분석기 가이드 랜딩 */
.guide-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px 60px;
}

.guide-hero {
    text-align: center;
    padding: 48px 20px 40px;
    position: relative;
}
.guide-hero-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #000;
    background: #1ea459;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.guide-hero h1 {
    font-size: 28px;
    font-weight: 800;
    color: #333333;
    line-height: 1.4;
    margin-bottom: 12px;
}
.guide-hero h1 em {
    color: #1ea459;
    font-style: normal;
}
.guide-hero p {
    font-size: 14px;
    color: #888888;
    line-height: 1.6;
}
.guide-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 28px;
    background: #1ea459;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.guide-hero-cta:hover {
    background: #17833f;
    color: #fff;
    transform: translateY(-1px);
}

/* 섹션 */
.guide-section {
    margin-bottom: 32px;
}
.guide-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.guide-step-badge {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1ea459;
    color: #000;
    font-size: 14px;
    font-weight: 800;
    border-radius: 8px;
}
.guide-section-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #5a5a5a;
    margin: 0;
}
.guide-section-body {
    background: #fcfcfc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 24px;
}
.guide-section-body p {
    font-size: 14px;
    color: #888888;
    line-height: 1.7;
    margin: 0 0 12px;
}
.guide-section-body p:last-child {
    margin-bottom: 0;
}
.guide-section-body strong {
    color: #5a5a5a;
}
.guide-section-body .accent {
    color: #1ea459;
    font-weight: 600;
}

/* 하이라이트 박스 */
.guide-highlight {
    background: rgba(30, 164, 89, 0.06);
    border: 1px solid rgba(30, 164, 89, 0.15);
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
}
.guide-highlight-title {
    font-size: 13px;
    font-weight: 700;
    color: #1ea459;
    margin-bottom: 8px;
}

/* 기능 그리드 */
.guide-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}
.guide-feature {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 16px;
}
.guide-feature-icon {
    font-size: 24px;
    margin-bottom: 8px;
}
.guide-feature-name {
    font-size: 13px;
    font-weight: 700;
    color: #5a5a5a;
    margin-bottom: 4px;
}
.guide-feature-desc {
    font-size: 12px;
    color: #888888;
    line-height: 1.5;
}

/* 서식 예시 */
.guide-formula-example {
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    font-family: monospace;
}
.guide-formula-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    font-size: 13px;
}
.guide-formula-step {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 164, 89, 0.15);
    color: #1ea459;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
}
.guide-formula-code {
    color: #1ea459;
    font-weight: 600;
}
.guide-formula-desc {
    color: #888888;
    font-size: 12px;
}

/* 플로우 */
.guide-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 16px 0;
}
.guide-flow-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    position: relative;
}
.guide-flow-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 36px;
    bottom: -12px;
    width: 2px;
    background: rgba(30, 164, 89, 0.2);
}
.guide-flow-dot {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 164, 89, 0.1);
    border: 2px solid rgba(30, 164, 89, 0.3);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: #1ea459;
    z-index: 1;
}
.guide-flow-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: #5a5a5a;
    margin: 0 0 4px;
}
.guide-flow-content p {
    font-size: 13px;
    color: #888888;
    margin: 0;
    line-height: 1.5;
}

/* 하단 CTA */
.guide-bottom-cta {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(30, 164, 89, 0.05), rgba(1, 99, 128, 0.05));
    border: 1px solid rgba(30, 164, 89, 0.15);
    border-radius: 16px;
    margin-top: 40px;
}
.guide-bottom-cta h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
}
.guide-bottom-cta p {
    font-size: 13px;
    color: #888888;
    margin-bottom: 20px;
}
.guide-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.guide-cta-buttons a {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.guide-cta-primary {
    background: #1ea459;
    color: #000;
}
.guide-cta-primary:hover {
    background: #17833f;
    color: #fff;
}
.guide-cta-secondary {
    background: rgba(0, 0, 0, 0.06);
    color: #888888;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.guide-cta-secondary:hover {
    border-color: #1ea459;
    color: #1ea459;
}

@media (max-width: 600px) {
    .guide-hero h1 { font-size: 22px; }
    .guide-features { grid-template-columns: 1fr; }
    .guide-section-body { padding: 16px; }
}

/* ===== 다크모드 가독성 개선 — 라이트용 어두운 글씨(#333/#5a5a5a/#888)를 밝게 (전체 가독성) ===== */
[data-theme="dark"] .guide-hero h1,
[data-theme="dark"] .guide-bottom-cta h3 { color: #f1f5f9; }
[data-theme="dark"] .guide-section-header h2,
[data-theme="dark"] .guide-section-body strong,
[data-theme="dark"] .guide-feature-name,
[data-theme="dark"] .guide-flow-content h4 { color: #e2e8f0; }
[data-theme="dark"] .guide-hero p,
[data-theme="dark"] .guide-section-body p,
[data-theme="dark"] .guide-feature-desc,
[data-theme="dark"] .guide-formula-desc,
[data-theme="dark"] .guide-flow-content p,
[data-theme="dark"] .guide-bottom-cta p { color: #94a3b8; }
/* 전역 catch-all 배경 제거(2026-07-08) 후, 하드코딩 밝은 배경(#fcfcfc/#f5f5f5)이 다크에서 흰박스로 노출된 것 보완 */
[data-theme="dark"] .guide-section-body { background: var(--glass-bg); border-color: var(--border-dark); }
[data-theme="dark"] .guide-section-body strong { color: #cbd5e1; }
[data-theme="dark"] .guide-feature { background: rgba(255,255,255,0.03); border-color: var(--border-dark); }
[data-theme="dark"] .guide-formula-example { background: var(--bg-secondary); border-color: var(--border-dark); }
