/* 메인 히어로 섹션 CSS (m55_1 참조) */

/* 전체 화면 메인 섹션 */
.new-hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: none;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    animation: heroEntrance 1.5s ease-out forwards;
}

/* 메인 섹션 진입 애니메이션 */
@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 배경 이미지 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('./img/0.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    animation: backgroundFadeIn 2s ease-out forwards;
    transform: scale(1.1);
    transition: transform 0.3s ease-out;
}

/* 배경 페이드인 애니메이션 */
@keyframes backgroundFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 배경 오버레이 */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

/* 콘텐츠 래퍼 */
.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* 헤드카피 영역 */
.hero-headline-area {
    margin-bottom: 1.5rem;
    animation: headlineSlideUp 1s ease-out 0.3s both;
}

.hero-headline {
    font-size: 6.75rem;
    font-weight: 900;
    color: #ffd700;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    letter-spacing: -0.02em;
    animation: colorChange 4s ease-in-out infinite;
}

.hero-headline br {
    display: none;
}

@keyframes headlineSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 단순 색상변환 애니메이션 */
@keyframes colorChange {
    0% {
        color: #ffd700; /* 노란색 */
    }
    25% {
        color: #ff6b6b; /* 빨간색 */
    }
    50% {
        color: #4ecdc4; /* 청록색 */
    }
    75% {
        color: #45b7d1; /* 파란색 */
    }
    100% {
        color: #ffd700; /* 노란색 */
    }
}


/* 메인 아이콘 영역 */
.hero-icon-area {
    margin-bottom: 2rem;
    animation: iconFloat 3s ease-in-out infinite;
}

.hero-main-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.hero-main-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 8px;
    transform: translate(-50%, -50%);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.hero-main-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 25px;
    background: #ff6b6b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes iconPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

/* 메인 타이틀 영역 */
.hero-title-area {
    margin-bottom: 2rem;
    animation: titleSlideUp 1s ease-out 0.5s both;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
}

.highlight-red {
    color: #ff6b6b;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(255, 107, 107, 0.5);
}

@keyframes titleSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 부연설명 영역 */
.hero-description-area {
    margin-bottom: 3rem;
    animation: descriptionSlideUp 1s ease-out 1s both;
}

.hero-description-main {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-highlight-yellow {
    color: #ffd700 !important;
    font-size: 1.8rem !important; /* 1.2배 크기 (1.5 * 1.2) */
    font-weight: 900 !important;
    text-shadow: 0 0 25px rgba(255, 215, 0, 1), 0 0 35px rgba(255, 215, 0, 0.8), 0 0 45px rgba(255, 215, 0, 0.6), 0 3px 20px rgba(0, 0, 0, 0.6) !important;
    animation: yellowGlow 2s ease-in-out infinite alternate, yellowPulse 3s ease-in-out infinite !important;
    display: inline-block;
    transform-origin: center;
    transition: all 0.3s ease !important;
}

.hero-highlight-yellow:hover {
    transform: scale(1.05) !important;
    text-shadow: 0 0 30px rgba(255, 215, 0, 1), 0 0 40px rgba(255, 215, 0, 0.9), 0 0 50px rgba(255, 215, 0, 0.7), 0 4px 25px rgba(0, 0, 0, 0.7) !important;
}

.hero-description-sub {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

@keyframes descriptionSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 노란색 하이라이트 애니메이션 */
@keyframes yellowGlow {
    0% {
        text-shadow: 0 0 25px rgba(255, 215, 0, 1), 0 0 35px rgba(255, 215, 0, 0.8), 0 0 45px rgba(255, 215, 0, 0.6), 0 3px 20px rgba(0, 0, 0, 0.6);
    }
    100% {
        text-shadow: 0 0 35px rgba(255, 215, 0, 1), 0 0 45px rgba(255, 215, 0, 0.9), 0 0 55px rgba(255, 215, 0, 0.7), 0 4px 25px rgba(0, 0, 0, 0.7);
    }
}

@keyframes yellowPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* 피처 아이콘들 영역 */
.hero-features-area {
    display: flex;
    justify-content: center;
    gap: 3rem;
    animation: featuresSlideUp 1s ease-out 1.5s both;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    text-align: center;
    transition: transform 0.3s ease;
}

.hero-feature-item:hover {
    transform: translateY(-5px);
}

.hero-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-feature-item:hover .hero-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 100% 수익 아이콘 */
.hero-icon-revenue {
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
}

.hero-icon-revenue::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 25px;
    background: #fff;
    border-radius: 4px;
    transform: translate(-50%, -50%);
}

.hero-icon-revenue::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    background: #ff6b6b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* 타 상품 소싱 아이콘 */
.hero-icon-sourcing {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
}

.hero-icon-sourcing::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 4px;
    transform: translate(-50%, -50%);
}

.hero-icon-sourcing::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    background: #4ecdc4;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* 자동화 운영 아이콘 */
.hero-icon-automation {
    background: linear-gradient(45deg, #d299c2, #fef9d7);
}

.hero-icon-automation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 4px;
    transform: translate(-50%, -50%);
}

