@charset "utf-8";

:root{
    --baro-primary:#123d78;
    --baro-primary-deep:#092a57;
    --baro-gold:#d5a51f;
    --baro-gold-soft:#f5ead0;
    --baro-text:#18202b;
    --baro-sub:#6f7782;
    --baro-line:#e7eaf0;
    --baro-bg:#f4f6f9;
    --baro-white:#fff;
}

html,
body{
    margin:0;
    padding:0;
    background:#e9edf3;
    font-family:'Pretendard',sans-serif;
    color:var(--baro-text);
    word-break:keep-all;
}

body{
    min-width:320px;
}

body *{
    box-sizing:border-box;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
input,
textarea,
select{
    font-family:'Pretendard',sans-serif;
}

.baro-app{
    position:relative;
    width:100%;
    max-width:800px;
    min-height:100vh;
    margin:0 auto;
    padding-bottom:88px;
    overflow:hidden;
    background:var(--baro-bg);
    box-shadow:0 0 40px rgba(27,39,58,.12);
}

.baro-header{
    position:relative;
    z-index:10;
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:72px;
    padding:0 22px;
    background:rgba(255,255,255,.94);
    border-bottom:1px solid rgba(18,61,120,.06);
    backdrop-filter:blur(12px);
}

.baro-logo{
    display:flex;
    align-items:center;
    width:148px;
    height:42px;
}

.baro-logo img{
    display:block;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

.baro-header-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.baro-consulting-btn,
.baro-login-btn,
.baro-logout-btn,
.baro-text-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:72px;
    height:40px;
    padding:0 17px;
    border-radius:999px;
    font-size:15px;
    font-weight:600;
    line-height:1;
    white-space:nowrap;
    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

/* 상담컨설팅 */
.baro-consulting-btn{
    border:1px solid rgba(18,61,120,.18);
    background:#eef4fb;
    color:var(--baro-primary);
    box-shadow:0 4px 12px rgba(18,61,120,.08);
}

.baro-consulting-btn:hover,
.baro-consulting-btn:focus{
    border-color:var(--baro-primary);
    background:var(--baro-primary);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(18,61,120,.2);
}

/* 로그인 */
.baro-login-btn{
    border:1px solid var(--baro-primary);
    background:var(--baro-primary);
    color:#fff;
    box-shadow:0 5px 14px rgba(18,61,120,.18);
}

.baro-login-btn:hover,
.baro-login-btn:focus{
    background:var(--baro-primary-deep);
    border-color:var(--baro-primary-deep);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(9,42,87,.24);
}

/* 로그아웃 */
.baro-logout-btn,
.baro-text-btn{
    border:1px solid #c99a1c;
    background:linear-gradient(135deg,#e7c55f 0%,#c99a1c 100%);
    color:var(--baro-primary-deep);
    box-shadow:0 5px 15px rgba(201,154,28,.24);
}

.baro-logout-btn:hover,
.baro-logout-btn:focus,
.baro-text-btn:hover,
.baro-text-btn:focus{
    border-color:#b98a12;
    background:linear-gradient(135deg,#efd275 0%,#d4a728 100%);
    color:var(--baro-primary-deep);
    transform:translateY(-2px);
    box-shadow:0 9px 22px rgba(201,154,28,.34);
}

.baro-consulting-btn:active,
.baro-login-btn:active,
.baro-logout-btn:active,
.baro-text-btn:active{
    transform:translateY(0);
    box-shadow:none;
}


.baro-main{
    padding-bottom:24px;
}

.baro-hero{
    position:relative;
    min-height:245px;
    padding:42px 24px 32px;
    overflow:hidden;
    background:
        radial-gradient(circle at 86% 18%, rgba(213,165,31,.22), transparent 26%),
        linear-gradient(145deg,#0b2d5e 0%,#164d8d 100%);
    color:#fff;
}

.baro-hero:before{
    content:'';
    position:absolute;
    right:-82px;
    bottom:-100px;
    width:220px;
    height:220px;
    border:1px solid rgba(255,255,255,.11);
    border-radius:50%;
}

.baro-hero-copy{
    position:relative;
    z-index:2;
    max-width:280px;
}

.baro-eyebrow{
    display:block;
    margin-bottom:12px;
    color:#f1cf68;
    font-size:12px;
    font-weight:600;
    letter-spacing:.14em;
}

.baro-hero h1{
    margin:0;
    font-size:35px;
    font-weight:600;
    line-height:1.28;
    letter-spacing:-.045em;
}

.baro-hero h1 em{
    color:#f1c744;
    font-style:normal;
    font-weight:600;
}

.baro-hero p{
    margin:14px 0 0;
    color:rgba(255,255,255,.75);
    font-size:16px;
    font-weight:400;
    line-height:1.65;
}

.baro-hero-symbol{
    position:absolute;
    z-index:1;
    right:18px;
    bottom:27px;
    width:92px;
    height:92px;
    color:#f3c84a;
    opacity:.96;
}

.baro-hero-symbol svg{
    position:absolute;
    inset:18px;
    width:56px;
    height:56px;
}

.baro-symbol-ring{
    position:absolute;
    inset:0;
    border:1px solid rgba(255,255,255,.16);
    border-radius:28px;
    transform:rotate(12deg);
}

.baro-symbol-ring:after{
    content:'';
    position:absolute;
    inset:10px;
    border:1px solid rgba(241,199,68,.28);
    border-radius:22px;
}

.baro-member-panel,
.baro-public-menu{
    padding:30px 20px 0;
}

.baro-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    margin-bottom:16px;
}

.baro-section-kicker{
    display:block;
    margin-bottom:5px;
    color:var(--baro-gold);
    font-size:12px;
    font-weight:600;
    letter-spacing:.12em;
}

.baro-section-head h2{
    margin:0;
    color:var(--baro-text);
    font-size:25px;

    font-weight:600;
    letter-spacing:-.04em;
}

.baro-more{
    padding-bottom:2px;
    color:var(--baro-sub);
    font-size:14px;
    font-weight:500;
}

.baro-status-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.baro-status-card{
    position:relative;
    min-height:154px;
    padding:18px 16px 16px;
    overflow:hidden;
    border:1px solid var(--baro-line);
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 20px rgba(17,41,72,.04);
}

.baro-status-card strong{
    display:block;
    margin-top:14px;
    font-size:18px;
    font-weight:600;
    letter-spacing:-.025em;
}

.baro-status-card small{
    display:block;
    margin-top:5px;
    color:var(--baro-sub);
    font-size:13px;
    font-weight:400;
    line-height:1.45;
}

.baro-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:14px;
}

.baro-icon.navy{
    background:#eaf0f8;
    color:var(--baro-primary);
}

.baro-icon.gold{
    background:var(--baro-gold-soft);
    color:#b48710;
}

.baro-icon svg,
.baro-service-icon svg,
.baro-notice-icon svg,
.baro-login-guide-icon svg,
.baro-bottom-nav svg{
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.baro-icon svg{
    width:23px;
    height:23px;
}

.baro-arrow{
    position:absolute;
    right:15px;
    bottom:13px;
    color:#a1a8b3;
    font-size:22px;
    font-weight:400;
}

.baro-login-guide{
    display:grid;
    grid-template-columns:44px minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    margin:20px;
    padding:17px;
    border:1px solid #dce4ef;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 24px rgba(21,48,83,.05);
}

.baro-login-guide-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border-radius:14px;
    background:#edf3fa;
    color:var(--baro-primary);
}

.baro-login-guide-icon svg{
    width:23px;
    height:23px;
}

.baro-login-guide-copy{
    min-width:0;
}

.baro-login-guide-copy strong{
    display:block;
    color:var(--baro-text);
    font-size:16px;
    font-weight:600;
    line-height:1.4;
}

.baro-login-guide-copy span{
    display:block;
    margin-top:4px;
    color:var(--baro-sub);
    font-size:12px;
    font-weight:400;
    line-height:1.45;
}

.baro-guide-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    height:34px;
    padding:0 12px;
    border-radius:10px;
    background:var(--baro-primary);
    color:#fff;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
}

.baro-service-grid{
    display:flex;
    flex-direction:column;
    gap:11px;
}

.baro-service-card{
    display:grid;
    grid-template-columns:48px minmax(0,1fr) auto;
    align-items:center;
    gap:13px;
    min-height:82px;
    padding:15px 16px;
    border:1px solid var(--baro-line);
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 20px rgba(17,41,72,.035);
}

.baro-service-primary{
    min-height:108px;
    border:0;
    background:linear-gradient(135deg,#153f77 0%,#0b2f61 100%);
    color:#fff;
}

.baro-service-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    border-radius:15px;
    background:#eef3f9;
    color:var(--baro-primary);
}

.baro-service-primary .baro-service-icon{
    background:rgba(255,255,255,.12);
    color:#f2c84c;
}

.baro-service-icon svg{
    width:25px;
    height:25px;
}

.baro-service-text{
    min-width:0;
}

.baro-service-text strong{
    display:block;
    font-size:18px;
    font-weight:600;
    letter-spacing:-.025em;
}

.baro-service-text small{
    display:block;
    margin-top:5px;
    color:var(--baro-sub);
    font-size:13px;
    font-weight:400;
}

.baro-service-primary .baro-service-text small{
    color:rgba(255,255,255,.68);
}

.baro-service-link{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:64px;
    height:32px;
    padding:0 12px;
    border-radius:16px;
    background:#f0c542;
    color:#17365f;
    font-size:13px;
    font-weight:600;
}

.baro-chevron{
    color:#aab1bc;
    font-size:29px;
    font-weight:300;
}

.baro-notice{
    display:grid;
    grid-template-columns:38px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    margin:24px 20px 0;
    padding:14px 15px;
    border-radius:15px;
    background:#eceff4;
}

.baro-notice-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:12px;
    background:#fff;
    color:var(--baro-primary);
}

.baro-notice-icon svg{
    width:21px;
    height:21px;
}

.baro-notice a{
    min-width:0;
}

.baro-notice a span{
    display:block;
    margin-bottom:3px;
    color:var(--baro-primary);
    font-size:12px;
    font-weight:600;
}

.baro-notice a strong{
    display:block;
    overflow:hidden;
    color:#59616d;
    font-size:13px;
    font-weight:500;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.baro-bottom-nav{
    position:fixed;
    z-index:20;
    left:50%;
    bottom:0;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    width:100%;
    max-width:800px;
    height:72px;
    padding-bottom:env(safe-area-inset-bottom);
    border-top:1px solid #e7e9ee;
    background:rgba(255,255,255,.96);
    box-shadow:0 -6px 24px rgba(25,42,65,.06);
    transform:translateX(-50%);
    backdrop-filter:blur(14px);
}

.baro-bottom-nav a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    color:#969da8;
    font-size:12px;
    font-weight:500;
}

.baro-bottom-nav a.on{
    color:var(--baro-primary);
    font-weight:600;
}

.baro-bottom-nav svg{
    width:23px;
    height:23px;
}

@media (max-width:359px){
    .baro-header{
        padding:0 17px;
    }

    .baro-logo{
        width:136px;
    }

    .baro-hero{
        padding-left:20px;
        padding-right:20px;
    }

    .baro-hero h1{
        font-size:31px;
    }

    .baro-member-panel,
    .baro-public-menu{
        padding-left:16px;
        padding-right:16px;
    }

    .baro-login-guide,
    .baro-notice{
        margin-left:16px;
        margin-right:16px;
    }

    .baro-status-card{
        padding-left:14px;
        padding-right:14px;
    }
}

@media (min-width:801px){
    body{
        padding:24px 0;
    }

    .baro-app{
        min-height:calc(100vh - 48px);
        border-radius:24px;
    }

    .baro-bottom-nav{
        bottom:24px;
        border-radius:0 0 24px 24px;
    }
}


/* 600px 이상 태블릿·PC 화면 보정 */
@media (min-width:600px){
    .baro-header{
        height:84px;
        padding-left:38px;
        padding-right:38px;
    }

    .baro-logo{
        width:188px;
        height:52px;
    }

    .baro-consulting-btn,
    .baro-login-btn,
    .baro-logout-btn,
    .baro-text-btn{
        min-width:82px;
        height:42px;
        padding:0 20px;
    }

    .baro-hero{
        min-height:320px;
        padding:60px 44px 46px;
    }

    .baro-hero-copy{
        max-width:480px;
    }

    .baro-hero-symbol{
        right:48px;
        bottom:42px;
        width:128px;
        height:128px;
    }

    .baro-hero-symbol svg{
        inset:25px;
        width:78px;
        height:78px;
    }

    .baro-member-panel,
    .baro-public-menu{
        padding-left:38px;
        padding-right:38px;
        padding-top:40px;
    }

    .baro-login-guide,
    .baro-notice{
        margin-left:38px;
        margin-right:38px;
    }

    .baro-status-grid{
        gap:16px;
    }

    .baro-status-card{
        min-height:180px;
        padding:22px 20px 20px;
    }

    .baro-service-grid{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:14px;
    }

    .baro-service-primary{
        grid-column:1 / -1;
        min-height:124px;
    }

    .baro-service-card:not(.baro-service-primary){
        min-height:104px;
    }

    .baro-bottom-nav{
        height:80px;
    }

    .baro-app{
        padding-bottom:96px;
    }
}

@media (max-width:580px){
    .baro-header{
        min-height:72px;
        height:auto;
        padding:12px 16px;
    }

    .baro-logo{
        width:138px;
        height:42px;
    }

    .baro-header-actions{
        gap:6px;
    }

    .baro-consulting-btn,
    .baro-login-btn,
    .baro-logout-btn,
    .baro-text-btn{
        min-width:auto;
        height:36px;
        padding:0 12px;
        font-size:13px;
    }
}

@media (max-width:390px){
    .baro-header{
        padding-left:12px;
        padding-right:12px;
    }

    .baro-logo{
        width:124px;
    }

    .baro-consulting-btn,
    .baro-login-btn,
    .baro-logout-btn,
    .baro-text-btn{
        height:34px;
        padding:0 10px;
        font-size:12px;
    }
}
