/* ========================================= */
/*  GOOGLE FONTS                              */
/* ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;500&display=swap');

/* GangwonEduPower font */
@font-face {
    font-family: 'GangwonEduPower';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEduPowerExtraBoldA.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}


/* ========================================= */
/*  RESET                                     */
/* ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background: #fff;
    /* Default to white */
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
}


/* ========================================= */
/*  GLOBAL LAYOUT                             */
/* ========================================= */

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    /*
       Gap logic:
       At 721px viewport -> gap: 0
       As width grows -> gap increases
       Max gap -> 28px
       Calculation: (100vw - 721px) * 0.06715 ~= 6.715vw - 48.41px
    */
    gap: clamp(0px, 6.715vw - 48.41px, 28px);
    flex-wrap: wrap;
    /* Allow wrapping on small screens (< 720px) */
    /* Prevents horizontal scroll without breaking position: sticky */
}

/* ========================================= */
/*  FULL SCREEN MODE (Expand/Collapse)        */
/* ========================================= */
body.full-screen-mode .left-panel {
    display: none !important;
}

body.full-screen-mode .right-wrapper {
    width: 100% !important;
    max-width: 860px !important;
    margin-left: 0 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    flex: 0 0 860px !important;
}

/* Prevent icons from scaling due to cqw in full-screen-mode */
body.full-screen-mode .hamburger {
    width: 24px !important;
    height: 18px !important;
}

body.full-screen-mode .icon-my {
    width: 24px !important;
    height: 24px !important;
}

body.full-screen-mode .container {
    gap: 0 !important;
}

