* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: linear-gradient(135deg, #005792 0%, #001A2C 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 배경 애니메이션 */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255,255,255,0.05) 50%, 
        transparent 70%);
    animation: shimmer 8s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* 플로팅 요소들 */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.circle-1 { width: 80px; height: 80px; top: 20%; left: 10%; animation-delay: 0s; }
.circle-2 { width: 60px; height: 60px; top: 60%; left: 80%; animation-delay: 2s; }
.circle-3 { width: 100px; height: 100px; top: 80%; left: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 섹션 */
.hero-section {
    min-height: 100vh;
    min-width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.typing-text {
    color: #87CEEB;
    border-right: 3px solid #87CEEB;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #87CEEB; }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    padding: 18px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #005792, #0077BE);
    color: white;
    box-shadow: 0 15px 35px rgba(0, 87, 146, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 87, 146, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* 이미지 섹션 */
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image svg {
    width: 100%;
    height: auto;
    display: block;
}


.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 기업 로고 섹션 */
.companies-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 60px 0;
    margin-top: 100px;
    border-radius: 30px;
}

.companies-title {
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-carousel {
    overflow: hidden;
    position: relative;
    margin: 0 -20px;
}

.logo-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
}

.logo-item img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo-item:hover img {
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 그라데이션 마스크 */
.logo-carousel::before,
.logo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(102, 126, 234, 0.8) 0%, transparent 100%);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(118, 75, 162, 0.8) 0%, transparent 100%);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .image-container {
        transform: none;
    }

    .companies-section {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }

    .hero-title { font-size: 2.2rem; }   /* 조금 더 줄임 */
    .hero-subtitle { font-size: 1.05rem; line-height: 1.5; }

    .cta-buttons { gap: 12px; }
    .btn { width: 100%; max-width: 100%; }

    /* 로고 캐러셀 가장자리 마스크 너무 넓은 문제 조정 */
    .logo-carousel::before, .logo-carousel::after { width: 40px; }

    /* 스크롤 인디케이터는 모바일에서 숨김(공간 확보) */
    .scroll-indicator { display: none; }
}

/* 초소형 기기 대응 */
@media (max-width: 480px) {
    .hero-title { font-size: 1.9rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .companies-section { padding: 36px 0; }
    .logo-item { margin: 0 10px; padding: 14px 18px; }
}

@media (max-width: 768px) {
    .gnb-menu { display: none; }  /* 기본 메뉴 숨김 */
    .btn-hamburger { display: inline-flex; } /* 햄버거 표시 */
}

/* 스크롤 인디케이터 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* 로딩 애니메이션 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }

/* 타이핑 텍스트는 페이드인 효과 무시 */
.typing-text {
    opacity: 1 !important;
    transform: none !important;
}