@font-face {
    font-family: 'A2z';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-6@1.0/에이투지체-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #1E293B;
    background: #FFFFFF;
    overflow-x: hidden;
}

/* Particle Canvas Background */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    background: transparent;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
}

/* 밝은 섹션과 동일한 플랫 흰색 — 그림자·블러 없음(그림자만으로도 헤더가 더 어둡게 보임) */
nav.over-light {
    background-color: #ffffff;
    box-shadow: none;
    border-bottom: 1px solid #E2E8F0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* 밝은 풀페이지 구간: 고정 파티클이 레이어 합성 시 살짝 비치는 경우 제거 */
body.on-white-section #particleCanvas {
    opacity: 0;
    visibility: hidden;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: rgba(255, 255, 255, 0.95);
    transition: color 0.3s;
}

nav.over-light .company-name {
    color: #0F172A;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

nav.over-light a {
    color: #475569;
}

nav a:hover {
    color: #14B8A6;
}

.cta-button {
    background: #14B8A6;
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
}

.cta-button:hover {
    background: #0F766E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.25);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0F172A 0%, #1A2E35 100%);
    display: flex;
    align-items: center;
    padding: 0 48px;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 10;
}

.hero-left h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-left h1 .gradient {
    background: linear-gradient(90deg, #14B8A6 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    color: #14B8A6;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #14B8A6;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.btn-primary {
    background: #14B8A6;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
    font-family: inherit;
}

.btn-primary:hover {
    background: #0F766E;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(20, 184, 166, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 14px 32px;
    border: 2px solid rgba(20, 184, 166, 0.5);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
    font-family: inherit;
}

.btn-outline:hover {
    background: rgba(20, 184, 166, 0.1);
    border-color: #14B8A6;
}

/* Chat Window */
.chat-window {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 16px;
    padding: 16px;
    height: 520px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.chat-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
    margin-bottom: 16px;
}

.chat-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-dots-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.chat-scene-tabs {
    display: flex;
    gap: 5px;
}

.scene-tab {
    font-size: 10px;
    color: rgba(20, 184, 166, 0.45);
    padding: 2px 9px;
    border-radius: 10px;
    border: 1px solid rgba(20, 184, 166, 0.15);
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.scene-tab.active {
    background: rgba(20, 184, 166, 0.18);
    color: #14B8A6;
    border-color: rgba(20, 184, 166, 0.45);
}

.scene-progress-bar {
    height: 2px;
    background: rgba(20, 184, 166, 0.12);
    border-radius: 1px;
    overflow: hidden;
}

.scene-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #14B8A6, #06B6D4);
    border-radius: 1px;
    width: 0%;
}

.chat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #EF4444;
}

.chat-dot:nth-child(2) {
    background: #FBBF24;
}

.chat-dot:nth-child(3) {
    background: #10B981;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
    padding-right: 8px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(20, 184, 166, 0.3);
    border-radius: 3px;
}

.chat-message {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    animation: slideIn 0.5s cubic-bezier(.16,1,.3,1);
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
}

.message-content.user {
    background: #14B8A6;
    color: white;
}

.message-content.ai {
    background: rgba(20, 184, 166, 0.15);
    color: #E8F5F3;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #14B8A6;
    margin-left: 2px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0; }
}

/* Stats Bar — hero와 동일한 뷰포트 풀스크린 레이아웃 */
.stats-bar {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0F172A 0%, #1A2E35 100%);
    display: flex;
    align-items: center;
    padding: 0 48px;
    overflow: hidden;
    z-index: 1;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.stats-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stats-text,
.stats-grid {
    max-width: min(920px, 100%);
}

/* 파도 그래픽과 숫자 영역 분리 (겹침 여지 축소) */
.stats-bar .stats-grid {
    position: relative;
    z-index: 11;
    padding-bottom: 12px;
}

/* 뷰포트 진입 전까지는 보이지 않음 — 로드 직후 애니메이션이 끝나는 문제 방지 */
.stats-bar .stats-text {
    margin-bottom: 56px;
    opacity: 0;
    transform: translateY(-36px);
}

.stats-bar.stats-in-view .stats-text {
    animation: statsTitleReveal 0.95s cubic-bezier(.16, 1, .3, 1) forwards;
    will-change: transform, opacity;
}

.stats-text h2 {
    color: white;
    font-size: 2.875rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: left;
    width: 100%;
}

.stats-bar .stat-item {
    opacity: 0;
    transform: translateY(20px);
}

.stats-bar.stats-in-view .stat-item {
    animation: fadeInUp 0.8s cubic-bezier(.16, 1, .3, 1) forwards;
}

.stats-bar.stats-in-view .stat-item:nth-child(1) { animation-delay: 0.35s; }
.stats-bar.stats-in-view .stat-item:nth-child(2) { animation-delay: 0.45s; }
.stats-bar.stats-in-view .stat-item:nth-child(3) { animation-delay: 0.55s; }
.stats-bar.stats-in-view .stat-item:nth-child(4) { animation-delay: 0.65s; }

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.stat-number {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #14B8A6 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-weight: 400;
}

.stats-wave {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
}

.stats-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.stats-wave-line {
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.45))
        drop-shadow(0 0 14px rgba(6, 182, 212, 0.25));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* stats 헤드라인: 위에서 아래로 등장, 종료 시 살짝 위로 */
