/* =========================================================
   ONPIA main.css
   메인 페이지(index.html) 전용 스타일 — Figma node 418:812 기준 (다크 우주 테마)
   서브페이지는 common.css 를 사용
   ========================================================= */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;700&display=swap");

:root {
    /* ===== Base neutrals ===== */
    --color-white:         #ffffff;
    --color-black:         #000000;

    /* ===== v2 다크 팔레트 (시안 exact) ===== */
    --v2-bg:               #050708;
    --v2-bg-galaxy:        #05080d;
    --v2-bg-stats:         #090b0d;
    --v2-card:             rgba(15, 19, 25, 0.6);
    --v2-card-grad-1:      #0f1319;
    --v2-card-grad-2:      #141820;
    --v2-border:           rgba(255, 255, 255, 0.07);

    --v2-text:             #ffffff;
    --v2-text-dim:         #94a3b8;

    --v2-teal:             #0ad3b8;
    --v2-purple:           #a78bfa;
    --v2-blue:             #3b82f6;

    /* ===== 다크 톤 — 헤더/푸터에서 v1 과 공유 ===== */
    --color-dark:          #0a0f10;   /* header pill bg */
    --color-dark-4:        #1e2028;   /* family badge bg */
    --color-dark-5:        #262a35;   /* family badge hover */
    --color-dark-6:        #2a2a2a;
    --color-dark-7:        #2d2d2d;   /* talk-btn bg */
    --color-dark-8:        #333333;
    --color-dark-9:        #555555;
    --color-dark-10:       #71717b;
    --color-gray-750:      #6a7282;

    /* ===== accent ===== */
    --color-red-accent:    #E20215;

    /* ===== Typography ===== */
    --font-sans:  "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-inter: "Inter", var(--font-sans);

    /* ===== Text tokens (설명글 등 공용 사이즈) =====
       사이즈 조정은 이 한 줄만 수정하면 v2 전체 반영 */
    --font-size-desc:  18px;
    --line-height-desc: 1.6;

    /* ===== Layout ===== */
    --page-w: 1520px;

    /* ===== Radius ===== */
    --radius-sm:   4px;
    --radius-md:   6px;
    --radius-xl:   16px;
    --radius-2xl:  20px;
    --radius-3xl:  24px;
    --radius-pill: 100px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--v2-text);
    background: var(--v2-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
    word-break: keep-all;
    overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

button {
    font: inherit;
    border: 0;
    background: none;
    cursor: pointer;
    color: inherit;
    padding: 0;
}

/* =========================================================
   Header (다크 pill)
   ========================================================= */

.site-header {
    position: fixed;
    top: 40px;
    /* transform 을 쓰면 fixed 자식(예: 모바일 .talk-btn FAB)의 containing block 이
       viewport 가 아닌 헤더가 되어버려서 위치가 어긋남 → margin:auto 로 중앙정렬 */
    left: 0;
    right: 0;
    margin: 0 auto;
    width: var(--page-w);
    max-width: calc(100% - 40px);
    z-index: 100;
    background: var(--color-dark);
    border-radius: var(--radius-xl);
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header .logo img {
    height: 26px;
    width: auto;
}

.site-header .nav {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 56px;
}

.site-header .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 8px;
    font-weight: 600;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.site-header .nav a:hover,
.site-header .nav a.active {
    color: var(--color-white);
}

.site-header .nav a.active {
    border-bottom: 2px solid var(--color-red-accent);
}

.talk-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--color-dark-7);
    padding: 5px 10px 5px 5px;
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.talk-btn:hover {
    background: var(--color-dark-9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.talk-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.talk-btn img {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.talk-btn:hover img {
    transform: rotate(-8deg) scale(1.08);
}

/* =========================================================
   Mobile menu (햄버거 버튼 + 슬라이드 다운 네비)
   ========================================================= */
.mobile-menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.mobile-menu-btn .hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.mobile-menu-btn.is-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}

/* =========================================================
   Galaxy Background — 별 + 코어 글로우 전체 페이지 뒤에 깔림
   ========================================================= */

.galaxy-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--v2-bg-galaxy);
    overflow: hidden;
}

.galaxy-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* 개별 별 — JS 가 랜덤 위치/크기/타이밍으로 여러 개 삽입한다.
   --min-op / --max-op 는 별마다 다른 반짝임 범위. */
.star {
    position: absolute;
    background: var(--color-white);
    border-radius: 50%;
    pointer-events: none;
    animation: starTwinkle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
    will-change: opacity, transform;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: var(--min-op, 0.05);
        transform: scale(0.7);
    }
    50% {
        opacity: var(--max-op, 1);
        transform: scale(1.6);
    }
}

