/* ============================================================
   SUNWOO - 병원 종합 솔루션 추가 스타일시트
   기존 style.css의 CSS 변수를 그대로 활용합니다.
   ============================================================ */

/* ===== Hero Solution 섹션 보강 ===== */
.hero-solution {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #001e3c 0%, #003a75 55%, #0066cc 100%);
    position: relative;
    overflow: hidden;
}

.hero-solution .hero-bg {
    background: radial-gradient(circle at 20% 20%, rgba(0, 168, 150, 0.18) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.12) 0%, transparent 50%);
}

/* 그리드 오버레이 - 데이터/시스템 느낌 */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-solution .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 40px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #b3d4ff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero-solution .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 24px;
    animation: fadeInUp 0.9s ease;
}

.hero-solution .hero-title-sub {
    display: block;
    font-size: 0.6em;
    font-weight: 500;
    color: #66b3ff;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.hero-solution .hero-desc {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    animation: fadeInUp 1.1s ease;
}

.hero-solution .hero-desc strong {
    color: #ffd84d;
    font-weight: 700;
}

.hero-solution .hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1.3s ease;
}

.hero-solution .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #00d4be);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 168, 150, 0.35);
}

.hero-solution .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 168, 150, 0.45);
}

.hero-solution .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-solution .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 히어로 통계 */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 1.6s ease;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    transition: var(--transition);
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.hero-stat .stat-num {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #b3d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat .stat-num small {
    font-size: 0.5em;
    font-weight: 700;
    margin-left: 2px;
    -webkit-text-fill-color: #66b3ff;
}

.hero-stat .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    word-break: keep-all;
}

/* ===== Section 공통 보강 ===== */
.text-highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 8px;
    background: linear-gradient(90deg, rgba(0, 168, 150, 0.25), rgba(0, 102, 204, 0.25));
    z-index: -1;
    border-radius: 4px;
}

/* ===== Before / After 비교 섹션 ===== */
.solution-intro {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.compare-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    margin-top: 50px;
}

.compare-card {
    padding: 36px 32px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
}

.compare-before {
    background: #fff;
    border: 1px solid #f0d6d6;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.06);
}

.compare-after {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f4ff 100%);
    border: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.compare-card:hover {
    transform: translateY(-4px);
}

.compare-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.compare-before .compare-badge {
    background: #fee2e2;
    color: #b91c1c;
}

.compare-after .compare-badge {
    background: var(--primary-color);
    color: #fff;
}

.compare-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-color);
}

.compare-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.6;
}

.compare-list .dot {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 2px;
}

.compare-before .dot {
    background: #fee2e2;
    color: #dc2626;
}

.compare-after .dot {
    background: var(--secondary-color);
    color: #fff;
}

.compare-after strong {
    color: var(--primary-color);
    font-weight: 700;
}

.compare-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    color: var(--primary-color);
}

.compare-arrow svg {
    width: 100%;
    height: auto;
    max-width: 50px;
    animation: arrowPulse 2s ease infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(8px); opacity: 1; }
}

/* ===== 솔루션 소개 그리드 (4개 솔루션 2x2) ===== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.solution-grid .feature-card {
    position: relative;
}

.solution-no {
    position: absolute;
    top: 30px;
    right: 32px;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary-light);
    letter-spacing: -1px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solution-no {
        top: 24px;
        right: 24px;
        font-size: 2rem;
    }
}

/* ===== Features (핵심 기능) 섹션 ===== */
.features {
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.feature-card {
    padding: 36px 32px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05) rotate(-3deg);
}