.hero-icon-automation::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #d299c2;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.hero-feature-item span {
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@keyframes featuresSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .new-hero-section {
        height: 100vh !important;
        min-height: 100vh;
        padding-bottom: 0;
    }
    
    .hero-content-wrapper {
        padding: 2rem 1rem 1rem 1rem;
    }
    
    .hero-headline {
        font-size: 4.5rem;
        color: #ffd700;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        animation: colorChange 4s ease-in-out infinite;
        line-height: 1.1;
        margin-top: 3rem !important; /* 상단 여백 줄임 */
    }
    
    .hero-headline br {
        display: block;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .hero-description-main {
        font-size: 1.2rem;
    }
    
    .hero-highlight-red {
        font-size: 1.2rem;
        font-weight: 800;
        text-shadow: 0 0 15px rgba(255, 102, 0, 0.9), 0 2px 10px rgba(255, 102, 0, 0.6), 0 3px 20px rgba(0, 0, 0, 0.4);
    }
    
    .hero-highlight-yellow {
        color: #ffd700 !important;
        font-size: 1.44rem !important; /* 1.2배 크기 */
        font-weight: 900 !important;
        text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.6), 0 2px 15px rgba(0, 0, 0, 0.5) !important;
        animation: yellowGlow 2s ease-in-out infinite alternate, yellowPulse 3s ease-in-out infinite !important;
        display: inline-block;
        transform-origin: center;
    }
    
    .hero-description-extra {
        font-size: 1.1rem;
        margin: 0.3rem 0 0 0;
        color: #ff69b4 !important;
        text-shadow: 0 0 15px rgba(255, 105, 180, 0.9), 0 2px 10px rgba(255, 105, 180, 0.6), 0 3px 20px rgba(0, 0, 0, 0.4) !important;
    }
    
    .hero-buttons-area {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 0; /* 하단 여백 제거 */
    }
    
    /* 무료로 시작하기 버튼 영역 */
    .hero-primary-button-area {
        display: flex;
        justify-content: center;
    }
    
    /* 쇼핑몰 선택 버튼들 영역 - 좌우 배치 */
    .hero-secondary-buttons-area {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* 쇼핑몰 선택 버튼들 크기 조정 */
    .hero-secondary-buttons-area .hero-button {
        flex: 1;
        min-width: 140px;
        max-width: 200px;
    }
    
    .hero-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        min-width: 160px;
    }
    
    .hero-description-sub {
        font-size: 1rem;
    }
    
    .hero-features-area {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-feature-item {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .hero-main-icon {
        width: 80px;
        height: 80px;
    }
    
    .hero-main-icon::before {
        width: 40px;
        height: 40px;
    }
    
    .hero-main-icon::after {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .new-hero-section {
        height: 100vh !important;
        min-height: 100vh;
        padding-bottom: 0;
    }
    
    .hero-content-wrapper {
        padding: 1.5rem 1rem 1rem 1rem;
    }
    
    .hero-headline {
        font-size: 3.3rem;
        color: #ffd700;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        animation: colorChange 4s ease-in-out infinite;
        line-height: 1.1;
        margin-top: 2rem !important; /* 상단 여백 줄임 */
    }
    
    .hero-headline br {
        display: block;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .hero-description-main {
        font-size: 1.1rem;
    }
    
    .hero-highlight-red {
        font-size: 1.1rem;
        font-weight: 800;
        text-shadow: 0 0 12px rgba(255, 102, 0, 0.9), 0 1px 8px rgba(255, 102, 0, 0.6), 0 2px 15px rgba(0, 0, 0, 0.4);
    }
    
    .hero-highlight-yellow {
        color: #ffd700 !important;
        font-size: 1.32rem !important; /* 1.2배 크기 (1.1 * 1.2) */
        font-weight: 900 !important;
        text-shadow: 0 0 18px rgba(255, 215, 0, 1), 0 0 25px rgba(255, 215, 0, 0.8), 0 0 32px rgba(255, 215, 0, 0.6), 0 2px 12px rgba(0, 0, 0, 0.5) !important;
        animation: yellowGlow 2s ease-in-out infinite alternate, yellowPulse 3s ease-in-out infinite !important;
        display: inline-block;
        transform-origin: center;
    }
    
    .hero-description-extra {
        font-size: 1rem;
        margin: 0.2rem 0 0 0;
        color: #ff69b4 !important;
        text-shadow: 0 0 12px rgba(255, 105, 180, 0.9), 0 1px 8px rgba(255, 105, 180, 0.6), 0 2px 15px rgba(0, 0, 0, 0.4) !important;
    }
    
    .hero-buttons-area {
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 0; /* 하단 여백 제거 */
    }
    
    /* 무료로 시작하기 버튼 영역 */
    .hero-primary-button-area {
        display: flex;
        justify-content: center;
    }
    
    /* 쇼핑몰 선택 버튼들 영역 - 좌우 배치 */
    .hero-secondary-buttons-area {
        display: flex;
        gap: 0.8rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* 쇼핑몰 선택 버튼들 크기 조정 */
    .hero-secondary-buttons-area .hero-button {
        flex: 1;
        min-width: 120px;
        max-width: 180px;
    }
    
    .hero-button {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
        min-width: 140px;
    }
    
    .hero-description-sub {
        font-size: 0.9rem;
    }
    
    .hero-feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .hero-main-icon {
        width: 70px;
        height: 70px;
    }
}

/* 강조 텍스트 스타일링 */
.pub-highlight-text {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #ffd700 !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    animation: highlightGlow 3s ease-in-out infinite !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
}

/* 메인 설명문 주황색 강조 */
.hero-highlight-red {
    color: #ff6600;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.9), 0 2px 15px rgba(255, 102, 0, 0.6), 0 4px 25px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

/* 추가 설명문 스타일 */
.hero-description-extra {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff69b4 !important;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.9), 0 2px 15px rgba(255, 105, 180, 0.6), 0 4px 25px rgba(0, 0, 0, 0.4) !important;
    margin: 0.5rem 0 0 0;
    text-align: center;
    animation: heroExtraGlow 3s ease-in-out infinite !important;
}

/* 버튼 영역 */
.hero-buttons-area {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    justify-content: center;
}

.hero-button-primary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    animation: heroButtonGlow 2s ease-in-out infinite alternate, heroButtonSway 3s ease-in-out infinite;
}

.hero-button-secondary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    animation: heroButtonGlow 2s ease-in-out infinite alternate, heroButtonSway 3s ease-in-out infinite;
}

@keyframes heroButtonGlow {
    0% {
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    }
    100% {
        box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5), 0 0 20px rgba(231, 76, 60, 0.3);
    }
}

@keyframes heroButtonSway {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.hero-button:hover {
    transform: translateY(-2px);
    animation: none;
}

.hero-button-primary:hover {
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5), 0 0 20px rgba(231, 76, 60, 0.3);
}

.hero-button-secondary:hover {
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5), 0 0 20px rgba(52, 152, 219, 0.3);
}

