/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root {
    --primary-color: #0b3b60; /* 신뢰감을 주는 연한 딥블루 */
    --accent-color: #d9381e;  /* 시선 집중 강조 레드/오렌지 */
    --dark-text: #222222;
    --light-bg: #f4f7f9;
    --border-color: #e1e8ed;
    --kakao-yellow: #fee500;
}

body {
    color: var(--dark-text);
    line-height: 1.6;
    background-color: #ffffff;
    font-size: 17px; /* 30-60대 고려 가독성 높은 폰트 크기 */
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 */
.header {
    position: sticky;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 16px;
}

.nav a:hover {
    color: var(--primary-color);
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-phone {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-kakao {
    background-color: var(--kakao-yellow);
    color: #3c1e1e;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, #0b3b60 0%, #061e33 100%);
    color: #ffffff;
    padding: 70px 0;
    text-align: center;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 15px;
    display: inline-block;
    margin-bottom: 20px;
    color: #ffd700;
}

.hero h1 {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.highlight {
    color: #00d2ff;
}

.hero-desc {
    font-size: 20px;
    color: #d1e5f4;
    margin-bottom: 30px;
}

.trust-points {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 4px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 신뢰 배너 */
.trust-banner {
    background-color: #f0f4f8;
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.trust-box h3 {
    font-size: 28px;
    color: var(--primary-color);
}

.trust-box p {
    font-size: 16px;
    color: #555;
}

/* 섹션 공통 */
.section {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    font-size: 18px;
    color: #666;
}

/* 카드 및 그리드 레이아웃 */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.check-list {
    margin-top: 15px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 16px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 오디오 시각화 데모 */
.forensic-demo {
    background: #0d1b2a;
    border-radius: 8px;
    padding: 30px;
    color: #fff;
    text-align: center;
}

.spectrum-box {
    height: 120px;
    background: #000;
    border-radius: 6px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    padding: 10px;
    overflow: hidden;
}

.bar {
    width: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: height 0.1s ease;
}

.bar.filtered {
    background: #00d2ff;
}

.spectrum-overlay {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 14px;
    color: #00d2ff;
}

.demo-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* 의뢰 절차 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.step {
    background: #fff;
    padding: 25px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.step-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.step h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step p {
    font-size: 15px;
    color: #666;
}

/* CTA 섹션 */
.cta-section {
    background: var(--primary-color);
    color: #fff;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 푸터 */
.footer {
    background: #111;
    color: #888;
    padding: 40px 0;
    font-size: 14px;
    text-align: center;
}

.footer strong {
    color: #ccc;
}

.copyright {
    margin-top: 15px;
    font-size: 13px;
}

/* 모바일 하단 고정바 */
.mobile-fixed-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 2000;
}

.m-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
}

.m-phone {
    background: var(--primary-color);
    color: #fff;
}

.m-kakao {
    background: var(--kakao-yellow);
    color: #3c1e1e;
}

/* 반응형 디자인 (모바일 대응) */
@media (max-width: 768px) {
    .nav {
        display: none; /* 모바일에서는 내비게이션 숨김 */
    }
    .hero h1 {
        font-size: 26px;
    }
    .hero-desc {
        font-size: 16px;
    }
    .grid-2, .grid-3, .process-steps, .trust-grid {
        grid-template-columns: 1fr;
    }
    .mobile-fixed-bar {
        display: flex;
    }
    body {
        padding-bottom: 60px; /* 고정바 공간 확보 */
    }
    .btn-large {
        width: 100%;
    }
}