/* 새로운 히어로 섹션 스타일 */
.hero-section-new {
    background: transparent;
    height: 100vh;
    background-color: #1a1a1a;
    color: #191919;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-container-new {
    width: 100%;
    z-index: 1;
    padding: 0 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-container-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-repeat: repeat;
    background-position: 0 0;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

/* 타이포그래피 */
.hero-typography {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    align-items: center;
    width: 100%;
}

.hero-typography::before {
    content: none;
}

/* 첫 번째 줄: DESIGN { ★ } */
.hero-line-1 {
    display: flex;
    align-items: center;
    gap: 1px;
    justify-content: center;
}

.hero-main-text {
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: clamp(60px, 12vw, 180px);
    line-height: clamp(50px, 10vw, 150px);
    letter-spacing: clamp(-3px, -0.5vw, -7px);
    text-transform: uppercase;
    color: #f5f5f5;
    margin: 0;
    white-space: nowrap;
}

.hero-bracket,
.hero-bracket-right {
    font-family: 'Tiny5', sans-serif;
    font-size: clamp(55px, 11vw, 160px);
    line-height: clamp(50px, 10vw, 150px);
    letter-spacing: clamp(-3px, -0.4vw, -6px);
    text-transform: uppercase;
    color: #ffc14d;
}

.hero-bracket-right {
    transform: rotate(180deg) scaleY(-1);
    display: inline-block;
}

.hero-star {
    font-size: clamp(40px, 7vw, 100px);
    color: #ffc14e;
    animation: rotate-star 20s linear infinite;
    display: inline-block;
    transform-origin: center;
}

@keyframes rotate-star {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes hero-fade-up {
    0% {
        opacity: 0;
        transform: translateY(64px) scale(0.98);
    }
    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.005);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes hero-glow-pulse {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(14px);
    }
}

/* 두 번째 줄: { SHAPED WITH CARE, REFINED WITH DETAIL. } WITH */
.hero-line-2 {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 18px);
    justify-content: center;
}