.icon-1 { background: linear-gradient(135deg, #0066cc, #4d94db); }
.icon-2 { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.icon-3 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.icon-4 { background: linear-gradient(135deg, #00a896, #14b8a6); }
.icon-5 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.icon-6 { background: linear-gradient(135deg, #475569, #64748b); }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 14px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ===== Departments (부서별 적용) 섹션 ===== */
.departments {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 50px;
}

.dept-card {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: var(--transition);
    cursor: default;
}

.dept-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.dept-priority-1 {
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.08);
}

.dept-priority-2 {
    background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
    border-color: rgba(0, 168, 150, 0.25);
}

.dept-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e5e7eb;
}

.dept-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
}

.dept-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.dept-priority-1 .dept-count {
    background: var(--primary-color);
    color: #fff;
}

.dept-priority-2 .dept-count {
    background: var(--secondary-color);
    color: #fff;
}

.dept-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    word-break: keep-all;
}

.dept-note {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 40px;
    padding: 24px 28px;
    background: #fff;
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.dept-note-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.dept-note p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

.dept-note strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===== Benefits (도입 효과) 섹션 ===== */
.benefits {
    background: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
    margin-bottom: 80px;
}

.benefit-card {
    padding: 36px 28px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
}

.benefit-quantitative {
    background: linear-gradient(135deg, #0066cc 0%, #003a75 100%);
    color: #fff;
}

.benefit-quantitative h3 {
    color: #fff !important;
}

.benefit-quantitative p {
    color: rgba(255, 255, 255, 0.92) !important;
    opacity: 1;
}

.benefit-qualitative {
    background: #fff;
    border: 1px solid var(--border-color);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #b3d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: baseline;
}

.benefit-number span {
    font-size: 1.2rem;
    margin-left: 4px;
    color: #ffd84d;
    -webkit-text-fill-color: #ffd84d;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* 추진 단계 */
.phase-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.phase-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 36px;
    color: var(--text-color);
}

.phase-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.phase-list::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

.phase-item {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phase-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
    transition: var(--transition);
}

.phase-item:hover .phase-num {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.phase-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
}

.phase-body p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    word-break: keep-all;
}

/* ===== CTA 섹션 ===== */
.cta-section {
    background: linear-gradient(135deg, #001e3c 0%, #003a75 50%, #00a896 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 50%, rgba(255, 216, 77, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(0, 168, 150, 0.2) 0%, transparent 50%);
}

.cta-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.cta-wrapper h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-wrapper p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.7;
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.cta-buttons .btn-primary {
    background: #ffd84d;
    color: #003a75;
    box-shadow: 0 8px 24px rgba(255, 216, 77, 0.3);
}

.cta-buttons .btn-primary:hover {
    background: #ffe066;
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== 폼 보강 ===== */
.required {
    color: #e11d48;
    margin-left: 2px;
}

/* ===== 애니메이션 ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== 반응형 ===== */
@media (max-width: 992px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .compare-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .compare-arrow {
        width: 100%;
        transform: rotate(90deg);
        height: 50px;
    }

    .phase-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .phase-list::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-solution {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-stat {
        padding: 18px 12px;
    }

    .compare-card {
        padding: 28px 24px;
    }

    .feature-card {
        padding: 28px 24px;
    }

    .phase-wrapper {
        padding: 32px 20px;
    }

    .phase-list {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* 1열로 떨어뜨리면 화면이 과도하게 길어져, 2열로 밀도 유지 */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-stat {
        padding: 16px 10px;
    }

    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dept-card {
        padding: 18px 16px;
    }

    .dept-name {
        font-size: 0.95rem;
    }
}

/* ============================================================
   화면 개선 패치 — 비주얼 · 접근성 · 모바일 안정화
   (style.css / 위 규칙보다 나중에 로드되어 우선 적용)
   ============================================================ */

/* 고정 헤더에 섹션 상단이 가리지 않도록 해시 직접 진입 시 보정 */
html {
    scroll-padding-top: 80px;
}

/* 모바일에서 의도치 않은 가로 스크롤 방지 */
body {
    overflow-x: hidden;
}

/* 키보드 포커스 가시성 — 접근성 향상 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(0, 102, 204, 0.45);
    outline-offset: 2px;
    border-radius: 6px;
}

/* 섹션 태그에 옅은 입체감 추가 */
.section-tag {
    background: linear-gradient(135deg, var(--primary-light), #d6ebff);
    box-shadow: inset 0 0 0 1px rgba(0, 102, 204, 0.08);
}

/* 긴 한글 제목이 어색하게 끊기지 않도록 */
.section-title,
.hero-title {
    word-break: keep-all;
}

/* 푸터를 히어로·CTA와 같은 브랜드 네이비 톤으로 정렬 + 상단 액센트 */
.footer {
    background: #001628;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* 모션 최소화를 선호하는 사용자 배려 (접근성) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 작은 화면에서는 스크롤 인디케이터가 통계 카드와 겹쳐 숨김 */
@media (max-width: 768px) {
    .hero-scroll {
        display: none;
    }
}

/* ============================================================
   비주얼 보강 — ① 히어로 제품 목업  ② 통합 허브 다이어그램
   모두 순수 CSS (이미지 자산 없음)
   ============================================================ */

/* ----- ① 히어로 2단 레이아웃 ----- */
.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
    width: 100%;
}

.hero-layout .hero-content {
    text-align: left;
    max-width: 560px;
    margin: 0;
    padding-top: 0;
}

.hero-layout .hero-desc {
    margin: 0 0 36px;
}

.hero-layout .hero-buttons {
    justify-content: flex-start;
    margin-bottom: 0;
}

/* 제품 화면 목업 */
.hero-visual {
    position: relative;
}

.app-mockup {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    transform: perspective(1400px) rotateY(-7deg);
    transform-origin: center right;
    animation: fadeInUp 1.1s ease;
}

.mockup-glow {
    position: absolute;
    inset: -12% -6% -18% -6%;
    z-index: 1;
    background: radial-gradient(ellipse at 60% 40%, rgba(0, 168, 150, 0.4), transparent 70%);
    filter: blur(45px);
    pointer-events: none;
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.mockup-bar > span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mockup-bar .dot-r { background: #ff5f57; }
.mockup-bar .dot-y { background: #febc2e; }
.mockup-bar .dot-g { background: #28c840; }

.mockup-url {
    margin-left: 12px;
    flex: 1;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
}

.mockup-body {
    display: flex;
    min-height: 268px;
}

.mk-side {
    width: 58px;
    background: linear-gradient(180deg, #001e3c, #003a75);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.mk-logo {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--secondary-color), #00d4be);
    margin-bottom: 6px;
}

.mk-nav {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
}

.mk-nav.active {
    background: rgba(255, 255, 255, 0.9);
}

.mk-main {
    flex: 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #f8fafc;
}

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

.mk-stat {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mk-stat b {
    width: 60%;
    height: 9px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.mk-stat i {
    width: 85%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
}

.mk-chart {
    flex: 1;
    min-height: 100px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 10px;
}

.mk-chart span {
    flex: 1;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, #4d94db, #0066cc);
    opacity: 0.9;
}

.mk-chart span:nth-child(4) {
    background: linear-gradient(180deg, #00d4be, #00a896);
}

.mk-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mk-rows span {
    height: 10px;
    border-radius: 5px;
    background: #e2e8f0;
}

.mk-rows span:nth-child(2) { width: 80%; }
.mk-rows span:nth-child(3) { width: 92%; }

/* ----- ② 통합 허브 다이어그램 ----- */
.hub-diagram {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 0.82;
    margin: 44px auto 8px;
}

.hub-line {
    position: absolute;
    z-index: 0;
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.3), rgba(0, 168, 150, 0.3));
}

.hub-line-h {
    top: 50%;
    left: 13%;
    right: 13%;
    height: 2px;
    transform: translateY(-50%);
}

.hub-line-v {
    left: 50%;
    top: 15%;
    bottom: 15%;
    width: 2px;
    transform: translateX(-50%);
}

.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: linear-gradient(135deg, #001e3c, #0066cc);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 14px 34px rgba(0, 102, 204, 0.42);
}

.hub-center strong {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.hub-center small {
    font-size: 0.7rem;
    opacity: 0.85;
    margin-top: 3px;
}

.hub-node {
    position: absolute;
    z-index: 2;
    width: 98px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hub-node:hover {
    border-color: var(--primary-color);
    box-shadow: 0 14px 28px rgba(0, 102, 204, 0.2);
}

.hub-node svg {
    width: 26px;
    height: 26px;
    color: var(--primary-color);
}

.hub-node span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-color);
    word-break: keep-all;
    text-align: center;
}

.hub-top { top: 0; left: 50%; transform: translateX(-50%); }
.hub-bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.hub-left { left: 0; top: 50%; transform: translateY(-50%); }
.hub-right { right: 0; top: 50%; transform: translateY(-50%); }

/* ----- 비주얼 반응형 ----- */
@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-layout .hero-content {
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-layout .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-layout .hero-buttons {
        justify-content: center;
    }

    .app-mockup {
        transform: none;
        max-width: 540px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .hub-diagram {
        max-width: 320px;
        aspect-ratio: 1 / 0.98;
    }

    .hub-center {
        width: 98px;
        height: 98px;
    }

    .hub-center strong { font-size: 0.95rem; }
    .hub-center small { font-size: 0.62rem; }

    .hub-node {
        width: 80px;
        padding: 10px 8px;
    }

    .hub-node svg { width: 22px; height: 22px; }
    .hub-node span { font-size: 0.72rem; }

    .mk-side { width: 48px; }
    .mockup-body { min-height: 220px; }
}
