/* 기본 설정 */
:root {
    --primary: #1e40af; /* 신뢰감을 주는 딥 블루 */
    --secondary: #3b82f6; /* 밝은 블루 */
    --dark: #111827;
    --gray: #6b7280;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --kakao: #fee500;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Pretendard', sans-serif; line-height: 1.6; color: var(--dark); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 헤더 */
header { position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; height: 70px; border-bottom: 1px solid #eee; }
header .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo a { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.pc-nav ul { display: flex; gap: 30px; }
.pc-nav a { font-weight: 500; color: var(--dark); transition: 0.3s; }
.pc-nav a:hover { color: var(--primary); }
.btn-head-call { background: var(--primary); color: white; padding: 8px 20px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; transition: 0.3s; }
.btn-head-call:hover { background: #1e3a8a; }
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; }

/* 히어로 섹션 */
.hero-section { position: relative; padding: 140px 0 100px; text-align: center; background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%); }
.badge-box { margin-bottom: 20px; display: flex; gap: 10px; justify-content: center; }
.badge { background: var(--primary); color: white; padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.badge.yellow { background: #f59e0b; }
.main-txt { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; word-break: keep-all; }
.main-txt .highlight { color: var(--primary); position: relative; display: inline-block; }
.main-txt .highlight::after { content:''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 15px; background: rgba(59, 130, 246, 0.2); z-index: -1; }
.desc-txt { font-size: 1.2rem; color: var(--gray); margin-bottom: 40px; word-break: keep-all; }
.btn-group { display: flex; gap: 15px; justify-content: center; margin-bottom: 40px; }
.btn { padding: 15px 35px; border-radius: 50px; font-weight: 700; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3); }
.btn-kakao { background: var(--kakao); color: #3c1e1e; box-shadow: 0 10px 20px rgba(254, 229, 0, 0.4); }
.btn:hover { transform: translateY(-3px); }
.trust-icons { display: flex; gap: 20px; justify-content: center; color: var(--gray); font-size: 0.9rem; font-weight: 600; }
.trust-icons i { color: var(--primary); }

/* 섹션 공통 */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.section-title p { color: var(--gray); font-size: 1.1rem; }

/* 안전성 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.safety-card { background: white; padding: 40px 30px; border-radius: 20px; border: 1px solid #eee; text-align: center; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.safety-card:hover { transform: translateY(-10px); box-shadow: 0 20px 30px rgba(0,0,0,0.08); border-color: transparent; }
.icon-box { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.icon-box.blue { background: #e0e7ff; color: var(--primary); }
.icon-box.green { background: #dcfce7; color: #166534; }
.icon-box.red { background: #fee2e2; color: #991b1b; }
.safety-card h3 { font-size: 1.3rem; margin-bottom: 15px; }
.safety-card p { color: var(--gray); font-size: 1rem; line-height: 1.6; word-break: keep-all; }

/* 경고 배너 */
.warning-banner { background: #f8fafc; padding: 40px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.warning-box { background: white; border: 1px solid #fbbf24; border-radius: 15px; padding: 30px; display: flex; gap: 30px; align-items: center; max-width: 900px; margin: 0 auto; box-shadow: 0 4px 12px rgba(251, 191, 36, 0.1); }
.icon-side { font-size: 3rem; color: #d97706; }
.text-side h3 { font-size: 1.2rem; color: #d97706; margin-bottom: 10px; }
.text-side p { font-size: 0.95rem; color: var(--dark); margin-bottom: 5px; }
.highlight-text { color: #b91c1c; }

/* 프로세스 */
.process-section { background: var(--light-bg); }
.process-steps { display: flex; justify-content: space-between; align-items: center; max-width: 1000px; margin: 0 auto; }
.step-item { background: white; padding: 30px 20px; border-radius: 20px; text-align: center; width: 220px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); position: relative; }
.step-item.highlight { border: 2px solid var(--primary); }
.step-num { width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 15px; }
.step-item h4 { font-size: 1.1rem; margin-bottom: 10px; }
.step-item p { font-size: 0.9rem; color: var(--gray); word-break: keep-all; }
.step-arrow { color: #cbd5e1; font-size: 1.5rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border: 1px solid #eee; border-radius: 15px; margin-bottom: 15px; overflow: hidden; }
.faq-head { padding: 20px 25px; display: flex; align-items: center; cursor: pointer; justify-content: space-between; }
.faq-head .q-mark { color: var(--primary); font-weight: 800; margin-right: 15px; font-size: 1.2rem; }
.faq-head .q-text { font-weight: 600; font-size: 1.1rem; flex: 1; }
.faq-body { height: 0; padding: 0 25px; background: #f8fafc; color: var(--gray); font-size: 0.95rem; transition: 0.3s; overflow: hidden; }
.faq-item.active .faq-body { height: auto; padding: 20px 25px; border-top: 1px solid #eee; }
.faq-item.active .toggle-icon { transform: rotate(45deg); }

/* 하단 Contact */
.contact-section { background: var(--primary); color: white; text-align: center; }
.contact-section p { color: rgba(255,255,255,0.8); }
.contact-box { margin: 40px 0; background: rgba(255,255,255,0.1); display: inline-block; padding: 20px 50px; border-radius: 20px; backdrop-filter: blur(5px); }
.contact-row { display: flex; align-items: center; gap: 20px; }
.contact-row i { font-size: 2.5rem; }
.contact-row div { text-align: left; }
.contact-row span { display: block; font-size: 0.9rem; opacity: 0.8; margin-bottom: 5px; }
.contact-row strong { font-size: 2rem; display: block; line-height: 1; }
.btn-white { background: white; color: var(--primary); }
.btn-group-center { display: flex; gap: 15px; justify-content: center; }

/* 푸터 */
footer { background: #1f2937; color: #9ca3af; padding: 60px 0 100px; font-size: 0.85rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.f-info h3 { color: white; margin-bottom: 15px; font-size: 1.2rem; }
.f-warning { max-width: 400px; background: rgba(255,255,255,0.05); padding: 20px; border-radius: 10px; }

/* 플로팅 바 */
.floating-bar { position: fixed; bottom: 0; left: 0; width: 100%; display: none; z-index: 999; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); }
.float-item { flex: 1; text-align: center; padding: 15px 0; font-weight: 700; font-size: 1.1rem; }
.float-item.call { background: var(--primary); color: white; }
.float-item.kakao { background: var(--kakao); color: #3c1e1e; }

/* 모바일 메뉴 */
.mobile-nav { position: fixed; top: 0; right: -280px; width: 280px; height: 100%; background: white; z-index: 2000; transition: 0.3s; padding: 20px; }
.mobile-nav.active { right: 0; }
.mobile-nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1999; display: none; }
.mobile-nav-overlay.active { display: block; }
.nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #eee; font-weight: 800; font-size: 1.2rem; }
.mobile-nav ul li { margin-bottom: 20px; }
.mobile-nav ul li a { font-size: 1.1rem; font-weight: 600; display: block; }

/* 애니메이션 */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.pulse { animation: pulse 2s infinite; }

/* 반응형 */
@media (max-width: 768px) {
    .pc-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .btn-head-call { display: none; }
    
    .hero-section { padding-top: 120px; }
    .main-txt { font-size: 2.2rem; }
    .desc-txt { font-size: 1rem; }
    .btn-group { flex-direction: column; width: 80%; margin: 0 auto 30px; }
    .btn { width: 100%; justify-content: center; }
    
    .grid-3 { grid-template-columns: 1fr; }
    .process-steps { flex-direction: column; gap: 20px; }
    .step-arrow { transform: rotate(90deg); }
    .step-item { width: 100%; }
    
    .footer-grid { flex-direction: column; }
    .floating-bar { display: flex; }
    footer { padding-bottom: 80px; }
    .warning-box { flex-direction: column; text-align: center; }
}