.hero-subtitle-box {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-subtitle-text {
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: clamp(14px, 2vw, 32px);
    line-height: clamp(20px, 2.5vw, 40px);
    text-transform: uppercase;
    color: #f5f5f5;
    margin: 0;
    white-space: nowrap;
}

.hero-main-text-2 {
    font-family: 'SUIT', sans-serif;
    font-weight: 100;
    font-size: clamp(60px, 12vw, 180px);
    line-height: clamp(50px, 10vw, 150px);
    letter-spacing: clamp(-3px, -0.5vw, -7px);
    text-transform: uppercase;
    color: #f5f5f5;
    margin: 0;
    white-space: nowrap;
}

/* 세 번째 줄: CLARITY */
.hero-line-3 {
    display: flex;
    align-items: center;
    gap: 1px;
    justify-content: center;
}

.hero-main-text-3 {
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: clamp(60px, 12vw, 180px);
    line-height: clamp(50px, 10vw, 150px);
    letter-spacing: clamp(-3px, -0.5vw, -7px);
    text-transform: uppercase;
    color: #f5f5f5;
    margin: 0;
    white-space: nowrap;
}

/* 애니메이션 */
.hero-line-1,
.hero-line-2,
.hero-line-3 {
    opacity: 0;
    transform: translateY(64px);
    will-change: transform, opacity;
}

.hero-section-new.animate .hero-line-1 {
    animation: hero-fade-up 1.1s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.15s forwards;
}

.hero-section-new.animate .hero-line-2 {
    animation: hero-fade-up 1.2s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.35s forwards;
}

.hero-section-new.animate .hero-line-3 {
    animation: hero-fade-up 1.3s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.55s forwards;
}

.hero-section-new.animate-immediate .hero-line-1 {
    animation: hero-fade-up 0.9s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.05s forwards;
}

.hero-section-new.animate-immediate .hero-line-2 {
    animation: hero-fade-up 1s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.2s forwards;
}

.hero-section-new.animate-immediate .hero-line-3 {
    animation: hero-fade-up 1.1s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.35s forwards;
}
@media (prefers-reduced-motion: reduce) {
    .hero-line-1,
    .hero-line-2,
    .hero-line-3 {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-section-new.animate .hero-line-1,
    .hero-section-new.animate .hero-line-2,
    .hero-section-new.animate .hero-line-3,
    .hero-section-new.animate-immediate .hero-line-1,
    .hero-section-new.animate-immediate .hero-line-2,
    .hero-section-new.animate-immediate .hero-line-3 {
        animation: none !important;
    }

    .hero-section-new::after,
    .hero-container-new::before {
        animation: none !important;
    }
}

/* 우측 섹션 */
.hero-right-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
}

.hero-right-title {
    font-family: 'SUIT', sans-serif;
    font-weight: 800;
    font-size: 26px;
    height: 85px;
    color: #1a1a1a;
    text-align: right;
    letter-spacing: -0.52px;
    margin: 0;
}

.hero-bracket-inline {
    font-family: 'Tiny5', sans-serif;
    font-size: 33px;
    color: #ffffff;
}

.hero-bracket-inline.hero-bracket-right {
    transform: rotate(180deg) scaleY(-1);
    display: inline-block;
    color: #ffc14d;
}

.hero-beauty {
    font-family: 'SUIT', sans-serif;
    font-weight: 600;
    font-size: 26px;
    color: #ffffff;
}

.hero-right-description {
    font-family: 'SUIT', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #1a1a1a;
    text-align: right;
    letter-spacing: -0.32px;
    margin: 0;
}

.hero-cta-button {
    background: rgba(255, 239, 67, 0.87);
    border: 2px solid #191919;
    padding: 5px 25px;
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: 18px;
    line-height: 32px;
    color: #191919;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-cta-button:hover {
    background: #ffc24e;
    transform: translateY(-2px);
}

/* 반응형 - 태블릿 */
@media (max-width: 1325px) {
    .hero-content-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .hero-typography {
        width: 100%;
    }

    .hero-right-section {
        align-items: flex-end;
        width: 100%;
        align-self: flex-end;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 20px;
    }

    .hero-right-title { height: 70px; }

    .hero-right-title,
    .hero-right-description {
        text-align: right;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .hero-section-new {
        margin-top: 0px; /* 모바일 헤더 높이만큼 위로 이동 */
    }
    .hero-content-wrapper {
        flex-direction: column;
        gap: 50px;
        align-items: flex-start;
    }

    .hero-typography {
        gap: 10px;
        width: 100%;
    }

    .hero-line-1,
    .hero-line-2,
    .hero-line-3 {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

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

    .hero-right-section {
        align-items: flex-end;
        width: 100%;
        align-self: flex-end;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 20px;
    }

    .hero-right-title { height: 55px; }

    .hero-right-title,
    .hero-right-description {
        text-align: right;
    }

    .hero-right-title {
        font-size: 20px;
        line-height: 24px;
    }

    .hero-right-description {
        font-size: 14px;
        line-height: 22px;
    }

    .hero-cta-button {
        font-size: 16px;
        padding: 8px 20px;
    }
}

@media (max-width: 480px) {

    .hero-container-new {
        padding: 30px 20px;
        border-radius: 20px 20px 0 0;
    }

    .hero-content-wrapper {
        gap: 30px;
        align-items: flex-start;
    }

    .hero-right-section {
        align-items: flex-end;
        align-self: flex-end;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 20px;
    }

    .hero-right-title,
    .hero-right-description {
        text-align: right;
    }

    .hero-right-title {
        font-size: 18px;
        line-height: 22px;
    }

    .hero-right-description {
        font-size: 13px;
        line-height: 20px;
    }

    .hero-cta-button {
        font-size: 14px;
        padding: 6px 18px;
    }
}

/* 반응형 - 태블릿 */
@media (max-width: 1325px) {
    .hero-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-typography {
        width: 100%;
    }

    .hero-right-section {
        align-items: flex-end;
        width: 100%;
        align-self: flex-end;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 20px;
    }

    .hero-right-title { height: 70px; }

    .hero-right-title,
    .hero-right-description {
        text-align: right;
    }
}

@media (max-width: 480px) {
    .hero-section-new {
        margin-top: 0;
    }

    .hero-container-new {
        padding: 40px 20px 30px 20px;
        border-radius: 20px 20px 0 0;
    }

    .hero-content-wrapper {
        gap: 30px;
        align-items: flex-start;
    }

    .hero-line-1,
    .hero-line-2,
    .hero-line-3 {
        justify-content: flex-start;
    }

    .hero-right-section {
        align-items: flex-end;
        align-self: flex-end;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 20px;
    }

    .hero-right-title,
    .hero-right-description {
        text-align: right;
    }

    .hero-right-title {
        font-size: 18px;
        line-height: 22px;
    }

    .hero-right-description {
        font-size: 13px;
        line-height: 20px;
    }

    .hero-cta-button {
        font-size: 14px;
        padding: 6px 18px;
    }
}

/* 360px 이하 초소형 모바일 최적화 */
@media (max-width: 360px) {
    .hero-section-new {
        margin-top: 0;
    }

    .hero-container-new {
        padding: 35px 16px 25px 16px;
        border-radius: 16px 16px 0 0;
    }

    .hero-content-wrapper {
        gap: 25px;
    }

    .hero-typography {
        gap: 8px;
    }

    .hero-line-1,
    .hero-line-3 {
        justify-content: flex-start;
    }

    .hero-line-2 {
        justify-content: center;
    }

    .hero-right-section {
        padding-left: 16px;
    }

    .hero-right-title {
        font-size: 16px;
        line-height: 20px;
        height: 50px;
    }

    .hero-right-description {
        font-size: 12px;
        line-height: 18px;
    }

    .hero-cta-button {
        font-size: 13px;
        padding: 5px 16px;
    }
}
