:root {
    --bg-main: #090d16;
    --bg-card: #111827;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #10b981; /* 에메랄드 그린 */
    --primary-hover: #059669;
    --accent-cyan: #06b6d4;
    --accent-amber: #f59e0b;
    --border-color: #1f2937;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --card-hover-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.2);
}

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

/* Header */
.site-header { background: #090d16; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 50; }
.header-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #ffffff; font-size: 1.25rem; font-weight: 800; }
.logo-pulse { width: 10px; height: 10px; background: #10b981; border-radius: 50%; box-shadow: 0 0 10px #10b981; }
.logo-badge { background: #064e3b; color: #6ee7b7; font-size: 0.72rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; border: 1px solid rgba(16, 185, 129, 0.4); }
.site-nav .nav-list { display: flex; list-style: none; gap: 24px; }
.nav-link { color: #94a3b8; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

/* Hero Section */
.metrics-hero-section { background: radial-gradient(circle at 50% 0%, #064e3b 0%, #090d16 80%); padding: 55px 20px 42px; text-align: center; border-bottom: 1px solid var(--border-color); }
.hero-container { max-width: 860px; margin: 0 auto; }
.hero-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: #6ee7b7; padding: 4px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 800; margin-bottom: 16px; }
.hero-title { font-size: 2.25rem; font-weight: 900; line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.5px; background: linear-gradient(to right, #ffffff, #a7f3d0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1rem; color: #94a3b8; line-height: 1.6; }

/* Page Wrapper */
.main-content { min-height: calc(100vh - 350px); }
.page-wrapper { max-width: 1200px; margin: 0 auto; padding: 40px 20px 60px; }
.section-header { margin-bottom: 24px; }
.section-header h2 { font-size: 1.45rem; font-weight: 800; color: #ffffff; letter-spacing: -0.5px; }
.section-header p { color: var(--text-muted); font-size: 0.92rem; margin-top: 4px; }

/* 🌟 에메랄드 벤치마크 카드 리스트 (1~14위) 🌟 */
.metrics-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 50px; }
.metric-row-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; box-shadow: var(--card-shadow); transition: border-color 0.2s, transform 0.2s; }
.metric-row-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.mrc-top-bar { display: flex; justify-content: space-between; align-items: center; }
.mrc-rank-pill { font-size: 0.85rem; font-weight: 900; padding: 3px 8px; border-radius: 4px; background: #1e293b; color: #94a3b8; }
.mrc-rank-pill.top-1 { background: #10b981; color: #000; }
.mrc-rank-pill.top-2 { background: #06b6d4; color: #000; }
.mrc-rank-pill.top-3 { background: #3b82f6; color: #fff; }
.mrc-spec-badges { display: flex; gap: 6px; font-size: 0.72rem; font-weight: 700; }
.spec-tag { background: #032e23; color: #6ee7b7; padding: 2px 7px; border-radius: 4px; border: 1px solid rgba(16, 185, 129, 0.3); }

.mrc-main-body { display: flex; gap: 16px; align-items: center; }
.mrc-logo-box { width: 110px; height: 50px; background: #ffffff; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; padding: 3px; }
.mrc-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mrc-info { flex: 1; min-width: 0; }
.mrc-name { font-size: 1.1rem; font-weight: 800; color: #ffffff; margin-bottom: 2px; }
.mrc-desc { font-size: 0.82rem; color: #94a3b8; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.mrc-bottom-action { border-top: 1px solid var(--border-color); padding-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.mrc-benefit-box { display: flex; align-items: center; gap: 8px; }
.mrc-benefit { font-size: 1.05rem; font-weight: 800; color: var(--primary); }
.mrc-rating { font-size: 0.82rem; font-weight: 700; color: var(--accent-amber); }
.btn-speed-go { background: var(--primary); color: #000000; text-decoration: none; font-size: 0.85rem; font-weight: 800; padding: 8px 18px; border-radius: 6px; transition: background 0.2s; }
.btn-speed-go:hover { background: var(--primary-hover); color: #fff; }

/* 클린 테이블 게시판 */
.clean-board-wrap { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; margin-bottom: 40px; }
.clean-board-table { width: 100%; border-collapse: collapse; text-align: left; }
.clean-board-table th { background: #0b111e; padding: 14px 20px; font-size: 0.88rem; font-weight: 700; color: #cbd5e1; border-bottom: 1px solid var(--border-color); }
.clean-board-table td { padding: 14px 20px; font-size: 0.92rem; border-bottom: 1px solid #1f2937; color: var(--text-main); }
.clean-board-table tbody tr:last-child td { border-bottom: none; }
.clean-board-table tbody tr:hover { background: #162032; }
.td-board-num { width: 60px; text-align: center; color: var(--primary); font-weight: 700; }
.td-board-title a { color: #ffffff; text-decoration: none; font-weight: 600; display: block; }
.td-board-title a:hover { color: var(--primary); text-decoration: underline; }
.td-board-date { width: 110px; text-align: center; color: var(--text-muted); font-size: 0.82rem; }

/* 🌟 심층 SEO 콘텐츠 박스 (메인 및 카테고리 페이지 공용) 🌟 */
.seo-content-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 36px; margin-bottom: 50px; line-height: 1.85; color: #cbd5e1; font-size: 0.95rem; }
.seo-content-box h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 14px; color: #ffffff; }
.seo-content-box h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 10px; color: var(--primary); }
.seo-content-box ul { margin: 10px 0 18px 24px; }
.seo-content-box li { margin-bottom: 6px; }

/* Article & Static View */
.article-view { background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid var(--border-color); }
.article-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 12px; color: #ffffff; }
.article-meta { color: #64748b; font-size: 0.88rem; margin-bottom: 24px; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; }
.article-body { font-size: 1.02rem; line-height: 1.85; color: #cbd5e1; }
.article-body h2 { font-size: 1.3rem; font-weight: 800; margin: 28px 0 12px; color: #ffffff; }
.article-body p { margin-bottom: 16px; }

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

/* Responsive Mobile */
@media screen and (max-width: 900px) {
    .metrics-cards-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 640px) {
    .header-container { height: auto; padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .site-nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .site-nav .nav-list { display: flex; gap: 16px; white-space: nowrap; padding-bottom: 4px; }
    
    .metrics-hero-section { padding: 36px 16px 30px; }
    .hero-title { font-size: 1.45rem; }
    .page-wrapper { padding: 20px 14px 40px; }
    
    .mrc-main-body { flex-direction: column; align-items: flex-start; gap: 10px; }
    .mrc-logo-box { width: 100%; height: 46px; }
    .clean-board-wrap { overflow-x: auto; }
    .clean-board-table { min-width: 440px; }
    .article-view { padding: 20px 16px; }
    .footer-links-grid { gap: 30px; }
}