@keyframes statsTitleReveal {
    from {
        opacity: 0;
        transform: translateY(-36px);
    }
    to {
        opacity: 1;
        transform: translateY(-12px);
    }
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: #14B8A6;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

/* Services Section */
.section {
    padding: 100px 48px;
    position: relative;
    z-index: 10;
}

.section.light-gray {
    background: #F8FAFC;
}

.section.dark {
    background: #0F172A;
}

.section.white {
    background: white;
}

.terminal-header {
    font-family: 'Inter', monospace;
    font-size: 14px;
    color: #14B8A6;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red { background: #EF4444; }
.dot.yellow { background: #FBBF24; }
.dot.green { background: #10B981; }

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0F172A;
    font-family: 'A2z', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

.section.dark .section-title {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
    animation: fadeInUp 0.3s cubic-bezier(.16,1,.3,1) forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:hover {
    border-color: #14B8A6;
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.1);
    transform: translateY(-8px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #14B8A6 0%, #06B6D4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0F172A;
}

.service-card p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(20, 184, 166, 0.1);
    color: #0F766E;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   Services Section — Linear-style Bento Dark
   ═══════════════════════════════════════════════════ */
.svc-dark {
    background: #050507;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* 하단: 화살표(#fp-down-arrow)와 겹치지 않을 최소 여백만 두고, 그리드가 남는 높이를 쓰도록 */
    padding: clamp(72px, 9vh, 96px) 60px clamp(3.25rem, 6vh, 5rem);
    box-sizing: border-box;
    overflow: hidden;
}

/* Header */
.svc-header {
    margin-bottom: 22px;
    flex-shrink: 0;
}
.svc-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(20,184,166,0.85);
    margin-bottom: 10px;
}
.svc-headline {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Bento grid */
.svc-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 단일 행이 플렉스로 받은 세로 공간을 항상 채움 → 카드·그리드 하단이 영역 끝까지 고정 */
    grid-template-rows: minmax(0, 1fr);
    gap: 18px;
    flex: 1;
    min-height: 0;
    align-items: stretch;
    align-content: stretch;
}

/* Individual card */
.svc-bento-card {
    position: relative;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 22px 24px 18px;
    overflow: hidden;
    cursor: default;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    height: 100%;
    align-self: stretch;
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease;
}
.svc-bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.7), 0 0 0 1px rgba(20,184,166,0.2);
    border-color: rgba(20,184,166,0.22);
}

/* Spotlight glow layer */
.svc-glow-spot {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%),
        rgba(20,184,166,0.10), transparent 70%);
    z-index: 0;
}
.svc-bento-card:hover .svc-glow-spot { opacity: 1; }

/* Icon area */
.svc-icon-area {
    position: relative;
    z-index: 1;
    /* 카드가 세로로 커질 때 일러스트 영역도 비율로 함께 성장 */
    height: clamp(118px, 18vh, 168px);
    min-height: 118px;
    margin-bottom: 12px;
    flex-shrink: 0;
}
/* 카드 02: 예전 캔버스 배경과 동일 톤 (SVG는 벡터 1.2px 그대로 유지) */
.svc-bento-card[data-svc="1"] .svc-icon-area {
    background: #0B101E;
    border-radius: 8px;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.04);
}
.svc-bento-card[data-svc="1"] .svc-node {
    transform-box: fill-box;
    transform-origin: 50% 50%;
}
/* 카드 02: 허브·연결선은 정적으로 (dash 그리기/스케일 페이드 제거) */
.svc-bento-card[data-svc="1"].svc-animated .svc-path {
    animation: none;
    stroke-dashoffset: 0;
}
.svc-bento-card[data-svc="1"].svc-animated .agent-sub .svc-node {
    animation: none;
    opacity: 1;
}
/* 카드 02 중앙 AI CORE — tt.html과 동일 캔버스 연출 (SVG 위 오버레이) */
.agent-hub-core-canvas {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(54px, 38%, 82px);
    aspect-ratio: 1;
    height: auto;
    pointer-events: none;
    z-index: 3;
    border-radius: 6px;
    /* 둥근 모서리 밖 투명 픽셀에 SVG가 비치며 여백처럼 보이는 현상 방지 */
    background: rgba(10, 15, 28, 0.98);
    overflow: hidden;
}
.svc-svg {
    width: 100%;
    height: 100%;
}

/* Path draw animation — triggered by .svc-animated class added via JS */
.svc-bento-card.svc-animated .svc-path {
    animation: svcDrawPath 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.svc-bento-card.svc-animated .svc-path:nth-child(1) { animation-delay: 0.1s; }
.svc-bento-card.svc-animated .svc-path:nth-child(2) { animation-delay: 0.22s; }
.svc-bento-card.svc-animated .svc-path:nth-child(3) { animation-delay: 0.34s; }
.svc-bento-card.svc-animated .svc-path:nth-child(4) { animation-delay: 0.46s; }
.svc-bento-card.svc-animated .svc-path:nth-child(5) { animation-delay: 0.58s; }
.svc-bento-card.svc-animated .svc-path:nth-child(6) { animation-delay: 0.64s; }
.svc-bento-card.svc-animated .svc-path:nth-child(7) { animation-delay: 0.70s; }
.svc-bento-card.svc-animated .svc-path:nth-child(8) { animation-delay: 0.76s; }
.svc-bento-card.svc-animated .svc-node {
    animation: svcFadeNode 0.5s ease forwards;
}
.svc-bento-card.svc-animated .svc-node:nth-of-type(1) { animation-delay: 0.05s; }
.svc-bento-card.svc-animated .svc-node:nth-of-type(2) { animation-delay: 0.15s; }
.svc-bento-card.svc-animated .svc-node:nth-of-type(3) { animation-delay: 0.25s; }
.svc-bento-card.svc-animated .svc-node:nth-of-type(4) { animation-delay: 0.35s; }
.svc-bento-card.svc-animated .svc-node:nth-of-type(5) { animation-delay: 0.45s; }
.svc-bento-card.svc-animated .svc-node:nth-of-type(6) { animation-delay: 0.55s; }
@keyframes svcDrawPath {
    to { stroke-dashoffset: 0; }
}
@keyframes svcFadeNode {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: scale(1); }
}

/* Body text */
.svc-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.svc-num {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(20,184,166,0.7);
    margin-bottom: 5px;
    font-family: 'A2z', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}