/* 유독 밝게 빛나는 별 — glow 효과 강하게 + 4방향 spike */
.star--bright {
    background: var(--color-white);
    box-shadow:
        0 0 4px rgba(255, 255, 255, 0.95),
        0 0 8px rgba(255, 255, 255, 0.7),
        0 0 16px rgba(255, 255, 255, 0.4);
    animation-name: starBrightTwinkle;
}

.star--bright::before,
.star--bright::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.9), transparent);
    pointer-events: none;
}

/* 가로 spike */
.star--bright::before {
    width: 22px;
    height: 1px;
    transform: translate(-50%, -50%);
}

/* 세로 spike */
.star--bright::after {
    width: 1px;
    height: 22px;
    transform: translate(-50%, -50%);
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.9), transparent);
}

@keyframes starBrightTwinkle {
    0%, 100% {
        opacity: 0.35;
        transform: scale(0.75);
    }
    50% {
        opacity: 1;
        transform: scale(1.45);
    }
}

/* 살짝 다른 톤(옅은 파랑/보라) 를 가진 별 — 우주 느낌 강화 */
.star--tint-blue   { background: #cbd5ff; }
.star--tint-purple { background: #e2d3ff; }
.star--tint-teal   { background: #a8f4ea; }

@media (prefers-reduced-motion: reduce) {
    .star, .star--bright {
        animation: none;
        opacity: 0.6;
    }
}

/* 별의 인력 이동용 wrapper.
   JS 가 커서와의 거리에 따라 translate3d 를 이 요소에 넣는다.
   안쪽 .star 는 twinkle keyframes 를 그대로 유지 (transform 겹침 없음). */
.star-anchor {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    will-change: transform;
}

.star-anchor > .star {
    position: absolute;
    top: 0;
    left: 0;
    /* 중심 정렬 : 인력이 크기 무관하게 정확하게 커서 방향 */
    transform-origin: center;
    translate: -50% -50%;
}

/* =========================================================
   Cursor Glow — 3색 광선이 lerp 로 커서를 지연 따라옴
   mix-blend-mode: screen 으로 다크 배경 위에서 겹쳐질수록 밝아짐
   ========================================================= */

/* 커서 궤적 canvas — 마우스 이동 자취를 부드러운 리본으로 그린다.
   filter blur 로 canvas 전체를 살짝 소프트하게 만들고 screen 블렌드로 다크 배경에 겹치면
   조명 아닌 오로라 톤이 자연스럽게 나온다. */
.cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    filter: blur(3px);
    mix-blend-mode: screen;
    z-index: 1;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
    .cursor-canvas { display: none; }
}

.galaxy-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.galaxy-glow--tr {
    top: 20%;
    right: -10%;
    width: 490px;
    height: 490px;
    background: radial-gradient(circle, rgba(10, 211, 184, 0.35) 0%, rgba(10, 211, 184, 0) 70%);
}

.galaxy-glow--bl {
    bottom: 20%;
    left: -10%;
    width: 490px;
    height: 490px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.30) 0%, rgba(167, 139, 250, 0) 70%);
}

.galaxy-glow--mid {
    top: 65%;
    left: 25%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.20) 0%, rgba(59, 130, 246, 0) 70%);
}

/* =========================================================
   HERO Section (100vh)
   ========================================================= */