/* Common fixed size for subpage hamburgers */
.nav-bar .hamburger,
.common-header .hamburger {
    width: 24px !important;
    height: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.nav-bar .hamburger img,
.common-header .hamburger img {
    width: 100% !important;
    height: 100% !important;
}

/* Expand Button in Navbar */
.nav-expand {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 12px;
}

@media (max-width: 720px) {
    .nav-expand {
        display: none !important;
    }
}

.nav-expand img {
    width: 24px;
    height: 24px;
    display: block;
}


/* ========================================= */
/*  LEFT PANEL                               */
/* ========================================= */

.left-panel {
    width: 360px;
    flex: 0 0 360px;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.left-panel,
.left-panel * {
    font-family: 'Inter', sans-serif;
}

/* 배경 */
.left-bg {
    position: absolute;
    inset: 0;
    background: #6A34FF;
    z-index: 0;
}

/* 상단 이미지 */
.left-top {
    width: 100%;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* 호버 영역 */
.left-hover-area {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

.bg-wrapper {
    position: relative;
    width: 100%;
}

.bg-wrapper .bg-img {
    width: 100%;
    display: block;
}

/* Hero text on bg1 */
.hero-text {
    position: absolute;
    top: 33px;
    right: 29px;
    font-family: 'GangwonEduPower', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 40px;
    text-align: right;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.left-hover-area.animating .hero-text {
    opacity: 1;
}

/* Hero text on bg2 */
.hero-text-bottom {
    position: absolute;
    bottom: 28px;
    left: 28px;
    font-family: 'GangwonEduPower', sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 55px;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.left-hover-area.animating .hero-text-bottom {
    opacity: 1;
}

/* phone_top 컨테이너: 중앙 하단 */
.phone-top-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.4s ease;
}

.phone-top {
    display: block;
}

/* phone_bottom 컨테이너: 중앙 상단 */
.phone-bottom-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.4s ease;
}

.phone-bottom {
    display: block;
}

/* 애니메이션 클래스 */
.left-hover-area.animating .phone-top-container {
    transform: translateX(-80%);
}

.left-hover-area.animating .phone-bottom-container {
    transform: translateX(-20%);
}

/* woodlee in phone: phone_top 우측 하단, 초기 숨김 */
.woodlee-in-phone {
    position: absolute;
    bottom: 0;
    right: 7px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.left-hover-area.animating .woodlee-in-phone {
    opacity: 1;
}

/* apps in phone: phone_bottom 중앙 상단, 초기 숨김 */
.apps-in-phone {
    position: absolute;
    top: 39px;
    left: calc(50% - 18px);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.left-hover-area.animating .apps-in-phone {
    opacity: 1;
}

/* 콘텐츠 */
.left-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* ========================================= */
/* JOIN BOX                                  */
/* ========================================= */

.join-box {
    width: 100%;
    height: 130px;

    background: #fff;
    border-radius: 20px;

    padding-left: 20px;
    padding-top: 18px;

    background-image: url("../img/sims.png");
    background-repeat: no-repeat;
    background-position: right top;

    overflow: hidden;
}

.join-text h2 {
    font-weight: 600;
    font-size: 26px;
    color: #6A34FF;
}

.join-text p {
    font-size: 16px;
    margin-top: 4px;
}

.btn-black {
    display: inline-block;
    padding: 8px 14px;

    background: #000;
    color: #fff;

    font-weight: 600;
    font-size: 14px;

    border-radius: 999px;
}


/* ========================================= */
/* APP BOX                                   */
/* ========================================= */

.app-box {
    width: 100%;
    height: 130px;

    background: #fff;
    border-radius: 20px;

    padding: 18px 20px;

    margin: 20px 0 53px;
}

.app-box h2 {
    font-weight: 600;
    font-size: 26px;
    color: #6A34FF;
}

.app-box p {
    font-size: 16px;
}

.app-buttons {
    display: flex;
    gap: 30px;
    margin-top: 8px;
}

.app-buttons img {
    width: 120px;
}


/* ========================================= */
/* LEFT FOOTER                               */
/* ========================================= */

.footer-brand {
    width: 100%;
}

.left-footer {
    font-size: 12px;
    line-height: 22px;
    color: #fff;
    margin-top: auto;
    margin-bottom: 20px;
    /* Push to bottom */
}


/* ========================================= */
/*  RIGHT PANEL (FIGMA DESIGN)               */
/* ========================================= */

.right-wrapper {
    flex: 1 1 360px;
    /* Grow: 1, Shrink: 1, Basis: 360px */
    width: auto;
    /* Let flex handle width */
    min-width: 320px;
    /* Don't shrink below 360px (mobile view) */
    /* Figma design width: 750px context, but 560px when left panel visible */
    max-width: 500px;
    position: relative;
    background: #fff;
    container-type: inline-size;
    overflow-x: clip;
    /* Prevents horizontal scroll without breaking position: sticky */
    box-shadow: 10px 0 20px -5px rgba(0, 0, 0, 0.1);
    /* Right side shadow */
    min-height: 100vh;
}

/* Aspect Ratio / Scroll handling */
.right-panel {
    /* If we want to simulate the long scroll from Figma */
    width: 100%;
    background: #fff;
    /* Space for footer */
}

/* Common Text Styles */
.right-panel {
    font-family: 'Montserrat', 'Inter', sans-serif;
    color: #000;
}

/* 1. HEADER */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5.333%;
    /* 40px = 5.333% */
    height: auto;
    aspect-ratio: 750 / 149;
    /* 149px height at 750px width */
    background: #fff;
}

.header-logo {
    width: 41.333cqw;
    /* 310px */
    height: auto;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 5.333cqw;
    /* 40px */
    height: 7.467cqw;
    /* 56px */
}

.icon-my {
    width: 7.2cqw;
    /* 54px */
    height: 7.467cqw;
    /* 56px */
}

.hamburger {
    width: 6.8cqw;
    /* 51px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 5.2cqw;
    /* 39px */
    cursor: pointer;
}

#plans,
#phones {
    background: #EEEEEE;
    padding-top: 4.933cqw;
    /* padding-left: 5%;
    padding-right: 5%; */
    padding-bottom: 5.333%;
    width: 100%;
}

.hamburger span {
    /* fallback if svg not used */
    display: block;
    height: 3px;
    background: #000;
    width: 100%;
    border-radius: 2px;
}

.hamburger img {
    width: 100%;
}


/* 2. MAIN BANNER */
.main-banner {
    position: relative;
    width: 100%;
    /* 750x600 ratio */
    aspect-ratio: 750 / 632;
    background: #fff;
    overflow: hidden;
    margin-bottom: 5%;
    /* Gap to sim-section: 60px at 750px = 8% */
}

/* Swiper Slide content adjustment */
.banner-content {
    /* Swiper slide handles positioning, but we need inner spacing if any */
    position: relative;
    width: 100%;
    /* Keep space for pagination */
    padding-bottom: 33px;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #000;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #6A34FF;
    opacity: 1;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 10px;
    /* Position from bottom */
}


/* 3. SIM SECTION */
.sim-section {
    position: relative;
    width: 100%;
    /* 1. Dimensions: 750x653 ratio */
    aspect-ratio: 750 / 655;
}

.sim-bg {
    /* 4. Background Image */
    background: #DBC9FF url('../img/woodlee_phone.png') no-repeat right bottom;
    background-size: 68.13% auto;
    /* Or specific size if known, usually contain/cover or auto */
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.sim-title {
    position: absolute;
    top: 6%;
    left: 5.33%;
    /* 40px */
    right: 5.33%;
    display: flex;
    /* 2. Single line */
    flex-direction: row;
    align-items: center;
    /* Align vertically text */
    justify-content: space-between;
    /* Sub right aligned relative to title container */
    z-index: 1;
}

.sim-title .highlight {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 4cqw;
    color: #000;
}

.sim-title .sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 4cqw;
    color: #4E4E4E;
}

.sim-cards-container {
    position: absolute;
    top: 15%;
    /* Below title */
    left: 5.33%;
    right: 0;
    /* Let it extend if needed, or constraint */
    bottom: 0;

    display: flex;
    flex-direction: column;
    /* 3. Top-Bottom alignment */
    justify-content: center;
    gap: 20px;
    padding: 0;

    z-index: 10;
    margin-top: 0;
    pointer-events: none;
    /* Let clicks pass to BG if needed, but cards need pointer-events auto */
}

.sim-card {
    pointer-events: auto;
    background: #fff;
    width: 42.66%;
    /* 320px / 750px */
    aspect-ratio: 320 / 230;
    border-radius: 5.33cqw;
    /* 40px */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.card-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 4.67cqw;
    /* 35px */
    line-height: 1.23;
    /* 43px / 35px */
    color: #000;
}

.card-content h3 span {
    font-weight: 400;
}

.arrow-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 3.5cqw;
    /* Adjusted for new image size */
    height: auto;
    display: block;
}

/* Remove CSS arrow */
.sim-card:after {
    display: none;
}

.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 8.8cqw;
    /* 66px */
    /* Approx size from Figma request context or intrinsic */
    height: 8.8cqw;
    /* 66px */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
}

.sim-icon-1 {
    background-image: url('../img/usimImg.png');
    background-color: transparent;
}

.sim-icon-2 {
    background-image: url('../img/earth.png');
    background-color: transparent;
}


/* 4. SECTIONS GRID */
.service-section {
    padding-top: 5.333cqw;
    /* 40px */
    padding-bottom: 8cqw;
    /* 60px */
    background: #ECEFF5;
    /* New Gray Background */
    overflow: hidden;
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 4.667cqw;
    /* 35px */
    color: #000;
    padding-left: 5.733cqw;
    /* 43px */
    margin-bottom: 5.733cqw;
    /* 43px gap */
    line-height: 1.2;
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.533cqw;
    /* 19px */
    row-gap: 2.533cqw;
    /* 19px */
    padding: 0 5.733cqw;
    /* 43px */
}

/* Remove small screen media query as CQW handles scaling */

.menu-card {
    background: #fff;
    border-radius: 5.333cqw;
    /* 40px */
    padding: 2.667cqw 0;
    /* 20px */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    aspect-ratio: 322/228;
    box-shadow: none;
    cursor: pointer;
    border: none;
}

.icon-box {
    width: 15.333cqw;
    /* 115px */
    height: 15.333cqw;
    /* 115px */
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
    margin-bottom: 1.6cqw;
    /* 12px */
}

/* Specific Icons */
.icon-all-plans {
    background-image: url('../img/icon_callingPlan.png');
}

.icon-form {
    background-image: url('../img/icon_application.png');
}

.icon-addon {
    background-image: url('../img/icon_addon.png');
}

.icon-roaming {
    background-image: url('../img/icon_roaming.png');
}

.icon-buy {
    background-image: url('../img/icon_buy.png');
}

.icon-sell {
    background-image: url('../img/icon_sell.png');
}

.icon-repair {
    background-image: url('../img/icon_repair.png');
}

.icon-recovery {
    background-image: url('../img/icon_recovery.png');
}

.menu-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 3.733cqw;
    /* 28px */
    color: #000000;
    margin: 0;
    line-height: 1.2;
}

/* Removed paragraphs as they are no longer used */


/* 5. CUSTOMER SUPPORT */
.cs-section {
    padding: 7.466cqw 5.733cqw;
    /* T/B 56px, L/R 43px */
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 20px;
}

.cs-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 4.667cqw;
    /* 35px */
    color: #000;
    margin-bottom: 0;
    grid-column: 1 / -1;
}

