@charset "utf-8";

/* ===========================
   서브 페이지 공통
   - 폰트 사이즈는 main.css의 .section-eyebrow / .section-title / .section-desc를 그대로 상속
=========================== */

/* ===========================
   SUB HERO (다크)
=========================== */
.sub-hero {
    position: relative;
    padding: calc(var(--header-height) + 6rem) 0 6rem;
    background: #050b2a url('../images/sub_hero_bg.png') no-repeat center center / cover;
    color: #fff;
    text-align: left;
    overflow: hidden;
    min-height: 28rem;
    display: flex;
    align-items: center;
}
/* 제품 페이지 전용 히어로 배경 */
.page-product .sub-hero {
    background-image: url('../images/sub_hero_bg_product.png');
}
.sub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 18, 56, 0.5);
    z-index: 1;
    pointer-events: none;
}
.sub-hero .inner { position: relative; z-index: 2; }
.sub-hero .section-eyebrow { color: var(--color-primary); }
.sub-hero-title {
    font-size: clamp(2.25rem, 4vw, 4rem);   /* hero보다 한 단계 작게 (최대 64px) */
    font-weight: 600;
    line-height: 1.2;
    margin: 0.75rem 0 1.5rem;
    color: #fff;
    letter-spacing: -0.035em;
}
.sub-hero-title .accent { font-weight: 700; }
.sub-hero-desc {
    font-size: 1.5rem;        /* 24px - section-desc와 동일 */
    font-weight: 100;
    line-height: 1.55;
    color: rgba(255,255,255,.95);
}

/* ===========================
   PROBLEM (흰 배경 카드 3개)
=========================== */
.problem { background: #fff; }
.problem-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.problem-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2.25rem;
    border-radius: 1.25rem;
    background: linear-gradient(160deg, #FAFBFD 0%, #EFF1F5 100%);
    border: 1px solid #F0F2F6;
    aspect-ratio: 5.4 / 4.6;
}
.problem-tag {
    align-self: flex-start;
    padding: 0.4rem 0.85rem;
    border-radius: 7px;
    background: #ECEEF2;
    color: #6B7280;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 1.25rem;
}
.problem-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}
.problem-card p {
    font-size: 1.2rem;
    font-weight: 200;
    color: #282828;
    line-height: 1.6;
}
.problem-card .icon {
    align-self: flex-end;
    margin-top: auto;
    width: 5rem;
    height: 5rem;
    border-radius: 0.6rem;
    background: #fff no-repeat center / 2.25rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,.06);
}
/* 카드별 아이콘 (이미지 교체 영역) */
.problem-card[data-icon="review"] .icon { background-image: url('../images/ico_problem_review.png'); }
.problem-card[data-icon="onsite"] .icon { background-image: url('../images/ico_problem_onsite.png'); }
.problem-card[data-icon="ops"]    .icon { background-image: url('../images/ico_problem_ops.png'); }