.svc-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 3px;
    letter-spacing: -0.2px;
}
.svc-card-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin: 0 0 10px;
    font-weight: 500;
}
/* Quote with glow */
.svc-quote {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 8px;
    background: linear-gradient(120deg, #e0fdf4 0%, #a5f3fc 55%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 8px rgba(20,184,166,0.35));
}
/* Description */
.svc-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.52);
    line-height: 1.62;
    margin: 0 0 10px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}
/* Chips — visible by default, subtle */
.svc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s cubic-bezier(0.16,1,0.3,1),
                transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.svc-bento-card:hover .svc-chips {
    opacity: 1;
    transform: translateY(0);
}
.svc-chip {
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    background: rgba(20,184,166,0.1);
    border: 1px solid rgba(20,184,166,0.25);
    color: rgba(20,184,166,0.9);
    white-space: nowrap;
}

/* Products Section – Palantir Style */
/* Scroll-driven products section */
#products {
    padding: 0 !important;
    height: 400vh;
    position: relative;
}

.plt-sticky-ui {
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    padding: 44px clamp(48px, 6vw, 120px) 0;
    overflow: hidden;
    box-sizing: border-box;
}

.plt-header-label {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
    margin-top : 100px;
    margin-bottom: 36px;
    display: block;
    flex-shrink: 0;
}

.plt-container {
    display: grid;
    grid-template-columns: 34% 66%;
    align-items: start;
    gap: 0;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.plt-left {
    padding-right: 48px;
}

.plt-tabs {
    display: flex;
    flex-direction: column;
    padding-top : 40px;
    padding-bottom : 40px;
}

.plt-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 0 22px 28px;
    border-left: 2px solid rgba(255,255,255,0.07);
    cursor: pointer;
}

.plt-progress {
    position: absolute;
    left: -2px;
    top: 0;
    width: 2px;
    height: 0%;
    background: linear-gradient(180deg, #14B8A6, #06B6D4);
    box-shadow: 0 0 10px rgba(20,184,166,0.5);
}


.plt-num {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.2);
    transition: color 0.4s;
    flex-shrink: 0;
    min-width: 24px;
}

.plt-tname {
    font-size: 17px;
    font-weight: 700;
    color: rgba(255,255,255,0.28);
    transition: color 0.4s;
    line-height: 1.25;
}

.plt-tab.active .plt-num  { color: #14B8A6; }
.plt-tab.active .plt-tname { color: #ffffff; }
.plt-tab:not(.active):hover .plt-tname { color: rgba(255,255,255,0.6); }
.plt-tab:not(.active):hover .plt-num    { color: rgba(255,255,255,0.5); }

/* Right panels */
.plt-right {
    padding-left: 64px;
    border-left: 1px solid rgba(255,255,255,0.06);
    position: relative;
    height: 100%;
    overflow: visible;
}

.plt-panels {
    position: relative;
    min-height: 100%;
}

.plt-panel {
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    transform: translateY(28px);
    /* transitions controlled via JS inline styles */
    pointer-events: none;
    padding-bottom: 24px;
}

.plt-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.plt-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #14B8A6;
    margin-bottom: 10px;
}

.plt-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.0;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    margin-top : 100px;
    font-family: 'Inter', sans-serif;
}

.plt-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.52);
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 700px;
}

.plt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.plt-chip {
    padding: 5px 14px;
    border: 1px solid rgba(20,184,166,0.35);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #14B8A6;
    background: rgba(20,184,166,0.07);
}

.plt-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.22);
    padding: 12px 24px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
    margin-bottom: 28px;
}

.plt-link:hover {
    border-color: #14B8A6;
    color: #14B8A6;
    background: rgba(20,184,166,0.08);
}

/* Product Visuals */
.plt-visual {
    border: 1px solid rgba(20,184,166,0.15);
    border-radius: 16px;
    background: rgba(15,23,42,0.6);
    padding: 18px 22px;
    overflow: hidden;
    position: relative;
}

.plt-visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20,184,166,0.5), transparent);
}

