/* ===== landing-base.css ===== */
/* 디자인 토큰, 리셋, 타이포그래피, 공통 컴포넌트 */

/* ===== 디자인 시스템 ===== */
:root {
    /* Branding Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #e0e7ff;

    /* Neutral Colors (High Contrast) */
    --text-main: #111827;
    --text-body: #374151;
    --text-muted: #6b7280;

    /* Backgrounds */
    --bg-page: #f9fafb;
    --bg-white: #ffffff;

    /* UI Elements */
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius-md: 12px;
    --radius-lg: 16px;
}

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

/* 모바일에서 좌우로 끌리는(가로 패닝) 현상 방지 — 세로 스크롤만 허용.
   히어로 배경 등 뷰포트보다 넓은 요소가 가로 스크롤을 만들지 않도록 루트에서 클립 */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 버튼 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
}

/* ===== 섹션 공통 ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
    display: block;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
}