/* ===========================
   TECHNOLOGY (다크 + 다이어그램)
=========================== */
.technology {
    background: #091126;
    color: #fff;
}
.technology .section-eyebrow {
    background: linear-gradient(90deg, #0078EA 0%, #4DB6FF 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.technology .section-title { color: #fff; }
.technology .section-title .accent {
    background: linear-gradient(90deg, #0078EA 0%, #4DB6FF 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.tech-head {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 3rem;
}
.tech-head-right {
    color: rgba(255,255,255,.85);
}
.tech-head-right p {
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.25rem;
}
.btn-text {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 500;
    padding-bottom: 0.15rem;
    background-image: linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    background-position: 100% 100%;       /* 기본: 밑줄 우측 끝에서 시작 */
    background-size: 100% 1px;            /* 기본: 풀 길이 */
    transition: background-size .45s cubic-bezier(.65,.05,.2,1), color .25s ease;
}
/* 호버 시 일단 우측에서 0%로 줄여(우→좌로 사라짐)... */
.btn-text:hover {
    background-size: 0% 1px;
}
/* ...그 다음 좌측에서 다시 100%로 자라남 */
.btn-text:hover {
    animation: btnTextLine .85s cubic-bezier(.65,.05,.2,1) forwards;
}
@keyframes btnTextLine {
    0%   { background-position: 100% 100%; background-size: 100% 1px; }
    50%  { background-position: 100% 100%; background-size: 0% 1px; }
    51%  { background-position: 0% 100%;   background-size: 0% 1px; }
    100% { background-position: 0% 100%;   background-size: 100% 1px; }
}
.btn-text:hover { color: #5DBBFF; }
.btn-text .arrow { display: inline-flex; transition: transform .3s ease; }
.btn-text .arrow::after { content: '→'; }
.btn-text:hover .arrow { transform: translateX(4px); }

.tech-diagram {
    width: 100%;
    aspect-ratio: 16 / 7;
    background: url('../images/tech_diagram.png') no-repeat center / contain;
}

/* ===========================
   AI STEPS (4단계 카드 + 사이 파란 원형 화살표)
=========================== */
.ai-steps { background: #F4F7FB; }
.steps-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
}
.step-item {
    position: relative;
    padding: 2rem 1.75rem;
    background: #fff;
    border: 1px solid #EAEDF3;
    border-radius: 1rem;
}
/* 카드 사이 원형 파란 화살표 + 옅은 파란 후광(halo)
   - gap이 1rem(16px)이므로 카드 좌측에서 -0.5rem 위치하면 gap의 정중앙 */
.step-item + .step-item::before {
    content: '→';
    position: absolute;
    left: -0.5rem;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #0078EA;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 8px rgba(0,120,234,.12);
}
.step-num {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: #0078EA;
    margin-bottom: 0.625rem;
}
.step-item h3 {
    font-size: 1.65rem;       /* 1.5rem +10% */
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: var(--color-text);
}
.step-item p {
    font-size: 1rem;
    font-weight: 300;
    color: #4A4F5B;
    line-height: 1.65;
}

/* ===========================
   WHY (시안: 다크 배경 전체 위에 좌측 파란 카드 / 우측 통계)
=========================== */
.why { background: #fff; }
.why-body {
    position: relative;
    padding: 2.4rem;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #061640 url('../images/why_chart_bg.png') no-repeat center / cover;
    min-height: 32rem;
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 3rem;
    align-items: stretch;
}
.why-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1,20,49,0) 0%, rgba(1,20,49,1) 90%);
    pointer-events: none;
    z-index: 0;
}
.why-features,
.why-stats { position: relative; z-index: 1; }

/* 좌측 - 진한 순수 파란 카드 */
.why-features {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.75rem 2.5rem;
    background: #164ACF;
    border-radius: 1rem;
    color: #fff;
    box-shadow: 0 1.25rem 2.5rem rgba(0,40,120,.3);
}
.why-features li {
    padding: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
/* 아이콘만 (감싸는 박스 없음) */
.why-features li::before {
    content: '';
    width: 1.95rem;     /* 48px - 35% ≈ 31px */
    height: 1.95rem;
    background: no-repeat center / contain;
}
/* 각 항목 아이콘 (이미지 교체 영역) */
.why-features li:nth-child(1)::before { background-image: url('../images/ico_why_01.png'); }
.why-features li:nth-child(2)::before { background-image: url('../images/ico_why_02.png'); }
.why-features li:nth-child(3)::before { background-image: url('../images/ico_why_03.png'); }
.why-features h4 {
    font-size: 1.475rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}
.why-features p {
    font-size: 1rem;
    font-weight: 200;
    color: rgba(255,255,255,.85);
    line-height: 1.65;
    padding-left: 0;
    margin-top: -0.25rem;
}

/* 우측 - 통계 (하단 가운데 정렬) */
.why-stats {
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;       /* 하단 정렬 */
    align-items: center;
    gap: 1.25rem;
}
.stat-label {
    font-size: 1.35rem;             /* 18px */
    font-weight: 300;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}
.stat-row {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: center;
    margin: 0;
}
/* 가운데 세로 구분선 */
.stat-row .stat-item + .stat-item {
    border-left: 1px solid rgba(104, 174, 255, 0.5);
    padding-left: 3rem;
    margin-left: 3rem;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
/* 숫자 + % + 화살표 모두 동일 그라데이션 */
.stat-num {
    display: inline-flex;
    align-items: baseline;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #73D6FF 0%, #65A5FF 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.stat-num b {
    display: inline-block;
    min-width: 2.4ch;                /* 2자리 폭 고정 - 카운트 중 흔들림 방지 */
    text-align: right;
    font-weight: 800;
    font-size: 3.75rem;              /* 60px - 숫자 */
    font-variant-numeric: tabular-nums;
}
.stat-num em {
    font-style: normal;
    font-weight: 700;
    font-size: 1.625rem;             /* 26px - %는 훨씬 작게 */
    margin-left: 0.1rem;
}
.stat-num .down,
.stat-num .up {
    font-style: normal;
    font-weight: 700;
    font-size: 3.25rem;              /* 52px */
    line-height: 1;
    margin-left: 0.375rem;
    /* 그라데이션 상속(transparent 부모) */
}
.stat-title {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,.85);
}
.stat-note {
    font-size: 0.83rem;
    color: rgba(255,255,255,.55);
    margin: 0.2rem 0 0;
    text-align: center;
    font-weight: 100;
}

/* ===========================
   CTA BANNERS (회사소개서 / 문의)
=========================== */
/* CTA BANNERS - 회색 배경 위 흰 박스 카드 2개 (가운데 옅은 구분선) */
.cta-banners {
    padding: 2.5rem 0;
    background: #F5F7FA;
}
/* product 페이지에서만 흰 배경 + 하단 구분선 */
.page-product .cta-banners {
    background: #fff;
    border-bottom: 1px solid #EEEEEE;
}
.cta-banners .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    position: relative;
}
/* 가운데 옅은 세로 구분선 */
.cta-banners .inner::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 60%;
    background: #DDE2EA;
}
.cta-card {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    transition: opacity .25s;
}
.cta-card:hover { opacity: 0.7; }
/* 아이콘 박스 (이미지 교체 영역) */
.cta-card-icon {
    width: 4.8rem;                  /* 3.5rem +40% */
    height: 4.8rem;
    border-radius: 0.4rem;
    background: #fff no-repeat center / 1.7rem;
    flex: 0 0 auto;
}
.cta-card[data-icon="doc"]  .cta-card-icon { background-image: url('../images/ico_cta_doc.png'); }
.cta-card[data-icon="mail"] .cta-card-icon { background-image: url('../images/ico_cta_mail.png'); }
/* product 페이지에서만 아이콘 박스 옅은 회색 */
.page-product .cta-card-icon { background-color: #F4F7FB; }

.cta-card-text { flex: 1; }
.cta-card-text h3 {
    font-size: 1.5rem;             /* 1.25rem +20% */
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}
.cta-card-text p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-text-sub);
}

/* ===========================
   PRODUCT 페이지
=========================== */

/* 제품 탭 네비게이션 (히어로 바로 아래 파란 바) */
.product-nav {
    background: #0078EA;
    position: sticky;
    top: var(--header-height);   /* 헤더 높이만큼 아래에 붙음 */
    z-index: 50;
}
.product-nav .inner {
    display: flex;
    justify-content: center;
    gap: 0;
}
.product-nav-link {
    position: relative;
    padding: 1.25rem 2.5rem;
    color: rgba(255,255,255,.75);
    font-size: 1.0625rem;
    font-weight: 500;
    transition: color .25s ease, transform .25s ease;
}
.product-nav-link:hover { transform: translateY(-1px); }
.product-nav-link:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -0.125rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.4);
}
.product-nav-link:hover { color: #fff; }
.product-nav-link.active {
    color: #fff;
}
/* 흰 밑줄 - 기본은 0%(가운데 점), 활성 시 양쪽으로 펼쳐짐 */
.product-nav-link::before {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -1px;            /* 바닥에 딱 붙도록 -1px */
    height: 3.5px;             /* 2px → 3px (살짝 두껍게) */
    background: #fff;
    transition: left .45s cubic-bezier(.22,.61,.36,1),
                right .45s cubic-bezier(.22,.61,.36,1),
                opacity .25s ease;
    opacity: 0;
}
.product-nav-link.active::before {
    left: 1.5rem;
    right: 1.5rem;
    opacity: 1;
}

/* 제품 상세 섹션 */
.product-detail { background: #fff; padding: 6rem 0; }
/* 제품 라벨 - 상단 작은 번호 + 구분선 (모든 제품 공통) */
.pd-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 2.5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #E5E9F0;
}
.pd-label-num {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0078EA;
    letter-spacing: 0.04em;
}
.pd-label-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #8C95A4;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.pd-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
}
.product-detail.reverse .pd-row { grid-template-columns: 1.15fr 1fr; }
.product-detail.reverse .pd-text { order: 2; }
.product-detail.reverse .pd-visual { order: 1; }

