/**
 * Plasma Hero Section Styles
 * 플라즈마 배경 효과가 있는 히어로 섹션 스타일
 */

/* 히어로 섹션 기본 스타일 */
section.visual {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a4a 0%, #0d1f2d 100%);
}

/* 플라즈마 캔버스 컨테이너 */
.plasma-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* 플라즈마 캔버스 */
.plasma-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 히어로 콘텐츠 */
section.visual .inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

/* 중앙 텍스트 영역 */
.hero-center {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

/* 히어로 로고 컨테이너 */
.hero-logo-container {
    margin-bottom: 30px;
    display: inline-block;
    position: relative;
}

/* 가로로 긴 그라디언트 배경 */
.hero-logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 100%;
    background: radial-gradient(
        ellipse 140% 100% at center,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.12) 25%,
        rgba(255, 255, 255, 0.06) 45%,
        rgba(255, 255, 255, 0.02) 60%,
        transparent 75%
    );
    z-index: -1;
    filter: blur(25px);
}

.hero-logo-image {
    width: auto;
    height: 260px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
    transition: transform 0.4s ease;
}

.hero-logo-container:hover .hero-logo-image {
    transform: scale(1.05);
}

.hero-subtitle {
    margin: 0 0 40px 0;
    color: white;
    line-height: 1.5;
}

.hero-subtitle .line1 {
    display: block;
    font-size: clamp(1rem, 2.8vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 16px;
    opacity: 0.95;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle .line2 {
    display: block;
    font-size: clamp(1.2rem, 3.2vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #4ECDC4, #7FDBDA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(78, 205, 196, 0.3);
}

/* CTA 버튼 스타일 개선 */
.visual-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 20px 48px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(78, 205, 196, 0.3);
    position: relative;
    overflow: hidden;
}

.visual-cta::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.6s;
}

.visual-cta:hover::before {
    left: 100%;
}

.visual-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(78, 205, 196, 0.4);
}

.cta-main {
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-phone {
    font-size: 1.3rem;
    font-weight: 700;
}

/* 스크롤 인디케이터 */
section.visual .scroll-indicator {
    position: absolute !important;
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    z-index: 3;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    animation: fadeInUpScroll 1.5s ease-out;
    width: auto !important;
    margin: 0 !important;
}

.scroll-indicator span {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

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

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpScroll {
    from {
        opacity: 0;
        transform: translateY(20px) translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* 태블릿 반응형 */
@media (max-width: 768px) {
    .hero-content {
        padding: 40px 20px;
    }

    .hero-center {
        padding: 0 20px;
    }

    .hero-logo-container {
        margin-bottom: 25px;
    }

    .hero-logo-image {
        height: 195px;
    }

    .hero-subtitle .line1 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .hero-subtitle .line2 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .visual-cta {
        padding: 14px 30px;
    }

    .cta-main {
        font-size: 0.95rem;
    }

    .cta-phone {
        font-size: 1.05rem;
    }

    section.visual .scroll-indicator {
        bottom: 30px !important;
    }
}

/* 모바일 반응형 */
@media (max-width: 480px) {
    .hero-content {
        padding: 30px 10px;
        min-height: 400px;
    }

    .hero-center {
        padding: 0 10px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-logo-container {
        margin-bottom: 20px;
    }

    .hero-logo-image {
        height: 143px;
    }

    .hero-subtitle {
        margin: 0 0 30px 0;
        width: 100%;
        word-wrap: break-word;
    }

    .hero-subtitle .line1 {
        font-size: 1rem !important;
        margin-bottom: 10px;
        line-height: 1.4;
        word-wrap: break-word;
    }

    .hero-subtitle .line2 {
        font-size: 1.25rem !important;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .visual-cta {
        padding: 12px 24px;
    }

    .cta-main {
        font-size: 0.9rem;
    }

    .cta-phone {
        font-size: 1rem;
    }

    section.visual .scroll-indicator {
        bottom: 20px !important;
    }

    .scroll-indicator span {
        font-size: 0.7rem;
    }
}

/* 초소형 모바일 반응형 */
@media (max-width: 360px) {
    .hero-content {
        padding: 25px 8px;
    }

    .hero-center {
        padding: 0 8px;
    }

    .hero-logo-container {
        margin-bottom: 15px;
    }

    .hero-logo-image {
        height: 117px;
    }

    .hero-subtitle .line1 {
        font-size: 0.95rem !important;
        line-height: 1.4;
    }

    .hero-subtitle .line2 {
        font-size: 1.15rem !important;
        line-height: 1.3;
    }

    .visual-cta {
        padding: 10px 20px;
    }

    .cta-main {
        font-size: 0.85rem;
    }

    .cta-phone {
        font-size: 0.95rem;
    }
}

/* 초대형 화면 */
@media (min-width: 1600px) {
    section.visual .inner {
        max-width: 1400px;
    }

    .hero-content {
        gap: 80px;
    }
}