/* [디자인 시스템 V24.4 - Popup Top & Cookies] */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --price-red: #ef4444;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --scale-bg: #0b1120;
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Pretendard', sans-serif; color: var(--text-dark); background: #fff; line-height: 1.6; word-break: keep-all; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
.text-blue { color: var(--primary); }
.text-red { color: var(--price-red); }
.font-bold { font-weight: 700; }

/* Banner & Header */
.gov-banner { background: linear-gradient(90deg, #0f172a, #1e3a8a); color: #fff; text-align: center; padding: 12px; font-size: 0.9rem; font-weight: 600; position: sticky; top: 0; z-index: 1001; }
.gov-tag { background: #facc15; color: #000; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; margin-right: 8px; font-weight: 800; text-transform: uppercase; }
header { background: rgba(255,255,255,0.95); border-bottom: 1px solid rgba(0,0,0,0.05); position: sticky; top: 45px; z-index: 1000; height: 80px; display:flex; align-items:center; backdrop-filter: blur(10px); }
nav { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; }
.logo { font-size: 1.6rem; font-weight: 900; color: var(--text-dark); letter-spacing: -1px; }
.logo span { color: var(--primary); }
.gnb { display: flex; gap: 40px; margin: 0 auto; padding: 0 40px; }
.gnb a { 
    font-weight: 600; 
    color: var(--text-gray); 
    cursor: pointer; 
    transition: 0.3s; 
    font-size: 1rem; 
    
    /* [수정] 밑줄 제거 */
    text-decoration: none; 
}

.gnb a:hover { 
    color: var(--primary); 
    
    /* [수정] 호버 시에도 밑줄 제거 확실하게 적용 */
    text-decoration: none; 
}
.btn-consult { background: var(--text-dark); color: #fff; padding: 12px 28px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; transition: 0.3s; border: none; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.2); margin-left: 20px; }
.btn-consult:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

/* Hero */
#hero { padding: 120px 0 100px; text-align: center; background: radial-gradient(circle at 50% 50%, #eff6ff 0%, #fff 70%); }
.hero-badge { display: inline-block; background: #e0e7ff; color: var(--primary); padding: 8px 20px; border-radius: 50px; font-weight: 800; margin-bottom: 25px; font-size: 0.9rem; letter-spacing: 0.5px; border: 1px solid rgba(37, 99, 235, 0.2); }
.hero-title { font-size: 3.8rem; font-weight: 900; line-height: 1.15; margin-bottom: 25px; letter-spacing: -2px; color: #0f172a; }
.hero-title .highlight { position: relative; z-index: 1; display: inline-block; }
.hero-title .highlight::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 15px; background: rgba(37, 99, 235, 0.2); z-index: -1; transform: skewX(-10deg); }
.hero-desc { font-size: 1.35rem; color: #475569; max-width: 700px; margin: 0 auto 60px; font-weight: 400; line-height: 1.6; }

/* Pricing Card */
.pricing-row { display: flex; gap: 25px; justify-content: center; flex-wrap: wrap; margin-top: 50px; align-items: center; }
.p-card { flex: 1; min-width: 300px; max-width: 380px; background: #fff; border-radius: 24px; padding: 50px 30px; text-align: center; position: relative; transition: 0.4s; box-shadow: 0 20px 40px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; }
.p-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.p-card.highlight { border: 2px solid var(--primary); box-shadow: 0 30px 60px rgba(37, 99, 235, 0.15); transform: scale(1.05); z-index: 2; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.best-badge { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 8px 20px; border-radius: 30px; font-weight: 800; font-size: 0.9rem; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }
.p-title { font-size: 1.6rem; font-weight: 900; margin-bottom: 10px; color: #1e293b; }

/* [User Custom CSS] */
.p-desc { color: #64748b; font-size: 0.95rem; margin-bottom: 10px; }
.p-price s { display: block; font-size: 1.1rem; color: #cbd5e1; margin-bottom: 5px; text-decoration-color: #ef4444; }
.p-price strong { display: block; font-size: 3.2rem; font-weight: 900; color: #0f172a; line-height: 1; letter-spacing: -2px; margin-bottom: 30px; }

.p-feat { list-style: none; margin: 35px 0; text-align: left; padding: 0 15px; }
.p-feat li { margin-bottom: 15px; font-size: 1rem; color: #334155; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.p-feat li i { color: var(--primary); font-size: 1.1rem; background: #eff6ff; padding: 5px; border-radius: 50%; }
.p-btn { display: block; width: 100%; padding: 18px; border-radius: 12px; font-weight: 800; cursor: pointer; border: none; transition: 0.3s; font-size: 1.05rem; }
.p-btn.primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }
.p-btn.primary:hover { transform: scale(1.02); box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4); }
.p-btn.secondary { background: #f1f5f9; color: #334155; }
.p-btn.secondary:hover { background: #e2e8f0; }

/* AI Estimator */
#ai-estimate-section { padding: 100px 0; background: #0f172a; color: #fff; overflow: hidden; position: relative; }
#ai-estimate-section::before { content: ''; position: absolute; top: -20%; left: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 70%); z-index: 0; pointer-events: none; }
.ai-console-box { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; text-align: center; }
.ai-title { font-size: 2.5rem; font-weight: 900; margin-bottom: 10px; background: linear-gradient(135deg, #fff 0%, #94a3b8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -1px; }
.ai-sub { color: #94a3b8; margin-bottom: 40px; font-size: 1.1rem; font-weight: 300; }
.ai-input-group { display: flex; gap: 15px; max-width: 650px; margin: 0 auto; background: rgba(255,255,255,0.05); padding: 10px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); }
.ai-input { flex: 1; padding: 15px 20px; border: none; background: transparent; color: #fff; font-size: 1.1rem; outline: none; }
.ai-input::placeholder { color: #64748b; }
.ai-btn { padding: 15px 35px; background: var(--primary); border: none; border-radius: 12px; color: #fff; font-weight: 700; cursor: pointer; transition: 0.3s; white-space: nowrap; font-size: 1rem; }
.ai-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }
.ai-btn.outline { background: transparent; border: 1px solid rgba(255,255,255,0.2); }
.ai-btn.outline:hover { background: rgba(255,255,255,0.1); }
.ai-loader { margin: 50px 0; font-family: 'Courier New', monospace; color: var(--accent); }
.scan-line { width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); animation: scan 1.5s infinite; margin-bottom: 20px; opacity: 0.7; }
.report-card { background: rgba(30, 41, 59, 0.6); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; overflow: hidden; text-align: left; box-shadow: 0 20px 60px rgba(0,0,0,0.4); animation: fadeInUp 0.5s ease-out; margin-top: 20px; }
.report-header { background: rgba(255,255,255,0.03); padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.report-badge { background: rgba(37,99,235,0.2); color: #60a5fa; font-size: 0.8rem; font-weight: 800; padding: 5px 12px; border-radius: 30px; letter-spacing: 1px; border: 1px solid rgba(37,99,235,0.3); }
.report-date { color: #64748b; font-size: 0.9rem; font-family: monospace; }
.report-body { padding: 0; display: flex; flex-direction: column; }
.feature-list { padding: 30px; background: rgba(0,0,0,0.2); }
.f-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 1rem; color: #cbd5e1; }
.f-row:last-child { border-bottom: none; }
.f-row.head { font-size: 0.9rem; color: #64748b; font-weight: 700; border-bottom: 2px solid rgba(255,255,255,0.1); margin-bottom: 10px; padding-bottom: 10px; }
.f-price { color: #fff; font-weight: 600; font-family: monospace; }
.report-summary { padding: 30px; background: linear-gradient(145deg, rgba(37,99,235,0.1), transparent); border-top: 1px solid rgba(255,255,255,0.1); }
.sum-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sum-label { color: #94a3b8; font-size: 1rem; }
.sum-val { color: #fff; font-size: 1.2rem; font-weight: 700; }
.sum-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 20px 0; }
.sum-row.total .sum-label { color: var(--accent); font-weight: 700; }
.sum-row.total .sum-val.highlight { font-size: 2rem; color: var(--accent); text-shadow: 0 0 20px rgba(245, 158, 11, 0.4); }
.sum-desc { margin-top: 20px; font-size: 0.85rem; color: #64748b; text-align: center; }

/* CTA */
.cta-section { text-align: center; margin: 60px auto 80px; padding: 50px 30px; background: linear-gradient(145deg, #e8f4ff, #b5d1ec); border-radius: 24px; max-width: 900px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); border: 1px solid rgba(255,255,255,0.5); position: relative; z-index: 2; }
.cta-text { font-size: 1.6rem; font-weight: 900; color: #1e293b; margin-bottom: 25px; line-height: 1.4; word-break: keep-all; }
.btn-cta-big { background: #0f172a; color: #fff; padding: 18px 45px; border-radius: 50px; font-size: 1.15rem; font-weight: 800; border: none; cursor: pointer; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3); transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 12px; }
.btn-cta-big:hover { background: var(--primary); transform: translateY(-5px) scale(1.02); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4); }

/* Comparison Table */
#compare-section { padding-bottom: 100px; background: #fff; }
.info-header { text-align: center; margin-bottom: 50px; }
.info-title { font-size: 2.2rem; font-weight: 900; margin-bottom: 15px; color: var(--text-dark); }
.info-desc { color: var(--text-gray); font-size: 1.1rem; max-width: 700px; margin: 0 auto; line-height: 1.6; }
.compare-box { display: flex; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.1); border: 1px solid #e2e8f0; position: relative; max-width: 1000px; margin: 0 auto; }
.comp-col.left { flex: 1; background: #fff; padding: 50px; text-align: right; position: relative; }
.comp-col.left .c-tag { background: #eff6ff; color: var(--primary); }
.comp-col.left .c-price { color: var(--primary); }
.comp-col.right { flex: 1; background: #0f172a; padding: 50px; text-align: left; color: #fff; position: relative; }
.comp-col.right .c-tag { background: linear-gradient(90deg, #f59e0b, #d97706); color: #fff; }
.comp-col.right .c-price { color: #fff; }
.c-header { margin-bottom: 40px; border-bottom: 2px solid rgba(0,0,0,0.05); padding-bottom: 20px; }
.comp-col.right .c-header { border-bottom: 2px solid rgba(255,255,255,0.1); }
.c-tag { display: inline-block; padding: 6px 14px; border-radius: 30px; font-weight: 800; font-size: 0.8rem; margin-bottom: 15px; letter-spacing: 1px; }
.c-price { font-size: 2.5rem; font-weight: 900; line-height: 1; }
.c-desc { font-size: 0.95rem; opacity: 0.7; margin-top: 5px; display: block; font-weight: 500; }
.comp-row { display: flex; align-items: center; height: 60px; margin-bottom: 10px; border-bottom: 1px dashed rgba(0,0,0,0.1); }
.comp-col.right .comp-row { border-bottom: 1px dashed rgba(255,255,255,0.1); }
.comp-row:last-child { border: none; }
.comp-col.left .comp-row { justify-content: flex-end; gap: 15px; }
.comp-col.right .comp-row { justify-content: flex-start; gap: 15px; }
.c-item-name { font-weight: 700; font-size: 1.1rem; }
.c-item-sub { font-size: 0.9rem; opacity: 0.8; margin-left: 5px; font-weight: 400; }
.c-icon { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.comp-col.left .c-icon { background: #eff6ff; color: var(--primary); }
.comp-col.right .c-icon { background: rgba(255,255,255,0.1); color: var(--accent); }
.plus-cost { font-size: 0.85rem; background: rgba(239, 68, 68, 0.2); color: #fca5a5; padding: 2px 8px; border-radius: 4px; font-weight: 700; border: 1px solid rgba(239, 68, 68, 0.5); margin-left: 10px; }
.vs-badge-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: #fff; border: 4px solid #f1f5f9; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #0f172a; z-index: 10; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Video */
#video-challenge { position: relative; height: 700px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #000; }
#video-challenge video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; z-index: 0; opacity: 0.6; object-fit: cover; filter: contrast(1.1) brightness(0.8); }
.glass-panel { position: relative; z-index: 1; text-align: center; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: 60px 80px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 20px 50px rgba(0,0,0,0.3); max-width: 800px; width: 90%; margin: 0 auto; }
.live-badge { display: inline-block; background: #ef4444; color: white; padding: 6px 16px; border-radius: 50px; font-weight: 800; font-size: 0.85rem; margin-bottom: 25px; box-shadow: 0 0 20px rgba(239, 68, 68, 0.6); animation: pulse-red 2s infinite; }
.video-title { font-size: 3.5rem; margin-bottom: 20px; color:#ffffff; text-shadow: 0 5px 15px rgba(0,0,0,0.5); font-weight: 900; letter-spacing: -1px; line-height: 1.1; }
.video-desc { font-size: 1.4rem; color: rgba(255,255,255,0.9); font-weight: 300; line-height: 1.6; }

/* Why MVP */
#what-is-mvp { padding: 100px 0; background: #fff; }
.vs-container { display: flex; align-items: stretch; gap: 0; margin-top: 60px; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.vs-card { flex: 1; padding: 60px 40px; text-align: center; position: relative; transition: 0.3s; }
.vs-card.bad { background: #fff5f5; color: #7f1d1d; border-right: 1px solid #fecaca; }
.vs-card.good { background: #eff6ff; color: #1e3a8a; }
.vs-icon { font-size: 4rem; margin-bottom: 20px; display: block; opacity: 0.8; transition: 0.3s; }
.vs-card:hover .vs-icon { transform: scale(1.1); opacity: 1; }
.vs-title { font-size: 1.5rem; font-weight: 900; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.vs-desc { font-size: 1.1rem; line-height: 1.6; font-weight: 500; }
.vs-badge { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); padding: 5px 15px; border-radius: 20px; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; }
.vs-card.bad .vs-badge { background: #fecaca; color: #991b1b; } .vs-card.good .vs-badge { background: #dbeafe; color: #1e40af; }

/* Process */
#process { padding: 100px 0; background: #f8fafc; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 40px; left: 60px; right: 60px; height: 4px; background: #e2e8f0; z-index: 0; border-radius: 4px; }
.process-item { background: #fff; padding: 40px 20px; border-radius: 20px; border: 1px solid #e2e8f0; text-align: center; position: relative; z-index: 1; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.03); }
.process-item:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15); }
.proc-num { width: 80px; height: 80px; background: #fff; border: 4px solid #e2e8f0; color: #94a3b8; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.8rem; margin: 0 auto 25px; transition: 0.3s; position: relative; z-index: 2; }
.process-item:hover .proc-num, .process-item.active .proc-num { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 5px rgba(37,99,235,0.2); }
.proc-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; color: #1e293b; }
.proc-desc { font-size: 0.95rem; color: #64748b; line-height: 1.5; }

/* Gov Support */
#gov-support { padding: 100px 0; background: #fff; }
.gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.gov-item { background: #f8fafc; padding: 40px 30px; border-radius: 24px; border: 1px solid #e2e8f0; text-align: center; transition: 0.3s; }
.gov-item:hover { background: #fff; box-shadow: var(--shadow-card); transform: translateY(-5px); border-color: var(--secondary); }
.gov-icon { font-size: 3.5rem; margin-bottom: 25px; display: block; }
.gov-item h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 15px; }

/* Scale-Up */
#scale-up { padding: 100px 0; background: #0b1120; color: #fff; position: relative; overflow: hidden; }
#scale-up::before { content: ''; position: absolute; top: -50%; right: -20%; width: 1000px; height: 1000px; background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%); z-index: 0; pointer-events: none; }
.scale-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 1; }
.scale-badge { display: inline-block; background: linear-gradient(90deg, #f59e0b, #d97706); color: #fff; padding: 6px 16px; border-radius: 30px; font-weight: 800; font-size: 0.85rem; margin-bottom: 20px; box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); text-transform: uppercase; letter-spacing: 1px; }
.scale-title { font-size: 2.8rem; font-weight: 900; line-height: 1.2; margin-bottom: 20px; color: #fff; }
.scale-desc { font-size: 1.2rem; color: #94a3b8; max-width: 800px; margin: 0 auto; font-weight: 300; line-height: 1.6; }
.scale-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.scale-problem { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 40px; }
.problem-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 20px; color: #cbd5e1; }
.checklist { list-style: none; }
.checklist li { margin-bottom: 20px; display: flex; align-items: flex-start; gap: 15px; color: #cbd5e1; font-size: 1.05rem; }
.checklist li i { color: var(--accent); font-size: 1.2rem; margin-top: 3px; }
.scale-solution { background: linear-gradient(145deg, #1e293b, #0f172a); border: 2px solid var(--primary); border-radius: 20px; padding: 50px 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); transform: scale(1.05); }
.solution-title { font-size: 1.8rem; font-weight: 900; margin-bottom: 10px; color: #fff; }
.solution-sub { color: var(--accent); font-weight: 700; margin-bottom: 30px; display: block; font-size: 1.1rem; }
.tech-steps { display: flex; justify-content: space-between; margin-bottom: 30px; position: relative; }
.tech-steps::after { content:''; position: absolute; top: 25px; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,0.1); z-index: 0; }
.tech-step { position: relative; z-index: 1; text-align: center; flex: 1; }
.ts-icon { width: 50px; height: 50px; background: #0f172a; border: 2px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: #fff; font-size: 1.2rem; box-shadow: 0 0 15px rgba(37, 99, 235, 0.4); }
.ts-text { font-size: 0.9rem; color: #cbd5e1; font-weight: 600; }
.scale-btn { display: block; width: 100%; padding: 18px; background: var(--primary); color: #fff; border: none; border-radius: 12px; font-weight: 800; font-size: 1.1rem; cursor: pointer; transition: 0.3s; margin-top: 20px; }
.scale-btn:hover { background: var(--primary-dark); box-shadow: 0 0 30px rgba(37, 99, 235, 0.5); }

/* FAQ Styles */
#faq { padding: 100px 0; background: #f8fafc; }
.faq-title { font-size: 2.2rem; font-weight: 900; text-align: center; margin-bottom: 50px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 15px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: 0.3s; }
.faq-q { padding: 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q:hover { color: var(--primary); background: #f8fafc; }
.faq-q i { transition: 0.3s; color: #94a3b8; }
.faq-item.active .faq-q i { transform: rotate(180deg); color: var(--primary); }
.faq-a { padding: 25px 20px; background: #f8fafc; border-top: 1px solid #e2e8f0; font-size: 0.95rem; color: #475569; line-height: 1.6; }

/* Contact & Footer */
#contact { padding: 100px 0; background: linear-gradient(180deg, #d9e5f0 0%, #eff6ff 100%); }
.contact-box { background: #fff; padding: 60px; border-radius: 30px; max-width: 800px; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,0.08); border: 1px solid #e2e8f0; }
.gov-check-row { margin-bottom: 25px; background: #fff; padding: 20px; border-radius: 12px; border: 2px solid #86efac; display: flex; align-items: center; gap: 15px; }
.form-input { display: block; width: 100%; padding: 18px; margin-bottom: 20px; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 1rem; transition: 0.3s; background: #f9fafb; outline: none; }
.form-input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); }
.submit-btn { width: 100%; padding: 20px; background: #0f172a; color: #fff; font-weight: 800; font-size: 1.2rem; border-radius: 12px; cursor: pointer; transition: 0.3s; border: none; }
.submit-btn:hover { background: var(--primary); transform: scale(1.02); }
footer { background: #0f172a; color: #94a3b8; padding: 60px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); }

/* Chatbot Styles */
.fab-container { position: fixed; bottom: 30px; right: 30px; z-index: 9990; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-btn { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4); cursor: pointer; transition: 0.3s; border: 2px solid #fff; position: relative; }
.fab-btn.shake { animation: shake 4s infinite; }
.alarm-badge { position: absolute; top: 0; right: 0; background: #ef4444; color: #fff; border-radius: 50%; width: 22px; height: 22px; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; font-weight: 800; border: 2px solid #fff; animation: bounce 2s infinite; }
.fab-tooltip { background: #FFD700; color: #000; padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 800; box-shadow: 0 4px 10px rgba(0,0,0,0.1); position: relative; border: 2px solid #000; transition: 0.5s; opacity: 0; transform: translateY(10px); }
.fab-tooltip.show { opacity: 1; transform: translateY(0); }
@keyframes shake { 0%, 90% { transform: rotate(0deg); } 92% { transform: rotate(15deg); } 94% { transform: rotate(-15deg); } 96% { transform: rotate(15deg); } 98% { transform: rotate(-15deg); } 100% { transform: rotate(0deg); } }

.chat-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9999; display: flex; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.chat-box { width: 100%; max-width: 450px; height: 700px; max-height: 90vh; background: #fff; border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.2); animation: slideUp 0.3s; }
.chat-header { padding: 15px 20px; background: #fff; border-bottom: 1px solid #f1f5f9; position: relative; }
.chat-body { flex: 1; background: #f3f4f6; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }
.msg { display: flex; width: 100%; } .msg.bot { justify-content: flex-start; } .msg.user { justify-content: flex-end; }
.bubble { max-width: 80%; padding: 12px 16px; border-radius: 16px; font-size: 0.95rem; line-height: 1.5; box-shadow: 0 2px 5px rgba(0,0,0,0.03); word-break: keep-all; }
.bubble.bot { background: #fff; color: #333; border-top-left-radius: 4px; } .bubble.user { background: var(--primary); color: #fff; border-top-right-radius: 4px; }
.chat-footer { padding: 20px; background: #fff; border-top: 1px solid #f1f5f9; }
.choice-btn { width: 100%; padding: 12px 15px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 0.95rem; font-weight: 600; color: #333; cursor: pointer; margin-bottom: 8px; text-align: left; display: flex; justify-content: space-between; }
.chat-input { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; outline: none; }

@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Social Proof Notification */
.toast-container { position: fixed; bottom: 30px; left: 30px; z-index: 9900; display: flex; flex-direction: column; gap: 10px; }
.social-proof-toast { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.05); border-radius: 16px; padding: 15px 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 15px; animation: slideInUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); max-width: 300px; }
@keyframes slideInUp { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.sp-icon { width: 40px; height: 40px; background: #eff6ff; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.sp-content { font-size: 0.9rem; line-height: 1.4; }
.sp-title strong { color: var(--text-dark); font-weight: 800; }
.sp-desc { color: var(--primary); font-weight: 700; font-size: 0.85rem; }

/* Chatbot V21.0 UI Styles */
.pf-list { display: flex; flex-direction: column; gap: 8px; }
.pf-btn { background: #fff; border: 1px solid #e2e8f0; padding: 15px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.2s; }
.pf-btn:hover { border-color: var(--primary); background: #eff6ff; }
.pf-label { font-weight: 700; color: #334155; }
.pf-price { font-weight: 800; color: var(--primary); }

.checklist-container { display: flex; flex-direction: column; height: 350px; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; }
.cl-header { padding: 10px 15px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; text-align: right; font-size: 0.9rem; color: #64748b; }
.cl-scroll { flex: 1; overflow-y: auto; padding: 10px; }
.cl-category { margin-bottom: 15px; }
.cl-cat-title { font-size: 0.8rem; color: #94a3b8; font-weight: 800; margin-bottom: 5px; padding-left: 5px; }
.cl-item { display: flex; align-items: center; padding: 10px; border: 1px solid #f1f5f9; border-radius: 8px; margin-bottom: 6px; cursor: pointer; transition: 0.2s; }
.cl-item:hover { background: #f8fafc; }
.cl-item.active { border-color: var(--primary); background: #eff6ff; }
.cl-item.active .cl-check { background: var(--primary); border-color: var(--primary); color: #fff; }
.cl-item.active .cl-name { color: var(--primary); font-weight: 700; }
.cl-check { width: 20px; height: 20px; border: 2px solid #cbd5e1; border-radius: 4px; margin-right: 10px; display: flex; align-items: center; justify-content: center; color: transparent; font-size: 0.8rem; transition: 0.2s; }
.cl-info { flex: 1; display: flex; justify-content: space-between; align-items: center; }
.cl-name { font-size: 0.95rem; color: #334155; }
.cl-cost { font-size: 0.85rem; color: #64748b; font-weight: 600; }
.cl-confirm-btn { width: 100%; padding: 15px; background: var(--primary); color: #fff; border: none; font-weight: 700; cursor: pointer; font-size: 1rem; }
.cl-confirm-btn:hover { background: var(--primary-dark); }
.est-result-box { background: #fff; border: 2px solid var(--primary); padding: 20px; border-radius: 12px; margin-top: 10px; }
.est-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.95rem; color: #64748b; }
.est-row.plus { color: #ef4444; font-size: 0.9rem; }
.est-total { display: flex; justify-content: space-between; margin-top: 15px; padding-top: 15px; border-top: 1px dashed #e2e8f0; font-weight: 900; font-size: 1.2rem; color: #0f172a; }

/* [★ NEW POPUP STYLES - Top & Footer] */
.main-popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex; justify-content: center; align-items: flex-start; /* Align Top */
    padding-top: 60px; /* Space from top */
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}
.main-popup-overlay.show { opacity: 1; pointer-events: auto; }

.main-popup-box {
    background: #fff;
    width: 90%; max-width: 380px;
    padding: 35px 30px 25px; /* Bottom padding reduced */
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    position: relative;
    transform: translateY(-20px); transition: transform 0.3s ease;
}
.main-popup-overlay.show .main-popup-box { transform: translateY(0); }

.popup-close {
    position: absolute; top: 15px; right: 15px;
    background: #f1f5f9; color: #64748b;
    border: none; width: 32px; height: 32px; border-radius: 50%;
    font-size: 1.5rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

.popup-icon { font-size: 3rem; margin-bottom: 15px; animation: bounce 2s infinite; }
.popup-title { font-size: 1.4rem; font-weight: 800; color: #0f172a; margin-bottom: 15px; }
.popup-msg { font-size: 1.05rem; line-height: 1.6; color: #334155; margin-bottom: 30px; word-break: keep-all; }
.popup-msg strong { color: #ef4444; font-weight: 800; }

.popup-btn {
    display: block; width: 100%; padding: 16px;
    background: #2563eb; color: #fff;
    font-size: 1.1rem; font-weight: 700;
    border: none; border-radius: 12px; cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    transition: 0.2s;
}
.popup-btn:hover { background: #1e40af; transform: translateY(-2px); }

/* Popup Footer */
.popup-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 15px; padding-top: 10px;
    font-size: 0.85rem; color: #94a3b8;
}
.popup-link { cursor: pointer; text-decoration: underline; transition: 0.2s; }
.popup-link:hover { color: #64748b; }

@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .pricing-row, .scale-content, .edu-grid, .gov-grid, .process-grid { grid-template-columns: 1fr; gap: 20px; }
    .compare-box { flex-direction: column; }
    .comp-col.left { text-align: left; border-right: none; border-bottom: 1px solid #e2e8f0; padding: 30px; }
    .comp-col.right { padding: 30px; }
    .vs-badge-center { display: none; }
    .comp-row { justify-content: space-between !important; }
    .glass-panel { padding: 40px 20px; width: 90%; margin: 0 auto; }
    .process-grid::before { display: none; }
    .scale-solution { order: -1; transform: none; }
    .gnb { display: none; }
    .chat-box { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
    .ai-input-group { flex-direction: column; }
    .res-grid { flex-direction: column; gap: 20px; }
    
    /* [FIX] Mobile Contact Form Fix */
    .contact-box { padding: 30px 20px; } 
    .form-input { font-size: 16px; } /* iOS Zoom Fix */
    
    .cta-section { margin: 40px 20px 60px; padding: 40px 20px; }
    .cta-text { font-size: 1.35rem; }
    .btn-cta-big { width: 100%; padding: 16px 20px; font-size: 1.1rem; }
    .toast-container { left: 50%; transform: translateX(-50%); bottom: 20px; width: 90%; align-items: center; }
}
@keyframes shake { 0%,90% { transform: rotate(0deg); } 92% { transform: rotate(10deg); } 96% { transform: rotate(-10deg); } 100% { transform: rotate(0deg); } }
@keyframes slideInUp { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* [수정] 포트폴리오 헤더 여백 강제 적용 */
.portfolio-header {
    /* 기존 여백 설정 유지 (150px / 80px) */
    padding-top: 150px !important;
    padding-bottom: 80px !important;
    
    /* [변경] 배경색 대신 이미지 적용 */
    /* 이미지가 없을 경우를 대비해 기존 배경색(#f8fafc)을 뒤에 깔아둡니다 */
    background: url('/images/sample_youngjune.png') no-repeat center center #f8fafc;
    background-size: cover; /* 이미지가 영역을 꽉 채우도록 설정 */
    
    text-align: center;
    width: 100%;
}

/* [추가] 내부 컨테이너가 여백을 방해하지 못하도록 설정 */
.portfolio-header .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: auto !important;
}

/* [수정] 포트폴리오 타이틀 및 서브 텍스트 스타일 */
.portfolio-title { 
    font-size: 3rem; /* 제목도 덩달아 조금 더 키워서 균형 맞춤 */
    font-weight: 900; 
    margin-bottom: 20px; 
    color: #0f172a; 
    /* 배경 이미지 위에서도 잘 보이도록 흰색 후광 효과 추가 */
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.9); 
}

.portfolio-sub { 
    color: #1e293b; /* 연한 회색(#64748b) -> 진한 네이비색으로 변경하여 가독성 UP */
    font-size: 1.5rem; /* 1.1rem -> 1.5rem으로 대폭 확대 */
    font-weight: 800; /* 굵게 변경 */
    line-height: 1.5;
    
    /* 글자가 배경에 묻히지 않도록 텍스트 그림자 강화 */
    text-shadow: 0 0 20px rgba(255, 255, 255, 1); 
    
    margin-top: 10px;
    word-break: keep-all;
}

/* Filter Buttons */
.filter-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; margin-bottom: 50px; padding: 0 20px; }
.filter-btn {
    padding: 10px 24px; border-radius: 30px; border: 1px solid #e2e8f0;
    background: #fff; color: #64748b; font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: 0.3s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3); }

/* Grid Layout */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 100px; }
.pf-item { 
    background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; 
    overflow: hidden; transition: 0.4s; display: flex; flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.pf-item:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-color: var(--primary); }

/* Image Thumbnail */
.pf-thumb { height: 200px; overflow: hidden; position: relative; background: #f1f5f9; }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.pf-item:hover .pf-thumb img { transform: scale(1.1); }
.pf-cat-badge {
    position: absolute; top: 15px; left: 15px; 
    background: rgba(0,0,0,0.7); color: #fff; 
    padding: 4px 12px; border-radius: 20px; 
    font-size: 0.75rem; font-weight: 700;
    backdrop-filter: blur(4px);
}

.pf-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.pf-item-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; color: #0f172a; }
.pf-item-desc { font-size: 0.95rem; color: #64748b; margin-bottom: 20px; line-height: 1.6; flex: 1; }
.pf-link-btn { 
    display: block; text-align: center; 
    background: #f8fafc; color: var(--primary); 
    padding: 14px; border-radius: 12px; 
    font-weight: 800; text-decoration: none; 
    transition: 0.2s; border: 1px solid #e2e8f0; 
}
.pf-link-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Animation for Filtering */
.fade-enter-active, .fade-leave-active { transition: opacity 0.3s; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

@media (max-width: 1024px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .pf-grid { grid-template-columns: 1fr; } }