﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: #0e0e0e;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 🎥 메인 배경 */


.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.5);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

/* 💡 Hero */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.content-wrapper {
    max-width: 1000px;
    animation: fadeInUp 1.5s ease forwards; /* ← 1초 → 1.5초로 조정 */
}


.headline {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.subheadline {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    color: #ccc;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

    .feature-list li {
        font-size: 1.2rem;
        color: #b0d8ff;
        padding-left: 1rem;
        position: relative;
    }

        .feature-list li::before {
            position: absolute;
            left: 0;
            color: #90CAF9;
        }

@media (max-width: 576px) {
    /* 텍스트 정렬 + 크기 최적화 */
    .about-wrapper h2,
    .about2-wrapper h2 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        word-break: keep-all;
    }

    .about-wrapper p,
    .about2-wrapper p {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 2rem;
        padding: 0 1rem;
        word-break: keep-all;
    }

    /* 카드 영역 조정 */
    .about-grid,
    .about2-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0 1rem;
    }

    .about-card,
    .about2-card {
        padding: 1rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }

        .about-card h3,
        .about2-card h3 {
            font-size: 1.2rem;
            margin-bottom: 0.6rem;
        }

        .about-card ul li,
        .about2-card ul li {
            font-size: 0.9rem;
            line-height: 1.5;
        }

    /* 높이/오버플로우 해제 */
    .about-section,
    .about2-section {
        height: auto !important;
        min-height: unset !important;
        overflow: visible !important;
        padding: 3rem 1rem;
    }

    .scroll-indicator {
        display: none !important;
    }
}



/* 📌 About Section */
.about-section {
    position: relative;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    min-height: 65vh;
    overflow: hidden;
    background: transparent;
    height:85vh;
}

    .about-section .about-bg-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        filter: brightness(0.35);
        pointer-events: none;
    }

    .about-section .about-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1;
    }

.about-wrapper {
    position: relative;
    max-width: 1100px;
    width: 100%;
    z-index: 2;
    text-align: center;
    min-height: 50vh;
}

    .about-wrapper h2 {
        font-size: 3.0rem;
        color: #90CAF9;
        margin-bottom: 2rem;
    }

    .about-wrapper p {
        font-size: 2.5rem;
        color: #ccc;
        margin-bottom: 7rem;
    }

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    color: #fff;
    text-align: center;
}

    .about-card h3 {
        color: #64b5f6;
        margin-bottom: 1rem;
    }

    .about-card ul {
        list-style: none;
        padding: 0;
    }

        .about-card ul li::before {            
            color: #81d4fa;
            margin-right: 0.5rem;
        }

        .about-card ul li {
            margin-bottom: 0.75rem;
            font-size: 1rem;
        }

        /*about2*/
.about2-section {
    position: relative;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    min-height: 65vh;
    overflow: hidden;
    background: transparent;
    height: 85vh;
}

    .about2-section .about2-bg-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        filter: brightness(0.35);
        pointer-events: none;
    }

    .about2-section .about2-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1;
    }

.about2-wrapper {
    position: relative;
    max-width: 1100px;
    width: 100%;
    z-index: 2;
    text-align: center;
    min-height: 50vh;
}

    .about2-wrapper h2 {
        font-size: 3.0rem;
        color: #90CAF9;
        margin-bottom: 2rem;
    }

    .about2-wrapper p {
        font-size: 2.5rem;
        color: #ccc;
        margin-bottom: 3rem;
    }

.about2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about2-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    color: #fff;
    text-align: center;
}

    .about2-card h3 {
        color: #64b5f6;
        margin-bottom: 1rem;
    }

    .about2-card ul {
        list-style: none;
        padding: 0;
    }

        .about2-card ul li::before {
            color: #81d4fa;
            margin-right: 0.5rem;
        }

        .about2-card ul li {
            margin-bottom: 0.75rem;
            font-size: 1rem;
        }
/*
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #ffffffcc;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 3;
}*/

/*.scroll-toggle {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #ffffffcc;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}*/

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(10px);
    }

    60% {
        transform: translateX(-50%) translateY(5px);
    }
}



.scroll-indicator {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #ffffffdd;
    cursor: pointer;
    z-index: 20;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: scroll-bounce 1.8s infinite;
    transition: opacity 0.3s ease;
    user-select: none;
    pointer-events: auto;
}


@keyframes scroll-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}


/* 🎞️ 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

