/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffd700;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero-content h2 strong {
    color: #ffd700;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature {
    font-size: 1.2rem;
    font-weight: 500;
}

.feature strong {
    color: #ffd700;
    font-size: 1.4rem;
}

/* 서비스 카드 섹션 */
.services-section {
    padding: 4rem 0;
    background: white;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.rate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.rate-label {
    font-size: 1rem;
}

.rate-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
}

.max-amount {
    font-size: 1.2rem;
    font-weight: 600;
}

.chat-section {
    text-align: center;
    margin-top: 3rem;
}

.btn-chat {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-favorite {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    margin: 0.5rem;
    transition: all 0.3s ease;
}

.btn-favorite:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* 추천 대상 섹션 */
.recommendation {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 4rem 0;
}

.recommendation h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

.recommendation h2 strong {
    color: #e74c3c;
}

.recommendation-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.recommendation-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.recommendation-item:hover {
    transform: translateY(-3px);
}

.recommendation-item strong {
    color: #e74c3c;
}

/* 상담 프로세스 섹션 */
.consultation-process {
    background: white;
    padding: 4rem 0;
}

.consultation-process h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

.consultation-process h2 strong {
    color: #667eea;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    color: #856404;
}

.warning strong {
    color: #d63031;
}

/* 차별화 포인트 섹션 */
.differentiation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.differentiation h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.differentiation h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.differentiation h3 strong {
    color: #ffd700;
}

.differentiation p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.trust-badge {
    background: rgba(255, 215, 0, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #ffd700;
    font-size: 1.3rem;
    font-weight: 600;
}

/* 고객 후기 섹션 */
.reviews {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.reviews h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

/* FAQ 섹션 */
.faq {
    background: white;
    padding: 4rem 0;
}

.faq h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

.faq h2 strong {
    color: #667eea;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    font-size: 1.2rem;
    margin: 0;
}

.faq-item p {
    padding: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.faq-item strong {
    color: #e74c3c;
}

/* 하단 CTA 섹션 */
.bottom-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-buttons {
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-contact {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: white;
    color: #667eea;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-content h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.5rem;
}

.customer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.customer-form input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.customer-form input:focus {
    outline: none;
    border-color: #667eea;
}

.customer-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-close {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
}

/* 푸터 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.company-info {
    margin-bottom: 1rem;
}

.company-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.copyright {
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .service-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 1.5rem;
    }
    
    .differentiation h2 {
        font-size: 2rem;
    }
    
    .differentiation h3 {
        font-size: 1.5rem;
    }
    
    .recommendation h2 {
        font-size: 1.8rem;
    }
    
    .consultation-process h2 {
        font-size: 1.8rem;
    }
    
    .faq h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .services {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .service-item {
        padding: 0.8rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .btn-chat, .btn-primary {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .rate {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .rate-value {
        font-size: 1.3rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .faq-item p {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .modal-content {
        margin: 2% auto;
        padding: 1rem;
    }
    
    .customer-form input {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .btn-submit {
        padding: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .btn-chat, .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .feature-item:hover,
    .recommendation-item:hover {
        transform: none;
    }
    
    .btn-chat:hover,
    .btn-primary:hover,
    .btn-favorite:hover {
        transform: none;
    }
}

/* 고해상도 디스플레이 최적화 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-card,
    .feature-item,
    .recommendation-item {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .services-section,
    .consultation-process,
    .faq {
        background-color: #2a2a2a;
    }
    
    .service-card {
        background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    }
    
    .faq-item {
        background: #3a3a3a;
    }
    
    .customer-form input {
        background-color: #3a3a3a;
        color: #e0e0e0;
        border-color: #555;
    }
}
