    /* CORE RESET & LAYOUT */
        * { box-sizing: border-box; margin: 0; padding: 0; }
        
        body {
            background-color: #020617; /* Presentation Background */
            min-height: 100vh;
            font-family: 'Pretendard', 'Inter', sans-serif;
            overflow-x: hidden; /* 가로 스크롤 방지 */
            /* 중앙 정렬 제거하고 기본 흐름(block)을 따르되, 배경색 유지 */
            display: block; 
        }

        .slide-container {
            /* [수정] 고정 크기 제거 -> 최대 크기 설정으로 반응형 대응 */
            max-width: 1280px;
            width: 100%;
            min-height: 720px; /* 최소 높이만 설정 */
            height: auto;      /* 콘텐츠에 따라 늘어남 */
            
            background-color: #0F172A; /* Trust Navy */
            position: relative;
            overflow: hidden;
            display: flex;
            z-index: 5;
            /* [수정] 화면 중앙 정렬을 위한 마진 설정 (위아래 여백 좀 줌) */
            margin: 0 auto;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        }

        /* LEFT CONTENT SIDE (60%) */
        .content-side {
            width: 60%;
            padding: 80px 40px 80px 80px; /* Padding 조정 */
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            z-index: 10;
        }

        /* RIGHT IMAGE SIDE (40%) */
        .image-side {
            width: 40%;
            position: relative;
            min-height: 100%; /* 부모 높이 따라가도록 */
        }

        .image-side img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(100%) brightness(0.7) contrast(1.2) sepia(20%) hue-rotate(190deg) saturate(300%);
        }

        /* Desktop Gradient (Left to Right) */
        .image-side::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, #0F172A 10%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0) 100%);
            pointer-events: none;
        }

        /* TYPOGRAPHY & ELEMENTS */
        .brand-header {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 40px;
        }

        .logo-box {
            width: 52px;
            height: 52px;
            background-color: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            flex-shrink: 0;
        }
        
        .logo-box::after {
             content: '';
             position: absolute;
             top: -3px;
             right: -3px;
             width: 10px;
             height: 10px;
             background-color: #2563EB; 
             border: 2px solid #0F172A;
             border-radius: 50%;
        }

        .logo-icon { color: #FACC15; font-size: 26px; }

        .brand-name { display: flex; flex-direction: column; }
        .brand-title { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; line-height: 1; }
        .brand-subtitle { color: #2563EB; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-top: 5px; }

        h1 {
            font-size: 58px;
            font-weight: 700;
            line-height: 1.15;
            color: #fff;
            margin-bottom: 24px;
            letter-spacing: -1.5px;
            word-break: keep-all; /* 단어 단위 줄바꿈 */
        }

        h1 span { color: #FACC15; position: relative; display: inline-block; }
        h1 span::after {
            content: ''; position: absolute; bottom: 6px; left: 0; width: 100%; height: 10px;
            background-color: rgba(250, 204, 21, 0.25); z-index: -1;
        }

        .description {
            font-size: 19px;
            line-height: 1.6;
            color: #94A3B8;
            max-width: 90%;
            margin-bottom: 50px;
            font-weight: 400;
            border-left: 2px solid #2563EB;
            padding-left: 20px;
            word-break: keep-all;
        }

        .description strong { color: #E2E8F0; font-weight: 600; }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-bottom: 50px;
            max-width: 95%;
        }

        .feature-item {
            background-color: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.05);
            padding: 24px;
            border-radius: 16px;
        }

        .feature-icon {
            width: 40px; height: 40px;
            background-color: rgba(37, 99, 235, 0.15); 
            border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            color: #60A5FA; font-size: 20px; margin-bottom: 16px;
        }
        
        .feature-item:nth-child(2) .feature-icon { background-color: rgba(250, 204, 21, 0.15); color: #FACC15; }
        .feature-item:nth-child(3) .feature-icon { background-color: rgba(255, 255, 255, 0.1); color: #fff; }

        .feature-title { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
        .feature-text { color: #94A3B8; font-size: 14px; line-height: 1.45; word-break: keep-all; }

        .footer-info {
            display: flex; align-items: center; gap: 32px;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 24px; max-width: 95%; flex-wrap: wrap;
        }

        .info-item { display: flex; align-items: center; gap: 10px; color: #64748B; font-size: 14px; font-weight: 500; font-family: 'Inter', sans-serif; }
        .info-item i { color: #2563EB; }
        .info-item a { color: #94A3B8; text-decoration: none; transition: color 0.2s; }
        .info-item a:hover { color: #fff; }

        .bg-glow {
            position: absolute; top: -250px; left: -100px;
            width: 800px; height: 800px;
            background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(15,23,42,0) 70%);
            z-index: 0; pointer-events: none;
        }

        /* --- MEDIA QUERIES FOR RESPONSIVE DESIGN --- */
        @media (max-width: 1024px) {
            .slide-container {
                flex-direction: column; /* 세로 배치로 변경 */
                height: auto; /* 높이 유동적 */
            }

            .content-side {
                width: 100%;
                padding: 60px 30px;
                order: 1; /* 텍스트 먼저 */
            }

            .image-side {
                width: 100%;
                height: 300px; /* 이미지 높이 고정 */
                order: 2; /* 이미지 나중에 */
            }

            /* Mobile Gradient (Top to Bottom) */
            .image-side::after {
                background: linear-gradient(to top, #0F172A 5%, rgba(15, 23, 42, 0.5) 40%, rgba(15, 23, 42, 0) 100%);
            }

            h1 { font-size: 42px; }
            .description { font-size: 16px; max-width: 100%; }
            .feature-grid { grid-template-columns: 1fr; gap: 16px; max-width: 100%; }
            .footer-info { gap: 16px; flex-direction: column; align-items: flex-start; }
            
            /* 챗봇 위치 조정 */
            .ai-fab { bottom: 20px; right: 20px; width: 56px; height: 56px; }
            .ai-chat-window { bottom: 90px; right: 20px; width: calc(100% - 40px); height: 60vh; }
        }

        /* --- GEMINI AI CHAT WIDGET STYLES (Keep existing) --- */
        .ai-fab {
            position: fixed; /* absolute -> fixed로 변경하여 스크롤해도 따라오게 */
            bottom: 30px;
            right: 30px;
            width: 64px;
            height: 64px;
            background-color: #2563EB;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: 100;
            border: 2px solid rgba(255,255,255,0.2);
            animation: pulse-glow 3s infinite;
        }

        @keyframes pulse-glow {
            0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
            70% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
        }

        .ai-fab:hover {
            transform: scale(1.1);
            background-color: #1d4ed8;
        }

        .ai-fab i {
            color: #fff;
            font-size: 28px;
        }

        .ai-chat-window {
            position: fixed; /* absolute -> fixed */
            bottom: 110px;
            right: 30px;
            width: 380px;
            height: 500px;
            background-color: #1E293B; /* Slate 800 */
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.5);
            border: 1px solid rgba(255,255,255,0.1);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            z-index: 99;
            opacity: 0;
            transform: translateY(20px) scale(0.95);
            pointer-events: none;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .ai-chat-window.active {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: all;
        }

        .chat-header {
            padding: 20px;
            background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
            border-bottom: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .chat-header-icon {
            width: 36px;
            height: 36px;
            background-color: rgba(250, 204, 21, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #FACC15;
        }

        .chat-title {
            color: #fff;
            font-weight: 700;
            font-size: 16px;
        }

        .chat-subtitle {
            color: #94A3B8;
            font-size: 11px;
            display: block;
        }

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

        /* Scrollbar Styling */
        .chat-messages::-webkit-scrollbar {
            width: 6px;
        }
        .chat-messages::-webkit-scrollbar-track {
            background: transparent;
        }
        .chat-messages::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.1);
            border-radius: 3px;
        }

        .message {
            max-width: 85%;
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 13px;
            line-height: 1.5;
            animation: fade-up 0.3s ease;
        }

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

        .message.ai {
            background-color: rgba(37, 99, 235, 0.15);
            color: #E2E8F0;
            border-top-left-radius: 2px;
            border: 1px solid rgba(37, 99, 235, 0.2);
            align-self: flex-start;
        }

        .message.user {
            background-color: #2563EB;
            color: #fff;
            border-bottom-right-radius: 2px;
            align-self: flex-end;
            box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
        }

        .typing-indicator {
            display: none;
            gap: 4px;
            padding: 12px 16px;
            background-color: rgba(255,255,255,0.05);
            border-radius: 12px;
            align-self: flex-start;
            margin-bottom: 10px;
        }

        .typing-dot {
            width: 6px;
            height: 6px;
            background-color: #94A3B8;
            border-radius: 50%;
            animation: bounce 1.4s infinite ease-in-out both;
        }
        .typing-dot:nth-child(1) { animation-delay: -0.32s; }
        .typing-dot:nth-child(2) { animation-delay: -0.16s; }

        @keyframes bounce {
            0%, 80%, 100% { transform: scale(0); }
            40% { transform: scale(1); }
        }

        .chat-input-area {
            padding: 16px;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            gap: 10px;
            background-color: #1E293B;
        }

        .chat-input {
            flex: 1;
            background-color: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 8px;
            padding: 10px 14px;
            color: #fff;
            font-size: 13px;
            font-family: inherit;
            outline: none;
            transition: border-color 0.2s;
        }

        .chat-input:focus {
            border-color: #2563EB;
        }

        .send-btn {
            background-color: #2563EB;
            color: #fff;
            border: none;
            border-radius: 8px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s;
        }

        .send-btn:hover {
            background-color: #1d4ed8;
        }

        .markdown-body strong {
            color: #FACC15;
            font-weight: 600;
        }


/* 전체 배경은 이미 검정이라고 가정 */
/* 번개 플래시 레이어 */
.lightning-flash {
  pointer-events: none;          /* 클릭 방해하지 않도록 */
  position: fixed;
  inset: 0;                      /* 화면 전체 덮기 */
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.35), transparent 60%),
              radial-gradient(circle at 80% 30%, rgba(160,200,255,0.25), transparent 60%);
  mix-blend-mode: screen;        /* 아래의 어두운 배경과 섞이게 */
  opacity: 0;
  z-index: 0;                    /* 필요하면 조정: 배경 위, 내용 아래 */
  animation: lightning-flash 15s infinite;
}

/* 60초 동안 2번, 각각 짧게 두 번씩 번쩍 */
@keyframes lightning-flash {
  /* 기본은 어두움 */
  0%   { opacity: 0; }

  /* 1번째 번개() */
  10%  { opacity: 0; }    /* 12초 직전 */
  10.5% { opacity: 0.4; } /* 첫 번쩍 */
  11%  { opacity: 0.1; }
  11.5% { opacity: 0.6; } /* 두 번째 번쩍 */
  12%  { opacity: 0; }    /* 다시 어둠 */

  /* 2번째 번개() */
  15%  { opacity: 0; }
  15.5% { opacity: 0.9; }
  16%  { opacity: 0.2; }
  16.5% { opacity: 0.8; }
  17%  { opacity: 0; }

  100% { opacity: 0; }    /* 60초 끝 */
}

