:root {
    --primary-medical: #00A8E8;
    --primary-teal: #00C9A7;
    --primary-navy: #003459;
    --accent-coral: #FF6B6B;
    --accent-purple: #845EC2;
    --accent-yellow: #FFC75F;
    --gradient-start: #00A8E8;
    --gradient-end: #00C9A7;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --bg-light: #F8FBFF;
    --bg-lighter: #EFF6FF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 페이지 헤더 스타일 */
.page-header {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,138.7C672,149,768,203,864,202.7C960,203,1056,149,1152,128C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center bottom;
    background-size: cover;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* 업종 특성 카드 */
.challenge-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.challenge-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-medical);
    box-shadow: 0 20px 40px rgba(0,168,232,0.15);
}

.challenge-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-medical), var(--primary-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: white;
    box-shadow: 0 10px 20px rgba(0,168,232,0.3);
}

/* 성공 사례 카드 */
.case-study-wrapper {
    margin-bottom: 60px;
}

.case-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.case-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-image-wrapper:hover img {
    transform: scale(1.08);
}

.specialty-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-medical), var(--primary-teal));
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,168,232,0.4);
}

.badge-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* 결과 박스 스타일 */
.result-box {
    background: linear-gradient(145deg, var(--bg-lighter), var(--bg-light));
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.result-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-medical);
    box-shadow: 0 10px 25px rgba(0,168,232,0.15);
}

/* 전략 카드 */
.strategy-card {
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255,255,255,0.3);
    height: 100%;
}

.strategy-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* 통계 카드 */
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.stat-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-medical);
    box-shadow: 0 20px 40px rgba(0,168,232,0.2);
}

.stat-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-medical), var(--primary-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,168,232,0.3);
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(0,168,232,0.4);
}

.medical-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

/* 진료과별 특화 전략 */
.specialty-strategy {
    background: linear-gradient(135deg, #E8F4FD 0%, #E6F7FF 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.specialty-strategy:hover {
    transform: translateX(10px);
    box-shadow: -10px 10px 30px rgba(0,168,232,0.1);
}

/* CTA 섹션 */
.cta-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #001D3D 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><path fill="none" stroke="rgba(0,168,232,0.1)" stroke-width="2" d="M0 400 Q 300 200 600 400 T 1200 400"/></svg>');
    background-size: cover;
}

.cta-badge {
    background: linear-gradient(135deg, var(--primary-medical), var(--primary-teal));
    box-shadow: 0 20px 40px rgba(0,168,232,0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 버튼 스타일 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-medical), var(--primary-teal));
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,168,232,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,168,232,0.4);
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-medical));
}

/* 의료진 후기 카드 */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-medical);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,168,232,0.15);
}

.doctor-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bg-lighter), var(--bg-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

/* 특별 혜택 섹션 */
.benefit-card {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE5E5 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    border-color: var(--accent-coral);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255,107,107,0.2);
}

.benefit-icon {
    font-size: 48px;
    color: var(--accent-coral);
    margin-bottom: 20px;
}

/* 배지 스타일 */
.badge {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
}

.bg-medical {
    background-color: rgba(0,168,232,0.1) !important;
    color: var(--primary-medical) !important;
}

.bg-teal {
    background-color: rgba(0,201,167,0.1) !important;
    color: var(--primary-teal) !important;
}

/* 섹션 배경 */
.section-light {
    background: linear-gradient(135deg, #F8FBFF 0%, #EFF6FF 100%);
}

/* 반응형 */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .medical-stat-number {
        font-size: 2.5rem;
    }

    .cta-badge {
        width: 150px !important;
        height: 150px !important;
    }
}