.hero {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    min-height: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Teal + Purple glow — 시안 위치 재현 */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow--teal {
    width: 500px;
    height: 500px;
    left: calc(50% - 250px);
    top: calc(50% - 100px);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(10, 211, 184, 0.35) 0%, rgba(10, 211, 184, 0) 70%);
}

.hero-glow--purple {
    width: 600px;
    height: 600px;
    left: calc(50% + 250px);
    top: calc(40% + 100px);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(167, 139, 250, 0.30) 0%, rgba(167, 139, 250, 0) 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 1200px;
    max-width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

/* badge_text : NEXT-GEN AI CONTACT CENTER
   진입 애니메이션은 AOS(data-aos="fade-up") 로 위임 */
.badge-text {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--v2-teal);
}

.headline-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* 진입 애니메이션은 AOS(fade-right / fade-left) 로 위임 — data-direction 은 유지 */
.hero-title-line {
    display: block;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 80px;
    line-height: 1.1;
    letter-spacing: -1.6px;
    color: var(--v2-text);
}

/* scroll indicator (chevron-down) */
.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}

/* =========================================================
   VIDEO SECTION
   - 상단 hero_subtitle : Bold 48px, 흰색
   - Video_Card         : 1520 폭, 다크 그라디언트
   ========================================================= */

.video-section {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
    overflow: hidden;
}

/* 진입 애니메이션은 AOS(fade-up) 로 위임 */
.hero-subtitle {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: var(--v2-text);
    text-align: center;
    max-width: calc(100% - 40px);
}

.video-card {
    width: var(--page-w);
    max-width: calc(100% - 40px);
    aspect-ratio: 3840 / 2160;
    background: linear-gradient(to bottom, var(--v2-card-grad-1), var(--v2-card-grad-2));
    border: 1px solid var(--v2-border);
    border-radius: var(--radius-2xl);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.13),
        0 24px 64px rgba(0, 0, 0, 0.38);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card video,
.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 유튜브 임베드 iframe 도 카드 100% 채움. object-fit 은 iframe 에 안 통하지만
   유튜브가 자체적으로 aspect fit 을 처리하므로 width/height 만 채워주면 됨. */
.video-card .video-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =========================================================
   AICC Solutions Section
   - padding : 200px horiz, 120px vert
   - heading : "AICC Solutions" 48px + subtitle 18px
   - layout  : left_navigation(260) + cards_stack (gap 48)
   ========================================================= */

.aicc {
    position: relative;
    z-index: 1;
    padding: 120px 0px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1520px;
    margin: 0 auto;
}

