* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f172a;        
    --accent: #2563eb;         
    --accent-light: #3b82f6;
    --gold: #d97706;           
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'Noto Sans KR', 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

section[id] {
    scroll-margin-top: 80px;
}

/* ==========================================
   1. 헤더 & 내비게이션 (애니메이션 적용)
   ========================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* 로고 애니메이션 및 글로우 효과 */
.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), text-shadow 0.3s ease;
}

.logo span {
    color: var(--accent-light);
    transition: color 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px) scale(1.03);
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* 일반 내비게이션 메뉴 애니메이션 (부드러운 상하 움직임 + 밑줄 생성) */
.nav-menu a:not(.nav-btn) {
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-menu a:not(.nav-btn):hover {
    color: var(--white);
    transform: translateY(-3px);
}

.nav-menu a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-light);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:not(.nav-btn):hover::after {
    width: 100%;
}

/* Consulting 버튼 애니메이션 (움직임 + 광택 빔) */
.nav-btn {
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-btn:hover {
    background-color: var(--accent-light) !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
}

.nav-btn:active {
    transform: translateY(-1px);
}

/* 버튼 광택 패스 효과 */
.nav-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.nav-btn:hover::before {
    left: 125%;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

/* ==========================================
   2. 히어로 섹션 (텍스트 & 버튼 애니메이션 적용)
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: 5%;
}

/* 히어로 요소 등장 애니메이션 (배지 -> 타이틀 -> 본문 -> 버튼 순) */
.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid var(--accent);
    color: #93c5fd;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-content h1 span {
    color: #60a5fa;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-content h1:hover span {
    transform: translateY(-3px) scale(1.03);
}

.hero-content p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 40px;
    
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-btns {
    display: flex;
    gap: 15px;
    
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

/* 히어로 메인 버튼 */
.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.btn-primary:hover::before {
    left: 125%;
}

/* 히어로 서브 버튼 */
.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:active, .btn-outline:active {
    transform: translateY(-1px);
}

/* 히어로 키프레임 */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   3. About 섹션
   ========================================== */
.about-section {
    background-color: var(--white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text-box .sub-title {
    margin-bottom: 12px;
}

.about-text-box h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.about-text-box h2 span {
    color: var(--accent);
}

.about-lead {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-desc {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-item i {
    color: var(--accent);
    font-size: 20px;
    margin-top: 3px;
}

.feature-item h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 4px;
    font-weight: 700;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.about-image-box {
    position: relative;
    height: 500px;
}

.img-wrapper {
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.main-img {
    width: 80%;
    height: 380px;
    position: absolute;
    top: 0;
    left: 0;
}

.sub-img {
    width: 60%;
    height: 260px;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 8px solid var(--white);
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--accent);
}

.badge-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #60a5fa;
    line-height: 1;
    margin-bottom: 4px;
}

.badge-text {
    font-size: 11px;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-box .animate-child {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-left.show,
.animate-right.show {
    opacity: 1;
    transform: translateX(0);
}

.animate-right.show .animate-child {
    opacity: 1;
    transform: translateY(0);
}

.animate-right.show .main-img { transition-delay: 0.2s; }
.animate-right.show .sub-img { transition-delay: 0.4s; }
.animate-right.show .experience-badge { transition-delay: 0.6s; }

/* ==========================================
   4. 통계 / 업무 분야 / 전문가
   ========================================== */
.stats-section {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 40px;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-item p {
    font-size: 14px;
    color: #94a3b8;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sub-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.section-header.light h2 {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--accent);
}

.icon-box {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dark-bg { background-color: #0b1120; }

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expert-card {
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.expert-card:hover { transform: translateY(-5px); }

.expert-img {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.expert-info { padding: 25px; }

.expert-info h4 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 5px;
}

.expert-role {
    font-size: 13px;
    color: #60a5fa;
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

.expert-info p {
    font-size: 13px;
    color: #94a3b8;
}

/* ==========================================
   5. 상담 & 인사이트 페이지
   ========================================== */
.contact-section {
    background-color: var(--bg-light);
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin: 15px 0 20px;
    line-height: 1.3;
}

.contact-text p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-info-box p {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-info-box i {
    color: var(--accent);
    font-size: 18px;
}

.contact-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.input-group { margin-bottom: 20px; }

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.sub-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 140px 0 80px 0;
    text-align: center;
}

.sub-hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.sub-hero p {
    color: #cbd5e1;
    font-size: 16px;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.detail-main {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.content-block { margin-bottom: 40px; }

.content-block h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-block h3 i { color: var(--accent); }

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.process-step {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.step-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-list i {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
    padding: 6px;
    border-radius: 50%;
    font-size: 12px;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-top: 4px solid var(--accent);
}

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

.insight-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 1px solid #cbd5e1;
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.insight-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.insight-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(5px);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.insight-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.insight-date {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.insight-content h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.insight-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

footer {
    background-color: #050811;
    color: #64748b;
    padding: 50px 0;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

/* ==========================================
   6. 반응형 모바일 스타일
   ========================================== */
@media (max-width: 900px) {
    .hero-content h1 { font-size: 36px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .detail-layout { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .animate-left, .animate-right { transform: translateY(40px); }
    .hamburger { display: block; }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.4s ease-in-out;
    }

    .nav-menu.active { left: 0; }
}