/* =========================
   funmoa
========================= */
@font-face{
    font-family: "Pretendard";
    src: url("/public/assets/font/Pretendard-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: "Pretendard";
    src: url("/public/assets/font/Pretendard-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: "Pretendard";
    src: url("/public/assets/font/Pretendard-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: "Pretendard";
    src: url("/public/assets/font/Pretendard-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: "Pretendard";
    src: url("/public/assets/font/Pretendard-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root{
    --fm-font: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;

    /* FUNMOA 다크 톤(필요 시 교체) */
    --fm-bg0: #0b0f1a;
    --fm-bg1: #0a1022;
    --fm-surface: rgba(255,255,255,.06);
    --fm-surface2: rgba(255,255,255,.08);
    --fm-border: rgba(255,255,255,.10);
    --fm-text: rgba(255,255,255,.92);
    --fm-muted: rgba(255,255,255,.68);

    /* primary는 부트스트랩 변수 사용 가능:
       :root{ --bs-primary: ... } 로 통일하면 됨 */
    --fm-glow: rgba(13,110,253,.35);
}

html, body{
    font-family: var(--fm-font);
}

.word-keep {
    word-break: keep-all;
}

/* Header wrapper */
.site-header{
    position: sticky;
    top: 0;
    z-index: 1030; /* navbar 기본보다 살짝 위 */
}

/* Glass navbar */
.glass-header{
    background: rgba(255, 255, 255, 0.9);  /* 핵심: 투명도 */
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/* (선택) 위쪽 하이라이트 라인 */
.glass-header::before{
    content:"";
    position:absolute;
    left:0; right:0; top:0;
    height:1px;
    background: rgba(255,255,255,0.9);
}

.neo-soft{
    border-radius: 10px;
    box-shadow:
            inset 2px 2px 4px rgba(0,0,0,.15),
            inset -2px -2px 4px rgba(255,255,255,.70);
}

/* Brand / Nav color on dark glass */
.glass-header .navbar-brand,
.glass-header .nav-link{
    color: rgba(32,32,32,0.88);
}

.glass-header .nav-link{
    font-size: 1.2rem;
    padding: .65rem .95rem;
    border-radius: 10px;
    transition: background .15s ease, color .15s ease;
}

.glass-header .nav-link:hover{
    /*background: rgba(255,255,255,0.08);*/
    /*color: rgba(255,255,255,0.95);*/
}

.glass-header .nav-link.active,
.glass-header .nav-link[aria-current="page"]{
    background: rgba(13,110,253,.14);
    border: 1px solid rgba(13,110,253,.22);
    color: rgba(13,110,253,.95);
    box-shadow: 0 10px 24px rgba(13,110,253,.12);
}

/* Toggler icon on dark bg */
.glass-header .navbar-toggler{
    border-color: rgba(255,255,255,0.18);
}

/* 밝은 헤더에서 토글 아이콘/보더를 진하게 */
.glass-header .navbar-toggler{
    border-color: rgba(0,0,0,.18);
}


/* =========================
   1) Hero Background (레퍼런스 느낌의 구/그라데이션)
========================= */
.hero-funmoa.dark{
    position: relative;
    color: var(--fm-text);
    background:
            radial-gradient(900px 520px at 15% 55%, rgba(255,255,255,.08), transparent 60%),
            radial-gradient(850px 520px at 88% 52%, rgba(255,255,255,.06), transparent 62%),
            radial-gradient(650px 420px at 50% 82%, rgba(13,110,253,.18), transparent 60%),
            linear-gradient(180deg, var(--fm-bg0) 0%, var(--fm-bg1) 100%);
    overflow: hidden;
    padding: 96px 0;
}

/* 흐릿한 큰 구(오브젝트) */
.hero-funmoa.dark::before,
.hero-funmoa.dark::after{
    content:"";
    position:absolute;
    inset:auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .65;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), rgba(255,255,255,.02) 55%, transparent 70%);
    box-shadow: 0 40px 120px rgba(0,0,0,.45);
}
.hero-funmoa.dark::before{
    left: -220px; top: 110px;
}
.hero-funmoa.dark::after{
    right: -240px; top: 160px;
    opacity: .45;
}

/* =========================
   2) Headline
========================= */
.hero-head h1{
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: .45rem;
    text-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.hero-head p{
    margin-bottom: .35rem;
    color: var(--fm-muted);
}
.hero-head .lead{
    font-weight: 500;
    color: rgba(255,255,255,.78) !important;
}

/* 배지 */
.hero-badge{
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    font-size: .74rem;
    letter-spacing: .14em;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow:
            0 10px 30px rgba(0,0,0,.35),
            0 1px 0 rgba(255,255,255,.06) inset;
}

/* =========================
   3) Cards (글래스 + 뉴모피즘)
========================= */
.hero-cards{
    margin-top: 34px;
}

.hero-card{
    position: relative;
    height: 100%;
    padding: 28px 26px;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--fm-surface2), var(--fm-surface));
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
            0 26px 70px rgba(0,0,0,.45),
            0 1px 0 rgba(255,255,255,.06) inset;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    overflow: hidden;
}

/* 카드 내부 은은한 하이라이트 */
.hero-card::before{
    content:"";
    position:absolute;
    inset:-60px -60px auto auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.14), transparent 60%);
    opacity: .65;
    transform: translate(10px, -10px);
}

.hero-card h3{
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: .6rem;
}
.hero-card p{
    color: rgba(255,255,255,.68);
    margin-bottom: 1.25rem;
    line-height: 1.45;
}

/* Hover: 살짝 떠오르고 테두리/글로우 */
.hero-card:hover{
    transform: translateY(-6px);
    border-color: rgba(255,255,255,.18);
    box-shadow:
            0 32px 90px rgba(0,0,0,.55),
            0 0 0 1px rgba(255,255,255,.06) inset,
            0 0 0 6px rgba(13,110,253,.10);
}

/* =========================
   4) Buttons (BS5 버튼을 살짝 보정)
========================= */
.hero-funmoa .btn{
    border-radius: 999px;
    padding: .85rem 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-funmoa .btn-primary{
    box-shadow: 0 16px 40px rgba(13,110,253,.28);
}

.hero-funmoa .btn-outline-light,
.hero-funmoa .btn-outline-secondary{
    border-color: rgba(255,255,255,.22);
    color: rgba(255,255,255,.88);
}
.hero-funmoa .btn-outline-light:hover,
.hero-funmoa .btn-outline-secondary:hover{
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.26);
}

/* =========================
   5) Trust bar (하단 작은 신뢰 문장)
========================= */
.hero-trust{
    color: rgba(255,255,255,.55);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

/* =========================
   6) Responsive
========================= */
@media (max-width: 991.98px){
    .hero-funmoa.dark{
        padding: 76px 0;
    }
    .hero-card{
        padding: 24px 22px;
    }
}

/* WHY Section base - Light */
.why-funmoa{
    position: relative;
    background:
            radial-gradient(900px 520px at 85% 10%, rgba(13,110,253,.10), transparent 60%),
            radial-gradient(900px 520px at 10% 80%, rgba(0,0,0,.04), transparent 60%),
            linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
    color: #111;
    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.04);
}

/* Left Panel */
.why-panel{
    padding: 30px 28px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.85));
    border: 1px solid rgba(0,0,0,.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
            0 24px 60px rgba(0,0,0,.08),
            0 1px 0 rgba(255,255,255,.8) inset;
}

