/**
 * Kajabi 스타일 CSS
 * 깔끔하고 모던한 디자인
 */

/* ========== 전역 변수 ========== */
:root {
    --primary-color: #2d3436;
    --secondary-color: #636e72;
    --accent-color: #0984e3;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #d63031;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e1e8ed;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

/* ========== 기본 스타일 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--white);
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--light-bg);
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== 히어로 섹션 ========== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 16px;
    color: #ffd700;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: white;
}

.hero .subtitle {
    font-size: 24px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.hero .description {
    font-size: 18px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== 버튼 스타일 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #0770c7;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--light-bg);
    border-color: var(--text-primary);
}

.btn-black {
    background: var(--text-primary);
    color: white;
}

.btn-black:hover {
    background: #1a1d1f;
    transform: translateY(-2px);
}

/* ========== Pain Points 섹션 ========== */
.pain-points {
    padding: 100px 0;
    background: var(--light-bg);
}

.pain-grid-two-rows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pain-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s ease;
}

.pain-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.pain-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.pain-icon-solution {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pain-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 6px;
}

.pain-badge-solution {
    display: inline-block;
    padding: 4px 10px;
    background: #e8f5e9;
    color: var(--success-color);
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pain-badge-danger {
    display: inline-block;
    padding: 4px 10px;
    background: #ffebee;
    color: var(--danger-color);
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
}

.pain-problem {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: #fff3e0;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #e65100;
}

.pain-problem i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 14px;
}

.pain-solution {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #2e7d32;
}

.pain-solution i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 14px;
}

.pain-solution strong {
    font-weight: 600;
}

.pain-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pain-list li {
    padding: 6px 0 6px 20px;
    color: var(--text-secondary);
    font-size: 13px;
    position: relative;
    line-height: 1.5;
}

.pain-list li:before {
    content: "•";
    position: absolute;
    left: 6px;
    color: var(--accent-color);
    font-weight: 700;
}

/* ========== 이메일 수집 섹션 ========== */
.newsletter-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.newsletter-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.2;
}

.newsletter-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(9,132,227,0.1);
}

.newsletter-form button {
    padding: 16px 32px;
    background: var(--text-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background: #1a1d1f;
    transform: translateY(-2px);
}

/* ========== 비교 섹션 ========== */
.comparison-section {
    padding: 100px 0;
    background: white;
}

.comparison-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table thead {
    background: var(--light-bg);
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th:first-child {
    width: 40%;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 15px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.comparison-check {
    color: var(--success-color);
    font-size: 20px;
}

.comparison-cross {
    color: #dfe6e9;
    font-size: 20px;
}

.comparison-highlight {
    font-weight: 700;
    color: var(--accent-color);
}

/* ========== 특징 카드 ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== CTA 섹션 ========== */
.cta-section {
    padding: 100px 0;
    background: var(--text-primary);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--text-primary);
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* ========== 반응형 ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .pain-grid-two-rows {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero .subtitle {
        font-size: 20px;
    }
    
    .hero-badge {
        font-size: 13px;
        padding: 6px 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pain-grid-two-rows {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .comparison-table-wrapper {
        overflow-x: scroll;
    }
    
    .cta-title {
        font-size: 32px;
    }
}

/* ========== 애니메이션 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