.pd-text { padding: 1rem 0; }
.pd-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.025em;
    margin-bottom: 0.625rem;
}
.pd-sub {
    font-size: 1.0625rem;
    font-weight: 400;
    color: #8C95A4;
    margin-bottom: 1.5rem;
}
.pd-desc {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.55;
    color: #282828;
    margin-bottom: 2rem;
}
.pd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}
.pd-tags li {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: #F3F5F9;
    color: #4A4F5B;
    font-size: 0.9375rem;
    font-weight: 400;
}

/* 본문 안 다크 텍스트 링크 (POC 문의하기 →) - 호버 시 밑줄 우→좌 빠지고 좌→우 다시 그려짐 */
.btn-text-dark {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    font-size: 1.0625rem;
    font-weight: 600;
    padding-bottom: 0.15rem;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-size: 100% 1px;
    transition: background-size .45s cubic-bezier(.65,.05,.2,1), color .25s ease;
}
.btn-text-dark:hover {
    background-size: 0% 1px;
    animation: btnTextLine .85s cubic-bezier(.65,.05,.2,1) forwards;
}
.btn-text-dark .arrow { display: inline-flex; transition: transform .3s ease; }
.btn-text-dark .arrow::after { content: '→'; }
.btn-text-dark:hover { color: #0078EA; }
.btn-text-dark:hover .arrow { transform: translateX(4px); }

/* 비주얼(이미지) */
.pd-visual {
    position: relative;
    aspect-ratio: 5 / 3.5;
    border-radius: 1.25rem;
    background: #F4F7FB no-repeat center;
    background-size: 80%;       /* 20% 작게 - 안쪽 여백 확보 */
}
.pd-visual[data-img="erp"] { background-image: url('../images/product_erp.png'); }
.pd-visual[data-img="mes"] { background-image: url('../images/product_mes.png'); }
.pd-visual[data-img="bid"] { background-image: url('../images/product_bid.png'); }

.dev-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #0078EA;
    color: #0078EA;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ===========================
   POC TYPES (3 카드, 가운데 카드만 강조)
=========================== */
.poc-types { background: #F4F7FB; }
.poc-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
}
.poc-card {
    display: flex;
    flex-direction: column;
    padding: 2.75rem 2.25rem;
    background: #fff;
    border: 2px solid #EAEDF3;
    border-radius: 1rem;
    min-height: 33rem;
    transition: border-color .3s ease, background .3s ease, box-shadow .3s ease, transform .3s ease;
}
/* 호버 시 강조 (가운데 카드처럼) */
.poc-card:hover {
    border-color: #0078EA;
    background: #F0F7FF;
    box-shadow: 0 1rem 2rem rgba(0,120,234,.08);
}
.poc-step {
    align-self: flex-start;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    background: rgba(0,120,234,.14);
    color: #0078EA;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: .04em;
    margin-bottom: 1.25rem;
}
.poc-card h3 {
    font-size: 1.75rem;          /* 24px → 28px */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}
.poc-card > p {
    font-size: 1.125rem;         /* 16px → 18px */
    font-weight: 300;
    line-height: 1.6;
    color: #4A4F5B;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EEEEEE;
}
/* meta (대상 / 범위 / 결과) */
.poc-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.poc-meta > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}
.poc-meta dt {
    flex: 0 0 auto;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    background: #EFF1F5;
    color: #6B7280;
    font-size: 0.8125rem;
    font-weight: 500;
}
/* 결과 뱃지는 파란 톤으로 강조 */
.poc-meta > div:last-child dt {
    background: rgba(0,120,234,.14);
    color: #0078EA;
}
.poc-meta dd { color: #282828; }

.poc-btn {
    margin-top: auto;
    display: block;
    text-align: center;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background: #fff;
    border: 1px solid #D4D4D4;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    transition: all .25s ease;
}
/* 카드 호버 시 버튼도 파란 채움으로 전환 */
.poc-card:hover .poc-btn {
    background: #0078EA;
    border-color: #0078EA;
    color: #fff;
    font-weight: 600;
}

/* ===========================
   반응형 (5단계: 1400 / 1200 / 1024 / 768 / 480)
=========================== */

/* 와이드 (1400 이하) */
@media (max-width: 1400px) {
    .sub-hero { min-height: 24rem; padding: calc(var(--header-height) + 5rem) 0 5rem; }
    .why-body { min-height: 28rem; padding: 2rem; }
    .stat-num b { font-size: 3.25rem; }
}

/* 데스크탑 (1200 이하) */
@media (max-width: 1200px) {
    .sub-hero-desc { font-size: 1.375rem; }

    .problem-card { padding: 2rem 1.75rem; }
    .problem-card h3 { font-size: 1.5rem; }
    .problem-card p { font-size: 1.0625rem; }

    .tech-head { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }

    .steps-list { gap: 0.75rem; }
    .step-item { padding: 1.5rem 1.25rem; }
    .step-item h3 { font-size: 1.375rem; }
    .step-item + .step-item::before { display: none; }   /* 좁아지면 화살표 숨김 */

    .why-features { padding: 2.25rem 1.75rem; gap: 2rem; }
    .why-features h4 { font-size: 1.25rem; }
    .stat-num b { font-size: 3rem; }
    .stat-num em { font-size: 1.375rem; }
    .stat-num .down, .stat-num .up { font-size: 2.5rem; }
}

/* 태블릿 (1024 이하) */
@media (max-width: 1024px) {
    /* 문제 카드 2+1 */
    .problem-list { grid-template-columns: 1fr 1fr; }
    .problem-card { aspect-ratio: 5.4 / 4; }
    .problem-card:last-child { grid-column: 1 / -1; aspect-ratio: 12 / 4; }

    /* 4단계 → 2x2 */
    .steps-list { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    /* WHY 세로 스택 */
    .why-body { grid-template-columns: 1fr; min-height: auto; gap: 1.5rem; }
    .why-features { padding: 2rem 1.75rem; }
    .why-stats { padding: 1.5rem 0 0.5rem; }
    .stat-row { gap: 1.5rem; }
    .stat-row .stat-item + .stat-item { padding-left: 1.5rem; margin-left: 1.5rem; }

    /* CTA 두 카드 그대로 가로 유지 가능 */
    .cta-card-icon { width: 4rem; height: 4rem; background-size: 2rem; }
    .cta-card-text h3 { font-size: 1.25rem; }

    /* 제품 페이지 - 상세 좌우 → 세로 스택 (텍스트 항상 위) */
    .product-detail { padding: 4.5rem 0; }
    .pd-row,
    .product-detail.reverse .pd-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .pd-text,
    .product-detail.reverse .pd-text { order: 0; }
    .pd-visual,
    .product-detail.reverse .pd-visual { order: 1; }
    /* 짝수 번째 제품(MES) 배경 톤 살짝 다르게 → 시각적 구분 */
    .product-detail.reverse { background: #F8FAFC; }
    /* 섹션 배경과 비주얼 박스 톤이 겹치지 않도록 비주얼은 흰색으로 */
    .product-detail.reverse .pd-visual { background-color: #fff; }
    .pd-label { padding-bottom: 1.75rem; margin-bottom: 2.25rem; }
    .pd-title { font-size: 2.125rem; }
    .pd-desc { font-size: 1.125rem; }
    .pd-visual { aspect-ratio: 5 / 3; background-size: 70%; }

    /* 제품 탭 - 간격 줄이기 */
    .product-nav-link { padding: 1rem 1.5rem; font-size: 1rem; }

    /* POC 카드 - 3 → 2 */
    .poc-list { grid-template-columns: 1fr 1fr; }
    .poc-card { min-height: auto; padding: 2rem 1.75rem; }
    .poc-card:last-child { grid-column: 1 / -1; }
}

/* 모바일 (768 이하) */
@media (max-width: 768px) {
    .sub-hero {
        padding: calc(var(--header-height) + 3rem) 0 3rem;
        min-height: auto;
    }
    .sub-hero::before { background: rgba(3, 18, 56, 0.7); }
    .sub-hero-title { font-size: 2rem; }
    .sub-hero-title br { display: none; }
    .sub-hero-desc { font-size: 1.0625rem; }
    .sub-hero-desc br { display: none; }

    /* 문제 카드 1단 */
    .problem-list { grid-template-columns: 1fr; gap: 0.75rem; }
    .problem-card,
    .problem-card:last-child {
        aspect-ratio: auto;
        grid-column: auto;
        padding: 1.75rem 1.5rem;
    }
    .problem-card h3 { font-size: 1.375rem; }
    .problem-card p { font-size: 1rem; }
    .problem-card .icon { width: 4rem; height: 4rem; background-size: 1.75rem; }

    /* 테크 */
    .tech-head { gap: 1rem; margin-bottom: 2rem; }
    .tech-head-right p { font-size: 1rem; }
    .tech-diagram { aspect-ratio: 4 / 3; }

    /* 4단계 → 1단 */
    .steps-list { grid-template-columns: 1fr; gap: 0.75rem; }
    .step-item { padding: 1.5rem 1.25rem; }
    .step-item h3 { font-size: 1.25rem; }

    /* WHY - 모바일에선 features 카드가 풀폭 + 상단 꽉 차게 */
    .why-body {
        padding: 0;
        gap: 0;
    }
    .why-features {
        margin: 0;
        padding: 2rem 1.5rem;
        gap: 1.75rem;
        border-radius: 0;
        width: 100%;
        box-shadow: none;
    }
    .why-features h4 { font-size: 1.125rem; }
    .why-features p { font-size: 0.9375rem; }
    .why-stats { padding: 1.5rem; }
    .stat-label { font-size: 1rem; }
    .stat-num b { font-size: 2.5rem; }
    .stat-num em { font-size: 1.125rem; }
    .stat-num .down, .stat-num .up { font-size: 2rem; }
    .stat-title { font-size: 0.9375rem; }
    .stat-row .stat-item + .stat-item { padding-left: 1.25rem; margin-left: 1.25rem; }

    /* CTA 1단 */
    .cta-banners { padding: 2.5rem 0; }
    .cta-banners .inner {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        justify-items: stretch;
    }
    .cta-banners .inner::before { display: none; }  /* 세로 구분선 → 가로 구분선 */
    .cta-card + .cta-card {
        border-top: 1px solid #DDE2EA;
        padding-top: 1.25rem;
    }
    .cta-card { padding: 0.75rem 1rem; justify-content: flex-start; gap: 1rem; }
    .cta-card-icon { width: 3.25rem; height: 3.25rem; background-size: 1.625rem; }
    .cta-card-text h3 { font-size: 1.125rem; }
    .cta-card-text p { font-size: 0.875rem; }

    /* 제품 페이지 - 모바일 */
    .product-detail { padding: 3rem 0; }
    .pd-row,
    .product-detail.reverse .pd-row { gap: 2rem; }
    .pd-title { font-size: 1.75rem; }
    .pd-sub { font-size: 1rem; margin-bottom: 1rem; }
    .pd-desc { font-size: 1rem; margin-bottom: 1.5rem; }
    .pd-desc br { display: none; }
    .pd-tags { margin-bottom: 1.75rem; }
    .pd-tags li { padding: 0.4rem 0.875rem; font-size: 0.875rem; }
    .pd-visual { aspect-ratio: 5 / 3.5; border-radius: 1rem; }

    /* 제품 탭 - 모바일에서 가로 스크롤 */
    .product-nav .inner {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .product-nav .inner::-webkit-scrollbar { display: none; }
    .product-nav-link {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .product-nav-link.active::before {
        left: 1rem;
        right: 1rem;
    }
    .product-nav-link:not(:last-child)::after { display: none; }

    /* POC 카드 1단 */
    .poc-list { grid-template-columns: 1fr; }
    .poc-card,
    .poc-card:last-child {
        grid-column: auto;
        padding: 2rem 1.5rem;
    }
    .poc-card h3 { font-size: 1.375rem; }
    .poc-card > p { font-size: 1rem; }

    .dev-badge { font-size: 0.75rem; top: 0.75rem; right: 0.75rem; }
}

/* 소형 모바일 (480 이하) */
@media (max-width: 480px) {
    .sub-hero-title { font-size: 1.75rem; }

    /* 60% / 54% 가로 유지, 사이즈만 줄여서 한 줄에 들어가게 */
    .stat-num b { font-size: 2.4rem; }
    .stat-num em { font-size: 1.125rem; }
    .stat-num .down, .stat-num .up { font-size: 1.95rem; }
    .stat-row { gap: 0.75rem; }
    .stat-row .stat-item + .stat-item {
        padding-left: 0.75rem;
        margin-left: 0.75rem;
    }
}

/* ===========================
   ABOUT 페이지
=========================== */

/* BIG QUOTE - 스크롤 진행에 따라 한 글자씩 회색→파란색 차오름 */
.big-quote {
    background: #fff;
    padding: 12rem 0 8rem;        /* 상단 여백 크게 - 인터랙션 시간 확보 */
}
.big-quote-text {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);   /* 최대 72px */
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.035em;
    text-align: left;
    margin: 0 0 5rem;
}
/* 따옴표 - fill에서 분리, 항상 진한 포인트 컬러 유지 */
.big-quote-text .bq-mark {
    color: #0FADFF;
    font-weight: 800;
    margin: 0 0.15em;
}
.big-quote-text .bq-fill { display: inline; }
.big-quote-text .fc {
    color: #E5E9F0;
    transition: color .25s ease;
}
.big-quote-text .fc.is-filled {
    color: #0FADFF;
}

/* 본문 영역 - 좌측 텍스트 + 우측 이미지 */
.bq-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.bq-text { padding-top: 1rem; }
.bq-sub {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 2.5rem;
}
.bq-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.bq-paragraphs p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: #4A4F5B;
}
.bq-thanks {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 3rem;
}
.bq-signature {
    display: block;
    margin-top: 1rem;
}
.bq-signature img {
    height: 1.44rem;
    width: auto;
    display: block;
}

/* 우측 이미지 영역 - 시안 비율
   메인:사이드 ≈ 70 : 24, 사이드 약 13% 아래로 옵셋 */
.bq-visual {
    display: flex;
    gap: 4%;
    align-items: flex-start;
    width: 100%;
    overflow: visible;
}
.bq-img {
    position: relative;
    border-radius: 1.5rem;
    background: #F4F7FB;
    box-shadow: 0 1rem 2rem rgba(10, 30, 80, 0.04);
    min-width: 0;
    overflow: hidden;
}
/* 이미지 영역 안 우측 하단 - AI 생성 안내 */
.bq-ai-note {
    position: absolute;
    right: 1rem;
    bottom: 0.875rem;
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.01em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    z-index: 2;
    pointer-events: none;
}
.bq-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bq-img-main {
    flex: 0 0 70%;
    aspect-ratio: 1 / 1;
}
.bq-img-side {
    flex: 0 0 26%;
    aspect-ratio: 1 / 3;
    margin-top: 13%;
}

/* 우리가 가는 길 (roadmap) - 배경색 추가 */
.roadmap { background: #F4F7FB; }

@media (max-width: 1024px) {
    .big-quote { padding: 8rem 0 6rem; }
    .big-quote-text { margin-bottom: 3.5rem; }
    .bq-body { grid-template-columns: 1fr; gap: 3rem; }
    .bq-sub { font-size: 1.375rem; }
    .bq-img-side { margin-top: 2rem; }
}
@media (max-width: 768px) {
    .big-quote { padding: 5rem 0 4rem; }
    .big-quote-text { margin-bottom: 2.5rem; }
    .big-quote-text br { display: none; }
    .bq-sub { font-size: 1.125rem; margin-bottom: 1.75rem; }
    .bq-sub br,
    .bq-paragraphs p br { display: none; }
    .bq-paragraphs { gap: 1rem; margin-bottom: 2rem; }
    .bq-paragraphs p { font-size: 0.9375rem; }
    .bq-thanks { margin-bottom: 2rem; }
    .bq-visual { flex-direction: row; }
    .bq-img-main { aspect-ratio: 4 / 3; }
    .bq-img-side { width: 35%; aspect-ratio: 1 / 2; margin-top: 1rem; }
}
@media (max-width: 480px) {
    .bq-visual { flex-direction: column; }
    .bq-img-side { width: 100%; aspect-ratio: 4 / 2; margin-top: 0; }
}

/* 회사소개 히어로 - 가운데 정렬 + 하단 키 항목 */
.page-about .sub-hero {
    background-image: url('../images/sub_hero_bg_about.png');
    text-align: center;
    min-height: 42rem;
    padding: calc(var(--header-height) + 5rem) 0 0;
    align-items: stretch;
}
.page-about .sub-hero .inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}
.page-about .sub-hero::before {
    background: #031238;
    opacity: 0.55;
}
.about-hero .ah-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-hero .sub-hero-title { text-align: center; }
.about-hero .sub-hero-desc { text-align: center; margin: 0 auto; }

/* 하단 키 항목 4개 (Focus / Stack / Roadmap / Stage)
   - inner 안에 있지만 가로 전체로 #031238 50% 배경 깔림 */
.ah-keys {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 2rem 0 2.25rem;
}
.ah-keys::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;                 /* 가로 전체 폭 */
    background: rgba(3, 18, 56, 0.5);
    z-index: -1;
}
.ah-keys li {
    text-align: left;
    padding: 0 1.5rem;
    color: #fff;
}
.ah-keys li + li {
    border-left: 1px solid rgba(255,255,255,.12);
}
.ah-keys-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255,255,255,.6);
    margin-bottom: 0.5rem;
}
.ah-keys p {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255,255,255,.9);
}
.ah-keys p b {
    font-weight: 700;
    color: #5DBBFF;
}