/* Node graph (Agent Builder) */
.plt-node-graph { width: 100%; }
.plt-node-graph .nd {
    rx: 8; ry: 8;
    fill: rgba(20,184,166,0.12);
    stroke: rgba(20,184,166,0.45);
    stroke-width: 1.5;
}
.plt-node-graph .nd.active-nd {
    fill: rgba(20,184,166,0.22);
    stroke: #14B8A6;
}
.plt-node-graph .conn {
    stroke: rgba(20,184,166,0.35);
    stroke-width: 1.5;
    stroke-dasharray: 5 4;
    fill: none;
}
.plt-node-graph .conn-alt { stroke: rgba(6,182,212,0.35); }
@keyframes flowDot {
    0%   { offset-distance: 0%; opacity: 1; }
    90%  { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}

/* Analytic bars */
.plt-bar-wrap { display: flex; align-items: flex-end; gap: 10px; height: 160px; }
.plt-bar {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: rgba(20,184,166,0.25);
    border: 1px solid rgba(20,184,166,0.4);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.7s cubic-bezier(.16,1,.3,1);
}
.plt-panel.active .plt-bar { transform: scaleY(1); }
.plt-bar:nth-child(1) { height: 55%; transition-delay: 0.05s; }
.plt-bar:nth-child(2) { height: 75%; transition-delay: 0.10s; background: rgba(20,184,166,0.4); }
.plt-bar:nth-child(3) { height: 45%; transition-delay: 0.15s; }
.plt-bar:nth-child(4) { height: 90%; transition-delay: 0.20s; background: rgba(20,184,166,0.5); border-color: #14B8A6; }
.plt-bar:nth-child(5) { height: 65%; transition-delay: 0.25s; }
.plt-bar:nth-child(6) { height: 80%; transition-delay: 0.30s; background: rgba(6,182,212,0.4); border-color: rgba(6,182,212,0.6); }

/* LLM usage meters */
.plt-meter-row { display: flex; flex-direction: column; gap: 14px; }
.plt-meter { display: flex; flex-direction: column; gap: 6px; }
.plt-meter-label { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; }
.plt-meter-track { height: 6px; background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden; }
.plt-meter-fill {
    height: 100%;
    border-radius: 100px;
    width: 0;
    transition: width 0.9s cubic-bezier(.16,1,.3,1);
}
.plt-panel.active .plt-meter-fill { width: var(--w); }
.plt-meter-fill.f-teal { background: linear-gradient(90deg, #14B8A6, #06B6D4); }
.plt-meter-fill.f-purple { background: linear-gradient(90deg, #8B5CF6, #A78BFA); }
.plt-meter-fill.f-amber { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.plt-meter-fill.f-cyan  { background: linear-gradient(90deg, #06B6D4, #67E8F9); }

/* Viz mini-dashboard */
.plt-dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plt-dash-cell {
    background: rgba(20,184,166,0.07);
    border: 1px solid rgba(20,184,166,0.18);
    border-radius: 8px;
    padding: 10px 12px;
}
.plt-dash-cell-label { font-size: 10px; color: rgba(255,255,255,0.4); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 4px; }
.plt-dash-cell-val { font-size: 18px; font-weight: 800; color: #14B8A6; font-family: 'Inter', sans-serif; }
.plt-dash-cell-sub { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 2px; }

/* Clients Section */
.clients-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 20px;
    border: 2px solid #E2E8F0;
    background: white;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
}

.tab.active {
    background: #14B8A6;
    color: white;
    border-color: #14B8A6;
}

.tab:hover {
    border-color: #14B8A6;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.client-card {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: border-color 0.2s ease;
    cursor: pointer;
    animation: fadeInUp 0.8s cubic-bezier(.16,1,.3,1) forwards;
    opacity: 0;
}

.client-card:nth-child(1) { animation-delay: 0s; }
.client-card:nth-child(2) { animation-delay: 0.02s; }
.client-card:nth-child(3) { animation-delay: 0.04s; }
.client-card:nth-child(4) { animation-delay: 0.06s; }
.client-card:nth-child(5) { animation-delay: 0.08s; }
.client-card:nth-child(6) { animation-delay: 0.1s; }
.client-card:nth-child(7) { animation-delay: 0.12s; }
.client-card:nth-child(8) { animation-delay: 0.14s; }
.client-card:nth-child(9) { animation-delay: 0.16s; }
.client-card:nth-child(10) { animation-delay: 0.18s; }

.client-card:hover {
    border-color: #14B8A6;
}

.client-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
}

.client-card-desc {
    font-size: 12px;
    color: #94A3B8;
    margin-top: 4px;
    line-height: 1.4;
}


.client-card[data-category] {
    transition: border-color 0.2s ease;
}

.client-card.hidden {
    display: none;
}

.summary-bar {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(20, 184, 166, 0.08));
    border: 1px solid rgba(20, 184, 166, 0.4);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.1);
    font-size: 36px;
    font-weight: 800;
    font-family: 'A2z';
}

/* Visualization Dashboard */
.viz-dashboard {
    background: rgba(255,255,255,0.03); 
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px;
}

.viz-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    padding-bottom: 16px;
    margin-top: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.viz-topbar h3 {
    color: #fff;
    font-size: 18px;
}

.viz-badge {
    background: linear-gradient(90deg, #14B8A6, #06B6D4);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%,100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
}

.kpi-card .kpi-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.kpi-card .kpi-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.kpi-card .kpi-change {
    font-size: 13px;
    color: #14B8A6;
    margin-top: 4px;
}

.chart-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.chart-panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
}

.chart-panel h4 {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.chart-row-3 {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    height: 160px;
}

.chart-row-3 .chart-panel {
    max-height: none;
    overflow: visible;
}

.insight-item {
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.03);
    border-left: 3px solid #14B8A6;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    opacity: 0;
    animation: slideInInsight 0.5s forwards;
}

@keyframes slideInInsight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ai-bubble {
    margin-top: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.15));
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 12px;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
}

.heatmap-cell {
    aspect-ratio: 1.6;
    border-radius: 3px;
    opacity: 0;
    animation: fadeInCell 0.3s forwards;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}
.heatmap-cell:hover {
    filter: brightness(1.5) saturate(1.2);
    transform: scale(1.12);
    z-index: 2;
    position: relative;
}

@keyframes fadeInCell {
    to { opacity: 1; }
}

.animated-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 2s forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.animated-bar {
    transform-origin: bottom;
    transform: scaleY(0);
    animation: growBar 0.8s forwards;
}

@keyframes growBar {
    to { transform: scaleY(1); }
}

.animated-donut {
    transform-origin: center;
    animation: rotateFill 1.5s ease-out forwards;
}

@keyframes rotateFill {
    from { opacity: 0; }
    to { opacity: 0.7; }
}

/* === VIZ DEMO: AUTO-INSIGHT GENERATION ANIMATION === */

.viz-section-subtitle {
    color: rgba(255,255,255,0.55);
    font-size: 15px;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.01em;
}

/* 스켈레톤 상태 */
.viz-skeleton .kpi-value,
.viz-skeleton .kpi-label,
.viz-skeleton .kpi-change { visibility: hidden; }

.viz-skeleton .kpi-card {
    border-style: dashed !important;
    border-color: rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.01) !important;
}

.viz-skeleton .chart-panel h4,
.viz-skeleton .chart-panel svg,
.viz-skeleton .chart-panel .viz-donut-legend,
.viz-skeleton .chart-panel .heatmap-grid,
.viz-skeleton .insight-item { visibility: hidden; }

.viz-skeleton .chart-panel {
    border-style: dashed !important;
    border-color: rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.01) !important;
}

.viz-skeleton .ai-bubble { visibility: hidden; }

/* 스켈레톤 시 내부 차트 애니메이션 중지 */
.viz-skeleton .kpi-row *,
.viz-skeleton .chart-row *,
.viz-skeleton .chart-row-3 *,
.viz-skeleton .ai-bubble * { animation: none !important; }

/* 프롬프트 바 */
.viz-prompt-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(20,184,166,0.25);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    min-height: 46px;
}

.viz-prompt-label {
    font-size: 12px;
    color: #14B8A6;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: monospace;
}

.viz-prompt-text {
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    flex: 1;
    font-family: 'Inter', sans-serif;
}

.viz-prompt-cursor {
    display: inline-block;
    color: #14B8A6;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    animation: vizCursorBlink 0.7s step-end infinite;
}

.viz-prompt-cursor.viz-hidden { display: none; }

@keyframes vizCursorBlink { 50% { opacity: 0; } }

/* 스캐너 오버레이 */
.viz-scan-overlay {
    display: none;
    position: relative;
    width: 100%;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 0;
}

.viz-scan-overlay.viz-active { display: block; }

.viz-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, #14B8A6 40%, #06B6D4 60%, transparent 100%);
    box-shadow: 0 0 10px rgba(20,184,166,0.9);
    animation: vizScanSlide 0.9s ease-in-out infinite alternate;
}

