:root {
    --etb-bg: #f8fafc;
    --etb-surface: #ffffff;
    --etb-text-main: #0f172a;
    --etb-text-muted: #64748b;
    --etb-gold: #d97706;
    --etb-gold-light: #fef3c7;
    --etb-blue: #0284c7;
    --etb-blue-light: #e0f2fe;
    --etb-emerald: #059669;
    --etb-emerald-light: #d1fae5;
    --etb-border: #e2e8f0;
    --etb-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Pretendard', sans-serif; }
body { background-color: var(--etb-bg); color: var(--etb-text-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* Header */
.etb-header { background: #ffffff; border-bottom: 1px solid var(--etb-border); position: sticky; top: 0; z-index: 50; }
.etb-header-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; height: 70px; display: flex; align-items: center; justify-content: space-between; }
.etb-brand { display: flex; align-items: center; gap: 8px; }
.etb-symbol { font-size: 1.4rem; }
.etb-brand-title { font-size: 1.25rem; font-weight: 900; color: var(--etb-text-main); letter-spacing: -0.5px; }
.etb-badge-audit { background: #f1f5f9; color: #475569; font-size: 0.72rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; border: 1px solid #cbd5e1; font-family: monospace; }
.etb-nav ul { display: flex; list-style: none; gap: 24px; }
.etb-nav a { color: #475569; font-weight: 700; font-size: 0.95rem; transition: color 0.2s; }
.etb-nav a:hover, .etb-nav a.active { color: var(--etb-blue); }

/* Main Stage */
.etb-main { min-height: calc(100vh - 350px); }
.etb-container { max-width: 1240px; margin: 0 auto; padding: 36px 20px 60px; }

/* 🌟 완전히 새로운 인트로: 미니멀 헤드라인 (사각 배너 없음) 🌟 */
.etb-intro-headline { text-align: center; max-width: 860px; margin: 0 auto 36px; }
.etb-intro-pill { display: inline-block; background: #e0f2fe; color: #0369a1; font-size: 0.78rem; font-weight: 800; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 0.5px; font-family: monospace; }
.etb-intro-headline h1 { font-size: 2.1rem; font-weight: 900; color: var(--etb-text-main); margin-bottom: 10px; letter-spacing: -0.8px; line-height: 1.3; }
.etb-intro-headline p { font-size: 1rem; color: var(--etb-text-muted); line-height: 1.6; }

/* 🌟 핵심 인트로 혁신: TOP 3 스포트라이트 위너 포디움 쇼케이스 🌟 */
.etb-spotlight-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 50px; }

.etb-winner-card { background: #ffffff; border-radius: 14px; padding: 26px 22px; display: flex; flex-direction: column; justify-content: space-between; position: relative; box-shadow: var(--etb-shadow); transition: transform 0.2s, box-shadow 0.2s; border: 2px solid transparent; cursor: pointer; text-decoration: none; color: inherit; }
.etb-winner-card:hover { transform: translateY(-4px); box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08); }

/* 1위 골드 위너 */
.etb-winner-card.rank-1 { border-color: #f59e0b; background: linear-gradient(180deg, #fffbeb 0%, #ffffff 40%); }
.etb-winner-card.rank-1 .ewc-badge { background: var(--etb-gold-light); color: var(--etb-gold); border: 1px solid #fde68a; }
.etb-winner-card.rank-1 .ewc-price { color: var(--etb-gold); }

/* 2위 밤파일 스페셜 픽 */
.etb-winner-card.rank-2 { border-color: #0284c7; background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 40%); }
.etb-winner-card.rank-2 .ewc-badge { background: var(--etb-blue-light); color: var(--etb-blue); border: 1px solid #bae6fd; }
.etb-winner-card.rank-2 .ewc-price { color: var(--etb-blue); }

/* 3위 꿀파일 가성비 픽 */
.etb-winner-card.rank-3 { border-color: #10b981; background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 40%); }
.etb-winner-card.rank-3 .ewc-badge { background: var(--etb-emerald-light); color: var(--etb-emerald); border: 1px solid #a7f3d0; }
.etb-winner-card.rank-3 .ewc-price { color: var(--etb-emerald); }

.ewc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ewc-badge { font-size: 0.75rem; font-weight: 900; padding: 4px 10px; border-radius: 6px; }
.ewc-sla { font-size: 0.72rem; color: #64748b; font-family: monospace; font-weight: 700; }

.ewc-logo-wrap { width: 100%; height: 64px; background: #ffffff; border: 1px solid var(--etb-border); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; padding: 6px; }
.ewc-logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }

.ewc-name-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.ewc-name { font-size: 1.35rem; font-weight: 900; color: var(--etb-text-main); }
.ewc-open { font-size: 0.75rem; color: #64748b; }

.ewc-tagline { font-size: 0.88rem; color: var(--etb-text-muted); line-height: 1.5; margin-bottom: 18px; min-height: 42px; }

.ewc-footer-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f1f5f9; padding-top: 14px; margin-top: auto; }
.ewc-price { font-size: 1.25rem; font-weight: 900; }
.ewc-btn { background: #0f172a; color: #ffffff; font-size: 0.85rem; font-weight: 800; padding: 8px 16px; border-radius: 6px; transition: background 0.2s; white-space: nowrap; }
.etb-winner-card:hover .ewc-btn { background: var(--etb-blue); }

/* 🌟 4위 ~ 15위 엔지니어링 데이터 스트립 🌟 */
.etb-section-head { margin-bottom: 18px; margin-top: 50px; }
.etb-section-head h2 { font-size: 1.4rem; font-weight: 800; color: var(--etb-text-main); letter-spacing: -0.5px; }
.etb-section-head p { color: var(--etb-text-muted); font-size: 0.9rem; margin-top: 4px; }

.etb-strip-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 50px; }

.etb-strip-row { background: var(--etb-surface); border: 1px solid var(--etb-border); border-radius: 8px; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; box-shadow: var(--etb-shadow); transition: transform 0.2s, border-color 0.2s; cursor: pointer; text-decoration: none; color: inherit; }
.etb-strip-row:hover { transform: translateY(-2px); border-color: #94a3b8; }
.etb-strip-row:hover .btn-strip-go { background: #0f172a; color: #ffffff; border-color: #0f172a; }

.esr-left { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.esr-rank { font-size: 1.15rem; font-weight: 900; color: #64748b; width: 34px; text-align: center; font-family: monospace; }
.esr-logo { width: 95px; height: 42px; background: #ffffff; border: 1px solid var(--etb-border); border-radius: 6px; padding: 3px; display: flex; align-items: center; justify-content: center; }
.esr-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.esr-center { flex: 1; min-width: 0; }
.esr-name-line { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.esr-name { font-size: 1.05rem; font-weight: 800; color: var(--etb-text-main); }
.esr-tag { font-size: 0.7rem; color: #0284c7; background: #f0f9ff; padding: 1px 6px; border-radius: 4px; font-family: monospace; }
.esr-open { font-size: 0.75rem; color: #64748b; }
.esr-desc { font-size: 0.85rem; color: var(--etb-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.esr-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.esr-benefit { font-size: 1rem; font-weight: 900; color: #dc2626; text-align: right; }
.btn-strip-go { background: #f8fafc; color: #0f172a; border: 1px solid #cbd5e1; font-size: 0.82rem; font-weight: 800; padding: 8px 16px; border-radius: 6px; transition: all 0.2s; white-space: nowrap; }

/* FAQ 아코디언 */
.etb-faq-wrap { display: flex; flex-direction: column; gap: 10px; margin-bottom: 50px; }
.etb-faq-card { background: #ffffff; border: 1px solid var(--etb-border); border-radius: 8px; overflow: hidden; box-shadow: var(--etb-shadow); }
.etb-faq-q { padding: 16px 20px; font-weight: 800; font-size: 0.95rem; color: var(--etb-text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.etb-faq-q:hover { background: #f8fafc; }
.etb-faq-a { padding: 0 20px 16px; font-size: 0.88rem; color: #475569; line-height: 1.7; border-top: 1px solid #f8fafc; display: none; }
.etb-faq-card.active .etb-faq-a { display: block; }

/* 2열 기술 리포트 그리드 */
.etb-posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 50px; }
.etb-post-card { background: var(--etb-surface); border: 1px solid var(--etb-border); border-radius: 10px; padding: 22px; text-decoration: none; color: inherit; box-shadow: var(--etb-shadow); transition: transform 0.2s, box-shadow 0.2s; }
.etb-post-card:hover { transform: translateY(-2px); border-color: #94a3b8; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08); }
.epc-cat { font-size: 0.78rem; font-weight: 800; color: var(--etb-blue); margin-bottom: 8px; }
.epc-title { font-size: 1.08rem; font-weight: 800; color: var(--etb-text-main); margin-bottom: 8px; }
.epc-summary { font-size: 0.86rem; color: var(--etb-text-muted); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.epc-date { font-size: 0.8rem; color: #94a3b8; }

/* 1,000자 온페이지 SEO 감사 보고서 박스 */
.etb-audit-doc { background: var(--etb-surface); border: 1px solid var(--etb-border); border-radius: 12px; padding: 36px; margin-bottom: 50px; line-height: 1.85; color: #334155; font-size: 0.95rem; box-shadow: var(--etb-shadow); }
.etb-audit-doc h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 14px; color: var(--etb-text-main); letter-spacing: -0.5px; }
.etb-audit-doc h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 10px; color: var(--etb-text-main); border-left: 4px solid var(--etb-blue); padding-left: 8px; }
.etb-audit-doc ul { margin: 10px 0 18px 24px; }
.etb-audit-doc li { margin-bottom: 6px; }

/* Single Article */
.etb-single-article { background: var(--etb-surface); padding: 40px; border-radius: 12px; border: 1px solid var(--etb-border); box-shadow: var(--etb-shadow); }
.etb-article-head { font-size: 1.75rem; font-weight: 800; margin-bottom: 12px; color: var(--etb-text-main); }
.etb-article-meta { color: #64748b; font-size: 0.88rem; margin-bottom: 24px; border-bottom: 1px solid var(--etb-border); padding-bottom: 16px; }
.etb-article-body { font-size: 1.02rem; line-height: 1.85; color: #334155; }
.etb-article-body h2 { font-size: 1.3rem; font-weight: 800; margin: 28px 0 12px; color: var(--etb-text-main); }

/* Footer */
.etb-footer { background: #0f172a; color: #94a3b8; padding: 50px 20px 30px; border-top: 1px solid #1e293b; }
.etb-footer-top { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.etb-footer-brand h3 { color: #ffffff; font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.etb-footer-slogan { font-size: 0.88rem; color: #cbd5e1; margin-bottom: 8px; }
.etb-footer-desc { max-width: 400px; font-size: 0.82rem; line-height: 1.5; color: #64748b; }
.etb-footer-links { display: flex; gap: 50px; }
.etb-link-col h4 { color: #ffffff; font-size: 0.92rem; font-weight: 700; margin-bottom: 12px; }
.etb-link-col ul { list-style: none; }
.etb-link-col li { margin-bottom: 8px; }
.etb-link-col a { color: #94a3b8; font-size: 0.85rem; transition: color 0.2s; }
.etb-link-col a:hover { color: #ffffff; }
.etb-footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; text-align: center; color: #64748b; font-size: 0.8rem; }
.etb-disclaimer { margin-top: 6px; font-size: 0.74rem; color: #475569; }

/* Responsive Mobile */
@media (max-width: 1024px) {
    .etb-spotlight-podium { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .etb-header-inner { flex-direction: column; align-items: flex-start; gap: 10px; height: auto; padding: 12px 16px; }
    .etb-nav ul { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; gap: 16px; }
    .etb-container { padding: 20px 14px 40px; }
    .etb-intro-headline h1 { font-size: 1.55rem; }
    .etb-strip-row { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
    .esr-left { width: 100%; justify-content: space-between; }
    .esr-right { width: 100%; justify-content: space-between; border-top: 1px solid #f1f5f9; padding-top: 10px; }
    .esr-desc { white-space: normal; }
    .etb-posts-grid { grid-template-columns: 1fr; }
    .etb-single-article { padding: 20px 16px; }
}