/* ===========================
   ROADMAP (4단계 가로 타임라인)
=========================== */
.roadmap { background: #F4F7FB; }
.roadmap .section-head { margin-bottom: 5rem; }
.roadmap .section-title { font-weight: 700; }

/* CSS 변수로 트랙(라인) 위치/두께 통제 → 반응형에서 한 줄만 바꾸면 됨 */
.roadmap-list {
    --rm-track-top: 1rem;       /* 라인의 .roadmap-list 기준 y 위치 */
    --rm-track-height: 1px;     /* 라인 두께 */
    --rm-dot-size: 0.75rem;     /* 점 사이즈 */
    --rm-content-gap: 2rem;     /* 트랙 ~ 콘텐츠 시작점까지 거리 */
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-top: calc(var(--rm-track-top) + var(--rm-content-gap));
}
/* 전체 라인 - 옅은 회색, 스크롤 도착 시 좌→우로 그려짐 */
.roadmap-list::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: var(--rm-track-top);
    height: var(--rm-track-height);
    background: #E5E9F0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(.22,.61,.36,1);
}
.roadmap-list.is-in::before {
    transform: scaleX(1);
}
/* 진행된 부분(첫 단계까지) - 파란 라인, 회색 트랙 다음에 이어서 등장 */
.roadmap-list::after {
    content: '';
    position: absolute;
    left: 0;
    top: var(--rm-track-top);
    width: 25%;
    height: var(--rm-track-height);
    background: #0FADFF;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .7s cubic-bezier(.22,.61,.36,1) .9s;
}
.roadmap-list.is-in::after {
    transform: scaleX(1);
}
/* NOW 점도 회색 트랙이 다 그려진 뒤 등장 */
.roadmap-item:first-child::before {
    opacity: 0;
    transition: opacity .4s ease 1.1s;
}
.roadmap-list.is-in .roadmap-item:first-child::before {
    opacity: 1;
}
.roadmap-item {
    position: relative;
}
/* 기본 점은 보이지 않음 */
.roadmap-item::before {
    display: none;
}
/* 첫 점 - 라인 위에 점 중심이 정확히 걸침
   - .roadmap-item의 박스 상단은 .roadmap-list의 padding-top 끝점
   - 라인은 .roadmap-list 시작에서 var(--rm-track-top), 즉 .roadmap-item보다 --rm-content-gap만큼 위
   - 점을 -(--rm-content-gap)만큼 끌어올려서 라인과 정렬 */
