/* Contact 페이지 스타일 */

/* Contact 섹션 기본 스타일 */
.contact-section {
    padding: 160px 0 120px;
    background: #1A1E23;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* 파티클 캔버스 */
#contact-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

/* 섹션 헤더 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title .highlight {
    background: linear-gradient(135deg, #4285f4 0%, #5294ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4285f4 0%, #5294ff 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.section-description {
    font-size: 20px;
    line-height: 1.6;
    color: #BCC7D7;
    text-align: center;
    margin-bottom: 60px;
}

/* Contact 카드 컨테이너 */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* Contact 카드 */
.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(66, 133, 244, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(66, 133, 244, 0.3);
}

.contact-card::after {
    content: attr(data-step);
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(66, 133, 244, 0.1);
    border: 1px solid rgba(66, 133, 244, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #4285f4;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4285f4 0%, #5294ff 100%);
    border-radius: 50%;
}

.contact-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 16px;
    color: #BCC7D7;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #4285f4 0%, #5294ff 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3);
    color: #ffffff;
    background: linear-gradient(135deg, #5294ff 0%, #4285f4 100%);
}

/* 제품별 문의 섹션 */
.products-contact-section {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-subtitle {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.product-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(66, 133, 244, 0.3);
}

.product-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4285f4;
}

.product-item p {
    font-size: 16px;
    color: #BCC7D7;
    margin-bottom: 20px;
}

.product-link {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: #5294ff;
}

/* 직접 문의 섹션 */
.direct-contact-section {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item i {
    font-size: 30px;
    color: #4285f4;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 50%;
}

.info-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-item p {
    color: #BCC7D7;
}

.info-item a {
    color: #4285f4;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-item a:hover {
    color: #5294ff;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0 60px;
    }

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

    .section-description {
        font-size: 18px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 30px;
    }

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

    .info-item {
        flex-direction: column;
        text-align: center;
    }
}