/* Tech Page Styles */

/* Hero Section */
.tech-page .hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.tech-page .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tech-page .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.5s ease-in-out;
}

.tech-page .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
    z-index: 2;
    pointer-events: none;
}

.tech-page .hero-main-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: flex-start;
    justify-content: center;
    z-index: 10;
    position: relative;
}

/* 데스크톱/태블릿에만 width 적용 (모바일은 mobile.css에서 처리) */
@media (min-width: 768px) {
    .tech-page .hero-main-container {
        width: 658px;
        max-width: 90vw;
    }
}

.tech-page .hero-text-container {
    width: 100%;
}

.tech-page .hero-main-title {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-black);
    font-size: var(--font-size-title-desktop);
    color: var(--color-white);
    line-height: 1;
    display: flex;
    flex-direction: column;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.tech-page .title-line {
    display: block;
    white-space: nowrap;
}

.tech-page .hero-description {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-body-desktop);
    font-weight: 200;
    color: var(--color-text-light);
    line-height: 1.6;
    letter-spacing: -0.4px;
    width: 100%;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.tech-page .hero-description p {
    margin: 0;
    white-space: nowrap;
}

/* Tech Container */
.tech-page .tech-container {
    background: var(--color-white);
    padding: clamp(120px, 8.33vw, 120px) 0 clamp(60px, 4.17vw, 60px);
    color: var(--color-black);
}

.tech-page .tech-header-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: clamp(80px, 5.56vw, 80px);
}

.tech-page .tech-header-title {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-black);
    font-size: clamp(48px, 3.33vw, 48px);
    color: #131923;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.tech-page .tech-header-title .title-line {
    margin: 0;
}

.tech-page .tech-header-description {
    font-family: var(--font-family-secondary);
    font-size: clamp(24px, 1.67vw, 24px);
    font-weight: var(--font-weight-medium);
    color: #40454c;
    line-height: 1.4;
    letter-spacing: -0.48px;
}

.tech-page .tech-header-description p {
    margin: 0;
}

/* Tech Grid */
.tech-page .tech-grid-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.tech-page .tech-grid-title {
    font-family: var(--font-family-primary);
    font-weight: 800;
    font-size: 24px;
    color: #131923;
    line-height: 1.4;
    margin: 0;
}

.tech-page .tech-grid-items-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    column-gap: clamp(160px, 11.11vw, 160px);
    row-gap: 0;
    justify-content: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.tech-page .tech-grid-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    width: 100%;
    justify-self: center;
    flex-shrink: 0;
}

.tech-page .tech-grid-icon {
    width: 147px;
    height: 142px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-page .tech-grid-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-page .tech-grid-item-description {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
    text-align: center;
}

.tech-page .tech-grid-item-title {
    font-family: var(--font-family-primary);
    font-weight: 800;
    font-size: 32px;
    color: #131923;
    line-height: 1;
    margin: 0;
}

.tech-page .tech-grid-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    width: 100%;
}

.tech-page .tech-grid-item-subtitle {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: 17.5px;
    color: #40454c;
    line-height: 1.4;
    margin: 0;
}

.tech-page .tech-grid-item-description-text {
    font-family: var(--font-family-secondary);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: #6a6e74;
    line-height: 1.4;
    margin: 0;
}

/* Product Container */
.tech-page .product-container {
    background: var(--color-white);
    padding: clamp(60px, 4.17vw, 60px) 0 clamp(160px, 11.11vw, 160px);
    color: var(--color-black);
}

.tech-page .product-section-title {
    font-family: var(--font-family-primary);
    font-weight: 800;
    font-size: 24px;
    color: #131923;
    line-height: 1.4;
    margin: 0 0 80px 0;
}

.tech-page .product-section-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.tech-page .product-content-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-page .product-section-subtitle {
    font-family: var(--font-family-primary);
    font-weight: 800;
    font-size: 28px;
    color: #131923;
    line-height: 1.2;
    margin: 0;
}

.tech-page .product-name {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-black);
    font-size: 64px;
    color: #131923;
    line-height: 1;
    margin: 0;
}

.tech-page .product-description {
    font-family: var(--font-family-secondary);
    font-size: 24px;
    font-weight: var(--font-weight-medium);
    color: #40454c;
    line-height: 1.4;
}

.tech-page .product-description p {
    margin: 0;
}

.tech-page .product-details {
    font-family: var(--font-family-secondary);
    font-size: 20px;
    font-weight: var(--font-weight-medium);
    color: #40454c;
    line-height: 1.4;
}

.tech-page .product-details p {
    margin: 0;
    white-space: nowrap;
}

.tech-page .product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 263px;
    height: 56px;
    background: var(--Blue-B500, #022F6E);
    border-radius: 28px;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tech-page .product-button:hover {
    background: var(--Blue-B300, #044DB5);
    transform: translateY(-2px);
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.3);
}

.tech-page .product-button span {
    font-family: var(--font-family-secondary);
    font-size: 20px;
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    text-align: center;
    white-space: nowrap;
}

/* Product Images - 기본 스타일 (모든 화면 크기) */
.tech-page .product-image-container {
    position: relative;
    width: 100%;
    overflow: visible;
}

.tech-page .product-image {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0px 1px 24px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.tech-page .reservation-image {
    overflow: visible;
}

.tech-page .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 데스크톱/태블릿 전용 이미지 스타일 (768px 이상) */
@media (min-width: 768px) {
    .tech-page .product-image-container {
        height: 434px;
        max-width: 1280px;
        margin: 0 auto;
    }

    .tech-page .reservation-image {
        width: 67.2%;
        height: 434px;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .tech-page .product-main-image {
        width: 13.9%;
        height: 237px;
        top: 64px;
        left: 63.05%;
        z-index: 2;
    }

    .tech-page .consultation-image {
        width: 14.5%;
        height: 405px;
        top: 15px;
        left: 85.47%;
        z-index: 3;
    }

    .tech-page .user-page-image {
        width: 14.5%;
        height: 206px;
        top: 198px;
        left: 73.28%;
        z-index: 2;
    }
}

/* Menu active state */
.tech-page.menu-active {
    overflow: hidden;
}