.cs-card {
    border-radius: 20px;
    padding: 3.6cqw 4.4cqw;
    /* 27px 25px at 750px */
    position: relative;
    overflow: hidden;
}

.cs-card.small.gray {
    background: #EEEEEE;
}

.faq-icon {
    position: absolute;
    bottom: 5.067cqw;
    /* 38px */
    left: 50%;
    transform: translateX(-50%);
    width: 26.933cqw;
    /* 202px */
    height: 19.333cqw;
    /* 145px */
    opacity: 1;
    pointer-events: none;
}

.cs-card.kakao {
    background: #FFDA34;
    height: 53.333cqw;
    /* 400px */
    margin-bottom: 0;
    grid-column: 1;
    position: relative;
    /* For absolute positioning children */
}

.kakao-header {
    position: absolute;
    bottom: 15px;
    right: 20px;
    background: #fff;
    border-radius: 1.333cqw;
    /* 10px */
    width: 17.867cqw;
    /* 134px */
    height: 5.6cqw;
    /* 42px */
    padding: 0 2cqw;
    /* Side padding */
    display: flex;
    justify-content: space-between;
    /* Spread content */
    align-items: center;
    gap: 0;
    /* Gap handled by space-between */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.channel-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 2.933cqw;
    /* 22px */
    color: #000;
}