.hero-button-text {
    position: relative;
    z-index: 2;
}

.hero-button-icon {
    position: relative;
    z-index: 2;
}

.hero-button-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes highlightGlow {
    0%, 100% {
        color: #ffd700;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 4px 15px rgba(0, 0, 0, 0.5);
        transform: scale(1);
    }
    50% {
        color: #ff6b6b;
        text-shadow: 0 0 30px rgba(255, 107, 107, 0.9), 0 4px 20px rgba(0, 0, 0, 0.6);
        transform: scale(1.02);
    }
}

@keyframes heroExtraGlow {
    0%, 100% {
        color: #ff69b4;
        text-shadow: 0 0 20px rgba(255, 105, 180, 0.9), 0 2px 15px rgba(255, 105, 180, 0.6), 0 4px 25px rgba(0, 0, 0, 0.4);
        transform: scale(1);
    }
    50% {
        color: #ff1493;
        text-shadow: 0 0 30px rgba(255, 20, 147, 1), 0 3px 20px rgba(255, 20, 147, 0.8), 0 6px 30px rgba(0, 0, 0, 0.6);
        transform: scale(1.02);
    }
}

/* PC용 강조 텍스트 크기 증가 */
@media (min-width: 1200px) {
    .pub-highlight-text {
        font-size: 1.6rem !important;
    }
}

/* 모바일용 강조 텍스트 크기 조정 */
@media (max-width: 768px) {
    .pub-highlight-text {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 480px) {
    .pub-highlight-text {
        font-size: 1.2rem !important;
    }
}

/* 접근성 고려 */
@media (prefers-reduced-motion: reduce) {
    .new-hero-section,
    .hero-background,
    .hero-icon-area,
    .hero-title-area,
    .hero-description-area,
    .hero-features-area {
        animation: none;
    }
    
    .hero-main-icon,
    .hero-main-icon::after {
        animation: none;
    }
    
    .pub-highlight-text {
        animation: none !important;
        transform: none !important;
    }
}

/* 충전비용 반환 안내 - /ad/m42_4/ 참조 */
.kt-experience-refund-area {
    text-align: center;
    margin: 2rem auto 0 auto;
    width: 100%;
}

.kt-experience-refund-text {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ffd700;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 2px solid #ffed4e;
    max-width: 500px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* PC용 반환 문구 스타일 */
@media (min-width: 1200px) {
    .kt-experience-refund-area {
        margin: 2.5rem auto 0 auto;
    }
    
    .kt-experience-refund-text {
        font-size: 1.6rem;
        padding: 1.2rem 2.5rem;
        max-width: 600px;
    }
}

/* 태블릿용 반환 문구 스타일 */
@media (max-width: 768px) {
    .kt-experience-refund-area {
        margin: 1.5rem auto 0 auto;
    }
    
    .kt-experience-refund-text {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
        max-width: 90%;
    }
}

/* 모바일용 반환 문구 스타일 */
@media (max-width: 480px) {
    .kt-experience-refund-area {
        margin: 1.2rem auto 0 auto;
    }
    
    .kt-experience-refund-text {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
        max-width: 95%;
        border-radius: 6px;
    }
}