.roadmap-item:first-child::before {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: calc(-1 * var(--rm-content-gap));
    transform: translate(0, -50%) scale(1);
    transform-origin: left center;
    width: var(--rm-dot-size);
    height: var(--rm-dot-size);
    border-radius: 50%;
    background: #0FADFF;
    box-shadow: 0 0 0 6px rgba(15, 173, 255, 0.18);
    z-index: 2;
    animation: rmDotPulse 1.6s ease-in-out infinite;
}
@keyframes rmDotPulse {
    0%, 100% {
        transform: translate(0, -50%) scale(1);
        box-shadow: 0 0 0 6px rgba(15, 173, 255, 0.18);
    }
    50% {
        transform: translate(0, -50%) scale(1.15);
        box-shadow: 0 0 0 9px rgba(15, 173, 255, 0.10);
    }
}
.roadmap-item:first-child .rm-period { font-weight: 600; }
.rm-period {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 400;
    color: #4A4A4A;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}
/* 첫 항목만 포인트 컬러 (about 페이지) */
.roadmap-item:first-child .rm-period { color: #0FADFF; }
.roadmap-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}
.roadmap-item p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: #4A4F5B;
    margin-bottom: 1.75rem;
}
.rm-visual {
    width: 100%;
    aspect-ratio: 4 / 2.5;
    border-radius: 0.875rem;
    background: #fff no-repeat center / 70%;
}
.rm-visual[data-img="01"] { background-image: url('../images/about_rm_01.png'); }
.rm-visual[data-img="02"] { background-image: url('../images/about_rm_02.png'); }
.rm-visual[data-img="03"] { background-image: url('../images/about_rm_03.png'); }
.rm-visual[data-img="04"] { background-image: url('../images/about_rm_04.png'); }

