/* ==================== 기본 설정 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Toss 스타일 컬러 */
    --primary-color: #3182F6;
    --primary-hover: #1B64DA;
    --secondary-color: #F2F4F6;
    --text-primary: #191F28;
    --text-secondary: #4E5968;
    --text-tertiary: #8B95A1;
    --border-color: #E5E8EB;
    --background: #FFFFFF;
    --background-light: #F9FAFB;
    --success-color: #00C271;
    --warning-color: #FF8A3D;
    --gold-color: #FFB800;
    
    /* 폰트 */
    --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* 그림자 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--background);
    overflow-x: hidden;
}

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

/* ==================== 헤더 ==================== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ==================== 버튼 스타일 ==================== */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

/* ==================== Hero 섹션 ==================== */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-hero {
    background: var(--primary-color);
    color: white;
    padding: 18px 40px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(49, 130, 246, 0.3);
}

.btn-hero:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(49, 130, 246, 0.4);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.hero-feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ==================== 인용 섹션 ==================== */
.quote-section {
    padding: 80px 0;
    background: var(--background-light);
}

.quote-card {
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.quote-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.quote-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    text-align: center;
}

.quote-box {
    background: linear-gradient(135deg, #EBF4FF 0%, #E0EEFF 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
}

.quote-text {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.6;
    color: #1E3A8A;
    text-align: left;
    margin: 0;
}

.quote-detail-box {
    background: var(--background-light);
    border-radius: 16px;
    padding: 24px;
}

.quote-detail {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: left;
    margin: 0;
}

.quote-detail .highlight {
    font-weight: 700;
    color: var(--text-primary);
}

/* ==================== 서비스 섹션 ==================== */
.service {
    padding: 100px 0;
}

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

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== 왜 지금 섹션 ==================== */
.why-section {
    padding: 80px 0;
    background: var(--background-light);
    text-align: center;
}

.why-content {
    max-width: 900px;
    margin: 40px auto 0;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.why-answer {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: left;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #EBF4FF;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.why-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.why-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.why-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.why-text {
    flex: 1;
}

.why-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: left;
    margin: 0;
}

.why-text .highlight {
    font-weight: 700;
    color: var(--text-primary);
}

.why-text .highlight-blue {
    font-weight: 700;
    color: #1E3A8A;
}

/* ==================== 이미지 섹션 ==================== */
.image-section {
    padding: 80px 0;
    text-align: center;
}

.image-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.case-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ==================== 대상 확인 섹션 ==================== */
.check-section {
    padding: 100px 0;
    background: var(--background-light);
    text-align: center;
}

.check-list {
    max-width: 900px;
    margin: 60px auto;
}

.check-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.check-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.check-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

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

.check-cta {
    text-align: center;
    margin-top: 60px;
}

.check-cta p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* ==================== FAQ 섹션 ==================== */
.faq-section {
    padding: 100px 0;
    text-align: center;
}

.faq-list {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 32px 28px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ==================== CTA 섹션 ==================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.4;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 20px 48px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ==================== 상담 신청 폼 ==================== */
.contact-section {
    padding: 100px 0;
    background: var(--background-light);
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.required {
    color: #FF5630;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-family);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    margin-top: 32px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== 푸터 ==================== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ==================== 모달 ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.modal-buttons button {
    flex: 1;
}

.modal-help {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.modal-help p {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-help ol {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 20px;
}

/* ==================== 반응형 ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quote-card {
        padding: 40px 24px;
    }
    
    .quote-text {
        font-size: 20px;
        padding: 0;
    }
    
    .why-content {
        padding: 32px 24px;
    }
    
    .check-item {
        flex-direction: column;
        padding: 24px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--border-color);
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
}

/* 스크롤 애니메이션 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
