/**
 * 소개 페이지 전용 스타일 (introduce.ejs)
 */

.introduce-page {
    flex: 1;
    max-width: 70rem;
    width: 100%;
    margin: 0 auto;
}

/* 히어로 섹션 - 배경 이미지 + 흰색 텍스트 오버레이, 모서리 둥글게 */

.introduce-banner-section {
    margin-top : 3rem;
}



.introduce-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 14rem;
    padding: 2.5rem 2rem;
    background-image: url("/images/introduce-sub-banner.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #1e293b; /* 이미지 로드 전/실패 시 보일 색 */
    color: #ffffff;
    text-align: center;
    border-radius: 1.5rem;
}

.introduce-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
    pointer-events: none;
}

.introduce-content-area {
    font-family: 'Pretendard Variable', sans-serif;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    max-width: 60rem;
    text-align: center;
}

.introduce-content-area h2 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    font-weight :700;
}

.introduce-content-area h3 {
    color: white;
    font-family: 'Pretendard Variable', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1.05px;
}


/* 어두운 배경 위 가독성 향상 */
.introduce-banner .introduce-content-area,
.introduce-banner .introduce-content-area h2,
.introduce-banner .introduce-content-area li {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* 소개 콘텐츠 영역 - 흰 배경, 제목 + 본문 + 버튼 */
.introduce-content {
    width: 100%;
    background: #ffffff;
    padding: 3rem 0 4rem 0;
}

.introduce-inner {
    max-width: 70rem;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.introduce-heading {
    font-family: 'Pretendard Variable', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #212121;
    letter-spacing: -0.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.introduce-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #E3DEF9;
    color: #645FF9;
    font-size: 1rem;
    font-weight: 700;
}

.introduce-desc {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #212121;
    letter-spacing: -0.02rem;
    background-color: #F5F5F5;
    padding: 1.5rem;
    border-radius: 1rem;
}

/* CTA 버튼 행 - 가로 정렬 */
.introduce-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
}

.introduce-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}



.introduce-cta-secondary {
    background: #ffffff;
    color: #212121;
    border: 1px solid #e5e7eb;
    text-decoration: none;
}

.introduce-cta-secondary:hover {
    background: linear-gradient(45deg, #645FF9 0.1%, #7CB2F8 99.89%);
    color: #ffffff;
    border: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 106, 255, 0.4);
}

.introduce-cta-secondary i {
    font-size: 0.85rem;
}

/* ===== 소개 페이지 스크롤/로드 애니메이션 (scrollReveal.js 연동) ===== */
.introduce-page .scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.introduce-page .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 기업고민 섹션: 제목·카드·이미지 순차 등장 */
.scroll-reveal--stagger-intro .concern-content,
.scroll-reveal--stagger-intro .concern-image-wrap {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scroll-reveal--stagger-intro.is-visible .concern-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
}

.scroll-reveal--stagger-intro.is-visible .concern-image-wrap {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.22s;
}

.scroll-reveal--stagger-intro .concern-card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.scroll-reveal--stagger-intro.is-visible .concern-card:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.scroll-reveal--stagger-intro.is-visible .concern-card:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.scroll-reveal--stagger-intro.is-visible .concern-card:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .introduce-page .scroll-reveal,
    .scroll-reveal--stagger-intro .concern-content,
    .scroll-reveal--stagger-intro .concern-image-wrap,
    .scroll-reveal--stagger-intro .concern-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* 구분선 */
.divider {
    height: 0;
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 0 1.5rem;
}

/* 기업 고민 해결 섹션 - 2단(텍스트+카드 | 이미지) */
.concern-section {
    padding: 4rem 0 8rem 0;
    background: #ffffff;
}

.concern-inner {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.concern-title {
    font-family: 'Pretendard Variable', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #212121;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.concern-highlight {
    color: #6A6AFF;
}

.concern-cards {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.concern-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem 2rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.concern-card:hover,
.concern-card--active {
    border-color: #645FF9;
    box-shadow: 0 4px 12px rgba(106, 106, 255, 0.15);
}

.concern-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.concern-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #212121;
}

.concern-card-desc {
    font-size: 1rem;
    color: #999;
    font-weight: 600;
    line-height: 1.4;
}


.concern-card-icon img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}


.concern-image-wrap {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.concern-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 반응형 */
@media (max-width: 768px) {
    .introduce-hero-bg {
        aspect-ratio: 2 / 1;
        min-height: 12rem;
    }

    .introduce-hero-overlay {
        padding: 1.5rem 1rem;
    }

    .introduce-hero-title {
        font-size: 1.35rem;
    }

    .introduce-content {
        padding: 2rem 0 3rem;
    }

    .introduce-heading {
        font-size: 1.35rem;
    }

    .introduce-cta-row {
        flex-direction: column;
    }

    .introduce-cta {
        width: 100%;
        justify-content: center;
    }

    .concern-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .concern-section {
        padding: 2.5rem 1.5rem;
    }

    .concern-title {
        font-size: 1.35rem;
    }
}
