/* tech-page.css */
/* 세련되고 전문적인 기술 소개 페이지 스타일 - 화이트톤으로 통일 */
/* 반응형 디자인 개선 */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 가로 스크롤 방지 */
    width: 100%;
    height: 100%;
}

body, html {
    font-synthesis: none;
}
/* 전체 페이지 스타일 */
.tech-page {
    font-family: 'pretendardRegular', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100%;
}

.tech-main-content {
    max-width: 100%;
    margin: 0 auto;
}

/* 페이지 헤더 - 비디오 배경 스타일 */
.tech-header.fullscreen-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(30px, 5vw, 50px); /* 반응형 패딩 적용 */
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.text-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 0 clamp(10px, 3vw, 20px); /* 반응형 패딩 적용 */
    text-align: center;
}

.main-title {
    font-size: clamp(28px, 5vw, 48px); /* 반응형 폰트 크기 적용 */
    font-weight: 700;
    margin: 20px 0;
    color: #222;
    line-height: 1.2;
    font-family: 'pretendardMedium', sans-serif;
}

.highlight-text {
    color: #0052ff; /* 브랜드 컬러로 변경 */
    position: relative;
    display: inline-block;
}

.highlight-text:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 82, 255, 0.1); /* 브랜드 컬러 배경으로 변경 */
    z-index: -1;
}

/* 기존 헤더 스타일 유지 (레거시 지원) */
.tech-page-header {
    padding: clamp(100px, 15vw, 180px) 0 clamp(80px, 10vw, 120px); /* 반응형 패딩 적용 */
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.tech-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px); /* 반응형 패딩 적용 */
    position: relative;
    z-index: 2;
}

.tech-page-header h1 {
    font-size: clamp(32px, 6vw, 54px); /* 반응형 폰트 크기 적용 */
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
    line-height: 1.2;
}

.tech-page-header p {
    font-size: clamp(16px, 2.5vw, 20px); /* 반응형 폰트 크기 적용 */
    color: #666;
    max-width: 600px;
    line-height: 1.6;
}

.tech-bg-accent {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: clamp(150px, 30vw, 300px); /* 반응형 크기 적용 */
    height: clamp(150px, 30vw, 300px); /* 반응형 크기 적용 */
    border-radius: 50%;
    background-color: rgba(0, 82, 255, 0.05); /* 브랜드 컬러 배경으로 변경 */
    z-index: 1;
}

/* 섹션 공통 스타일 */
.tech-section {
    padding: clamp(60px, 10vw, 120px) 0; /* 반응형 패딩 적용 */
    position: relative;
}

.tech-section.light-bg {
    background-color: #f9f9f9;
}

.tech-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px); /* 반응형 패딩 적용 */
}

.tech-section-header {
    margin-bottom: clamp(40px, 8vw, 80px); /* 반응형 마진 적용 */
}

.section-title {
    font-size: clamp(28px, 5vw, 38px); /* 반응형 폰트 크기 적용 */
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
    line-height: 1.2;
    font-family: "pretendardSemiBold";
}

.section-subtitle {
    font-size: clamp(14px, 2vw, 18px); /* 반응형 폰트 크기 적용 */
    color: #0052ff; /* 브랜드 컬러로 변경 */
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-description {
    font-size: clamp(16px, 2.2vw, 18px); /* 반응형 폰트 크기 적용 */
    color: #666;
    max-width: 800px;
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 50px;
}

/* 기술 개요 섹션 */
.tech-overview-section {
    padding: clamp(60px, 10vw, 100px) clamp(20px, 5vw, 40px); /* 반응형 패딩 적용 */
    max-width: 1200px;
    margin: 0 auto;
}

/* 기술 카드 그리드 - 화이트톤으로 수정 및 반응형 개선 */
.tech-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); /* 반응형 그리드 개선 */
    gap: clamp(15px, 3vw, 25px); /* 반응형 갭 적용 */
    margin-top: 50px;
    width: 100%;
}

/* 기술 카드 스타일 - 화이트톤으로 수정 및 반응형 개선 */
.tech-card {
    background-color: #fff; /* 배경색을 검정에서 흰색으로 변경 */
    border-radius: 24px;
    padding: clamp(25px, 4vw, 40px); /* 반응형 패딩 적용 */
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); /* 그림자 연하게 조정 */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: clamp(300px, 40vw, 380px); /* 반응형 높이 적용 */
    border: 1px solid rgba(0, 0, 0, 0.05); /* 테두리 추가 */
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-number {
    display: none;
}

.card-title {
    font-size: 25px; /* 반응형 폰트 크기 적용 */
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
    color: #222; /* 색상을 흰색에서 검정으로 변경 */
    line-height: 1.3;
    font-family: 'pretendardMedium', sans-serif;
}

.card-desc {
    font-size: clamp(14px, 2vw, 17px); /* 반응형 폰트 크기 적용 */
    color: #666; /* 색상을 연한 흰색에서 회색으로 변경 */
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 300;
    font-family: 'pretendardLight', sans-serif;
}