.why-panel .text-muted{
    color: rgba(0,0,0,.65)!important;
}

/* Badge */
.why-badge{
    background: rgba(13,110,253,.10);
    border: 1px solid rgba(13,110,253,.25);
    color: rgba(13,110,253,.9);
    letter-spacing: .14em;
    font-size: .72rem;
    padding: .55rem .85rem;
    border-radius: 999px;
}

/* Chips */
.why-chips{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.why-chips .chip{
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .85rem;
    color: rgba(13,110,253,.85);
    background: rgba(13,110,253,.08);
    border: 1px solid rgba(13,110,253,.18);
}

/* Right Column */
.why-right{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:14px;
}

.why-step {
    min-width: 44px;
    height: 100%;
    border-radius: 50%;
    background: var(--cb-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    box-shadow: var(--neo-shadow-out);
}


/* Strength Cards */
.why-card {
    background: var(--fm-bg1);
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    box-shadow: var(--neo-shadow-out);
    transition: transform .2s ease, box-shadow .2s ease;
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--neo-shadow-out-hover);
}


.why-card-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}


.why-card-desc{
    color: rgba(0,0,0,.65);
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 991.98px){
    .why-right{
        gap:12px;
    }
    .why-card{
        flex:none;
    }
}

/*what we do*/
.biz-funmoa{
    position: relative;
    background:
            radial-gradient(1000px 520px at 50% 0%, rgba(13,110,253,.10), transparent 60%),
            linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border-top: 1px solid rgba(0,0,0,.06);
}