.icon-plus {
    width: 2.933cqw;
    /* 22px */
    height: auto;
    display: block;
}

.kakao-ch-icon {
    position: absolute;
    bottom: 0;
    left: 16px;
    width: 21.867cqw;
    /* 164px */
    height: 23.733cqw;
    /* 178px */
}

.cs-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4cqw;
    /* 30px */
    font-weight: 500;
    color: #000;
    margin-bottom: 5px;
}

.cs-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.933cqw;
    /* 22px */
    font-weight: 400;
    color: #87741F;
}

.cs-row {
    display: flex;
    flex-direction: column;
    /* Stacked */
    gap: 20px;
    grid-column: 2;
}

.cs-card.small {
    flex: 1;
    height: auto;
    /* Let content dictate */
    display: flex;
    flex-direction: column;
    padding: 3.6cqw 4.4cqw;
    /* 27px 25px at 750px */
}

.purple {
    background: #6A34FF;
    color: #fff;
}

.gray {
    background: #F8F8FA;
    color: #000;
}

.cs-card.small h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.333cqw;
    /* 25px */
    font-weight: 500;
    color: #000;
    margin-bottom: 5px;
}

.cs-card.small p {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.933cqw;
    /* 22px */
    font-weight: 400;
    color: #000;
    /* Explicit black if needed */
}

.cs-card.small.purple h3,
.cs-card.small.purple p {
    color: #fff;
}

.cs-card.small.gray p {
    color: #4E4E4E;
}


/* 6. FOOTER */
/* 6. FOOTER */
.app-footer {
    background: #221E1F;
    color: #fff;
    padding: 6cqw 5.533cqw;
    /* Side padding 41.5px */
    height: 67.467cqw;
    /* 506px */
    box-sizing: border-box;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 4cqw;
}