@keyframes vizScanSlide {
    0%   { left: 0; }
    100% { left: calc(100% - 80px); }
}

.viz-scan-msg {
    text-align: center;
    font-size: 13px;
    color: #14B8A6;
    margin-top: 10px;
    font-weight: 500;
    animation: vizMsgBlink 0.5s step-end infinite;
    letter-spacing: 0.02em;
}

@keyframes vizMsgBlink { 50% { opacity: 0.2; } }

/* Snap-in 애니메이션 */
@keyframes vizSnapIn {
    0%   { opacity: 0; transform: scale(0.86); }
    55%  { transform: scale(1.04); }
    78%  { transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

.viz-snap { animation: vizSnapIn 0.5s cubic-bezier(.16,1,.3,1) both; }

/* 도넛 레전드 */
.viz-donut-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.viz-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.viz-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}

.viz-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

/* 바 그래프 호버 툴팁 */
.viz-bar-tooltip {
    position: fixed;
    z-index: 9999;
    background: rgba(10,18,40,0.97);
    border: 1px solid rgba(20,184,166,0.35);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s;
    line-height: 1.7;
    min-width: 150px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.viz-bar-tooltip.viz-tt-on { opacity: 1; }

.viz-bar-tooltip .vtt-title {
    color: #14B8A6;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.viz-bar-tooltip .vtt-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.viz-bar-tooltip .vtt-row span:last-child {
    font-weight: 600;
    color: #fff;
}

/* 바 그래프 rect hover */
.viz-bar-q { cursor: pointer; transition: filter 0.15s; }
.viz-bar-q:hover { filter: brightness(1.35); }

/* 헤더 — 어두운 영역 배경 */
nav.over-dark {
    background: rgba(10, 18, 40, 0.82);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

/* Auto-Insight 섹션 — 다른 dark 섹션과 명확히 구분되는 톤 */
#viz-demo {
    background:
        radial-gradient(ellipse 65% 45% at 8% 18%, rgba(20,184,166,0.09) 0%, transparent 58%),
        radial-gradient(ellipse 55% 55% at 92% 82%, rgba(6,182,212,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 52% 3%,  rgba(139,92,246,0.06) 0%, transparent 52%),
        linear-gradient(155deg, #05101F 0%, #0C1A36 48%, #071629 100%);
}

/* 월별 추이 라인 dot */
.viz-line-dot {
    cursor: pointer;
    pointer-events: all;
    transition: filter 0.15s ease;
}
.viz-line-dot:hover {
    filter: drop-shadow(0 0 7px currentColor) brightness(1.35);
}

/* ai-avatar 통통 바운스 */
@keyframes vizAvatarBounce {
    0%,  100% { transform: translateY(0)   scale(1);    }
    22%        { transform: translateY(-9px) scale(1.07); }
    38%        { transform: translateY(-2px) scale(0.95); }
    58%        { transform: translateY(-5px) scale(1.03); }
    76%        { transform: translateY(0px)  scale(0.98); }
}
.ai-avatar {
    animation: vizAvatarBounce 2.4s cubic-bezier(.36,.07,.19,.97) infinite;
}

/* Why Pinetree — Modern Interactive Cards */
.why-grid {
    display: grid;
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
    gap: 42px;
}

.why-card {
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.why-card-surface {
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #E2E8F0;
    padding: 36px 36px 40px;
    overflow: hidden;
    transform: translateY(0);
    transition:
        transform 0.45s cubic-bezier(.16, 1, .3, 1),
        border-color 0.45s cubic-bezier(.16, 1, .3, 1),
        box-shadow 0.45s cubic-bezier(.16, 1, .3, 1);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.why-card-surface::before {
    content: '';
    position: absolute;
    inset: -20% -40%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 42%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 58%,
        transparent 100%
    );
    transform: translateX(-120%) skewX(-12deg);
    transition: transform 0.65s cubic-bezier(.16, 1, .3, 1);
    pointer-events: none;
    z-index: 1;
}

.why-card:hover .why-card-surface::before,
.why-card:focus-within .why-card-surface::before {
    transform: translateX(120%) skewX(-12deg);
}

.why-card:hover .why-card-surface,
.why-card:focus-within .why-card-surface {
    transform: translateY(-10px);
    border-color: rgba(20, 184, 166, 0.42);
    box-shadow:
        0 26px 52px rgba(20, 184, 166, 0.14),
        0 14px 36px rgba(15, 23, 42, 0.08);
}

/* 상단 테크 라인 (좌→우 채움) */
.why-card-topline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

.why-card-topline::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #14B8A6 0%, #06B6D4 50%, #14B8A6 100%);
    box-shadow: 0 0 18px rgba(20, 184, 166, 0.85);
    transition: transform 0.58s cubic-bezier(.16, 1, .3, 1);
}

.why-card:hover .why-card-topline::after,
.why-card:focus-within .why-card-topline::after {
    transform: scaleX(1);
}

/* 타이포 워터마크 */
.why-watermark {
    position: absolute;
    right: -6px;
    bottom: -22px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(96px, 13vw, 132px);
    font-weight: 800;
    line-height: 0.82;
    letter-spacing: -0.07em;
    color: #EEF2F6;
    opacity: 0.65;
    user-select: none;
    pointer-events: none;
    z-index: 0;
    transition:
        color 0.5s cubic-bezier(.16, 1, .3, 1),
        opacity 0.5s cubic-bezier(.16, 1, .3, 1),
        transform 0.58s cubic-bezier(.16, 1, .3, 1),
        filter 0.55s cubic-bezier(.16, 1, .3, 1);
}

.why-card:hover .why-watermark,
.why-card:focus-within .why-watermark {
    color: rgba(20, 184, 166, 0.28);
    opacity: 0.98;
    transform: scale(1.08);
    filter: drop-shadow(0 0 32px rgba(20, 184, 166, 0.45));
}

.why-card-content {
    position: relative;
    z-index: 2;
}

/* 아이콘: 기본 흑백 톤 → 호버 시 그라데이션 */
.why-icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: #F1F5F9;
    color: #64748B;
    transform: translateY(0);
    transition:
        transform 0.45s cubic-bezier(.16, 1, .3, 1),
        background 0.45s cubic-bezier(.16, 1, .3, 1),
        color 0.45s cubic-bezier(.16, 1, .3, 1),
        box-shadow 0.45s cubic-bezier(.16, 1, .3, 1);
}

.why-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.why-card:hover .why-icon,
.why-card:focus-within .why-icon {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 42%, #06B6D4 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(20, 184, 166, 0.38);
}

.why-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.why-card p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
    .why-card-surface,
    .why-watermark,
    .why-card-topline::after,
    .why-icon {
        transition-duration: 0.01ms !important;
    }

    .why-card-surface::before {
        opacity: 0 !important;
        transform: none !important;
        transition: none !important;
    }

    .why-card:hover .why-card-surface,
    .why-card:focus-within .why-card-surface {
        transform: none !important;
    }

    .why-card:hover .why-icon,
    .why-card:focus-within .why-icon {
        transform: none !important;
    }
}

/* Careers Section */
.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

/* 좌측 이미지 패널 */
.careers-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 360px;
}

.careers-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.careers-image-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(160deg, rgba(20,184,166,0.12) 0%, rgba(6,182,212,0.22) 100%); */
    pointer-events: none;
}

