    :root {
        /* 
           Mantine-inspired Color Palette 
           (Dark Theme dominant, but clean)
        */

        /* Dark Scale (Backgrounds & Text) */
        --mantine-color-dark-0: #C1C2C5;
        /* Text Primary in Dark */
        --mantine-color-dark-1: #A6A7AB;
        /* Text Secondary */
        --mantine-color-dark-2: #909296;
        /* Borders / De-emphasized text */
        --mantine-color-dark-3: #5C5F66;
        /* Input borders */
        --mantine-color-dark-4: #373A40;
        /* Card borders */
        --mantine-color-dark-5: #2C2E33;
        /* UI Elements bg */
        --mantine-color-dark-6: #25262B;
        /* Cards bg */
        --mantine-color-dark-7: #1A1B1E;
        /* Main Body bg */
        --mantine-color-dark-8: #141517;
        /* Header/Footer bg */
        --mantine-color-dark-9: #101113;

        /* Brand Colors (Open Color Blue) */
        --mantine-color-blue-0: #E7F5FF;
        --mantine-color-blue-1: #D0EBFF;
        --mantine-color-blue-2: #A5D8FF;
        --mantine-color-blue-3: #74C0FC;
        --mantine-color-blue-4: #4DABF7;
        --mantine-color-blue-5: #339AF0;
        --mantine-color-blue-6: #228BE6;
        /* Primary Brand */
        --mantine-color-blue-7: #1C7ED6;
        /* Hover */
        --mantine-color-blue-8: #1971C2;
        --mantine-color-blue-9: #1864AB;

        /* Accents */
        --mantine-color-teal-6: #12B886;
        /* Success/Effect */
        --mantine-color-grape-6: #BE4BDB;
        /* Innovation */

        /* Spacing & Layout */
        --mantine-radius-xs: 2px;
        --mantine-radius-sm: 4px;
        --mantine-radius-md: 8px;
        --mantine-radius-lg: 16px;
        --mantine-radius-xl: 32px;

        --mantine-shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
        --mantine-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 10px 15px -5px, rgba(0, 0, 0, 0.04) 0px 7px 7px -5px;
        --mantine-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --mantine-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        --mantine-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

        /* Font */
        --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        --font-family-mono: 'JetBrains Mono', monospace;

        /* JINHYUN.AI Brand Variables */
        --jh-blue: #007AFF;
        --jh-blue-glow: rgba(0, 122, 255, 0.35);
        --jh-blue-glow-strong: rgba(0, 122, 255, 0.5);
    }

    * {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
        /* Header offset */
    }

    body {
        margin: 0;
        background-color: var(--mantine-color-dark-7);
        color: var(--mantine-color-dark-0);
        font-family: var(--font-family-sans);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
    }

    /* Typography */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin: 0;
        font-weight: 700;
        color: white;
        line-height: 1.2;
    }

    p {
        margin: 0 0 1rem 0;
        color: var(--mantine-color-dark-1);
    }

    a {
        text-decoration: none;
        color: inherit;
        transition: color 0.2s ease;
    }

    /* Animations (Next.js-like Entrance) */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .animate-enter {
        animation: fadeInUp 0.5s ease-out forwards;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(26, 27, 30, 0.85);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--mantine-color-dark-4);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .inner-header {
        width: 100%;
        max-width: 1200px;
        padding: 0 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }



    .logo {
        font-size: 1.25rem;
        font-weight: 800;
        color: white;
        letter-spacing: -0.5px;
    }

    .logo-highlight {
        color: var(--mantine-color-blue-6);
    }

    .nav-links {
        display: flex;
        gap: 24px;
        align-items: center;
        position: relative;
        height: 100%;
        padding: 0 10px;
    }

    .nav-links a {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--mantine-color-dark-1);
        cursor: pointer;
        transition: color 0.3s ease;
        padding: 8px 0;
        white-space: nowrap;
        position: relative;
        z-index: 2;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: white !important;
    }

    .nav-contact-link {
        color: var(--mantine-color-blue-4) !important;
        font-weight: 700 !important;
    }

    .nav-contact-link:hover {
        color: var(--mantine-color-blue-3) !important;
    }

    .nav-admin-link {
        color: var(--mantine-color-dark-3) !important;
        font-size: 0.75rem !important;
        opacity: 0.5;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 5px 5px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.02);
    }

    .nav-admin-link:hover {
        opacity: 1;
        background: rgba(255, 255, 255, 0.05);
        color: var(--mantine-color-dark-1) !important;
    }

    /* Moving Indicator Bar */
    .nav-indicator {
        position: absolute;
        bottom: 5px;
        height: 3px;
        background: var(--jh-blue);
        border-radius: 100px;
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: 0 0 12px var(--jh-blue-glow-strong), 0 0 4px var(--jh-blue);
        pointer-events: none;
        opacity: 0;
        z-index: 1;
    }

    .nav-indicator.visible {
        opacity: 1;
    }

    /* Language Toggle */
    .lang-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--mantine-color-dark-2);
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 4px;
        border: 1px solid var(--mantine-color-dark-4);
    }

    .lang-toggle:hover {
        border-color: var(--mantine-color-dark-3);
        color: var(--mantine-color-dark-0);
    }

    /* --- Header Clock Styles (Project 18 Style) --- */
    .clock-container {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        margin-left: 20px;
        min-width: 100px;
    }

    .date-now {
        font-size: 0.65rem;
        color: var(--mantine-color-dark-2);
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .time-wrapper {
        display: flex;
        align-items: center;
        gap: 3px;
    }

    .time-card {
        position: relative;
        background: var(--jh-blue);
        color: white;
        border-radius: 4px;
        font-weight: 800;
        font-size: 0.85rem;
        min-width: 28px;
        height: 28px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
    }

    /* 플립 효과용 수평 절취선 */
    .time-card::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        background: rgba(0, 0, 0, 0.15);
        box-shadow: 0 1px 1px rgba(255, 255, 255, 0.05);
        z-index: 2;
    }

    .time-card-bottom-shade {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.02) 100%);
        pointer-events: none;
    }

    .time-sep {
        font-weight: 800;
        color: var(--jh-blue);
        opacity: 0.8;
        font-size: 0.8rem;
        animation: clock-blink 1s infinite;
    }

    @keyframes clock-blink {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0.3;
        }
    }

    /* Mobile: Header clock hidden to save space */
    @media (max-width: 1100px) {
        .clock-container {
            display: none;
        }
    }

    .lang-toggle .active {
        color: var(--mantine-color-blue-4);
    }

    .lang-toggle .divider {
        color: var(--mantine-color-dark-4);
    }

    /* Components: Buttons (Mantine-like) */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 42px;
        padding: 0 22px;
        font-weight: 600;
        font-size: 0.9rem;
        border-radius: 4px;
        /* Mantine defaults are usually smaller radius */
        cursor: pointer;
        transition: all 0.2s ease;
        border: 1px solid transparent;
        font-family: var(--font-family-sans);
    }

    .btn-primary {
        background-color: var(--mantine-color-blue-6);
        color: white;
    }

    .btn-primary:hover {
        background-color: var(--mantine-color-blue-7);
        transform: translateY(-1px);
    }

    /* Components: Badges */
    .mantine-Badge {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Hero Section */
    .hero-section {
        height: calc(100vh - 64px);
        min-height: 500px;
        margin-top: 64px;
        position: relative;
        background: var(--mantine-color-dark-8);
        overflow: hidden;
        border-bottom: 1px solid var(--mantine-color-dark-5);
    }

    .carousel-slide {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.6s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-slide.active {
        opacity: 1;
        z-index: 10;
    }

    .slide-bg-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .slide-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.7;
        /* Slightly darkened for text readability */
    }

    .slide-overlay {
        position: absolute;
        z-index: 2;
        background: linear-gradient(to bottom, rgba(26, 27, 30, 0) 0%, rgba(26, 27, 30, 1) 100%);
        width: 100%;
        height: 100%;
    }

    .slide-content {
        position: relative;
        z-index: 10;
        max-width: 800px;
        text-align: center;
        padding: 0 20px;
        opacity: 0;
        animation: fadeInText 0.8s ease 0.3s forwards;
    }

    @keyframes fadeInText {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .slide-title {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 1rem;
        letter-spacing: -1px;
        color: white;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.6);
    }

    .slide-desc {
        font-size: 1.25rem;
        color: var(--mantine-color-dark-1);
        margin-bottom: 2rem;
    }

    /* Carousel Controls - Premium Design */
    .carousel-prev,
    .carousel-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        user-select: none;
    }

    .carousel-prev:hover,
    .carousel-next:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    .carousel-prev {
        left: 24px;
    }

    .carousel-next {
        right: 24px;
    }

    /* Progress Bar */
    .carousel-progress {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: rgba(255, 255, 255, 0.1);
        z-index: 20;
    }

    .carousel-progress-bar {
        height: 100%;
        background: linear-gradient(90deg, var(--mantine-color-blue-6), var(--mantine-color-cyan-5));
        width: 0%;
        transition: width 0.1s linear;
    }

    /* Dots - Horizontal Bar Style */
    .carousel-dots {
        position: absolute;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 20;
        display: flex;
        gap: 8px;
    }

    .dot {
        width: 30px;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .dot:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    .dot.active {
        background: white;
        width: 40px;
    }



    /* Layout & Utilities */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
    }

    .section {
        padding: 80px 0;
    }

    .section-intro {
        margin-bottom: 48px;
        text-align: left;
        /* Professional docs style */
        border-left: 4px solid var(--mantine-color-blue-6);
        padding-left: 20px;
    }

    .section-title {
        font-size: 2rem;
        color: white;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 1.1rem;
        color: var(--mantine-color-dark-2);
    }

    /* Cards (Mantine Style) */
    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 24px;
    }

    .mantine-Card {
        background: var(--mantine-color-dark-6);
        border: 1px solid var(--mantine-color-dark-4);
        border-radius: var(--mantine-radius-md);
        overflow: hidden;
        transition: all 0.2s ease;
        display: flex;
        flex-direction: column;
    }

    .mantine-Card:hover {
        transform: translateY(-4px);
        border-color: var(--mantine-color-dark-3);
        box-shadow: var(--mantine-shadow-lg);
    }

    .card-image {
        height: 180px;
        width: 100%;
        background: var(--mantine-color-dark-5);
        overflow: hidden;
        position: relative;
        /* 배지 위치 기준점 */
    }

    /* 시연 영상 업로드 플로팅 배지 (Mantine Style) */
    .card-demo-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background: linear-gradient(135deg, #FF4B2B 0%, #FF416C 100%);
        color: white;
        padding: 4px 10px;
        border-radius: 4px;
        font-size: 0.65rem;
        font-weight: 800;
        z-index: 5;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        gap: 4px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        animation: badge-pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        overflow: hidden;
    }

    /* 반짝이는 효과 추가 */
    .card-demo-badge::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        animation: badge-glaze 3s infinite;
    }

    @keyframes badge-pulse {

        0%,
        100% {
            transform: scale(1);
            opacity: 1;
        }

        50% {
            transform: scale(1.05);
            opacity: 0.9;
        }
    }

    @keyframes badge-glaze {
        0% {
            left: -100%;
        }

        20% {
            left: 100%;
        }

        100% {
            left: 100%;
        }
    }

    /* 기본 이미지 설정 (공통) */
    .card-image img,
    .card-image iframe {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
        pointer-events: none;
    }

    /* [솔루션 섹션 전용] 평상시 흑백 보임 처리 */
    #systems .card-image img,
    #systems .card-image iframe {
        filter: grayscale(100%);
    }

    /* 호버 시 확대 (공통) */
    .mantine-Card:hover .card-image img,
    .mantine-Card:hover .card-image iframe {
        transform: scale(1.1);
    }

    /* [솔루션 섹션 전용] 호버 시 컬러 전환 */
    #systems .mantine-Card:hover .card-image img,
    #systems .mantine-Card:hover .card-image iframe {
        filter: grayscale(0%);
    }

    .card-content {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .card-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--mantine-color-dark-0);
    }

    .card-meta {
        margin-top: auto;
        padding-top: 16px;
        border-top: 1px solid var(--mantine-color-dark-4);
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 16px;
    }

    .card-link {
        color: var(--mantine-color-blue-4);
        font-weight: 600;
        font-size: 0.9rem;
    }

    /* Tech Stack Badge Grid */
    .tech-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .tech-group {
        background: var(--mantine-color-dark-6);
        padding: 20px;
        border-radius: var(--mantine-radius-md);
        border: 1px solid var(--mantine-color-dark-5);
    }

    .tech-group h3 {
        font-size: 0.95rem;
        color: var(--mantine-color-dark-2);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
    }

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

    /* 챗봇 하이라이트 효과 */
    @keyframes card-highlight-pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(34, 139, 230, 0.7);
            transform: scale(1);
            border-color: transparent;
        }

        50% {
            box-shadow: 0 0 30px 15px rgba(34, 139, 230, 0.5);
            transform: scale(1.03);
            border-color: var(--mantine-color-blue-5);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(34, 139, 230, 0);
            transform: scale(1);
            border-color: transparent;
        }
    }

    .mantine-Card.chat-highlight {
        z-index: 100;
        position: relative;
        animation: card-highlight-pulse 1s ease-in-out infinite;
        transition: all 0.3s ease;
    }

    /* Chat Styles Update (Padding etc) */
    .message {
        padding: 10px 14px;
        border-radius: 12px;
        max-width: 85%;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 8px;
        word-break: break-all;
    }

    .tech-badge {
        background: var(--mantine-color-dark-4);
        color: var(--mantine-color-dark-0);
        padding: 4px 12px;
        border-radius: 16px;
        font-size: 0.85rem;
        font-weight: 500;
        border: 1px solid var(--mantine-color-dark-3);
    }

    /* Footer */
    .footer {
        background-color: #000000;
        /* ?전 검?으?변경하??비디?? ?체??*/
        padding: 60px 0 40px;
        border-top: 1px solid var(--mantine-color-dark-6);
        font-size: 0.95rem;
    }


    .footer-content-centered {
        display: block;
        width: fit-content;
        margin: 0 auto 40px;
        text-align: left;
    }

    .footer-brand {
        margin-bottom: 12px;
    }

    .footer-brand .logo {
        font-size: 1.8rem;
        margin-bottom: 4px;
        display: inline-block;
    }

    .footer-desc {
        color: var(--mantine-color-dark-1);
        font-size: 0.88rem;
        line-height: 1.35;
        /* 행간 축소 */
        margin: 0;
        max-width: 500px;
    }

    /* Detail Grid (Director, Email, etc) */
    .copyright {
        text-align: center;
        color: var(--mantine-color-dark-2);
        font-size: 0.85rem;
        padding-top: 24px;
        margin-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Footer 2-Column Layout */
    .footer-layout {
        display: flex;
        justify-content: center;
        /* 그룹 전체 중앙 정렬 */
        gap: 32px;
        /* 영상과 텍스트 간 간격 축소 */
        align-items: flex-start;
        max-width: 1000px;
        margin: 0 auto;
    }

    .footer-video-section {
        width: 100%;
        position: relative;
        max-width: 240px;
        /* 텍스트 높이에 맞춰 크기 대폭 축소 */
        flex-shrink: 0;
    }

    .promo-video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 */
        height: 0;
        overflow: hidden;
        border-radius: 8px;
        background: transparent;
        border: none;
        box-shadow: none;
        /* 그림자 제거하여 배경과 일체화 */
    }

    .promo-video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .footer-main-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        max-width: 600px;
    }

    /* 푸터 타이핑 애니메이션 스타일 */
    .footer-typing-container {
        margin-top: 4px;
        min-height: 40px;
        /* 고정 높이로 레이아웃 흔들림 방지 */
        display: flex;
        align-items: center;
    }

    .footer-typing-text {
        font-family: 'Nanum Pen Script', cursive;
        font-size: 1.8rem;
        color: var(--mantine-color-blue-3);
        margin: 0;
        letter-spacing: 1px;
        text-shadow: 0 0 10px rgba(77, 171, 245, 0.3);
    }

    /* 타이핑 커서 효과 */
    .footer-typing-text::after {
        content: '|';
        display: inline-block;
        margin-left: 3px;
        animation: cursor-blink 0.8s infinite;
        font-weight: 200;
        color: var(--jh-blue);
    }

    @keyframes cursor-blink {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0;
        }
    }

    @media (max-width: 900px) {
        .footer-layout {
            flex-direction: row;
            justify-content: center;
            /* 전체 그룹 중앙 정렬 */
            gap: 24px;
            padding: 0 20px;
        }

        .footer-video-section {
            max-width: 140px;
            /* 모바일에서는 영상 크기 더 축소 */
        }

        .footer-main-info {
            align-items: flex-start;
            /* 중앙 정렬 해제 - 왼쪽 정렬 */
            text-align: left;
        }

        .footer-brand .logo {
            font-size: 1.4rem;
            /* 모바일 로고 크기 축소 */
        }

        .footer-desc {
            font-size: 0.8rem;
            max-width: 100%;
        }
    }

    @media (max-width: 768px) {
        .footer-content {
            flex-direction: column;
            gap: 30px;
        }

        .footer-brand {
            max-width: 100%;
        }

        .info-label {
            min-width: 70px;
        }
    }

    /* Modal */
    .modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(4px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .modal-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    .modal-container {
        background: var(--mantine-color-dark-6);
        width: 100%;
        max-width: 700px;
        max-height: 90vh;
        border-radius: 12px;
        border: 1px solid var(--mantine-color-dark-4);
        display: flex;
        flex-direction: column;
        box-shadow: var(--mantine-shadow-xl);
        overflow: hidden;
    }

    .modal-header {
        padding: 16px 24px;
        border-bottom: 1px solid var(--mantine-color-dark-5);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .close-btn {
        background: transparent;
        border: none;
        color: var(--mantine-color-dark-2);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .close-btn:hover {
        color: white;
    }

    .modal-body {
        padding: 24px;
        overflow-y: auto;
    }

    .modal-media-wrapper img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid var(--mantine-color-dark-5);
    }

    .modal-content-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .modal-section h4 {
        color: var(--mantine-color-blue-4);
        font-size: 0.85rem;
        text-transform: uppercase;
        margin-bottom: 8px;
    }

    /* Premium iOS-style Spinner */
    .loader-skeleton {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 50;
        background-color: var(--mantine-color-dark-8);
        /* 배경?�을 맞춰???�연?�럽�?*/
    }

    .ios-spinner {
        color: var(--mantine-color-dark-0);
        display: inline-block;
        position: relative;
        width: 64px;
        height: 64px;
    }

    .ios-spinner div {
        transform-origin: 32px 32px;
        animation: spinner-fade 1.2s linear infinite;
    }

    .ios-spinner div:after {
        content: " ";
        display: block;
        position: absolute;
        top: 3px;
        left: 29px;
        width: 5px;
        height: 14px;
        border-radius: 20%;
        background: #fff;
    }

    /* 12개의 Blade ?�전 �??�레???�정 */
    .ios-spinner div:nth-child(1) {
        transform: rotate(0deg);
        animation-delay: -1.1s;
    }

    .ios-spinner div:nth-child(2) {
        transform: rotate(30deg);
        animation-delay: -1.0s;
    }

    .ios-spinner div:nth-child(3) {
        transform: rotate(60deg);
        animation-delay: -0.9s;
    }

    .ios-spinner div:nth-child(4) {
        transform: rotate(90deg);
        animation-delay: -0.8s;
    }

    .ios-spinner div:nth-child(5) {
        transform: rotate(120deg);
        animation-delay: -0.7s;
    }

    .ios-spinner div:nth-child(6) {
        transform: rotate(150deg);
        animation-delay: -0.6s;
    }

    .ios-spinner div:nth-child(7) {
        transform: rotate(180deg);
        animation-delay: -0.5s;
    }

    .ios-spinner div:nth-child(8) {
        transform: rotate(210deg);
        animation-delay: -0.4s;
    }

    .ios-spinner div:nth-child(9) {
        transform: rotate(240deg);
        animation-delay: -0.3s;
    }

    .ios-spinner div:nth-child(10) {
        transform: rotate(270deg);
        animation-delay: -0.2s;
    }

    .ios-spinner div:nth-child(11) {
        transform: rotate(300deg);
        animation-delay: -0.1s;
    }

    .ios-spinner div:nth-child(12) {
        transform: rotate(330deg);
        animation-delay: 0s;
    }

    @keyframes spinner-fade {
        0% {
            opacity: 1;
        }

        100% {
            opacity: 0;
        }
    }

    /* Skeleton Loading */
    .skeleton-card {
        height: 300px;
        background: var(--mantine-color-dark-5);
        border-radius: 8px;
        animation: pulse 1.5s infinite ease-in-out;
    }

    @keyframes pulse {
        0% {
            opacity: 0.6;
        }

        50% {
            opacity: 0.8;
        }

        100% {
            opacity: 0.6;
        }
    }

    /* Form Styles */
    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        display: block;
        margin-bottom: 6px;
        color: var(--mantine-color-dark-1);
        font-size: 0.9rem;
        font-weight: 500;
    }

    .form-input {
        width: 100%;
        background: var(--mantine-color-dark-5);
        border: 1px solid var(--mantine-color-dark-4);
        border-radius: 4px;
        padding: 10px 12px;
        color: white;
        font-size: 0.95rem;
        font-family: inherit;
        transition: border-color 0.2s;
    }

    .form-input:focus {
        outline: none;
        border-color: var(--mantine-color-blue-6);
    }

    .form-input::placeholder {
        color: var(--mantine-color-dark-3);
    }

    /* Mobile Controls (Hidden on Desktop) */
    .mobile-controls {
        display: none;
        align-items: center;
        gap: 12px;
    }

    /* Hamburger Button */
    .hamburger {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        display: flex;
        flex-direction: column;
        gap: 5px;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        position: relative;
        z-index: 2001;
    }

    .hamburger-line {
        width: 24px;
        height: 2px;
        background-color: var(--mantine-color-blue-4);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    /* Hamburger Animation to X */
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(20, 21, 23, 0.98);
        backdrop-filter: blur(10px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 32px;
        text-align: center;
        padding: 40px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease 0.1s;
    }

    .mobile-menu-overlay.open .mobile-menu-nav {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-nav a {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--mantine-color-dark-1);
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 12px 0;
        border-bottom: 2px solid transparent;
        display: inline-block;
    }

    .mobile-menu-nav a:hover {
        color: var(--mantine-color-blue-4);
        border-bottom-color: var(--mantine-color-blue-4);
        transform: translateX(8px);
    }

    /* Stagger Animation for Menu Items */
    .mobile-menu-overlay.open .mobile-menu-nav a:nth-child(1) {
        animation: slideInLeft 0.4s ease 0.1s forwards;
    }

    .mobile-menu-overlay.open .mobile-menu-nav a:nth-child(2) {
        animation: slideInLeft 0.4s ease 0.2s forwards;
    }

    .mobile-menu-overlay.open .mobile-menu-nav a:nth-child(3) {
        animation: slideInLeft 0.4s ease 0.3s forwards;
    }

    .mobile-menu-overlay.open .mobile-menu-nav a:nth-child(4) {
        animation: slideInLeft 0.4s ease 0.4s forwards;
    }

    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {

        /* Hide desktop navigation */
        .nav-links {
            display: none;
        }

        /* Show mobile controls */
        .mobile-controls {
            display: flex;
        }

        /* Adjust header padding */
        .inner-header {
            padding: 0 16px;
        }

        /* Other mobile adjustments */
        .modal-content-grid {
            grid-template-columns: 1fr;
        }

        .slide-title {
            font-size: 2rem;
        }

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

        .section {
            padding: 60px 0;
        }

        .section-title {
            font-size: 1.5rem;
        }

        .carousel-prev,
        .carousel-next {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }

        .carousel-prev {
            left: 12px;
        }

        .carousel-next {
            right: 12px;
        }
    }

    /* Category Tabs System */
    .tabs-container {
        display: flex;
        gap: 12px;
        margin-bottom: 40px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 5px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 100px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .tab-item {
        padding: 10px 24px;
        border-radius: 100px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        color: var(--mantine-color-dark-2);
        border: 1px solid transparent;
    }

    .tab-item:hover {
        color: white;
        background: rgba(255, 255, 255, 0.05);
    }

    .tab-item.active {
        background: var(--mantine-color-blue-7);
        color: white;
        box-shadow: 0 10px 20px rgba(28, 126, 214, 0.2);
    }

    @media (max-width: 768px) {
        .tabs-container {
            gap: 8px;
            overflow-x: auto;
            flex-wrap: nowrap;
            padding: 5px 15px;
            width: 100%;
            border-radius: 0;
            background: transparent;
            border: none;
            justify-content: flex-start;
        }

        .tab-item {
            white-space: nowrap;
            padding: 8px 16px;
            font-size: 0.85rem;
        }
    }

    /* =============================================
       About Section (소개)
       ============================================= */
    .about-section {
        position: relative;
        padding: 160px 0;
        /* 위아래 간격을 충분히 확보 */
        background: var(--mantine-color-dark-8);
        overflow: hidden;
        border-bottom: 1px solid var(--mantine-color-dark-5);
        min-height: 90vh;
        /* 화면의 대부분을 차지하도록 설정 */
        display: flex;
        align-items: center;
        /* 콘텐츠를 세로 중앙에 배치 */
        justify-content: center;
    }

    /* 배경 빛번짐 효과 */
    .about-bg-glow {
        position: absolute;
        top: -200px;
        left: 50%;
        transform: translateX(-50%);
        width: 700px;
        height: 700px;
        background: radial-gradient(ellipse at center, rgba(34, 139, 230, 0.07) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
    }

    .about-container {
        position: relative;
        z-index: 1;
        max-width: 820px;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    /* ABOUT 라벨 */
    .about-label {
        display: inline-block;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 3px;
        color: var(--mantine-color-blue-5);
        text-transform: uppercase;
        margin-bottom: 28px;
        border: 1px solid rgba(34, 139, 230, 0.3);
        padding: 5px 16px;
        border-radius: 100px;
        background: rgba(34, 139, 230, 0.06);
    }

    /* 메인 타이틀 */
    .about-main-title {
        font-size: clamp(2.4rem, 6vw, 4.2rem);
        font-weight: 900;
        letter-spacing: -2px;
        line-height: 1.1;
        color: white;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* JINHYUN.AI — 한 줄로 묶는 wrapper */
    .about-title-main {
        display: inline-block;
        white-space: nowrap;
        position: relative;
        z-index: 1;
        padding: 10px 40px;
    }

    /* 역광 효과 Layer 1: 맥동하는 부드러운 블루 광원 */
    .about-title-main::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 140%;
        height: 140%;
        background: radial-gradient(circle,
                rgba(0, 122, 255, 0.45) 0%,
                rgba(0, 122, 255, 0.15) 40%,
                transparent 75%);
        filter: blur(45px);
        z-index: -1;
        border-radius: 50%;
        animation: branding-glow-pulse 4s ease-in-out infinite alternate;
        pointer-events: none;
    }

    /* 역광 효과 Layer 2: 뒤에서 회전하는 하이라이트 빛줄기 */
    .about-title-main::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 180%;
        height: 180%;
        background: conic-gradient(from 0deg at 50% 50%,
                transparent 0%,
                transparent 40%,
                rgba(0, 122, 255, 0.3) 50%,
                transparent 60%,
                transparent 100%);
        filter: blur(60px);
        z-index: -2;
        animation: branding-backlight-rotate 12s linear infinite;
        pointer-events: none;
    }

    .about-title-dot {
        color: var(--mantine-color-blue-4);
        text-shadow: 0 0 15px var(--jh-blue-glow-strong);
    }

    @keyframes branding-glow-pulse {
        from {
            transform: translate(-50%, -50%) scale(0.9);
            opacity: 0.5;
        }

        to {
            transform: translate(-50%, -50%) scale(1.1);
            opacity: 0.9;
        }
    }

    @keyframes branding-backlight-rotate {
        from {
            transform: translate(-50%, -50%) rotate(0deg);
        }

        to {
            transform: translate(-50%, -50%) rotate(360deg);
        }
    }

    /* '코딩하는 사무국장' — 구분선 아래에 위치 */
    .about-sub-tag {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
        font-weight: 500;
        color: var(--mantine-color-dark-2);
        letter-spacing: 3px;
        text-transform: none;
        margin: 0 0 24px 0;
        text-align: center;
    }

    .about-title-sub {
        font-size: clamp(1.1rem, 3vw, 1.6rem);
        font-weight: 500;
        color: var(--mantine-color-dark-1);
        letter-spacing: 4px;
        margin-top: 4px;
    }

    /* 슬로건 */
    .about-slogan {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        color: var(--mantine-color-blue-3);
        font-weight: 500;
        margin-top: 32px;
        font-style: italic;
        letter-spacing: 0.3px;
        line-height: 1.6;
    }

    /* 구분선 */
    .about-divider {
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, var(--mantine-color-blue-6), var(--mantine-color-blue-3));
        border-radius: 2px;
        margin: 48px auto;
        opacity: 0.8;
    }

    /* Bio 텍스트 */
    .about-bio {
        text-align: center;
    }

    .about-bio p {
        font-size: clamp(0.95rem, 2vw, 1.08rem);
        color: var(--mantine-color-dark-1);
        line-height: 2.0;
        font-weight: 400;
        letter-spacing: 0.3px;
        margin: 0 0 4px 0;
        word-break: keep-all;
    }

    /* 서명 — 코딩하는 사무국장 장진현 */
    .about-signature {
        margin-top: 40px;
        font-size: 1.7rem;
        font-weight: 400;
        font-family: 'Nanum Pen Script', cursive;
        color: var(--mantine-color-dark-1);
        letter-spacing: 1px;
        text-align: center;
        opacity: 0.85;
    }

    @media (max-width: 768px) {
        .about-section {
            padding: 80px 0;
        }

        .about-main-title {
            letter-spacing: -1px;
        }

        .about-title-sub {
            letter-spacing: 2px;
        }

        .about-bio {
            text-align: left;
            line-height: 1.9;
        }
    }

    /* =============================================
       AI Assistant Chat UI
       ============================================= */
    .chat-fab-container {
        position: fixed;
        right: 30px;
        bottom: 30px;
        z-index: 1500;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .chat-fab {
        position: relative;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: var(--jh-blue);
        color: white;
        border: none;
        box-shadow: 0 10px 25px rgba(0, 122, 255, 0.4);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        animation: chat-bounce 3s infinite ease-in-out, chat-glow 2s infinite alternate;
    }

    /* 펄스 물결 효과 (신규) */
    .chat-fab::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: var(--jh-blue);
        opacity: 0.6;
        z-index: -1;
        animation: chat-ripple 2s infinite;
    }

    @keyframes chat-ripple {
        0% {
            transform: scale(1);
            opacity: 0.6;
        }

        100% {
            transform: scale(1.8);
            opacity: 0;
        }
    }

    @keyframes chat-bounce {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    @keyframes chat-glow {
        from {
            box-shadow: 0 0 10px rgba(0, 122, 255, 0.4), 0 10px 25px rgba(0, 122, 255, 0.4);
        }

        to {
            box-shadow: 0 0 25px rgba(0, 122, 255, 0.8), 0 10px 35px rgba(0, 122, 255, 0.6);
        }
    }

    .chat-fab:hover {
        transform: scale(1.1) rotate(5deg);
        animation: none;
        /* 호버 시에는 애니메이션 중단 */
        box-shadow: 0 15px 35px rgba(0, 122, 255, 0.6);
    }

    .chat-window {
        position: fixed;
        right: 30px;
        bottom: 100px;
        width: 380px;
        height: 550px;
        background: rgba(26, 27, 30, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        z-index: 1500;
        display: flex;
        flex-direction: column;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overscroll-behavior: contain;
    }

    .chat-window.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .chat-header {
        padding: 20px;
        background: rgba(0, 122, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 20px 20px 0 0;
    }

    .chat-header-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .chat-status-dot {
        width: 10px;
        height: 10px;
        background: #00FF94;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(0, 255, 148, 0.5);
        animation: pulse-green 2s infinite;
    }

    @keyframes pulse-green {
        0% {
            transform: scale(1);
            opacity: 1;
        }

        50% {
            transform: scale(1.2);
            opacity: 0.7;
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    .chat-title {
        font-weight: 700;
        font-size: 1rem;
        color: white;
    }

    .chat-subtitle {
        font-size: 0.75rem;
        color: var(--mantine-color-dark-2);
    }

    .chat-close {
        background: transparent;
        border: none;
        color: var(--mantine-color-dark-2);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px;
        transition: color 0.2s;
    }

    .chat-close:hover {
        color: white;
    }

    .chat-messages {
        flex: 1;
        padding: 20px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
        overscroll-behavior: contain;
    }

    /* Scrollbar for chat */
    .chat-messages::-webkit-scrollbar {
        width: 4px;
    }

    .chat-messages::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 100px;
    }

    .chat-action-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 8px;
        padding: 8px 14px;
        background: linear-gradient(135deg, #007AFF 0%, #00C6FF 100%);
        color: #ffffff !important;
        border: none;
        border-radius: 10px;
        font-size: 0.82rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
        text-decoration: none;
    }

    .chat-action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 122, 255, 0.5);
    }

    .message {
        max-width: 85%;
        padding: 12px 16px;
        border-radius: 15px;
        font-size: 0.9rem;
        line-height: 1.5;
        position: relative;
    }

    .message.bot {
        align-self: flex-start;
        background: var(--mantine-color-dark-5);
        color: var(--mantine-color-dark-0);
        border-bottom-left-radius: 2px;
    }

    .message.user {
        align-self: flex-end;
        background: var(--jh-blue);
        color: white;
        border-bottom-right-radius: 2px;
    }

    .message.loading {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        gap: 4px;
        padding: 10px 15px;
    }

    .dot-loading {
        width: 6px;
        height: 6px;
        background: var(--mantine-color-dark-2);
        border-radius: 50%;
        animation: dot-loading 1.4s infinite;
    }

    .dot-loading:nth-child(2) {
        animation-delay: 0.2s;
    }

    .dot-loading:nth-child(3) {
        animation-delay: 0.4s;
    }

    @keyframes dot-loading {

        0%,
        80%,
        100% {
            opacity: 0;
            transform: scale(0.8);
        }

        40% {
            opacity: 1;
            transform: scale(1.1);
        }
    }

    .chat-input-area {
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        gap: 10px;
    }

    .chat-input-area input {
        flex: 1;
        background: var(--mantine-color-dark-5);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 100px;
        padding: 10px 18px;
        color: white;
        font-size: 0.9rem;
        transition: border-color 0.2s;
    }

    .chat-input-area input:focus {
        outline: none;
        border-color: var(--jh-blue);
    }

    .chat-send {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--jh-blue);
        color: white;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s;
    }

    .chat-send:hover {
        transform: scale(1.05);
        background: var(--mantine-color-blue-7);
    }

    @media (max-width: 480px) {
        .chat-window {
            right: 15px;
            bottom: 15px;
            left: 15px;
            width: auto;
            height: 70vh;
        }

        .chat-fab-container {
            right: 20px;
            bottom: 20px;
        }
    }

    /* ===== 환영 말풍선 스타일 ===== */
    .chat-welcome-bubble {
        position: absolute;
        bottom: 75px;
        right: 0;
        width: 260px;
        background: rgba(26, 27, 30, 0.85);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(0, 122, 255, 0.3);
        border-radius: 16px;
        padding: 14px 18px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 122, 255, 0.1);
        cursor: pointer;
        display: none;
        /* JS로 표시 */
        animation: bubble-fade-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        z-index: 1501;
    }

    .bubble-text {
        font-size: 0.85rem;
        color: white;
        line-height: 1.5;
        font-weight: 500;
        word-break: keep-all;
        transition: opacity 0.3s ease;
        /* 텍스트 교체 시 부드러운 전환 */
    }

    .bubble-tail {
        position: absolute;
        bottom: -8px;
        right: 25px;
        width: 16px;
        height: 16px;
        background: rgba(26, 27, 30, 0.85);
        backdrop-filter: blur(12px);
        border-right: 1px solid rgba(0, 122, 255, 0.3);
        border-bottom: 1px solid rgba(0, 122, 255, 0.3);
        transform: rotate(45deg);
    }

    .bubble-close {
        position: absolute;
        top: 6px;
        right: 8px;
        background: transparent;
        border: none;
        color: var(--mantine-color-dark-3);
        font-size: 1.2rem;
        padding: 0 4px;
        cursor: pointer;
        transition: color 0.2s;
    }

    .bubble-close:hover {
        color: white;
    }

    @keyframes bubble-fade-in {
        from {
            opacity: 0;
            transform: translateY(20px) scale(0.8);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* ===== 문의 게시판 개인정보 동의 영역 ===== */
    .consent-area {
        margin: 18px 0;
        padding: 18px 16px;
        background: linear-gradient(135deg, rgba(0, 122, 255, 0.07) 0%, rgba(0, 50, 130, 0.04) 100%);
        border: 1px solid rgba(0, 122, 255, 0.3);
        border-radius: 12px;
        font-size: 0.85rem;
        position: relative;
        overflow: hidden;
    }

    .consent-area::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--jh-blue), rgba(0, 122, 255, 0.3), transparent);
        border-radius: 12px 12px 0 0;
    }

    .consent-title {
        font-weight: 700;
        color: var(--mantine-color-dark-0);
        margin-bottom: 8px;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }

    .consent-desc {
        color: var(--mantine-color-dark-2);
        margin-bottom: 14px;
        line-height: 1.6;
    }

    .consent-buttons {
        display: flex;
        gap: 10px;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .consent-btn {
        flex: 1;
        min-width: 0;
        padding: 11px 8px;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 700;
        font-size: 0.85rem;
        font-family: var(--font-family-sans);
        transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;
        letter-spacing: 0.3px;
    }

    .consent-btn::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 10px;
        opacity: 0;
        transition: opacity 0.25s ease;
    }

    .consent-btn:hover::after {
        opacity: 1;
    }

    /* ✅ 동의함 - 프리미엄 블루 그라디언트 */
    .consent-btn-agree {
        background: linear-gradient(135deg, #007AFF 0%, #0055D4 100%);
        color: white;
        box-shadow: 0 3px 14px rgba(0, 122, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(0, 122, 255, 0.6);
    }

    .consent-btn-agree::after {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
    }

    .consent-btn-agree:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 122, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
        background: linear-gradient(135deg, #1A8EFF 0%, #0068F0 100%);
    }

    .consent-btn-agree:active {
        transform: translateY(0px);
        box-shadow: 0 2px 8px rgba(0, 122, 255, 0.35);
    }

    /* ❌ 동의안함 - 다크 테마 세련된 스타일 */
    .consent-btn-disagree {
        background: rgba(255, 255, 255, 0.04);
        color: var(--mantine-color-dark-2);
        border: 1px solid var(--mantine-color-dark-4);
        backdrop-filter: blur(4px);
    }

    .consent-btn-disagree::after {
        background: rgba(255, 255, 255, 0.04);
    }

    .consent-btn-disagree:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.08);
        color: var(--mantine-color-dark-0);
        border-color: var(--mantine-color-dark-3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .consent-btn-disagree:active {
        transform: translateY(0px);
    }

    /* ===================================================
       Admin Dashboard Styles
       =================================================== */

    /* 통계 카드 그리드 */
    .dashboard-stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 16px;
        margin-bottom: 24px;
    }

    .stat-card {
        background: linear-gradient(135deg, var(--mantine-color-dark-6), var(--mantine-color-dark-5));
        border: 1px solid var(--mantine-color-dark-4);
        border-radius: 12px;
        padding: 20px 24px;
        position: relative;
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--jh-blue), rgba(0, 122, 255, 0.3));
    }

    .stat-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    .stat-label {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 1.5px;
        color: var(--mantine-color-dark-2);
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .stat-value {
        font-size: 2.5rem;
        font-weight: 800;
        color: white;
        line-height: 1;
        font-family: var(--font-family-mono);
        text-shadow: 0 0 20px var(--jh-blue-glow);
    }

    /* 대시보드 2단 콘텐츠 그리드 */
    .dashboard-content-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    @media (max-width: 700px) {
        .dashboard-content-grid {
            grid-template-columns: 1fr;
        }
    }

    .dashboard-section {
        background: var(--mantine-color-dark-6);
        border: 1px solid var(--mantine-color-dark-4);
        border-radius: 10px;
        padding: 16px;
    }

    .dashboard-section h4 {
        font-size: 0.9rem;
        color: var(--mantine-color-dark-0);
        margin-bottom: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--mantine-color-dark-4);
        font-weight: 700;
    }

    /* 방문 로그 테이블 */
    .dashboard-table-wrapper {
        overflow-x: auto;
        border-radius: 6px;
    }

    .dashboard-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.8rem;
    }

    .dashboard-table thead tr {
        background: var(--mantine-color-dark-5);
    }

    .dashboard-table th {
        padding: 8px 10px;
        text-align: left;
        color: var(--mantine-color-dark-2);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .dashboard-table td {
        padding: 8px 10px;
        color: var(--mantine-color-dark-0);
        border-bottom: 1px solid var(--mantine-color-dark-5);
        font-size: 0.78rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dashboard-table tbody tr:hover {
        background: rgba(0, 122, 255, 0.05);
    }

    .dashboard-table tbody tr:last-child td {
        border-bottom: none;
    }

    /* 챗봇 대화 로그 리스트 & 방문 로그 테이블 공통 스크롤 */
    .dashboard-table-wrapper,
    .chat-log-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-height: 320px;
        overflow-y: auto;
        padding-right: 5px;
        /* 스크롤바 공간 */
    }

    /* 공통 스크롤바 스타일 */
    .dashboard-table-wrapper::-webkit-scrollbar,
    .chat-log-list::-webkit-scrollbar {
        width: 5px;
    }

    .dashboard-table-wrapper::-webkit-scrollbar-thumb,
    .chat-log-list::-webkit-scrollbar-thumb {
        background: var(--mantine-color-dark-4);
        border-radius: 10px;
    }

    .dashboard-table-wrapper::-webkit-scrollbar-thumb:hover,
    .chat-log-list::-webkit-scrollbar-thumb:hover {
        background: var(--mantine-color-dark-3);
    }

    .chat-log-item {
        background: var(--mantine-color-dark-5);
        border: 1px solid var(--mantine-color-dark-4);
        border-radius: 8px;
        padding: 12px;
        font-size: 0.78rem;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .chat-log-item:hover {
        background: rgba(0, 122, 255, 0.08);
        border-color: rgba(0, 122, 255, 0.3);
        transform: translateX(3px);
    }

    .chat-log-time {
        color: var(--mantine-color-dark-3);
        font-size: 0.7rem;
        margin-bottom: 5px;
        font-family: var(--font-family-mono);
    }

    .chat-log-question {
        color: var(--mantine-color-blue-3);
        margin-bottom: 4px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .chat-log-answer {
        color: var(--mantine-color-dark-1);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 대시보드 에러/로딩 상태 */
    .dashboard-loading {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px;
        color: var(--mantine-color-dark-2);
        font-size: 0.9rem;
        gap: 10px;
    }

    .dashboard-empty {
        text-align: center;
        padding: 24px;
        color: var(--mantine-color-dark-3);
        font-size: 0.85rem;
    }

    /* 새로고침 버튼 */
    .dashboard-refresh-btn {
        font-size: 0.75rem;
        padding: 4px 10px;
        height: auto;
        border-radius: 6px;
        background: rgba(0, 122, 255, 0.12);
        color: var(--jh-blue);
        border: 1px solid rgba(0, 122, 255, 0.25);
        cursor: pointer;
        transition: all 0.2s ease;
        margin-left: 8px;
        font-family: var(--font-family-sans);
    }

    .dashboard-refresh-btn:hover {
        background: rgba(0, 122, 255, 0.22);
        border-color: var(--jh-blue);
    }