.aicc-heading {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.aicc-heading .title {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 48px;
    letter-spacing: -0.72px;
    color: var(--v2-text);
}

.aicc-heading .subtitle {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 18px;
    color: var(--v2-text-dim);
}

.aicc-inner {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

/* Side navigation — 활성 탭 뒤로 sliding indicator 가 부드럽게 이동
   (JS 가 active nav-item 의 offsetTop/offsetHeight 를 그대로 transform/height 로 세팅) */
.side-nav {
    position: sticky;
    top: 150px;
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-nav .nav-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 40px;   /* 초기값. JS 첫 프레임에 정확한 값으로 덮어씀 */
    background: rgba(255, 255, 255, 0.06);
    border-left: 2px solid var(--v2-teal);
    box-sizing: border-box;
    transform: translate3d(0, 0, 0);
    transition:
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s ease;
    pointer-events: none;
    z-index: 0;
    will-change: transform, height;
}

/* 각 타깃별 border 색상 매핑 — active data 속성으로 전환 */
.side-nav[data-active="aicc-assistant"] .nav-indicator {
    border-left-color: var(--v2-teal);
}
.side-nav[data-active="aicc-synaptory"] .nav-indicator {
    border-left-color: var(--v2-purple);
}
.side-nav[data-active="aicc-synapvoice"] .nav-indicator {
    border-left-color: var(--v2-blue);
}

.side-nav .nav-item {
    position: relative;
    z-index: 1;   /* indicator 위에 텍스트 얹힘 */
    display: flex;
    align-items: center;
    padding: 16px 20px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 16px;
    color: var(--v2-text-dim);
    text-align: left;
    background: transparent;
    border-left: 2px solid transparent;   /* padding 유지용 (indicator 가 실제 border 역할) */
    transition: color 0.25s ease;
    line-height: 1;
    white-space: nowrap;
}

.side-nav .nav-item:hover {
    color: rgba(255, 255, 255, 0.85);
}

.side-nav .nav-item.active {
    color: var(--v2-text);
    font-weight: 600;
    /* 배경/보더는 indicator 가 담당 */
}

/* Cards stack — 반투명 다크 카드 */
.cards-stack {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product-card {
    display: flex;
    gap: 40px;
    align-items: stretch;
    padding: 40px;
    background: var(--v2-card);
    border: 1px solid var(--v2-border);
    border-radius: var(--radius-3xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.card-text {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.card-text > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 두 번째 wrapper : desc + learn-more 사이 간격 */
.card-text > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-subtitle {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    /* 색은 카드별 modifier 에서 override */
}

.product-card--teal   .card-subtitle,
.product-card--teal   .learn-more { color: var(--v2-teal); }
.product-card--purple .card-subtitle,
.product-card--purple .learn-more { color: var(--v2-purple); }
.product-card--blue   .card-subtitle,
.product-card--blue   .learn-more { color: var(--v2-blue); }

.card-title {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: var(--v2-text);
}

.card-desc {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--font-size-desc);
    line-height: var(--line-height-desc);
    color: var(--v2-text);
}

.learn-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;   /* flex column 안에서 자기 콘텐츠 너비만 차지하도록 */
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 16px;
    transition: gap 0.2s ease;
}

.learn-more:hover { gap: 12px; }

.card-media {
    flex: 0 0 700px;
    max-width: 700px;
    height: 394px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.card-media img,
.card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   Stats Section — 4 stat + 사이 세로 line
   ========================================================= */

.stats {
    position: relative;
    z-index: 1;
    background: var(--v2-bg-stats);
    padding: 120px 200px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.stats-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.stat-item .num {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.84px;
    color: var(--v2-text);
}

.stat-item .label {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 16px;
    color: var(--v2-text-dim);
}

.stat-divider {
    display: block;
    width: 1px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* =========================================================
   CTA Section
   - cta_tag  : teal, uppercase
   - h2       : 40px ExtraBold
   - button   : 흰색 배경 + 검정 텍스트
   ========================================================= */

.cta {
    position: relative;
    z-index: 1;
    padding: 140px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    overflow: hidden;
}

.cta-content {
    width: 1000px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.cta-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--v2-teal);
}

.cta h2 {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -0.6px;
    color: var(--v2-text);
}

.cta-content p {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--v2-text-dim);
    max-width: 760px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    background: var(--color-white);
    color: var(--v2-bg);
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 16px;
    filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.25));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* =========================================================
   Footer — v1 과 동일 구조
   ========================================================= */

.site-footer {
    position: relative;
    z-index: 1;
    background: var(--v2-bg);
    color: var(--color-white);
    padding: 32px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-nav {
    width: var(--page-w);
    max-width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
}

.footer-nav .sep {
    color: var(--color-dark-9);
    font-family: "Noto Sans KR", sans-serif;
}

.footer-divider {
    width: var(--page-w);
    max-width: 100%;
    height: 1px;
    background: var(--color-dark-6);
}

.footer-main {
    width: var(--page-w);
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    min-height: 155px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    font-size: 13px;
    line-height: 1.7;
}

.footer-left .info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-left .info-row {
    display: flex;
    gap: 10px;
}

.footer-left .copyright {
    font-family: var(--font-inter);
    color: var(--color-gray-750);
    font-size: 12px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.footer-right .logo img {
    height: 26px;
    width: auto;
}

.family-site {
    display: flex;
    align-items: center;
    gap: 10px;
}

.family-site .label {
    color: var(--color-dark-10);
    font-family: "Noto Sans KR", sans-serif;
    font-size: 12px;
}

.family-site .sep {
    color: var(--color-dark-9);
    font-family: var(--font-inter);
    font-size: 12px;
}

.family-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark-4);
    border: 1px solid #333;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    height: 33px;
    min-width: 36px;
    transition: background 0.2s ease;
}

.family-badge:hover { background: #262a35; }

.family-badge img {
    height: 25px;
    width: auto;
}

/* =========================================================
   Responsive (best-effort — 1920 시안 기준)
   ========================================================= */

@media (max-width: 1400px) {
    .aicc { padding: 100px 60px; }
    .stats { padding: 100px 60px; }
}

@media (max-width: 1200px) {
    .hero-title-line { font-size: 56px; }
    .hero-subtitle { font-size: 32px; }
    .aicc-heading .title { font-size: 36px; }
    .aicc-inner {
        flex-direction: column;
        gap: 20px;
    }
    .side-nav {
        position: static;
        flex-direction: row;
        gap: 4px;
        flex: 0 0 auto;
        overflow-x: auto;
    }
    /* 가로 배치에선 sliding indicator 사용 안 함 → 숨기고 nav-item 이 직접 스타일 처리 */
    .side-nav .nav-indicator {
        display: none;
    }
    .side-nav .nav-item {
        border-left: 0;
        border-bottom: 2px solid transparent;
    }
    .side-nav .nav-item.active {
        border-left: 0;
        border-bottom-color: var(--v2-teal);
    }
    /* 좁은 화면에서도 각 타깃별 색상 매핑 유지 */
    .side-nav .nav-item[data-target="aicc-assistant"].active {
        border-left: 0;
        border-bottom-color: var(--v2-teal);
    }
    .side-nav .nav-item[data-target="aicc-synaptory"].active {
        border-left: 0;
        border-bottom-color: var(--v2-purple);
    }
    .side-nav .nav-item[data-target="aicc-synapvoice"].active {
        border-left: 0;
        border-bottom-color: var(--v2-blue);
    }
    .product-card { flex-direction: column; }
    .card-media { flex: 0 0 auto; width: 100%; height: auto; }
    .card-media img, .card-media video { max-height: 400px; }
    .cta h2 { font-size: 32px; }
    .stats-row { flex-wrap: wrap; gap: 24px; }
    .stat-divider { display: none; }
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-right { align-items: flex-start; }
}

@media (max-width: 640px) {
    .site-header { top: 12px; padding: 6px 10px; }
    .site-header .nav { display: none; }
    .mobile-menu-btn { display: flex; }
    /* 톡상담 : 헤더 안에서 빠져나와 우하단 원형 FAB 로 노출 */
    .talk-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        top: auto;
        left: auto;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
        z-index: 90;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    }
    .talk-btn:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
    }
    .talk-btn:active {
        transform: translateY(0) scale(0.98);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    .talk-btn span { display: none; }
    .talk-btn img { width: 26px; height: 26px; }
    .mobile-nav {
        display: flex;
        position: fixed;
        top: 74px;
        left: 12px;
        right: 12px;
        background: var(--color-dark);
        border-radius: var(--radius-xl);
        padding: 12px;
        z-index: 99;
        flex-direction: column;
        gap: 4px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        pointer-events: none;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }
    .mobile-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .mobile-nav a {
        padding: 12px 14px;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 600;
        font-size: 15px;
        border-radius: var(--radius-md);
        transition: color 0.2s ease, background 0.2s ease;
    }
    .mobile-nav a:hover,
    .mobile-nav a.active {
        color: var(--color-white);
        background: rgba(255, 255, 255, 0.08);
    }
    .hero-title-line { font-size: 36px; }
    .hero-subtitle { font-size: 22px; }
    .badge-text { font-size: 14px; }
    .aicc { padding: 60px 20px; }
    .aicc-heading .title { font-size: 28px; }
    .stats { padding: 60px 20px; }
    .stats-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
        justify-items: center;
    }
    .stat-item .num { font-size: 36px; }
    .cta { padding: 60px 20px; }
    .cta h2 { font-size: 24px; }
    .cta-content p { font-size: 15px; }
    .site-footer { padding: 24px 20px; }
}