.biz-badge{
    background: rgba(13,110,253,.10);
    border: 1px solid rgba(13,110,253,.22);
    color: rgba(13,110,253,.92);
    letter-spacing: .14em;
    font-size: .72rem;
    padding: .55rem .85rem;
    border-radius: 999px;
}

.biz-card{
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 24px 60px rgba(0,0,0,.08);
    padding: 26px 24px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.biz-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 34px 80px rgba(0,0,0,.12);
}

.biz-top{ position: relative; }

.biz-no{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(13,110,253,.10);
    border: 1px solid rgba(13,110,253,.18);
    color: rgba(13,110,253,.95);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.biz-list{
    border-top: 1px solid rgba(0,0,0,.06);
    padding-top: 14px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.biz-item{
    position: relative;
    padding-left: 18px;
    color: rgba(0,0,0,.78);
    line-height: 1.5;
}
.biz-item::before{
    content:"";
    position:absolute;
    left:0;
    top:.55em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(13,110,253,.55);
}

.biz-proof{
    /*display:flex;*/
    /*gap:10px;*/
    /*align-items:flex-start;*/
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(13,110,253,.06);
    border: 1px solid rgba(13,110,253,.14);
    color: rgba(0,0,0,.72);
    line-height: 1.5;
    font-weight: 900;
}

.biz-proof-dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(13,110,253,.85);
    margin-top: .35rem;
    flex: 0 0 auto;
}

/* how Funmoa Work*/
/* =========================
   WORKS - Light / Neumorphic
========================= */
.works-funmoa{
    background:
            radial-gradient(1000px 520px at 50% 0%, rgba(13,110,253,.10), transparent 60%),
            linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.04);
}

/* Badge */
.works-badge{
    background: rgba(13,110,253,.10);
    border: 1px solid rgba(13,110,253,.22);
    color: rgba(13,110,253,.92);
    letter-spacing: .14em;
    font-size: .72rem;
    padding: .55rem .85rem;
    border-radius: 999px;
}

/* Left column wrapper (optional fine-tune spacing) */
.works-left{
    display:flex;
    flex-direction:column;
    justify-content:center; /* 좌측도 가운데로 살짝 정돈 */
}

/* Left points */
.works-points{
    display:flex;
    flex-direction:column;
    gap:14px;
}
.works-point{
    display:flex;
    gap:12px;
    align-items:flex-start;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 16px 40px rgba(0,0,0,.06);
}
.works-point .dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(13,110,253,.85);
    margin-top: .45rem;
    flex: 0 0 auto;
}

/* Right wrap: match height + center board vertically */
.works-board-wrap{
    display:flex;
    align-items:center;   /* 세로 중앙 */
    justify-content:center;
}

/* Board */
.works-board{
    width: 100%;
    max-width: 560px;     /* 좌측과 균형 */
    padding: 26px 22px;
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 28px 70px rgba(0,0,0,.10);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 가운데 */
}

/* Flow: stable layout */
.works-flow{
    display:grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 10px;
    align-items:center;
}