.careers-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.careers-image-badge .badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #14B8A6;
    flex-shrink: 0;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(20,184,166,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(20,184,166,0); }
}

.careers-image-badge .badge-text {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
}

.careers-image-badge .badge-sub {
    font-size: 11px;
    font-weight: 400;
    color: #64748B;
}

/* 우측 콘텐츠 패널 */
.careers-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.careers-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(20,184,166,0.1);
    border: 1px solid rgba(20,184,166,0.25);
    color: #0D9488;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
    width: fit-content;
}

.careers-right h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #0F172A;
}

.careers-right > p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.8;
    margin-bottom: 28px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.benefit-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #14B8A6 0%, #06B6D4 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.benefit-text span {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
}

/* legacy — kept for backward compat if referenced elsewhere */
.careers-left h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0F172A;
}

.careers-left p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.8;
    margin-bottom: 24px;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.perk-card {
    background: #F8FAFC;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
}

.perk-card:hover {
    background: rgba(20, 184, 166, 0.1);
    transform: translateY(-4px);
}

.perk-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #14B8A6 0%, #06B6D4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perk-card p {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
}

/* CTA Section */
.cta-section {
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
    font-family: inherit;
}

.cta-btn.primary {
    background: white;
    color: #14B8A6;
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    background: #1E293B;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 48px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #14B8A6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14B8A6;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
}

.social-icon:hover {
    background: #14B8A6;
    color: white;
}

/* Typing Animation */
.typing-text {
    display: inline;
}

/* Scroll trigger animations */
.typing-section {
    position: relative;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(.16,1,.3,1);
}