.card-button {
    align-self: flex-start;
    padding: clamp(10px, 2vw, 14px) clamp(20px, 3vw, 28px); /* 반응형 패딩 적용 */
    background-color: #0052ff; /* 배경색을 흰색에서 브랜드 컬러로 변경 */
    color: #fff; /* 텍스트 색상을 검정에서 흰색으로 변경 */
    border: none;
    border-radius: 50px;
    font-size: clamp(14px, 1.8vw, 16px); /* 반응형 폰트 크기 적용 */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'pretendardRegular', sans-serif;
}

.card-button:hover {
    background-color: #0046db; /* 호버 색상 변경 */
    color: #fff;
    transform: translateY(-3px);
}

/* 기술 섹션 콘텐츠 - 반응형 개선 */
.tech-section-content {
    display: flex;
    flex-direction: row; /* 기본 방향 명시 */
    align-items: flex-start;
    gap: clamp(40px, 8vw, 80px); /* 반응형 갭 적용 */
}

/* 모바일/태블릿에서 컬럼 방향으로 변경 */
@media (max-width: 992px) {
    .tech-section-content {
        flex-direction: column;
    }
    
    /* reverse 레이아웃도 모바일에서는 모두 컬럼 방향으로 통일 */
    .tech-section-content.reverse {
        flex-direction: column;
    }
}

/* 데스크톱에서만 reverse 레이아웃 적용 */
@media (min-width: 993px) {
    .tech-section-content.reverse {
        flex-direction: row-reverse;
    }
}

.tech-text-content {
    flex: 1;
}

.tech-text-content h3 {
    font-size: clamp(20px, 3vw, 26px); /* 반응형 폰트 크기 적용 */
    font-weight: 700;
    margin-bottom: 25px;
    margin-top: 50px;
    color: #222;
    line-height: 1.3;
    font-family: "pretendardSemiBold";
}

.tech-text-content h3:first-child {
    margin-top: 0;
}

/* tech-feature-list 스타일 업데이트 - 불릿 포인트 제거 및 더 깔끔한 디자인 */

/* 기본 리스트 스타일 수정 */
.tech-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.tech-feature-list li {
    position: relative;
    padding-left: 0; /* 좌측 패딩 제거 */
    margin-bottom: 15px;
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.6;
    color: #555;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06); /* 하단 경계선 추가 */
    padding-bottom: 12px; /* 하단 여백 추가 */
}

/* 불릿 포인트 제거 */
.tech-feature-list li:before {
    display: none; /* 불릿 포인트 숨김 */
}

/* 마지막 항목은 경계선 제거 */
.tech-feature-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* strong 태그 스타일링 - 강조 표시 */
.tech-feature-list li strong {
    color: #333;
    font-weight: 600;
}

/* tech-list 스타일도 동일하게 수정 */
.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-list li {
    position: relative;
    padding-left: 0; /* 좌측 패딩 제거 */
    margin-bottom: 12px;
    line-height: 1.5;
    color: #555;
    font-size: clamp(13px, 1.6vw, 14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06); /* 하단 경계선 추가 */
    padding-bottom: 10px; /* 하단 여백 추가 */
}

/* 불릿 포인트 제거 */
.tech-list li:before {
    display: none; /* 불릿 포인트 숨김 */
}

/* 마지막 항목은 경계선 제거 */
.tech-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tech-image-content {
    flex: 1;
    position: relative;
}

.tech-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.image-caption {
    margin-top: 15px;
    font-size: clamp(12px, 1.5vw, 14px); /* 반응형 폰트 크기 적용 */
    color: #999;
    text-align: center;
}

/* 기술 트렌드 섹션 - 화이트톤으로 수정 및 반응형 개선 */
.tech-trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); /* 반응형 그리드 개선 */
    gap: clamp(20px, 3vw, 30px); /* 반응형 갭 적용 */
    margin-top: 60px;
}

.tech-trend-item {
    background-color: #fff; /* 배경색 변경 */
    padding: clamp(25px, 4vw, 40px); /* 반응형 패딩 적용 */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); /* 그림자 연하게 조정 */
    border: 1px solid rgba(0, 0, 0, 0.03); /* 테두리 추가 */
    transition: transform 0.3s ease;
}

.tech-trend-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.tech-trend-item h3 {
    font-size: clamp(18px, 2.5vw, 22px); /* 반응형 폰트 크기 적용 */
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
    font-family: "pretendardSemiBold";
}

.tech-trend-item p {
    font-size: clamp(13px, 1.8vw, 15px); /* 반응형 폰트 크기 적용 */
    color: #666;
    line-height: 1.7;
}

/* 연락처 섹션 - 반응형 개선 */
.tech-contact-section {
    padding: clamp(60px, 10vw, 100px) 0; /* 반응형 패딩 적용 */
}

.tech-contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px); /* 반응형 패딩 추가 */
}

.contact-text {
    margin-bottom: 50px;
}

.contact-link {
    margin-top: 40px;
}