.flow-card{
    padding: 14px 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 16px 40px rgba(0,0,0,.06);
    text-align:center;
    min-height: 72px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.flow-card .t{
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111;
}
.flow-card .s{
    color: rgba(0,0,0,.62);
    font-size: .9rem;
    margin-top: .15rem;
    line-height: 1.25;
}

.works-flow .arrow{
    color: rgba(0,0,0,.35);
    font-weight: 900;
    text-align:center;
}

/* Loop */
.works-loop{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.loop-chip{
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.06);
    color: rgba(0,0,0,.72);
    font-weight: 700;
}
.loop-chip.accent{
    background: rgba(13,110,253,.10);
    border-color: rgba(13,110,253,.18);
    color: rgba(13,110,253,.92);
}
.loop-arrow{
    font-weight: 900;
    color: rgba(13,110,253,.65);
}

/* Proof line */
.works-proof{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(13,110,253,.06);
    border: 1px solid rgba(13,110,253,.14);
}

.works-proof .pill{
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(13,110,253,.12);
    border: 1px solid rgba(13,110,253,.18);
    color: rgba(13,110,253,.92);
    font-weight: 800;
}

/* Responsive: stack flow for mobile */
@media (max-width: 991.98px){
    .works-left{ justify-content:flex-start; }

    .works-board{
        max-width: 100%;
    }

    .works-flow{
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .works-flow .arrow{
        display:none;
    }
}

.works-left .badge{
    align-self: flex-start;
}

/*vision*/
.vision-funmoa{
    background:
            radial-gradient(900px 520px at 50% 0%, rgba(13,110,253,.10), transparent 60%),
            linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border-top: 1px solid rgba(0,0,0,.06);
}

.vision-badge{
    background: rgba(13,110,253,.10);
    border: 1px solid rgba(13,110,253,.22);
    color: rgba(13,110,253,.92);
    letter-spacing: .14em;
    font-size: .72rem;
    padding: .55rem .85rem;
    border-radius: 999px;
}

/* Roadmap layout */
.vision-roadmap{
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

/* PC 이상: 3열 */
@media (min-width: 992px){
    .vision-roadmap{
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Step card */
.vision-step{
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 24px 60px rgba(0,0,0,.08);
    overflow: hidden;
}

@media (min-width: 992px){
    .vision-step{
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .step-body{
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}


/* Header */
.step-head{
    display:flex;
    gap: 14px;
    align-items:center;
    padding: 18px 18px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.step-badge{
    width: 74px;
    height: 36px;
    border-radius: 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: rgba(13,110,253,.10);
    border: 1px solid rgba(13,110,253,.18);
    color: rgba(13,110,253,.95);
    flex: 0 0 auto;
}

.step-title .name{
    font-weight: 900;
    letter-spacing: -0.02em;
    color:#111;
    line-height: 1.15;
}
.step-title .desc{
    color: rgba(0,0,0,.62);
    margin-top: 2px;
}

.step-status{
    margin-left:auto;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    border: 1px solid rgba(0,0,0,.06);
    background: rgba(0,0,0,.03);
    color: rgba(0,0,0,.65);
}

/* Body */
.step-body{
    padding: 16px 18px 18px;
}
.step-list{
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(0,0,0,.72);
    line-height: 1.75;
}
.step-cta{
    margin-top: 14px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

/* Active step accent */
.vision-step.is-active{
    border-color: rgba(13,110,253,.18);
    box-shadow: 0 30px 80px rgba(13,110,253,.10), 0 24px 60px rgba(0,0,0,.08);
}
.vision-step.is-active .step-status{
    background: rgba(13,110,253,.10);
    border-color: rgba(13,110,253,.18);
    color: rgba(13,110,253,.95);
}

/* Coming soon: slightly muted + dashed 느낌 */
.vision-step.is-soon{
    opacity: .92;
}
.vision-step.is-soon .step-badge{
    background: rgba(0,0,0,.03);
    border-color: rgba(0,0,0,.08);
    color: rgba(0,0,0,.55);
}
.vision-step.is-soon .step-status{
    background: rgba(0,0,0,.03);
    color: rgba(0,0,0,.55);
}

/* Footer line */
.vision-foot{
    color: rgba(0,0,0,.72);
}

/*tel */
.contact-tel{
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.25);
    padding: 4px 10px;
    border-radius: 999px;
    margin-left: 4px;
    transition: all .15s ease;
}

.contact-tel:hover{
    color: #0d6efd;
    background: rgba(13,110,253,.12);
    border-color: rgba(13,110,253,.5);
}

.spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

