/* ============================================
   Glassmorphism Hero Section
   ============================================ */

/* 사진을 선명하게: 화면 전체 덧칠 없이, 메뉴와 글자 뒤만 살짝 어둡게 */
.hero-glass .hero-overlay {
    background:
        linear-gradient(180deg, rgba(10, 22, 40, 0.55) 0, rgba(10, 22, 40, 0) 110px),
        linear-gradient(90deg, rgba(10, 22, 40, 0.5) 0%, rgba(10, 22, 40, 0.28) 38%, rgba(10, 22, 40, 0) 62%);
}

.hero-glass .glass-orb {
    display: none;
}

.hero-glass .hero-subtitle,
.hero-glass .scroll-indicator {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}

@media (max-width: 768px) {
    /* 화살표가 설명 글자를 가린다. 아래 점으로 넘긴다 */
    .hero-glass .slide-nav {
        display: none;
    }

    /* 폰은 글자가 화면 폭을 다 쓴다 */
    .hero-glass .hero-overlay {
        background:
            linear-gradient(180deg, rgba(10, 22, 40, 0.55) 0, rgba(10, 22, 40, 0) 90px),
            linear-gradient(180deg, rgba(10, 22, 40, 0) 25%, rgba(10, 22, 40, 0.42) 40%, rgba(10, 22, 40, 0.42) 72%, rgba(10, 22, 40, 0) 85%);
    }
}

/* Floating Glass Orbs - decorative blurred circles */
.glass-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 6;
    pointer-events: none;
    filter: blur(60px);
}

.glass-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, transparent 70%);
    top: -100px;
    right: -50px;
    animation: orbFloat1 8s ease-in-out infinite;
}

.glass-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 109, 0, 0.2) 0%, transparent 70%);
    bottom: -50px;
    left: -100px;
    animation: orbFloat2 10s ease-in-out infinite;
}

.glass-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(100, 181, 246, 0.2) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(1.1); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.15); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(0.9); }
}

/* Glass Badge */
.hero-glass .glass-badge {
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Glass Title Enhancement */
.hero-glass h1 {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.02em;
}

/* 사진 위에서 읽히게 단색. 투명 글자에 그림자를 주면 그림자가 비쳐 탁해진다 */
.hero-glass h1 .highlight {
    color: #ff9a1f;
    -webkit-text-fill-color: #ff9a1f;
}

/* Glass Primary Button */
.glass-btn-primary {
    background: linear-gradient(135deg, rgba(255, 109, 0, 0.9) 0%, rgba(255, 145, 0, 0.9) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(255, 109, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.glass-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.glass-btn-primary:hover::before {
    left: 100%;
}

.glass-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 109, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Glass Secondary Button */
.glass-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Glass Stats Cards */
.glass-stats {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.glass-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.2rem 1.8rem;
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.glass-stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.glass-stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #fff 30%, #00b4d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.glass-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Hero content left-aligned */
.hero-glass .hero-content {
    justify-content: flex-start;
    text-align: left;
}

.hero-glass .hero-left {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-glass .hero-subtitle {
    text-align: left;
}

.hero-glass .hero-buttons {
    justify-content: flex-start;
}

.hero-glass .glass-stats {
    justify-content: flex-start;
}

/* Scroll Indicator Glass */
.hero-glass .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
}

.hero-glass .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-glass .mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: mouseScroll 2s ease-in-out infinite;
}

@keyframes mouseScroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* Slide Nav Glass Enhancement */
.hero-glass .slide-nav {
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-glass .slide-nav:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Slide Indicators Glass */
.hero-glass .slide-indicator {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    width: 14px;
    height: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-glass .slide-indicator.active {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    border-color: rgba(0, 180, 216, 0.6);
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.4);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .glass-stats {
        gap: 0.8rem;
    }

    .glass-stat-card {
        padding: 1rem 1.2rem;
    }

    .glass-stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .glass-orb-1 {
        width: 200px;
        height: 200px;
    }

    .glass-orb-2 {
        width: 150px;
        height: 150px;
    }

    .glass-orb-3 {
        display: none;
    }

    .glass-stats {
        flex-wrap: wrap;
        gap: 0.6rem;
        justify-content: center;
    }

    .glass-stat-card {
        padding: 0.8rem 1rem;
        min-width: 80px;
    }

    .glass-stat-number {
        font-size: 1.3rem;
    }

    .glass-stat-label {
        font-size: 0.7rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    .glass-orb {
        animation: none;
    }

    .glass-btn-primary::before {
        display: none;
    }
}
