/* style.css */
:root {
    --color-bg-white: #FFFFFF;
    --color-bg-light: #F4F6F9; /* 연한 블루그레이 */
    --color-primary: #1C2D4A; /* 진한 네이비 */
    --color-text-main: #333333;
    --color-text-sub: #555555;
    --color-border: #E5E7EB;
    
    --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-bg-white);
    word-break: keep-all;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.4;
}

p {
    color: var(--color-text-sub);
}

.container {
    max-width: 900px; /* 너무 넓지 않게 제한하여 가독성 증대 */
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px; /* 유저 요청으로 헤더 두께를 원래대로 롤백 */
}

/* 로고 스타일 */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 8px 0;
    height: 100%; /* 링크 영역 전체 사용 */
}

.nav-logo {
    height: 56px; /* 실제 크롭된 이미지가 온전히 들어가도록 높이 설정 */
    width: auto;
    object-fit: contain;
}

/* 메뉴 스타일 */
.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-sub);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 4px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* 모바일에서는 여백이 부족하므로 숨김 (가독성을 위해) */
    }
}

section {
    padding: 100px 0;
    border-bottom: 1px solid var(--color-border);
    /* 고정 헤더 높이만큼 스크롤 위치 보정 */
    scroll-margin-top: 72px; 
}

section:last-of-type {
    border-bottom: none;
}

.bg-light {
    background-color: var(--color-bg-light);
}

/* 1. Hero Section */
.hero-section {
    padding: 100px 0 80px;
    border-bottom: none;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 60px;
    }
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-text h1 strong {
    color: var(--color-primary);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--color-text-main);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-body {
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.hero-pride {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}

.pride-box {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 18px 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 140px;
}

.pride-label {
    font-size: 0.95rem;
    color: var(--color-text-sub);
    font-weight: 600;
}

.pride-number {
    font-size: 1.6rem;
    color: var(--color-primary);
    font-weight: 800;
}

.hero-image {
    flex: 1;
    max-width: 100%;
}

@media (min-width: 768px) {
    .hero-image {
        max-width: 45%;
    }
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    display: block;
}

/* 2. Features Section */
.features-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.feature-card {
    background: var(--color-bg-white);
    padding: 28px 30px 32px; /* 위쪽 여백 줄임 */
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-align: left;
}

.feature-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #94A3B8; /* 기존 #CBD5E1보다 한 톤 더 진하게 변경 */
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.5;
}

/* 3. Process Section */
.process-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 50px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

@media (min-width: 600px) {
    .step-item {
        flex-direction: row;
        align-items: stretch;
    }
}

.step-label {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    font-weight: 600;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    min-width: 120px;
}

@media (min-width: 600px) {
    .step-label {
        justify-content: flex-start;
    }
}

.step-content {
    padding: 24px;
    flex: 1;
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.step-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* 4. Contents Section */
.contents-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
}

.coaching-list {
    list-style: none;
    max-width: 500px;
    margin: 0 auto;
}

.coaching-list li {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 16px 24px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.coaching-list li::before {
    content: "■";
    color: var(--color-primary);
    font-size: 0.8rem;
    margin-right: 16px;
    opacity: 0.7;
}

/* 5. Matching Section */
.matching-section {
    text-align: center;
}

.matching-container h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.matching-text {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.matching-text p {
    margin-bottom: 24px;
}

.matching-text p:last-child {
    margin-bottom: 0;
}

/* 6. 자주 묻는 질문 (FAQ) - SEO 용 (단정하고 구조적인 문답형) */
.faq-section {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background: white;
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
}

.faq-q {
    color: var(--color-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.faq-a {
    color: var(--color-text-sub);
    line-height: 1.6;
    margin: 0;
}

/* 7. Contact Section */
.contact-section {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    text-align: center;
    padding: 80px 0;
}

.contact-section h2 {
    color: var(--color-bg-white);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-info {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px 50px;
    min-width: 320px;
}

.contact-label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info strong {
    font-size: 2.5rem;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: var(--color-bg-white);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-text-sub);
}

.footer-divider {
    color: #CBD5E1;
    font-size: 0.8rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #94A3B8;
}

/* Mobile Utilities & Adjustments */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 50px 0;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .contact-info {
        padding: 24px;
        min-width: 100%;
        width: 100%;
    }

    .contact-info strong {
        font-size: 2rem;
    }

    .footer-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-divider {
        display: none;
    }
}

/* SEO Optimization Utility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
