/* 째깍홈티 공통 스타일 */

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

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 컨테이너 */
.container {
    max-width: 100%;
    margin: 0 auto;
}

/* 섹션 공통 */
.section {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
}

/* 헤더 */
.header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 60%;
    max-height: 54px;
    width: auto;
    display: block;
}

/* 태블릿 이상 */
@media (min-width: 769px) {
    .header {
        height: 80px;
    }
    
    .logo img {
        max-height: 60px;
    }
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

/* 히어로 섹션 */
.hero {
    padding: 80px 20px 60px;
    text-align: center;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #666;
}

/* 버튼 */
.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #333;
    color: white;
}

.btn-large {
    width: 100%;
    max-width: 400px;
    padding: 20px 40px;
    font-size: 20px;
}

/* 카드 */
.card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin: 20px auto;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 리스트 */
.info-list {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}

.info-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    color: #333;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li strong {
    font-weight: 700;
    color: #000;
}

/* 텍스트 정렬 */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* 여백 */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

/* 푸터 */
.footer {
    background: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}

.footer p {
    margin: 8px 0;
    color: #ccc;
}

/* 반응형 */
@media (max-width: 768px) {
    .header {
        height: 70px !important;
    }
    
    .logo img {
        max-height: 54px !important;
    }
    
    .hero {
        padding: 60px 20px 40px !important;
    }
    
    .hero-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
    }
    
    .section {
        padding: 40px 20px !important;
    }
    
    .btn-large {
        font-size: 18px !important;
        padding: 18px 36px !important;
        max-width: 100% !important;
    }
    
    .cta-title {
        font-size: 32px !important;
    }
    
    .cta-description {
        font-size: 16px !important;
    }
    
    .benefit-title,
    .solution-title,
    .faq-title,
    .problem-title {
        font-size: 24px !important;
    }
    
    h2[style*="font-size: 38px"] {
        font-size: 28px !important;
    }
    
    h3[style*="font-size: 24px"] {
        font-size: 20px !important;
    }
    
    .info-list {
        padding: 0 20px;
    }
    
    .info-list li {
        font-size: 15px !important;
        padding: 12px 0 !important;
    }
    
    .footer {
        padding: 30px 20px !important;
        font-size: 13px !important;
    }
    
    .footer p {
        margin: 6px 0 !important;
    }
    
    /* 인라인 스타일 폰트 최적화 */
    p[style*="font-size: 18px"] {
        font-size: 16px !important;
    }
    
    p[style*="font-size: 20px"] {
        font-size: 18px !important;
    }
    
    div[style*="font-size: 18px"] {
        font-size: 16px !important;
    }
    
    div[style*="font-size: 20px"] {
        font-size: 18px !important;
    }
}
