/* ================================ */
/* Hero Section                     */
/* ================================ */
.hero-title {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

/* 서브 설명 텍스트 */
.hero-subtitle {
    font-size: 1.1rem;
}

/* 타이핑 텍스트 로테이션 커서 효과 */
.hero-typing-text {
    border-right: 2px solid #333;
    padding-right: 4px;
    animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
    50% { border-color: transparent; }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* 무한 마키 슬라이더: 오른쪽 → 왼쪽 자동 스크롤 */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 1rem;
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    width: 240px;
}

.marquee-item img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* 이미지 10개 + gap 기준으로 절반(복제분) 이동 */
        transform: translateX(calc(-50%));
    }
}

@media (max-width: 768px) {
    .marquee-item {
        width: 180px;
        height: 225px;
    }
}

/* 2. LAYOUT MODULE */
.video-section {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    min-height: 400px
}

/* Video Container */
.video-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

/* Content Layer */
.content-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    z-index: 10;
    opacity: 0;
    transition: all 1.2s ease-out;
    max-width: 800px;
    width: 90%;
    text-align: center;
}

.content-container.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* Component: Award Logo */
.award-logo {
    display: inline-block;
    margin-bottom: 2rem;
    pointer-events: none;
}

.award-logo img {
    height: 200px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
}

/* Component: Typography */
.title-gradient {
    background: linear-gradient(90deg, #b45309, #d97706, #b45309);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.description {
    color: #4b5563;
    font-weight: 400;
    line-height: 1.6;
}

/* Component: Footer Info */
.bottom-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    font-weight: 600;
}

.company-logo {
    height: 40px;
    filter: brightness(0);
    opacity: 0.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .title-gradient {
        font-size: 2rem;
    }

    .company-logo {
        height: 30px;
    }

    .award-logo img {
        height: 80px;
    }

    .description {
        font-size: 1rem;
    }

    .bottom-indicator {
        display: none;
    }

    .video-section {
        height: 100vh;
        min-height: 100vh;
    }

    .video-wrapper {
        height: 100%;
    }

    .video-wrapper video {
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 992px) {
    .py-lg-14 {
        padding-top: 140px !important;
        padding-bottom: 140px !important;
    }
}

/* Chat Bubbles */
.chat-bubble-wrapper {
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
    max-width: 90%;
}

.chat-bubble {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px 40px;
    display: inline-block;
    z-index: 1;
}

.chat-bubble.left::before, .chat-bubble.right::before {
    content: "";
    position: absolute;
    bottom: -8px;
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    transform: rotate(45deg);
    z-index: -1;
    border-radius: 4px;
}

.chat-bubble.left::before {
    left: 40px;
}

.chat-bubble.right::before {
    right: 40px;
}

@media (max-width: 768px) {
    .chat-bubble {
        padding: 16px 24px;
    }
    .chat-bubble.left::before {
        left: 24px;
    }
    .chat-bubble.right::before {
        right: 24px;
    }
}