.typing-section.visible {
    opacity: 1;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #products {
        height: auto !important;
    }

    .plt-sticky-ui {
        position: relative !important;
        top: 0 !important;
        height: auto !important;
        overflow: visible !important;
        padding: 40px clamp(24px, 5vw, 48px) !important;
    }

    .plt-container {
        grid-template-columns: 1fr;
    }

    .plt-left {
        padding-right: 0;
        padding-bottom: 24px;
    }

    .plt-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.06);
        padding-top: 32px;
        height: auto;
    }

    .plt-panels {
        height: auto;
        min-height: 480px;
    }

    .plt-title { font-size: 40px; }

    .stats-bar {
        padding: 0 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* viz 대시보드 3열 → 태블릿에서 1열 */
    .chart-row {
        grid-template-columns: 1fr;
    }

    .chart-row-3 {
        grid-template-columns: 1fr;
    }

    .chart-row-3 .chart-panel {
        max-height: none;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 24px;
    }

    .nav-right {
        gap: 16px;
    }

    .hero {
        padding: 0 24px;
    }

    .section {
        padding: 60px 24px;
    }

    .hero-left h1 {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        padding: 0 24px;
    }

    .stats-content {
        align-items: center;
    }

    .stats-text,
    .stats-grid {
        max-width: 100%;
    }

    .stats-text {
        margin-bottom: 40px;
    }

    .stats-text h2 {
        font-size: 1.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .stat-number {
        font-size: 3rem;
    }

    .kpi-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .chart-row {
        grid-template-columns: 1fr;
    }

    .chart-row-3 {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== MULTI-SCENE WRAPPER ===== */
.chat-scene-wrap {
    display: none;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    animation: sceneFadeIn 0.5s cubic-bezier(.16,1,.3,1) forwards;
}
.chat-scene-wrap.active-scene {
    display: flex;
}
@keyframes sceneFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== SCENE 2: AI STREAMING ===== */
.stream-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 6px;
}
.stream-content::-webkit-scrollbar,
.map-content::-webkit-scrollbar { width: 4px; }
.stream-content::-webkit-scrollbar-thumb,
.map-content::-webkit-scrollbar-thumb { background: rgba(20,184,166,0.3); border-radius: 2px; }

.ai-thinking-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 10px;
    font-size: 12px;
    color: rgba(20, 184, 166, 0.8);
    max-width: 80%;
    animation: slideIn 0.4s cubic-bezier(.16,1,.3,1) forwards;
}

.thinking-dots { display: flex; gap: 4px; }
.thinking-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #14B8A6;
    animation: thinkBounce 1.2s infinite;
}
.thinking-dot:nth-child(2) { animation-delay: 0.2s; }
.thinking-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes thinkBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30%            { transform: translateY(-5px); opacity: 1; }
}

.stream-block {
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.22);
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 12px;
    color: #E8F5F3;
    line-height: 1.6;
    max-width: 92%;
    animation: slideIn 0.4s cubic-bezier(.16,1,.3,1) forwards;
}
.stream-label {
    font-size: 10px;
    color: #14B8A6;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stream-item {
    display: flex;
    gap: 6px;
    margin-bottom: 3px;
    opacity: 0;
    animation: streamItemIn 0.35s ease forwards;
}
.stream-dot { color: #14B8A6; flex-shrink: 0; margin-top: 1px; }
@keyframes streamItemIn {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ===== SCENE 3: DECISION MAP ===== */
.map-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding: 4px 8px 8px;
    gap: 0;
}
.dm-connector {
    width: 2px;
    flex-shrink: 0;
    background: linear-gradient(to bottom, rgba(20,184,166,0.6), rgba(20,184,166,0.1));
    border-radius: 1px;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.4s, transform 0.4s cubic-bezier(.16,1,.3,1);
}
.dm-connector.visible { opacity: 1; transform: scaleY(1); }

.dm-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.dm-node {
    border-radius: 9px;
    padding: 7px 11px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: scale(0.82);
    transition: opacity 0.4s cubic-bezier(.16,1,.3,1), transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.3s, border-color 0.3s, background 0.3s;
}
.dm-node.visible { opacity: 1; transform: scale(1); }

.dm-node-user {
    background: #14B8A6;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    padding: 8px 16px;
}

.dm-node-orch {
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(99, 102, 241, 0.45);
    color: #C4B5FD;
    font-weight: 600;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 230px;
    gap: 6px;
}
.orch-title { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.dm-plan-list { width: 100%; display: flex; flex-direction: column; gap: 2px; }
.dm-plan-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 10px; color: rgba(196,181,253,0.55);
    padding: 1px 0;
    opacity: 0;
    transition: opacity 0.3s, color 0.4s;
}
.dm-plan-item.visible { opacity: 1; }
.dm-plan-item.done    { color: #14B8A6; }
.dm-plan-num { width: 14px; flex-shrink: 0; font-weight: 700; }

.dm-node-agent {
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.25);
    color: #E8F5F3;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 74px;
    text-align: center;
}
.agent-name { font-size: 11px; font-weight: 500; }
.agent-status { font-size: 9px; color: rgba(20,184,166,0.45); }
.dm-node-agent.running {
    border-color: #14B8A6;
    box-shadow: 0 0 14px rgba(20,184,166,0.45);
    animation: agentPulse 1.2s infinite;
}
.dm-node-agent.done {
    border-color: rgba(20,184,166,0.55);
    background: rgba(20,184,166,0.18);
}
@keyframes agentPulse {
    0%,100% { box-shadow: 0 0 6px rgba(20,184,166,0.3); }
    50%      { box-shadow: 0 0 18px rgba(20,184,166,0.7); }
}

.dm-node-reco {
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.35);
    color: #E8F5F3;
    font-weight: 500;
    font-size: 12px;
    padding: 8px 16px;
}

.dm-node-result {
    background: linear-gradient(135deg, rgba(20,184,166,0.28), rgba(6,182,212,0.18));
    border: 1px solid #14B8A6;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    max-width: 230px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 14px;
    box-shadow: 0 4px 20px rgba(20,184,166,0.28);
    text-align: center;
}
.result-sub { font-size: 10px; color: rgba(255,255,255,0.65); font-weight: 400; }

/* ===== SCENE 2: BI DASHBOARD ===== */
.bi-dashboard {
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: rgba(10, 18, 35, 0.75);
    border: 1px solid rgba(20, 184, 166, 0.22);
    border-radius: 12px;
    padding: 10px;
    animation: slideIn 0.5s cubic-bezier(.16,1,.3,1) forwards;
}

.bi-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    color: #E8F5F3;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(20, 184, 166, 0.13);
}