.footer-links {
    font-family: 'Inter', sans-serif;
    font-size: 2.933cqw;
    /* 22px */
    font-weight: 400;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-links .sep {
    margin: 0 4px;
    opacity: 1;
}

.footer-links [data-nav] {
    cursor: pointer;
}

.store-buttons img {
    cursor: pointer;
}

.footer-info-box {
    width: 100%;
    /* 667px approx */
    height: 18.267cqw;
    /* 137px */
    border: 1px solid #fff;
    border-radius: 2.667cqw;
    /* 20px */
    padding: 3cqw;
    /* approx padding, adjust content centering */
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-ch-icon {
    width: 11.733cqw;
    /* 88px */
    height: auto;
}

.time-info,
.break-info {
    font-family: 'Inter', sans-serif;
    font-size: 2.267cqw;
    /* 17px */
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.time-hours {
    font-weight: 600;
    font-size: 4cqw;
    /* 30px */
}

.footer-logo {
    height: auto;
    margin-top: 0;
    display: block;
}

.store-buttons {
    display: flex;
    gap: 1.333cqw;
    /* 10px */
    margin-top: 0;
    width: 100%;
}

.store-buttons img {
    width: 43.467cqw;
    /* 326px */
    height: auto;
    display: block;
    cursor: pointer;
}


/* RESPONSIVE OVERRIDE */
@media (max-width: 720px) {
    .right-wrapper {
        max-width: 100%;
    }

    /* Hide left panel already handled */
    .left-panel {
        display: none;
    }

    .right-panel {
        max-width: 100%;
    }
}


/* ========================================= */
/*  IFRAME STYLES                            */
/* ========================================= */

.app-iframe {
    width: 100%;
    height: 100vh;
    border: none;
    display: block;
}

/* iframe 내부 body 스타일 */
.iframe-body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Inter', sans-serif;
    background: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}


/* ========================================= */
/*  SIDE MENU (FIGMA 750px context)          */
/* ========================================= */

.side-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #ECEFF5;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.side-menu.open {
    transform: translateX(0);
}

.menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Header in Menu */
.menu-header {
    height: 56px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
    border-bottom: 1px solid #EEEEEE;
}

.menu-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-close-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.menu-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 60px;
}

/* User Section */
.menu-user-section {
    background: #fff;
    height: 52.93cqw;
    /* 397px 고명 */
    padding: 0;
    position: relative;
    overflow: hidden;
}

.menu-user-section.is-logged-in {
    height: 52.93cqw;
    /* 397px */
    background: #DBC9FF;
    align-items: flex-start;
    padding-top: 7cqw;
}

.user-logged-in {
    width: 100%;
    height: 100%;
    padding: 20px;
}

.greeting-area {
    position: relative;
    z-index: 2;
}

.greeting-text {
    display: block;
    font-size: 5.33cqw;
    /* 40px */
    line-height: 1.25;
    color: #000;
    margin-bottom: 2cqw;
}

.name-line {
    display: flex;
    align-items: baseline;
    gap: 1cqw;
}

.user-name {
    font-size: 8.67cqw;
    /* 65px */
    font-weight: 600;
    line-height: 1;
    color: #000;
}

.user-suffix {
    font-size: 5.33cqw;
    /* 40px */
    color: #000;
}

.user-actions {
    position: absolute;
    bottom: 7cqw;
    display: flex;
    gap: 2cqw;
    z-index: 2;
}

.btn-sub-action {
    width: 16.27cqw;
    /* 122px */
    height: 5.2cqw;
    /* 39px */
    border: none;
    border-radius: 6.6cqw;
    /* 50px */
    background: #fff;
    font-size: 3.33cqw;
    /* 25px */
    font-weight: 500;
    color: #4E4E4E;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.woodlee-hi-img {
    position: absolute;
    width: 55.87cqw;
    /* 419px */
    height: 48.8cqw;
    /* 366px */
    right: -2cqw;
    bottom: 0;
    transform: none;
    z-index: 1;
    pointer-events: none;
}