.contact-button {
    display: inline-block;
    padding: clamp(12px, 2vw, 16px) clamp(25px, 4vw, 40px); /* 반응형 패딩 적용 */
    background-color: #0052ff; /* 브랜드 컬러로 변경 */
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: clamp(16px, 2vw, 18px); /* 반응형 폰트 크기 적용 */
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background-color: #0046db;
    transform: translateY(-3px);
}

.arrow-icon {
    margin-left: 8px;
    font-size: 20px;
}

/* 기술 컬럼 레이아웃 - 반응형 개선 */
.tech-columns-container {
    display: flex;
    gap: clamp(15px, 3vw, 30px); /* 반응형 갭 적용 */
    margin-bottom: 50px;
}

.tech-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 3vw, 30px); /* 반응형 갭 적용 */
}

.tech-item {
    background-color: white;
    border-radius: 10px;
    padding: clamp(20px, 3vw, 30px); /* 반응형 패딩 적용 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.tech-item h3 {
    color: #0052ff;
    font-size: clamp(16px, 2.2vw, 20px); /* 반응형 폰트 크기 적용 */
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 82, 255, 0.1);
}


/* CoreTechSection 컴포넌트에 대한 반응형 스타일 */
.fullpage-section.light-section {
    padding: 0;
    overflow: hidden;
}
    
/* 반응형 인라인 스타일을 대체할 CSS 클래스들 */
.core-tech-section-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0052ff;
    margin-bottom: 20px;
}

.core-tech-subtitle {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    color: #222;
}

.core-tech-intro-box {
    background: rgba(0, 82, 255, 0.05);
    width: 100%;
    max-width: calc(100% - clamp(0px, 5vw, 40px));
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
}

.core-tech-intro-text {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #555;
    line-height: 1.6;
}

.core-tech-description {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: #666;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.core-tech-features-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
}

.core-tech-feature-item {
    background: #f9f9f9;
    padding: clamp(1rem, 1.5vw, 1.5rem);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.core-tech-feature-title {
    color: #0052ff;
    margin-bottom: 1rem;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
}

/* 핵심 기술 카드 스타일 */
.tech-summary-card {
    background: #fff;
    border-radius: 15px;
    padding: clamp(1.25rem, 3vw, 2rem);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-number-accent {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.tech-summary-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #0052ff;
    margin-bottom: 0.5rem;
}

.tech-summary-subtitle {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    color: #666;
}

.tech-summary-image-container {
    width: 100%;
    height: clamp(120px, 20vw, 180px);
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-summary-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tech-summary-description {
    color: #555;
    margin-bottom: 1rem;
    font-size: clamp(0.875rem, 1vw, 1rem);
}

/* 향상된 반응형 스타일 */
@media (max-width: 1300px) {
    .tech-page-header {
        padding: 120px 0 80px;
    }

    .tech-page-header h1 {
        font-size: 42px;
    }

    .tech-section {
        padding: 80px 0;
    }

    .overview-grid {
        gap: 40px;
    }

    .tech-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .tech-header div h1 {
        font-size: 50px !important;
        font-family: "pretendardSemiBold";
    }

    .tech-header div p {
        font-family: "pretendardRegular" !important;
        font-size: 13px !important;
    }

    .section-title {
        font-size: 30px;
    }

    .tech-trends-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-columns-container {
        flex-wrap: wrap;
    }
    
    .tech-column {
        flex-basis: calc(50% - 15px);
    }

    /* 섹션 간 간격 조정 */
    .tech-section {
        padding: 70px 0;
    }
    
    /* CoreTechSection 내부 간격 조정 */
    .tech-section-header {
        margin-bottom: 40px;
    }

    .tech-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tech-page-header {
        padding: 100px 0 60px;
    }

    .tech-page-header h1 {
        font-size: 32px !important;
        font-family: "pretendardSemiBold" !important;
    }

    .tech-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .tech-trends-grid {
        grid-template-columns: 1fr;
    }

    .tech-columns-container {
        flex-direction: column;
    }
    
    .tech-column {
        width: 100%;
    }

    /* 요소들 간의 간격 축소 */
    .tech-section-content {
        gap: 30px;
    }
    
    .tech-text-content h3 {
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .tech-feature-list {
        margin-bottom: 25px;
    }
}

@media (max-width: 576px) {
    .tech-page-header h1 {
        font-size: 28px;
    }

    .tech-page-header p {
        font-size: 16px;
    }

    .tech-card, .tech-trend-item {
        padding: 20px;
    }

    .card-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* 컨텐츠 간격 더 축소 */
    .section-description {
        margin-bottom: 30px;
    }
    
    .tech-section-header {
        margin-bottom: 30px;
    }
    
    /* 모바일에서 이미지와 텍스트 간격 조정 */
    .tech-image-content {
        margin-top: 10px;
    }
}

/* 아이폰 SE와 같은 매우 작은 화면 대응 */
@media (max-width: 375px) {
    .card-title {
        font-size: 18px;
    }
    
    .card-desc {
        font-size: 13px;
    }
    
    .tech-card {
        min-height: 250px;
        padding: 15px;
    }
    
    .tech-item {
        padding: 15px;
    }
    
    .tech-item h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
}