.bi-badge {
    margin-left: auto;
    font-size: 9px;
    background: rgba(20, 184, 166, 0.18);
    color: #14B8A6;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* KPI row */
.bi-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.bi-kpi {
    background: rgba(20, 184, 166, 0.06);
    border: 1px solid rgba(20, 184, 166, 0.14);
    border-radius: 8px;
    padding: 6px 5px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}
.bi-kpi:nth-child(1) { animation-delay: 0.05s; }
.bi-kpi:nth-child(2) { animation-delay: 0.2s; }
.bi-kpi:nth-child(3) { animation-delay: 0.35s; }

.bi-kpi-val {
    font-size: 20px;
    font-weight: 800;
    color: #14B8A6;
    line-height: 1.1;
    font-family: 'Inter', sans-serif;
}
.bi-kpi-unit  { font-size: 9px; color: rgba(20,184,166,0.55); }
.bi-kpi-label { font-size: 10px; color: rgba(255,255,255,0.45); margin-top: 3px; }
.bi-kpi-trend { font-size: 9px; margin-top: 3px; color: #10B981; }
.bi-kpi-good  { color: #14B8A6; }

/* Charts row */
.bi-charts-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.bi-chart-box {
    flex: 1;
    background: rgba(20, 184, 166, 0.04);
    border: 1px solid rgba(20, 184, 166, 0.1);
    border-radius: 8px;
    padding: 8px 9px;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.1s forwards;
}

.bi-chart-title {
    font-size: 9px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Horizontal bars */
.bi-bars { display: flex; flex-direction: column; gap: 7px; }

.bi-bar-row {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}
.bi-bar-row:nth-child(1) { animation-delay: 0.25s; }
.bi-bar-row:nth-child(2) { animation-delay: 0.42s; }
.bi-bar-row:nth-child(3) { animation-delay: 0.59s; }
.bi-bar-row:nth-child(4) { animation-delay: 0.76s; }

.bi-bar-label { font-size: 10px; color: rgba(255,255,255,0.45); width: 22px; flex-shrink: 0; }
.bi-bar-val   { font-size: 10px; color: rgba(255,255,255,0.4); width: 26px; text-align: right; flex-shrink: 0; }

.bi-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.bi-bar-fill {
    height: 100%;
    border-radius: 4px;
    width: var(--pct);
    transform: scaleX(0);
    transform-origin: left center;
    animation: barGrowX 0.85s cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes barGrowX {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* Donut */
.bi-donut-box {
    flex: 0 0 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.15s forwards;
}

.bi-donut-svg { width: 62px; height: 62px; }

/* Donut segment animations — draw each arc in from 0 to final length */
.bi-donut-seg {
    /* base: fully hidden */
    stroke-dasharray: 0 176;
}
.bi-seg1 { animation: bseg1 0.75s cubic-bezier(.16,1,.3,1) forwards 0.3s; }
.bi-seg2 { animation: bseg2 0.75s cubic-bezier(.16,1,.3,1) forwards 0.55s; }
.bi-seg3 { animation: bseg3 0.75s cubic-bezier(.16,1,.3,1) forwards 0.8s; }
.bi-seg4 { animation: bseg4 0.75s cubic-bezier(.16,1,.3,1) forwards 1.05s; }

@keyframes bseg1 { to { stroke-dasharray: 74 102; } }
@keyframes bseg2 { to { stroke-dasharray: 49 127; } }
@keyframes bseg3 { to { stroke-dasharray: 32 144; } }
@keyframes bseg4 { to { stroke-dasharray: 21 155; } }

.bi-legend { display: flex; flex-direction: column; gap: 3px; }
.bi-legend-item {
    display: flex; align-items: center; gap: 4px;
    font-size: 9px; color: rgba(255,255,255,0.4);
}
.bi-legend-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* Recommendation card */
.bi-reco-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(20,184,166,0.14), rgba(6,182,212,0.07));
    border: 1px solid rgba(20, 184, 166, 0.35);
    border-radius: 9px;
    padding: 8px 10px;
    opacity: 0;
    animation: fadeInUp 0.55s cubic-bezier(.16,1,.3,1) 1.6s forwards;
}

.bi-reco-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(20,184,166,0.1); border-radius: 8px; flex-shrink: 0; }

.bi-reco-title {
    font-size: 11px;
    font-weight: 700;
    color: #E8F5F3;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.bi-match-badge {
    font-size: 9px;
    background: #14B8A6;
    color: #fff;
    padding: 1px 7px;
    border-radius: 8px;
    font-weight: 700;
}

.bi-reco-detail {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    margin-top: 3px;
}

/* ===== SCROLL REVEAL SYSTEM ===== */
.stat-item,
.service-card,
.client-card,
.why-card {
    animation: none !important;
}

.sr { opacity: 0; will-change: opacity, transform; }
.sr-up    { transform: translateY(44px); }
.sr-left  { transform: translateX(-48px); }
.sr-right { transform: translateX(48px); }
.sr-scale { transform: scale(0.88); }

.sr-fast { transition: opacity 0.45s cubic-bezier(.16,1,.3,1), transform 0.45s cubic-bezier(.16,1,.3,1); }
.sr-med  { transition: opacity 0.65s cubic-bezier(.16,1,.3,1), transform 0.65s cubic-bezier(.16,1,.3,1); }
.sr-slow { transition: opacity 0.9s  cubic-bezier(.16,1,.3,1), transform 0.9s  cubic-bezier(.16,1,.3,1); }

.sr.in { opacity: 1 !important; transform: none !important; }

.hero-left, .chat-window { transition: transform 0.1s linear; }

.section-line {
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #14B8A6, #06B6D4);
    border-radius: 2px;
    width: 0;
    margin-bottom: 20px;
    transition: width 0.8s cubic-bezier(.16,1,.3,1);
}
.section-line.in { width: 60px; }

.careers-left  { transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1); }
.careers-image { transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.careers-right { transition: opacity 0.7s cubic-bezier(.16,1,.3,1) 0.15s, transform 0.7s cubic-bezier(.16,1,.3,1) 0.15s; }
.perks-grid    { transition: opacity 0.7s cubic-bezier(.16,1,.3,1) 0.2s, transform 0.7s cubic-bezier(.16,1,.3,1) 0.2s; }