/* 비로그인 상태 UI (750px 기준) */
.user-not-logged-in {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.user-msg-welcome {
    position: absolute;
    width: 35.867cqw;
    /* 269px / 750px */
    height: 6.533cqw;
    /* 49px */
    left: 29.333cqw;
    /* 220px */
    top: 38.133cqw;
    /* (435px - 149px) / 750px */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 5.333cqw;
    /* 40px */
    line-height: 6.533cqw;
    color: #000000;
    white-space: nowrap;
}

.profile-area {
    position: absolute;
    width: 26.133cqw;
    /* 196px */
    height: 26.133cqw;
    /* 196px */
    left: 36.933cqw;
    /* 277px */
    top: 7.867cqw;
    /* (208px - 149px) / 750px */
}

.profile-circle {
    width: 26.133cqw;
    /* 196px */
    height: 26.133cqw;
    /* 196px */
    background: #DBC9FF;
    border-radius: 50%;
}

.woodlee-peek-img {
    position: absolute;
    width: 26.133cqw;
    /* 196px */
    height: 26.133cqw;
    /* 196px */
    left: 0;
    top: 0;
    object-fit: contain;
}

.login-arrow {
    position: absolute;
    width: 2.667cqw;
    /* (513.5px - 493.5px approx) */
    height: auto;
    left: 65%;
    top: 39.0cqw;
    /* Recalculated relative to text top 38.1cqw */
    filter: brightness(0);
    /* Black as per spec */
}

/* Quick Actions */
.menu-actions {
    background: #fff;
    height: 17.8cqw;
    /* 134px */
    padding: 0 6.13cqw;
    /* 46px */
    display: flex;
    align-items: center;
    margin-bottom: 4cqw;
    /* 30px at 750px context */
}

.action-row {
    display: flex;
    width: 100%;
    gap: 2.6cqw;
    /* 20px approx */
}

.btn-action {
    flex: 1;
    height: 11cqw;
    /* 83px */
    border-radius: 6.6cqw;
    /* 50px */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2cqw;
    font-size: 4.6cqw;
    /* 35px */
    font-weight: 500;
    cursor: pointer;
}

.btn-purple {
    background: #6A34FF;
    color: #fff;
}

.btn-light-green {
    background: #A6FF2A;
    color: #000;
}

.action-icon {
    width: 5cqw;
    height: auto;
}

/* Nav List */
.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 3.2cqw;
    /* 23px gap between 676 and 699 */
    padding: 0 3.6cqw;
    /* 27px */
}

.nav-item-group {
    background: #fff;
    border-radius: 2.6cqw;
    /* 20px */
    overflow: hidden;
}

.nav-main-item {
    height: 16.8cqw;
    /* 126px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5.33cqw;
    /* 40px left for icon center, but let's align */
    cursor: pointer;
}

.item-left {
    display: flex;
    align-items: center;
    gap: 6cqw;
    /* 45px */
}

.menu-icon {
    width: 6.6cqw;
    /* 50px */
    height: 6.6cqw;
    object-fit: contain;
}

.menu-title {
    font-size: 5.33cqw;
    /* 40px */
    font-weight: 500;
    color: #000;
}

.menu-arrow {
    width: 4.5cqw;
    /* Increased size for visibility */
    height: auto;
    filter: brightness(0.8);
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.nav-main-item.active .menu-arrow {
    transform: rotate(0deg);
}

.nav-sub-list {
    list-style: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    /* Subtle difference for submenu */
}

.nav-sub-list.active {
    max-height: 500px;
    /* border-top: 1px solid #EEE; */
}

.nav-sub-list li {
    height: 15.3cqw;
    /* 115px */
    display: flex;
    align-items: center;
    padding-left: 9cqw;
    /* 95px from figma */
    font-size: 4.6cqw;
    /* 35px */
    color: #4E4E4E;
    border-bottom: 1px solid #F1F1F1;
    cursor: pointer;
}

.nav-sub-list li:last-child {
    border-bottom: none;
}

/* =========================================

.page-fade-out {
    opacity: 0;
    pointer-events: none;
}

.page-fade-in {
    opacity: 1;
}