/* about 페이지 CTA - product와 동일하게 흰 배경 + 구분선 + 회색 아이콘박스 */
.page-about .cta-banners {
    background: #fff;
    border-bottom: 1px solid #EEEEEE;
}
.page-about .cta-card-icon { background-color: #F4F7FB; }

/* ===========================
   ABOUT 반응형
=========================== */
@media (max-width: 1200px) {
    .ah-keys p { font-size: 1.125rem; }
}
@media (max-width: 1024px) {
    .ah-keys { grid-template-columns: repeat(2, 1fr); }
    .ah-keys li:nth-child(2) { border-left: 1px solid rgba(255,255,255,.12); }
    .ah-keys li:nth-child(3) { border-left: 0; padding-top: 1.25rem; }
    .ah-keys li:nth-child(4) { border-left: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem; }

    .roadmap-list { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
    .roadmap-list::before,
    .roadmap-list::after { display: none; }
    .roadmap-item { padding-top: 0; padding-left: 0; }
    .roadmap-item::before { display: none; }
}
@media (max-width: 768px) {
    .page-about .sub-hero { min-height: auto; padding: calc(var(--header-height) + 3rem) 0 0; }
    .about-hero .ah-text { padding-bottom: 2.5rem; }
    .ah-keys { grid-template-columns: 1fr; padding: 1.5rem 0 2rem; }
    .ah-keys li { padding: 1rem 0; }
    .ah-keys li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
    .ah-keys li:nth-child(2),
    .ah-keys li:nth-child(3),
    .ah-keys li:nth-child(4) { border-left: 0; padding-top: 1rem; }

    /* 모바일: 세로 타임라인 - 좌측 세로 선 + 각 항목 점 */
    .roadmap-list {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 0 0 2rem;       /* 좌측 선 공간 확보 */
        position: relative;
    }
    /* 좌측 세로 회색 선 */
    .roadmap-list::before {
        display: block;
        left: 0.4rem;
        right: auto;
        top: 0.6rem;
        bottom: 0.6rem;
        width: 1px;
        height: auto;
        background: #E5E9F0;
    }
    /* 진행된 부분(첫 항목까지) - 파란 세로 선 */
    .roadmap-list::after {
        display: block;
        left: 0.4rem;
        top: 0.6rem;
        width: 1px;
        height: 25%;
        background: #0FADFF;
    }
    .roadmap .section-head { margin-bottom: 2.5rem; }

    .roadmap-item { padding-top: 0; }
    /* 첫 점만 표시 - 좌측 세로 라인 위에 걸침 */
    .roadmap-item::before { display: none; }
    .roadmap-item:first-child::before {
        display: block;
        content: '';
        position: absolute;
        left: -1.6rem;
        top: 0.625rem;
        transform: translate(0, -50%) scale(1);
        transform-origin: left center;
        width: 0.625rem;
        height: 0.625rem;
        border-radius: 50%;
        background: #0FADFF;
        box-shadow: 0 0 0 5px rgba(15, 173, 255, 0.18);
        z-index: 2;
        animation: rmDotPulseMobile 1.6s ease-in-out infinite;
    }
    @keyframes rmDotPulseMobile {
        0%, 100% {
            transform: translate(0, -50%) scale(1);
            box-shadow: 0 0 0 5px rgba(15, 173, 255, 0.18);
        }
        50% {
            transform: translate(0, -50%) scale(1.15);
            box-shadow: 0 0 0 8px rgba(15, 173, 255, 0.10);
        }
    }
}

/* ===========================
   CONTACT 페이지 (POC 문의)
   - 다크 네이비 전체 배경 + 좌측 카피 / 우측 미니멀 폼
=========================== */
.page-contact { background: #050b2a; }
.contact-section {
    padding: calc(var(--header-height) + 6rem) 0 8rem;
    background: #050b2a;
    background-image:
        radial-gradient(ellipse at top right, rgba(15, 173, 255, 0.12) 0%, transparent 50%);
    position: relative;
    min-height: calc(100vh - 20rem);
}

/* 푸터 - 컨택 섹션보다 더 어둡게 (구분감) */
.page-contact .footer {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        #050b2a;
    color: rgba(255, 255, 255, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.page-contact .footer-logo {
    background-image: url('../images/logo.png');
}
.page-contact .company-info { color: rgba(255, 255, 255, 0.55); }
.page-contact .company-info span + span::before { color: rgba(255, 255, 255, 0.2); }
.page-contact .footer-policy {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.page-contact .footer-policy a { color: rgba(255, 255, 255, 0.55); }
.page-contact .footer-policy a.strong { color: #fff; }
.page-contact .footer-policy a + a::before { color: rgba(255, 255, 255, 0.2); }
.page-contact .copyright { color: rgba(255, 255, 255, 0.4); }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* 좌측 안내 - 카드 X, 큰 카피만 */
.contact-intro {
    color: #fff;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}
.contact-eyebrow-tag {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
}
.contact-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.035em;
    line-height: 1.25;
    margin-bottom: 2rem;
}
.contact-title .accent { color: var(--color-primary); }
.contact-lead {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 3rem;
}
.contact-info-mini {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-info-mini li {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1rem;
    align-items: baseline;
    font-size: 0.9375rem;
}
.contact-info-mini .info-label {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    font-size: 0.875rem;
}
.contact-info-mini .info-value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 200;
}

/* 우측 폼 카드 - 다크 위 투명 + 옅은 보더 */
.contact-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.card-head { display: none; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.field-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.field-label em {
    color: var(--color-primary);
    font-style: normal;
    font-weight: 700;
}
.field-label small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-weight: 400;
}
.field-help {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    margin-top: -0.125rem;
}
.contact-card input[type="text"],
.contact-card input[type="email"],
.contact-card input[type="tel"],
.contact-card textarea {
    width: 100%;
    padding: 1.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    font-size: 1.0625rem;
    color: #fff;
    font-family: inherit;
    transition: border-color .25s ease, background .25s ease;
}
.contact-card input::placeholder,
.contact-card textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.contact-card input:hover,
.contact-card textarea:hover {
    border-color: rgba(255, 255, 255, 0.25);
}
.contact-card input:focus,
.contact-card textarea:focus {
    border-color: var(--color-primary);
    background: rgba(15, 173, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(15, 173, 255, 0.12);
}
.contact-card .is-invalid {
    border-color: #FF6B6E !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 110, 0.15);
}
.form-check input.is-invalid ~ .check-mark {
    border-color: #FF6B6E;
    box-shadow: 0 0 0 3px rgba(255, 107, 110, 0.15);
}
.contact-card textarea {
    resize: vertical;
    min-height: 8rem;
    line-height: 1.6;
}

/* POC 유형 체크박스 카드 */
.form-radios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.form-radio {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.125rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease;
}
.form-radio:hover {
    border-color: rgba(15, 173, 255, 0.4);
    background: rgba(15, 173, 255, 0.06);
}
.form-radio input { display: none; }
.radio-mark {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    flex: 0 0 auto;
    margin-top: 0.125rem;
    position: relative;
    transition: all .2s ease;
}
.form-radio input:checked ~ .radio-mark {
    border-color: var(--color-primary);
    background: var(--color-primary);
}
.form-radio input:checked ~ .radio-mark::after {
    content: '';
    position: absolute;
    inset: 0.2rem;
    border-radius: 50%;
    background: #050b2a;
}
.form-radio:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(15, 173, 255, 0.1);
}
.radio-text {
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
    line-height: 1.3;
}
.radio-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.radio-text small {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

/* 하단 - 좌측 체크 + 우측 버튼 한 줄 */
.form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 2rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}
.form-bottom .form-check {
    display: inline-flex;
    align-items: center;
    grid-template-columns: none;
    gap: 0.75rem;
    cursor: pointer;
}
.form-bottom .check-mark {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    margin-top: 0;
}
.form-bottom .form-check > input:checked ~ .check-mark::after {
    left: 0.5rem;
    top: 0.25rem;
}
.check-text-simple {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* 기존 grid-style form-checks 사용처 호환 (다른 곳에서 안 쓰지만 일단 유지) */
.form-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.form-check {
    display: grid;
    grid-template-columns: 1.125rem 1fr;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    align-items: start;
}
.form-check > input { display: none; }
.check-mark {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    flex: 0 0 auto;
    position: relative;
    transition: all .2s ease;
    margin-top: 0.125rem;
}
.form-check > input:checked ~ .check-mark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.form-check > input:checked ~ .check-mark::after {
    content: '';
    position: absolute;
    left: 0.3125rem;
    top: 0.0625rem;
    width: 0.375rem;
    height: 0.625rem;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}
.check-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    line-height: 1.4;
}
.check-text strong {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
}
.check-text small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    line-height: 1.5;
}
.check-text em {
    color: var(--color-primary);
    font-style: normal;
    font-weight: 700;
    margin-left: 0.125rem;
}
.check-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.check-link::after {
    content: '↗';
    font-size: 0.75rem;
    margin-left: 0.25rem;
    color: rgba(255, 255, 255, 0.5);
}
.check-agree {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* 제출 버튼 - 투명 알약 + 흰 보더 + 우측 파란 원형 화살표
   호버: 좌→우 흰색 슬라이드 채움 */
.btn-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.625rem 0.625rem 0.625rem 1.75rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: color .35s ease, border-color .25s ease;
}
.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s cubic-bezier(.65,.05,.2,1);
    z-index: -1;
}
.btn-submit::after {
    content: '↗';
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform .3s ease;
}
.btn-submit:hover {
    color: #050b2a;
    border-color: #fff;
}
.btn-submit:hover::before { transform: scaleX(1); }
.btn-submit:hover::after { transform: rotate(45deg); }

/* ===========================
   THANKS 페이지
=========================== */
.page-thanks .sub-hero { display: none; }

/* 콘텐츠가 짧을 때 푸터가 화면 최하단에 붙도록 + main 영역 정중앙 정렬 */
.page-thanks { display: flex; flex-direction: column; min-height: 100vh; }
.page-thanks main {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-thanks .footer { flex-shrink: 0; }

/* 흰 배경 위에 헤더가 떠 있어서 흰 글자가 안 보임 → 다크 톤으로 강제 */
.page-thanks .header {
    background-color: #fff;
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}
.page-thanks .header .logo a { background-image: url('../images/logo_c.png'); }
.page-thanks .gnb a { color: var(--color-text); }
.page-thanks .gnb a:hover,
.page-thanks .gnb a.active { color: var(--color-primary); }
.page-thanks .btn-line {
    color: var(--color-text);
    border-color: var(--color-line);
}
.page-thanks .btn-line:hover {
    border-color: var(--color-text);
    background: rgba(0, 0, 0, .04);
}
.page-thanks .btn-white {
    color: #fff;
    border-color: #1a1a1a;
}
.page-thanks .btn-white::before { background: #1a1a1a; }
.page-thanks .btn-white:hover { color: var(--color-text); }
.page-thanks .btn-menu span { background: var(--color-text); }
.thanks-wrap {
    padding: 2rem 0;
    background: #fff;
    text-align: center;
    width: 100%;
}
.thanks-ico {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: #F4F7FB;
    color: #0E0E10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: thanksPop .6s cubic-bezier(.22,.61,.36,1) both;
}
.thanks-ico svg { width: 2.25rem; height: 2.25rem; }
/* 체크 path가 좌→우로 그려지는 효과 */
.thanks-check-path {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: thanksDraw .55s cubic-bezier(.65, .05, .36, 1) .35s forwards;
}
@keyframes thanksPop {
    from { transform: scale(0.6); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@keyframes thanksDraw {
    to { stroke-dashoffset: 0; }
}
.thanks-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}
.thanks-desc {
    font-size: 1.1875rem;
    color: #4A4F5B;
    font-weight: 300;
    line-height: 1.65;
    margin: 0 auto 3rem;
    max-width: 32rem;
}
.thanks-actions {
    display: inline-flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.thanks-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 3.25rem;
    padding: 0 1.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all .25s ease;
}
.thanks-actions .btn-line {
    border: 1px solid #DDE2EA;
    color: var(--color-text);
    background: #fff;
}
.thanks-actions .btn-line:hover {
    border-color: var(--color-text);
    background: #F4F7FB;
}
.thanks-actions .btn-primary-dark {
    background: var(--color-text);
    color: #fff;
}
.thanks-actions .btn-primary-dark:hover {
    background: var(--color-primary);
}
.thanks-actions .arrow::after { content: '→'; }

/* ===========================
   CONTACT / THANKS 반응형
=========================== */
@media (max-width: 1024px) {
    .contact-section { padding: calc(var(--header-height) + 3rem) 0 4rem; }
    .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .contact-intro { padding: 2.5rem 2rem; }
    .contact-info-mini li { grid-template-columns: 3.5rem 1fr; }
    .contact-card { padding: 2.25rem 2rem 2rem; }
}
@media (max-width: 768px) {
    .contact-section { padding: calc(var(--header-height) + 2rem) 0 3rem; }
    .contact-title { font-size: 2rem; }
    .contact-lead { font-size: 0.9375rem; }
    .contact-lead br { display: none; }
    .contact-card { padding: 1.75rem 1.5rem 1.5rem; }
    .form-row { grid-template-columns: 1fr; gap: 1rem; }
    .form-radios { grid-template-columns: 1fr; }
    .form-checks { grid-template-columns: 1fr; gap: 0.875rem; }
    .contact-info-mini li { grid-template-columns: 3.5rem 1fr; font-size: 0.875rem; }

    .thanks-wrap { padding: calc(var(--header-height) + 3rem) 0 4rem; }
    .thanks-title { font-size: 1.875rem; }
    .thanks-desc { font-size: 1rem; }
    .thanks-actions { width: 100%; flex-direction: column; align-items: stretch; }
}
