@charset "utf-8";

/* =========================================================
   BP AI redesign layer
   style.css 뒤에 불러와 레이아웃·스타일을 덮어씁니다.
   각 html의 <link href="css/redesign.css"> 한 줄을 지우면 이전 디자인으로 돌아갑니다.
   ========================================================= */

:root {
    --navy-950: #070E22;
    --navy-900: #0B1530;
    --navy-800: #13214A;
    --accent: #3B6CF6;
    --accent-2: #22C3EE;
    --accent-grad: linear-gradient(90deg, #3B6CF6 0%, #22C3EE 100%);
    --surface: #F4F6FB;
    --line: #E3E8F2;
    --text-strong: #0B1530;
    --text-body: #4A5468;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --shadow-card: 0 1px 2px rgba(11, 21, 48, 0.04), 0 8px 24px rgba(11, 21, 48, 0.06);
    --shadow-hover: 0 2px 4px rgba(11, 21, 48, 0.04), 0 20px 40px rgba(11, 21, 48, 0.12);
    --color-primary: #3B6CF6;
    --color-primary-dark: #2550C8;
    --color-primary-soft: #EBF1FF;
    --color-line: #E3E8F2;
}

body {
    color: var(--text-strong);
}
::selection {
    background-color: var(--accent);
}


/* ---------- heading ---------- */

h2 {
    color: var(--text-strong);
    font-weight: var(--fw-800);
    letter-spacing: -0.035em;
    line-height: 1.25;
}
h2::before {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    margin-bottom: 22px;
    border-radius: 4px;
    background: var(--navy-900);
}
h2.align-center::before,
.wrapper .section01.model h2::before,
.wrapper .section02.manage h2::before,
.wrapper .section01.history h2::before,
.wrapper .section02.partner h2::before,
.tab-content h2::before {
    margin-left: auto;
    margin-right: auto;
}
h2 span {
    color: inherit;
}


/* ---------- hero ---------- */

.head_bg::before {
    background:
        radial-gradient(60% 80% at 85% 20%, rgba(59, 108, 246, 0.35) 0%, rgba(59, 108, 246, 0) 60%),
        radial-gradient(50% 60% at 10% 90%, rgba(34, 195, 238, 0.20) 0%, rgba(34, 195, 238, 0) 60%),
        linear-gradient(100deg, rgba(7, 14, 34, 0.94) 0%, rgba(7, 14, 34, 0.72) 45%, rgba(7, 14, 34, 0.35) 100%);
}
.head_bg .banner_txt p {
    font-weight: var(--fw-800);
}
.head_bg .banner_txt > span {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}
.head_bg .banner_txt span.banner_hope {
    display: block;
    margin-top: 16px;
}
.head_bg.sub::before {
    background:
        linear-gradient(180deg, rgba(7, 14, 34, 0.28) 0%, rgba(7, 14, 34, 0.06) 42%, rgba(7, 14, 34, 0.22) 100%);
}
.head_bg.sub .banner_txt p {
    font-weight: var(--fw-300);
    line-height: 1.3;
    text-shadow: 0 2px 18px rgba(7, 14, 34, 0.45);
}
.head_bg.sub .banner_txt p span {
    font-weight: var(--fw-700);
}


/* ---------- section ---------- */

.wrapper .section02,
.gray_bg {
    background-color: var(--surface);
}


/* ---------- solution list (index) ---------- */

.wrapper .section01 ul.solution li span {
    color: var(--text-strong);
    font-weight: var(--fw-700);
}
.wrapper .section01 ul.solution li,
.wrapper .section01 ul.solution li a {
    color: var(--text-body);
}


/* ---------- news (index) ---------- */

.news > div h3 {
    color: var(--text-strong);
    letter-spacing: -0.02em;
}
.news > div p {
    color: var(--text-body);
}


/* ---------- recruit cards ---------- */

.swiper.name .swiper-slide {
    background: transparent;
}
.swiper.name .swiper-slide > div {
    border-color: var(--line);
    border-radius: var(--radius-xl);
}
.swiper.name .swiper-slide > div h4 {
    color: var(--text-strong);
    letter-spacing: -0.02em;
}


/* ---------- accordion / process (job) ---------- */

.accordion-header {
    color: var(--text-strong);
    border-radius: var(--radius-lg);
}
.accordion-content {
    border-radius: var(--radius-lg);
}
.accordion-item:has(.accordion-content.open) {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.accordion-item:has(.accordion-content.open) .accordion-header {
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none;
}
.accordion-item:has(.accordion-content.open) .accordion-content.open {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: none;
    padding-top: 8px;
}
.accordion-item:hover .accordion-header,
.accordion-item:hover .accordion-content {
    border-color: var(--color-primary);
}
.process h3 {
    color: var(--text-strong);
    font-weight: var(--fw-800);
    letter-spacing: -0.03em;
}
.process ul li {
    border: 1px solid var(--line);
    background-color: var(--color-white);
    box-shadow: var(--shadow-card);
    color: var(--text-strong);
}
.process ul li span {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* ---------- history (company) ---------- */

.wrapper .section01.history h4 {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 8px;
    font-size: var(--fs-30);
    font-weight: var(--fw-800);
    letter-spacing: -0.03em;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.wrapper .section01.history h4::before {
    content: none;
}
.wrapper .section01.history ul li {
    color: var(--text-strong);
    line-height: 1.5;
}
.wrapper .section01.history ul li span {
    color: #8AA3C9;
    font-weight: var(--fw-600);
}


/* ---------- solution page ---------- */

.tab-content div.sol_img {
    background: linear-gradient(180deg, #FFFFFF 10%, var(--surface) 100%);
}
.tab-content div.cont dt {
    color: var(--text-strong);
    letter-spacing: -0.02em;
}
.tab-content div.cont dd span {
    color: var(--accent);
}


/* ---------- footer ---------- */

footer {
    background-color: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-grad);
    opacity: 0.8;
}
footer > div > .fl_con li,
footer > div > .fl_con li a,
footer > div > .fl_con p {
    color: rgba(255, 255, 255, 0.55);
}
.btn_map {
    border-color: rgba(255, 255, 255, 0.3);
}


/* ---------- top button ---------- */

#topBtn {
    border-radius: 16px;
    background: var(--accent-grad);
    box-shadow: 0 10px 24px rgba(59, 108, 246, 0.35);
}
#topBtn:hover {
    background: var(--accent-grad);
    filter: brightness(1.08);
}


/* ---------- mobile header ---------- */

@media screen and (max-width: 768px) {
    .mgnb {
        transition: background-color 0.3s, box-shadow 0.3s;
    }
    body.scrolled .mgnb {
        background-color: rgba(7, 14, 34, 0.88);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
    }
    .head_bg .banner_txt,
    .head_bg.sub .banner_txt {
        text-align: left;
    }
    .head_bg .banner_txt p,
    .head_bg .banner_txt > span {
        padding-left: 20px;
        padding-right: 20px;
    }
    .head_bg .banner_txt p {
        font-size: var(--fs-38);
    }
    .head_bg.sub .banner_txt p {
        font-size: var(--fs-26);
    }
    .nomg h2 {
        padding-left: 16px;
    }
    .nomg h2::before {
        margin-left: 0;
    }
    .wrapper .section01.history > div > div {
        padding: 24px;
        background-color: var(--color-white);
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
    }
    .wrapper .section02.partner ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .wrapper .section02.partner ul li {
        max-width: none;
        margin: 0;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid var(--line);
    }
}


/* =========================================================
   desktop layout
   ========================================================= */

@media screen and (min-width: 769px) {

    /* floating glass navigation */

    .gnb {
        position: fixed;
        top: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 48px);
        max-width: 1260px;
        min-height: 68px;
        padding: 0 12px 0 28px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 20px;
        background-color: rgba(7, 14, 34, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.10);
        -webkit-backdrop-filter: blur(10px) saturate(80%);
        backdrop-filter: blur(10px) saturate(80%);
        z-index: 1000;
        transition: background-color 0.3s, box-shadow 0.3s, top 0.3s;
    }
    body.scrolled .gnb {
        top: 10px;
        background-color: color-mix(in srgb, var(--navy-950) 75%, transparent);
        border-color: rgba(255, 255, 255, 0.08);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: 0 8px 24px rgba(7, 14, 34, 0.28);
    }
    .gnb h1 {
        position: static;
        width: 120px;
        height: 68px;
        background: url("../images/logo_w.svg") no-repeat left center;
        background-size: auto 30px;
    }
    .gnb ul {
        display: flex;
        gap: 4px;
        overflow: visible;
    }
    .gnb ul li {
        padding: 0;
    }
    .gnb ul li a {
        height: 44px;
        line-height: 44px;
        padding: 0 20px;
        border-radius: 12px;
        font-size: var(--fs-16);
        font-weight: var(--fw-500);
        opacity: 0.9;
        transition: background-color 0.2s, opacity 0.2s;
    }
    .gnb ul li a:hover {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.08);
    }
    .gnb ul li.active a {
        border-bottom: 0;
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.14);
    }

    /* hero */

    .head_bg {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: max(720px, 100vh) !important;
    }
    .head_bg::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 36px;
        width: 1px;
        height: 56px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);
        animation: scrollCue 2s ease-in-out infinite;
    }
    .head_bg.sub,
    .head_bg.sub.solution,
    .head_bg.sub.customer,
    .head_bg.sub.job,
    .head_bg.sub.board {
        min-height: 480px !important;
    }
    .head_bg.sub::after {
        content: none;
    }
    .head_bg .banner_txt {
        max-width: 1260px;
        padding: 0 48px;
        text-align: left;
    }
    .head_bg .banner_txt p {
        font-size: clamp(3.25rem, 5.6vw, 5.25rem);
        line-height: 1.08;
        letter-spacing: -0.035em;
        background: linear-gradient(180deg, #FFFFFF 30%, #B9CCFF 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    .head_bg .banner_txt > span {
        max-width: 640px;
        margin-top: 32px;
        font-size: var(--fs-18);
    }
    .head_bg.sub .banner_txt {
        padding-top: 84px;
    }
    .head_bg.sub .banner_txt p {
        font-size: var(--fs-44);
        line-height: 1.25;
        background: none;
        color: var(--color-white);
    }
    .head_bg.sub .banner_txt p span {
        font-size: inherit;
    }

    /* sections */

    .wrapper .section01 {
        padding-top: 140px;
        padding-bottom: 140px;
    }
    .wrapper .section02 {
        padding-top: 140px;
        padding-bottom: 140px;
    }
    h2 {
        font-size: var(--fs-44);
        margin-bottom: 48px;
    }
    .wrapper .section01.history h2 {
        margin-bottom: 64px;
    }

    /* solution bento (index) */

    .wrapper .section01 ul.solution {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
    .wrapper .section01 ul.solution li {
        padding: 150px 24px 36px !important;
        background-position: top 32px center;
        background-size: 96px auto;
        background-color: var(--color-white);
        border: 1px solid var(--line);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-card);
        line-height: 1.6;
        transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
    }
    .wrapper .section01 ul.solution li:hover {
        transform: translateY(-8px);
        border-color: rgba(59, 108, 246, 0.45);
        box-shadow: var(--shadow-hover);
    }
    .wrapper .section01 ul.solution li span {
        font-size: var(--fs-19);
        margin-bottom: 12px;
    }

    /* news cards (index) */

    .news {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .news > div {
        flex-direction: column;
        margin-bottom: 0;
        padding: 0;
        min-height: 0;
        overflow: hidden;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-card);
    }
    .news > div:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-6px);
    }
    .news > div img {
        width: 100%;
        height: 190px;
        margin-right: 0;
        padding: 24px 40px;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
        object-fit: contain;
        background-color: var(--color-white);
    }
    .news > div a {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 28px;
    }
    .news > div h3 {
        font-size: var(--fs-20);
        line-height: 1.45;
    }
    .news > div p {
        padding-right: 0;
        margin-top: 12px;
        font-size: var(--fs-15);
        line-height: 1.65;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .news > div span {
        margin-top: auto;
        padding-top: 20px;
        font-size: var(--fs-13);
        color: var(--color-999);
    }

    /* contact cards (index) */

    div.contact {
        margin-top: 0;
    }
    div.contact > div {
        padding: 32px 20px 32px 88px;
        border-radius: var(--radius-xl);
        background-position: left 20px center;
        background-size: 48px auto;
    }

    /* recruit swiper */

    .swiper.name .swiper-slide > div {
        padding: 28px;
    }

    /* company */

    .wrapper .section01.model {
        background-position: top 0 left 50%;
    }
    .wrapper .section02.manage div img {
        margin-top: 0;
    }
    .wrapper .section01.history > div {
        gap: 16px;
    }
    .wrapper .section01.history > div > div:not(:last-child)::after {
        content: none;
    }
    .wrapper .section01.history > div > div {
        padding: 32px 24px;
        background-color: var(--color-white);
        border: 1px solid var(--line);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-card);
        transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    }
    .wrapper .section01.history > div > div:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
    }
    .wrapper .section01.history ul li {
        padding-right: 0;
        font-size: var(--fs-16);
    }
    .wrapper .section02.partner ul {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
    }
    .wrapper .section02.partner ul li {
        max-width: none;
        margin: 0;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 16px;
        background-color: var(--color-white);
        transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    }
    .wrapper .section02.partner ul li:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-card);
    }
    .wrapper .section02.partner ul li img {
        display: block;
        filter: grayscale(100%);
        opacity: 0.85;
        transition: filter 0.3s, opacity 0.3s;
    }
    .wrapper .section02.partner ul li:hover img {
        filter: none;
        opacity: 1;
    }

    /* solution tabs → segmented control */

    .tab-buttons {
        gap: 6px;
        padding: 6px;
        border-radius: 20px;
        background-color: var(--surface);
        border: 1px solid var(--line);
    }
    .tab-button {
        height: 60px;
        border: 0;
        border-radius: 14px;
        background-color: transparent;
        font-size: var(--fs-17);
        color: var(--text-body);
    }
    .tab-button.active {
        color: var(--color-white);
        border-bottom: 0;
        background: var(--navy-900);
        box-shadow: 0 8px 20px rgba(11, 21, 48, 0.2);
    }
    .tab-content div.cont dl {
        padding: 32px 36px;
        border: 1px solid var(--line);
        border-radius: var(--radius-xl);
        background-color: var(--color-white);
        box-shadow: var(--shadow-card);
    }

    /* customer */

    .real-cont {
        overflow: hidden;
        border-radius: 0;
        border: 1px solid var(--line);
    }
    .wrapper .section02.msg > div {
        gap: 20px;
    }
    .wrapper .section02.msg > div > div {
        padding: 36px 24px 36px 124px;
        background-color: var(--color-white);
        background-position: left 28px center;
        border: 1px solid var(--line);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-card);
        color: var(--text-strong);
    }

    /* news board */

    .board_box .content > div {
        border-radius: var(--radius-xl);
        padding: 28px;
        align-items: center;
    }
    .board_box .content > div:hover {
        transform: translateY(-3px);
        border-color: rgba(59, 108, 246, 0.35);
    }

    /* footer */

    footer {
        padding: 64px 0;
    }
}

@keyframes scrollCue {
    0%, 100% { opacity: 0.2; transform: translateY(-8px); }
    50% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .head_bg::after {
        animation: none;
    }
}
