/* ============================================
 * index.css - 랜딩 페이지 스타일
 * ============================================
 * 이 파일을 고치면 영향받는 곳:
 *   → index.html (유일한 소비자)
 *
 * 이 파일이 의존하는 곳:
 *   ← css/common.css (CSS 변수: --header-bg, --action-color, --sub-action-color,
 *      --card-bg, --page-bg, --text-color)
 * ============================================ */

/* ===== 메인 콘텐츠 ===== */
.main {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.main h1 {
    font-size: 32px;
    color: var(--text-color, #3C3C3C);
    margin-bottom: 12px;
}

.main p {
    color: #666;
    font-size: 16px;
}

/* ===== 대문 이미지 ===== */
.hero-banner {
    width: 83%;
    max-width: 800px;
    margin: 30px auto 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background: #fff;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-banner .hero-placeholder {
    color: #ccc;
    font-size: 14px;
}
body.night-mode .hero-banner { background: #1E1E1E; border-color: #333; }
body.night-mode .hero-banner .hero-placeholder { color: #555; }

@media (max-width: 600px) {
    .hero-banner {
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

/* ===== SEO 소개 섹션 ===== */
.seo-intro {
    max-width: 720px;
    margin: 36px auto 0;
    padding: 28px 32px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e0e0e0;
    line-height: 1.8;
    color: #444;
    font-size: 15px;
}
.seo-intro h2 {
    font-size: 20px;
    color: #1B2A4A;
    margin-bottom: 12px;
}
.seo-intro .instructor {
    background: #f0f4ff;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 14px;
    color: #2D5FA0;
}
.seo-intro .features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}
.seo-intro .features span {
    background: #f8f9fb;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid #eee;
}
body.night-mode .seo-intro { background: #1E1E1E; border-color: #333; color: #bbb; }
body.night-mode .seo-intro h2 { color: #8AB4F8; }
body.night-mode .seo-intro .instructor { background: #252830; color: #8AB4F8; }
body.night-mode .seo-intro .features span { background: #252830; border-color: #333; color: #bbb; }

@media (max-width: 600px) {
    .seo-intro { margin: 24px 16px 0; padding: 20px; }
    .seo-intro .features { grid-template-columns: 1fr; }
}

/* ===== 나이트 모드 (index 전용) ===== */
body.night-mode .main p { color: #aaa; }

/* ===== 반응형 (index 전용) ===== */
@media (max-width: 600px) {
    .main h1 {
        font-size: 24px;
    }
    .dot-figure {
        width: 56px;
        height: 56px;
    }
}
