/* =========================================
   1. Global Variables & Base Reset
   ========================================= */
:root {
    --cb-primary: #173273;
    --cb-accent: #E7481E;
    --cb-secondary: #1697CC;
    --cb-dark: #222222;
    --cb-gray: #666666;
    
    --cb-bg-about: #FFFFFF; 
    --cb-bg-products: #F4F7FB; 
    --cb-bg-usecases: #FFFFFF; 
    --cb-bg-pricing: #F8FAFC; 
    --cb-bg-footer: #0D1B3E; 
}

body, html { 
    scroll-behavior: smooth; margin: 0; padding: 0;
    font-family: 'Pretendard', sans-serif;
    color: var(--cb-dark); line-height: 1.6; word-break: keep-all; overflow-x: hidden; background: #fff;
}
* { box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.animate-up { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.animate-up.is-visible { opacity: 1; transform: translateY(0); }

.badge-blue { display: inline-block; font-size: 15px; font-weight: 800; color: var(--cb-secondary); margin-bottom: 16px; padding: 8px 22px; background: #E6F3F9; border-radius: 30px; letter-spacing: 1.5px; text-transform: uppercase;}

section { padding: 110px 5%; text-align: center; position: relative; }
.cb-container { max-width: 1200px; margin: 0 auto; width: 100%; position: relative; z-index: 3;}
.cb-title { font-size: 40px; font-weight: 800; margin-bottom: 16px; line-height: 1.3;}
.cb-title.dark { color: var(--cb-primary); }
.cb-title.light { color: #FFFFFF; }
.cb-desc { font-size: 18px; color: var(--cb-gray); margin-bottom: 60px; font-weight: 400; line-height: 1.6;}
.cb-desc.light { color: rgba(255, 255, 255, 0.85); }

/* Scroll Spy Page Dots */
#cb-scroll-spy { position: fixed; top: 50%; right: 25px; transform: translateY(-50%); z-index: 9999; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); padding: 22px 18px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); border: 1px solid rgba(255,255,255,0.6); }
#cb-scroll-spy ul { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; border-right: 2px solid #E2E8F0; padding-right: 14px; }
#cb-scroll-spy li { position: relative; }
#cb-scroll-spy .spy-link { font-size: 13px; color: var(--cb-gray); font-weight: 600; transition: all 0.3s ease; text-decoration: none; opacity: 0.7;}
#cb-scroll-spy .spy-link::after { content: ''; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; transition: 0.3s ease; }
#cb-scroll-spy .spy-link:hover { color: var(--cb-primary); opacity: 1; }
#cb-scroll-spy .spy-link.active { color: var(--cb-primary); font-weight: 800; font-size: 14px; opacity: 1;}
#cb-scroll-spy .spy-link.active::after { background: var(--cb-accent); transform: translateY(-50%) scale(1.5); box-shadow: 0 0 10px rgba(231, 72, 30, 0.5); }

/* =========================================
   SECTION 0. Hero
   ========================================= */
#cb-hero { 
    background: #f8fafc;
    color: var(--cb-dark); padding: 160px 5% 100px; overflow: hidden; position: relative; z-index: 1;
}
.hero-glow { position: absolute; filter: blur(80px); border-radius: 50%; z-index: -1; opacity: 0.5; animation: floatGlow 15s infinite alternate; }
.shape-1 { width: 600px; height: 600px; background: rgba(22, 151, 204, 0.2); top: -100px; right: -100px; }
.shape-2 { width: 500px; height: 500px; background: rgba(23, 50, 115, 0.15); bottom: -100px; left: -100px; animation-delay: -5s; }
@keyframes floatGlow { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-30px, 40px) scale(1.1); } }

.hero-bg-grid {
    position: absolute; inset: 0; z-index: -1; opacity: 0.35;
    background-image: linear-gradient(rgba(23, 50, 115, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 50, 115, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hero-logo { position: absolute; top: 35px; left: 5%; z-index: 10;}
.hero-logo img { height: 35px; } 
#cb-hero .hero-badge { display: inline-block; background: var(--cb-accent); padding: 6px 18px; border-radius: 30px; font-size: 14px; font-weight: bold; letter-spacing: 1px; color: #fff; margin-bottom: 20px; }
#cb-hero .hero-title { color: var(--cb-primary); font-size: 60px; letter-spacing: -1px; margin-bottom: 20px; font-weight: 800;}
#cb-hero .hero-desc { color: var(--cb-gray); font-size: 19px; margin-bottom: 70px; font-weight: 500;}

.hero-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto 50px; position: relative; z-index: 2;}
.feature-glass-card {
    background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 20px; padding: 35px 20px; text-align: center;
    transition: all 0.4s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.feature-glass-card:hover { background: rgba(255, 255, 255, 0.95); transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.card-icon { margin-bottom: 20px; display: flex; justify-content: center; }
.card-icon svg { width: 48px; height: 48px; }
.feature-glass-card h3 { font-size: 19px; font-weight: 700; color: var(--cb-primary); margin-bottom: 12px; word-break: keep-all; }
.feature-glass-card p { font-size: 14px; color: var(--cb-gray); line-height: 1.5; word-break: keep-all; margin: 0; }

.hero-scroll-indicator { display: flex; flex-direction: column; align-items: center; margin-top: 40px; color: var(--cb-gray); font-size: 13px; font-weight: 700; letter-spacing: 2px; position: relative; z-index: 2;}
.scroll-arrow { font-size: 20px; animation: blinkSlideDown 1.8s infinite; margin-top: 4px; }
@keyframes blinkSlideDown { 0% { opacity: 0.3; transform: translateY(-5px); } 50% { opacity: 1; transform: translateY(5px); } 100% { opacity: 0.3; transform: translateY(-5px); } }

/* =========================================
   SECTION 1. WHO WE ARE?
   ========================================= */
#cb-about { background-color: var(--cb-bg-about); padding-bottom: 140px; overflow: hidden; }
.process-dome-container { position: relative; width: 800px; height: 420px; margin: 80px auto 0; }
.dome-svg { position: absolute; bottom: 0; left: 0; width: 800px; height: 400px; overflow: visible; z-index: 1;}
.dome-sector { transition: all 0.35s ease; cursor: pointer; transform-origin: 400px 380px; }
.sector-path { transition: transform 0.35s ease, filter 0.35s ease; }
.dome-sector:hover .sector-path { transform: scale(1.05); filter: drop-shadow(0 15px 30px rgba(0,0,0,0.25)); }
.sector-check-bg { fill: #fff; transition: 0.3s; pointer-events: none;}
.sector-check-icon { fill: var(--cb-primary); font-size: 22px; font-weight: bold; pointer-events: none;}
.dome-sector:hover .sector-check-bg { fill: var(--cb-accent); }
.dome-sector:hover .sector-check-icon { fill: #fff; }

.dome-center { 
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); 
    width: 360px; height: 180px; background: #F4F7FB; 
    border-radius: 360px 360px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; 
    padding-bottom: 35px; z-index: 2; transition: 0.35s ease; cursor: pointer;
    transform-origin: bottom center;
}
.dome-center:hover { transform: translateX(-50%) scale(1.05); box-shadow: 0 15px 35px rgba(23, 50, 115, 0.2); background: #fff;}
.dome-center img { height: 40px; margin-bottom: 12px; }
.dome-center span { font-weight: 800; font-size: 18px; color: var(--cb-primary); }

.dome-node { position: absolute; text-align: left; padding: 12px 16px; border-radius: 12px; transition: 0.3s; cursor: pointer; width: 260px; background: transparent; z-index: 5;}
.dome-node.active, .dome-node:hover { background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,0.08); z-index: 10; transform: translateY(-5px);}
.dome-node .node-title { font-size: 18px; font-weight: 800; margin-bottom: 6px; border-left: 4px solid; padding-left: 10px; transition: 0.3s;}
.dome-node.active .node-title, .dome-node:hover .node-title { border-left-color: var(--cb-accent) !important; color: var(--cb-accent) !important;}
.dome-node p { font-size: 14px; color: var(--cb-gray); line-height: 1.5; margin: 0; word-break: keep-all;}
.node-outer-1 { left: -190px; bottom: 20px; }
.node-outer-2 { left: 50px; top: -60px; }
.node-outer-3 { right: 50px; top: -60px; }
.node-outer-4 { right: -190px; bottom: 20px; }

/* =========================================
   SECTION 2. 청소로봇
   ========================================= */
#cb-products { background-color: var(--cb-bg-products); }
.category-tabs { display: flex; justify-content: center; margin: 0 auto 40px; padding: 6px; border-radius: 999px; background: #E2E8F0; width: fit-content;}
.category-btn { min-width: 120px; padding: 12px 24px; border: none; border-radius: 999px; background: transparent; font-size: 16px; font-weight: 700; cursor: pointer; color: var(--cb-gray); transition: 0.25s; }
.category-btn.is-active { background: #fff; color: var(--cb-accent) !important; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: #fff; border-radius: 20px; border: 1px solid #E2E8F0; cursor: pointer; text-align: left; transition: 0.35s ease; position: relative; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.03); }
.product-card:hover { transform: translateY(-7px); border-color: var(--cb-secondary); box-shadow: 0 18px 40px rgba(22,151,204,0.15); }
.product-card .img-wrap { background: #F8FAFC; height: 230px; display: flex; align-items: flex-end; justify-content: center; position: relative; width: 100%; overflow: hidden; }
.product-card .img-wrap img { height: calc(100% + 12px); max-width: 95%; object-fit: contain; margin-top: -2px; margin-bottom: -10px; transform: scale(1.05); transform-origin: bottom center; transition: 0.45s ease; mix-blend-mode: multiply; }
.product-card:hover .img-wrap img { transform: scale(1.10); }
.product-card .badge { position: absolute; top: 15px; left: 15px; background: rgba(255,255,255,0.95); color: var(--cb-primary); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); z-index: 2; }
.product-card .info { padding: 24px 20px 28px; flex-grow: 1; display: flex; flex-direction: column; }
.product-card .type-label { color: var(--cb-secondary); font-size: 13px; font-weight: 800; margin-bottom: 6px; letter-spacing: 0.5px; }
.product-card .name { font-size: 22px; font-weight: 800; color: var(--cb-primary); margin-bottom: 10px; line-height: 1.2;}
.product-card .desc { font-size: 14px; color: var(--cb-gray); line-height: 1.5; padding-right: 30px; word-break: keep-all; }
.product-card .arrow { position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #F1F5F9; color: var(--cb-primary); font-size: 16px; transition: 0.3s; }
.product-card:hover .arrow { background: var(--cb-primary); color: #fff; transform: translateX(3px); }

/* =========================================
   SECTION 3. 도입사례 
   ========================================= */
#cb-usecases { background-color: var(--cb-bg-usecases); overflow: hidden; padding-bottom: 110px;}
.filter-tabs { display: flex; justify-content: center; gap: 20px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn { font-size: 17px; font-weight: 700; color: var(--cb-gray); background: none; border: none; cursor: pointer; padding-bottom: 8px; border-bottom: 3px solid transparent; transition: 0.2s; }
.filter-btn.is-active, .filter-btn:hover { color: var(--cb-primary); border-bottom-color: var(--cb-primary); }

.gallery-wrapper { position: relative; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; width: 100%;}
.gallery-container { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); padding: 10px 0; overflow-x: hidden; scroll-behavior: smooth; }
.gallery-container::-webkit-scrollbar { display: none; }
.case-nav-btn { position: absolute; z-index: 10; background: #fff; border: 1px solid #E2E8F0; color: var(--cb-primary); width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 20px; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: 0.3s;}
.case-nav-btn:hover { background: var(--cb-primary); color: #fff; }
#casePrev { left: 0px; }
#caseNext { right: 0px; }

.slider-track { display: flex; gap: 24px; width: max-content; }
.slider-track.is-sliding { animation: slideScroll 70s linear infinite; }
.slider-track.is-sliding:hover { animation-play-state: paused; }
@keyframes slideScroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 12px)); } }
.slider-track.is-manual { max-width: none; flex-wrap: nowrap; padding: 0 20px; }

.gallery-card { flex-shrink: 0; position: relative; border-radius: 16px; overflow: hidden; width: 380px; height: 214px; cursor: pointer; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: 0.3s ease; text-decoration: none; }
.gallery-card:hover { transform: translateY(-5px); }
.gallery-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 100%); z-index: 1; }
.gallery-card .card-title { position: relative; z-index: 2; color: #fff; font-size: 21px; font-weight: 700; text-align: left; margin-bottom: 10px; word-break: keep-all;}
.gallery-card .card-badge { position: relative; z-index: 2; background: var(--cb-accent); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 4px; width: fit-content;}
.cb-btn-usecase { background-color: var(--cb-primary); border: none; color: #fff; padding: 16px 40px; border-radius: 30px; font-weight: 700; font-size: 18px; cursor: pointer; transition: 0.3s; text-align: center; display: inline-block; box-shadow: 0 5px 15px rgba(23, 50, 115, 0.3);}
.cb-btn-usecase:hover { background-color: var(--cb-accent); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(231, 72, 30, 0.4);}

/* =========================================
   SECTION 4. 도입플랜
   ========================================= */
#cb-pricing { background: var(--cb-bg-pricing); padding: 90px 5%; text-align: center; }
.pricing-grid { display: flex; justify-content: center; gap: 30px; max-width: 1000px; margin: 0 auto 40px; align-items: stretch;}
.pricing-card { background: #FFFFFF; color: var(--cb-dark); border-radius: 20px; padding: 45px 35px; flex: 1; text-align: left; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.06); border: 1px solid #E2E8F0; transition: 0.3s;}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(0,0,0,0.12); border-color: var(--cb-secondary);}
.pricing-badge { background: #E6F3F9; color: var(--cb-primary); font-size: 14px; font-weight: 800; padding: 6px 14px; border-radius: 8px; display: inline-block; margin-bottom: 16px; }
.pricing-card h3 { font-size: 28px; font-weight: 800; color: var(--cb-primary); margin-bottom: 16px; line-height: 1.3;}
.pricing-card .price { font-size: 18px; font-weight: 700; color: var(--cb-dark); margin-bottom: 15px;}
.pricing-card .price span { font-size: 38px; color: var(--cb-secondary); letter-spacing: -1px; font-weight: 800;}
.pricing-card p { font-size: 15px; color: var(--cb-gray); line-height: 1.5; margin-bottom: 25px; word-break: keep-all;}
.pricing-tags { display: flex; gap: 8px; flex-wrap: wrap;}
.pricing-tags span { background: #F1F5F9; padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--cb-gray);}
.card-highlight { position: absolute; top: -14px; right: 25px; background: var(--cb-accent); color: #fff; padding: 6px 18px; font-size: 13px; font-weight: 800; border-radius: 8px; box-shadow: 0 5px 15px rgba(231,72,30,0.4);}
.card-highlight.highlight-blue { background: #1697CC; box-shadow: 0 5px 15px rgba(22,151,204,0.4); } 
.pricing-bottom-box { background: #FFFFFF; border-radius: 16px; padding: 24px 40px; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; text-align: left; box-shadow: inset 0 0 0 1px #E2E8F0; }
.box-text h4 { font-size: 20px; font-weight: 800; color: var(--cb-primary); margin: 0 0 6px 0; }
.box-text p { font-size: 15px; color: var(--cb-gray); margin: 0; }
.btn-box-consult { background: var(--cb-primary); color: #fff; font-size: 16px; font-weight: 700; padding: 14px 30px; border-radius: 8px; transition: 0.3s; white-space: nowrap; cursor: pointer; border: none; text-decoration: none;}
.btn-box-consult:hover { background: var(--cb-accent); color:#fff; }

/* =========================================
   SECTION 5. INSIGHT
   ========================================= */
#cb-insights { 
    background: linear-gradient(135deg, #09132B 0%, #173273 50%, #1697CC 100%);
    position: relative; overflow: hidden;
}
#cb-insights::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.07) 2px, transparent 2px);
    background-size: 24px 24px; z-index: 1; pointer-events: none;
}
#cb-insights .cb-container { z-index: 2; }

.insight-grid-layout { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; text-align: left; }
.insight-box { border-radius: 16px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; background: #fff; color: var(--cb-dark); overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.15);}
.insight-box:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }

.box-youtube { grid-column: 1 / 5; grid-row: 1; padding: 0; background: #000; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: none; align-items: center; justify-content: center;}
.video-aspect-16-9 { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; }
.video-aspect-16-9 iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.box-tall { grid-column: 5 / 7; grid-row: 1; }
.box-wide { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
.item-news { grid-column: 1 / 4; grid-row: 2; }
.item-press { grid-column: 4 / 7; grid-row: 2; }

.box-badge { font-size: 13px; font-weight: 800; background: #F1F5F9; color: var(--cb-secondary); padding: 5px 12px; border-radius: 6px; width: fit-content; margin-bottom: 12px; }
.item-blog .box-badge { background: rgba(231, 72, 30, 0.1); color: var(--cb-accent); }
.box-title { font-size: 20px; font-weight: 800; color: var(--cb-primary); margin-bottom: 8px; line-height: 1.4;}
.box-desc { font-size: 14px; color: var(--cb-gray); line-height: 1.5; margin: 0 0 15px 0;}
.box-img { width: 100%; height: 160px; border-radius: 12px; overflow: hidden; margin-top: auto;}
.box-img img, .wide-img img { width: 100%; height: 100%; object-fit: cover; }
.wide-img { width: 180px; height: 120px; flex-shrink: 0; border-radius: 12px; overflow: hidden;}

/* =========================================
   SECTION 6. FAQ
   ========================================= */
#cb-support { background-color: #F4F7FB; padding-top: 100px; padding-bottom: 80px;}
.faq-container { background: #fff; border-radius: 24px; padding: 45px 50px; box-shadow: 0 15px 40px rgba(0,0,0,0.04); max-width: 950px; margin: 0 auto; text-align: left; }
.faq-title { font-size: 32px; font-weight: 800; color: var(--cb-primary); margin-bottom: 35px; text-align: center; }
.faq-item { border-bottom: 1px solid #E2E8F0; }
.faq-item:last-child { border-bottom: none; }
.faq-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 10px; cursor: pointer; transition: 0.3s; }
.faq-header:hover { background: rgba(0,0,0,0.015); }
.faq-question { font-size: 18px; font-weight: 700; color: var(--cb-dark); display: flex; align-items: center; gap: 15px; }
.faq-question span.q-mark { color: var(--cb-secondary); font-size: 22px; font-weight: 900; }
.faq-icon { font-size: 24px; color: var(--cb-gray); transition: 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--cb-secondary); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-content { padding: 15px 10px 30px 48px; font-size: 15px; color: var(--cb-gray); line-height: 1.7; white-space: pre-line; }

/* =========================================
   SECTION 7 & 8. 확장 그라데이션 컨테이너 
   ========================================= */
#bottom-wrap {
    /* 문의하기~파트너스까지 하나로 이어지는 그라데이션 */
    background: linear-gradient(180deg, #1697CC 0%, #173273 50%, #0B193C 100%);
    position: relative;
    overflow: hidden;
}
#bottom-wrap::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* 문의하기 폼 */
#cb-inquiry { background: transparent; padding: 100px 5% 50px; text-align: center; width: 100%; box-sizing: border-box; position: relative; }
.inquiry-content-wrap h2 { color: #fff; font-size: 36px; font-weight: 800; margin-bottom: 12px; line-height: 1.3; letter-spacing: -0.5px;}
.inquiry-content-wrap p { font-size: 17px; margin-bottom: 40px; color: rgba(255,255,255,0.85); font-weight: 500; line-height: 1.5;}

.inquiry-form-block { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 800px; margin: 0 auto; width: 100%; }
.form-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; width: 100%; }
.form-inputs input, .form-inputs textarea { width: 100%; padding: 15px 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); color: #fff; font-size: 15px; outline: none; transition: 0.3s; font-family: inherit;}
.form-inputs textarea { grid-column: 1 / -1; min-height: 120px; resize: none; }
.form-inputs input::placeholder, .form-inputs textarea::placeholder { color: rgba(255,255,255,0.5); }
.form-inputs input:focus, .form-inputs textarea:focus { border-color: #fff; background: rgba(255,255,255,0.15); }

.form-agreements { display: flex; flex-direction: column; gap: 10px; width: 100%; align-items: flex-start; margin-top: 10px; }
.agreement-row { display: flex; justify-content: space-between; width: 100%; align-items: center;}
.agreement-row .chk-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #ddd; cursor: pointer; }
.agreement-row .btn-open-terms { background: none; border: none; color: #00E5FF; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: underline; padding: 0 2px; }

.btn-inquiry-submit { width: 100%; background: #2563EB; color: #fff; font-size: 18px; font-weight: 700; padding: 18px; border-radius: 8px; border: none; cursor: pointer; transition: 0.3s; margin-top: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.2);}
.btn-inquiry-submit:hover { background: #1D4ED8; transform: translateY(-2px); box-shadow: 0 12px 25px rgba(0,0,0,0.3);}
.btn-inquiry-submit:disabled { background: #94a3b8; cursor: not-allowed; transform: none; box-shadow: none; }
.inquiry-footer-note { font-size: 14px !important; color: rgba(255,255,255,0.5) !important; margin-top: 5px !important;}

/* 파트너스 섹션 */
#cb-partners { background: transparent; padding: 40px 5% 100px; position: relative;}
.partners-title { font-size: 32px; font-weight: 800; letter-spacing: 2px; margin-bottom: 10px; color: #fff;}
.partners-desc { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 50px; }
.marquee-container { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); overflow: hidden; display: flex; flex-direction: column; gap: 20px; }
.marquee-track { display: flex; gap: 20px; width: max-content; }
.track-left { animation: scrollLeft 80s linear infinite; }
.track-right { animation: scrollRight 80s linear infinite; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* 로고 박스 색상 및 내부 이미지 크기 축소 (10%) 반영 */
.logo-box { flex-shrink: 0; width: 220px; height: 90px; background: #ffffff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: bold; color: var(--cb-primary); box-shadow: 0 4px 10px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 15px;} 
.logo-box img { max-width: 90%; max-height: 90%; object-fit: contain; }

/* Footer */
#cb-footer { background-color: var(--cb-bg-footer); color: rgba(255,255,255,0.6); padding: 40px 5% 25px; text-align: left; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.footer-logo { height: 42.5px; filter: brightness(0) invert(1); }
.footer-sns { display: flex; gap: 15px; }
.sns-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; transition: 0.2s; text-decoration: none;}
.sns-icon:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }
.footer-divider { width: 100%; height: 1px; border-top: 1px dashed rgba(255,255,255,0.2); margin-bottom: 20px; }
.footer-bottom { display: flex; flex-direction: column; gap: 10px; }
.footer-info p { margin-bottom: 5px; line-height: 1.6; color: rgba(255,255,255,0.8); }

/* Modals & Terms Popups */
.cb-modal-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; background: rgba(0,0,0,0.6); transition: 0.3s; }
.cb-modal-overlay.is-open { visibility: visible; opacity: 1; }
.cb-product-panel { width: 90%; max-width: 850px; max-height: 85vh; background: #fff; border-radius: 24px; display: flex; flex-direction: row; overflow: hidden; transform: translateY(30px); transition: 0.4s; position: relative; }
.cb-modal-overlay.is-open .cb-product-panel { transform: translateY(0); }
.cb-product-panel .img-area { width: 45%; background: #ffffff; display: flex; align-items: center; justify-content: center; padding: 20px; position: relative;}
.cb-product-panel img { max-width: 80%; max-height: 90%; object-fit: contain; user-select: none; }
.btn-close-modal { position: absolute; top: 15px; right: 20px; font-size: 32px; background: none; border: none; cursor: pointer; color: var(--cb-gray); z-index: 10;}
.cb-product-panel .content { width: 55%; background: #f4f7fa; padding: 50px 40px; overflow-y: auto; text-align: left; }
.cb-product-panel .label { color: var(--cb-secondary); font-weight: bold; }
.cb-product-panel .title { font-size: 36px; margin: 10px 0 20px; color: var(--cb-primary); font-weight: 800;}
.cb-spec-row { display: grid; grid-template-columns: 120px 1fr; padding: 15px 0; border-bottom: 1px solid #E5E5E5; font-size: 15px;}
.cb-spec-row .name { color: var(--cb-gray); }
.cb-spec-row .value { font-weight: bold; color: var(--cb-dark);}

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(23, 50, 115, 0.1); border: none; color: var(--cb-primary); font-size: 20px; padding: 10px 14px; cursor: pointer; border-radius: 50%; transition: 0.3s; z-index: 10; }
.slider-btn:hover { background: rgba(23, 50, 115, 0.2); }
.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; cursor: pointer; transition: 0.3s; }
.slider-dot.active { background: var(--cb-primary); transform: scale(1.2); }

.cb-terms-panel { background: #fff; width: 90%; max-width: 650px; max-height: 80vh; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 25px 50px rgba(0,0,0,0.25); text-align: left;}
.terms-header { padding: 20px 25px; background: #F8FAFC; border-bottom: 1px solid #E2E8F0; display: flex; justify-content: space-between; align-items: center; position: relative;}
.terms-header h3 { margin: 0; font-size: 18px; color: var(--cb-primary); font-weight: 800; }
.terms-body { padding: 25px; overflow-y: auto; font-size: 14px; color: var(--cb-dark); line-height: 1.6;}
.terms-table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 13px; }
.terms-table th, .terms-table td { border: 1px solid #E2E8F0; padding: 10px 12px; text-align: left; }
.terms-table th { background: #F1F5F9; color: var(--cb-primary); font-weight: 700; width: 28%; }
.terms-note { color: var(--cb-gray); font-size: 12px; margin-top: 15px; }

/* Mobile Responsive */
@media (max-width: 992px) {
    #cb-scroll-spy { display: none; }
    .hero-features-grid { grid-template-columns: repeat(2, 1fr); }
    .process-dome-container { width: 100%; height: auto; border: none; flex-direction: column; gap: 20px; margin-top: 40px;}
    .dome-svg { display: none; }
    .dome-center { position: static; transform: none; border-radius: 20px; margin-bottom: 20px; width: 100%; height: auto; padding: 20px;}
    .dome-center:hover { transform: none;}
    .dome-node { position: static; width: 100%; transform: none !important; display: flex; align-items: center; background: #f9f9f9; padding: 15px; border-radius: 12px; text-align: left; gap: 15px;}
    .dome-node .node-title { margin: 0; font-size: 15px; border:none; padding:0;}
    .dome-node p { font-size: 13px; margin: 0;}
    
    .insight-grid-layout { grid-template-columns: 1fr; }
    .box-youtube, .item-blog, .item-news, .item-press { grid-column: span 1; grid-row: auto; }
    .box-wide { flex-direction: column; }
    .wide-img { width: 100%; height: 160px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { flex-direction: column; }
    .pricing-bottom-box { flex-direction: column; text-align: center; gap: 20px;}
    .cb-product-panel { flex-direction: column; }
    .cb-product-panel .img-area { width: 100%; height: 230px; }
    .cb-product-panel .content { width: 100%; padding: 30px 20px; }
}

@media (max-width: 576px) {
    .hero-features-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .form-inputs { grid-template-columns: 1fr; }
    .form-agreements { flex-direction: column; gap: 15px; align-items: flex-start; }
    .agreement-row { flex-direction: column; align-items: flex-start; gap: 5px; }
    #cb-hero .hero-title { font-size: 42px; }
    .case-nav-btn { display: none !important; } 
}