/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 색상 변수 - 명확한 의미를 가진 이름으로 변경 */
    --color-primary: #1e40af;              /* 메인 파란색 */
    --color-primary-light: #3b82f6;       /* 밝은 파란색 */
    --color-secondary: #059669;           /* 메인 초록색 */
    --color-secondary-light: #10b981;     /* 밝은 초록색 */
    --color-accent: #7c3aed;              /* 강조 보라색 */
    --color-accent-light: #a78bfa;        /* 밝은 보라색 */
    --color-dark: #0f172a;                /* 어두운 배경색 */
    --color-dark-secondary: #1e293b;      /* 보조 어두운 배경색 */
    --color-light: #f1f5f9;               /* 밝은 배경색 */
    --color-light-secondary: #e2e8f0;     /* 보조 밝은 배경색 */
    --color-gray: #475569;                /* 회색 텍스트 */
    --color-gray-light: #94a3b8;          /* 밝은 회색 */
    --color-white: #ffffff;               /* 흰색 */
    --color-error: #ef4444;               /* 에러 빨간색 */
    --color-success: #10b981;             /* 성공 초록색 */
    
    /* 그라디언트 변수 - 용도별로 명확하게 구분 */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-brand: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #10b981 100%);
    --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #ec4899 100%);
    --gradient-hero-background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 30%, #ec4899 60%, #3b82f6 100%);
    
    /* 그림자 변수 - 크기별로 명확하게 구분 */
    --shadow-small: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 16px -4px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 16px 32px -8px rgba(0, 0, 0, 0.2);
    --shadow-extra-large: 0 24px 48px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow-effect: 0 0 30px rgba(59, 130, 246, 0.3);
    
    /* 전환 효과 변수 */
    --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 테두리 반경 변수 */
    --radius-default: 24px;
    --radius-small: 16px;
    --radius-large: 32px;
    --radius-round: 50px;
    
    /* 하위 호환성을 위한 별칭 (기존 변수명 유지) */
    --primary-color: var(--color-primary);
    --primary-light: var(--color-primary-light);
    --secondary-color: var(--color-secondary);
    --secondary-light: var(--color-secondary-light);
    --accent-color: var(--color-accent);
    --accent-light: var(--color-accent-light);
    --dark-color: var(--color-dark);
    --dark-secondary: var(--color-dark-secondary);
    --light-color: var(--color-light);
    --light-secondary: var(--color-light-secondary);
    --gray-color: var(--color-gray);
    --gray-light: var(--color-gray-light);
    --white: var(--color-white);
    --gradient-1: var(--gradient-primary);
    --gradient-2: var(--gradient-brand);
    --gradient-3: var(--gradient-accent);
    --gradient-hero: var(--gradient-hero-background);
    --shadow-sm: var(--shadow-small);
    --shadow-md: var(--shadow-medium);
    --shadow-lg: var(--shadow-large);
    --shadow-xl: var(--shadow-extra-large);
    --shadow-glow: var(--shadow-glow-effect);
    --transition-base: var(--transition-default);
    --border-radius: var(--radius-default);
    --border-radius-sm: var(--radius-small);
    --border-radius-lg: var(--radius-large);
}

/* 다크모드 색상 변수 - 명확한 의미를 가진 이름으로 변경 */
[data-theme="dark"] {
    --color-dark: #f8fafc;
    --color-light: #1e293b;
    --color-white: #0f172a;
    --color-gray: #94a3b8;
    --shadow-small: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-extra-large: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    
    /* 하위 호환성을 위한 별칭 */
    --dark-color: var(--color-dark);
    --light-color: var(--color-light);
    --white: var(--color-white);
    --gray-color: var(--color-gray);
    --shadow-sm: var(--shadow-small);
    --shadow-md: var(--shadow-medium);
    --shadow-lg: var(--shadow-large);
    --shadow-xl: var(--shadow-extra-large);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .nav-menu {
    background: var(--white);
}

[data-theme="dark"] .contact-form {
    background: var(--light-color);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--white);
    color: var(--dark-color);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

/* 능동형 배경 파티클 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: background-float 20s ease-in-out infinite;
}

@keyframes background-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* 애니메이션 감소 선호 사용자를 위한 설정 */
@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;
    }
}

/* 마우스 커서 효과 */
.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    mix-blend-mode: screen;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ========================================
   네비게이션 바 스타일
   ======================================== */

/* 네비게이션 바 컨테이너 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 1.25rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-default);
}

/* 스크롤 시 네비게이션 바 스타일 */
.navbar.is-scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.99);
}

/* 하위 호환성을 위한 별칭 */
.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.99);
}

/* 네비게이션 컨테이너 */
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 24px;
    }
}

.logo-link {
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-base);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-base);
}

.logo-link:hover .logo-container {
    transform: scale(1.05);
}

.logo-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 8px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(30, 64, 175, 0.3));
    transition: var(--transition-base);
}

.logo-link:hover .logo-icon {
    filter: drop-shadow(0 4px 12px rgba(30, 64, 175, 0.4));
    transform: rotate(5deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--dark-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--light-color);
    transform: rotate(15deg);
}

[data-theme="dark"] .theme-toggle {
    border-color: var(--dark-color);
}

.theme-icon {
    transition: transform 0.3s ease;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.logo-link:hover .logo-text::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link {
    transition: var(--transition-base);
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========================================
   Hero 섹션 스타일
   ======================================== */

/* Hero 섹션 컨테이너 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.5) 0%, transparent 70%),
        radial-gradient(circle at 10% 80%, rgba(139, 92, 246, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(16, 185, 129, 0.3) 0%, transparent 40%);
    animation: gradient-shift 8s ease infinite, gradient-move 12s ease-in-out infinite, gradient-rotate 20s linear infinite;
    filter: blur(40px);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.05) 2px,
            rgba(255, 255, 255, 0.05) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    animation: grid-move 25s linear infinite, grid-rotate 40s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

/* 추가 배경 레이어 - 빛나는 파티클 효과 */
.hero-background {
    position: relative;
}

.hero-background::before {
    z-index: 0;
}

.hero-background::after {
    z-index: 1;
}

@keyframes gradient-shift {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg); 
        filter: blur(40px) brightness(1);
    }
    25% { 
        opacity: 0.95; 
        transform: scale(1.1) rotate(90deg); 
        filter: blur(45px) brightness(1.2);
    }
    50% { 
        opacity: 0.9; 
        transform: scale(1.15) rotate(180deg); 
        filter: blur(50px) brightness(1.1);
    }
    75% { 
        opacity: 0.95; 
        transform: scale(1.1) rotate(270deg); 
        filter: blur(45px) brightness(1.2);
    }
}

@keyframes gradient-move {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
    75% { transform: translate(30px, 30px) rotate(270deg); }
}

@keyframes gradient-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

@keyframes grid-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(2px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    z-index: 1;
}

@media (max-width: 968px) {
    .hero-container {
        padding: 0 24px;
        gap: 3rem;
    }
}

.hero-content {
    text-align: left;
    z-index: 1;
}

/* 기술 소개 배지 컨테이너 */
.hero-tech-badges {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 2;
    padding: 3rem 5% 0;
    margin-top: 4rem;
}

.tech-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: tech-badge-entrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               tech-badge-float 4s ease-in-out infinite;
    transform: translateY(30px) scale(0.8);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tech-badge-1 {
    animation-delay: 1.5s, 2.5s;
}

.tech-badge-2 {
    animation-delay: 1.8s, 2.8s;
}

.tech-badge-3 {
    animation-delay: 2.1s, 3.1s;
}

.tech-badge-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.tech-badge-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899, #10b981);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: tech-badge-glow 3s ease-in-out infinite;
}

.tech-badge:hover .tech-badge-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.tech-badge:hover .tech-badge-icon::before {
    opacity: 0.6;
}

.tech-badge-icon svg {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.tech-badge-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 100px;
}

.tech-badge:hover .tech-badge-label {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@keyframes tech-badge-entrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8) rotateY(90deg);
        filter: blur(10px);
    }
    60% {
        transform: translateY(-10px) scale(1.05) rotateY(-5deg);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateY(0deg);
        filter: blur(0px);
    }
}

@keyframes tech-badge-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-8px) rotate(0deg);
    }
    75% {
        transform: translateY(-20px) rotate(-2deg);
    }
}

@keyframes tech-badge-glow {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.1);
    }
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.medical-illustration {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: illustration-entrance 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards,
               illustration-float 6s ease-in-out infinite 2.3s,
               illustration-glow 4s ease-in-out infinite 2.3s;
    transition: filter 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateX(100px) scale(0.7) rotateY(45deg);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-illustration:hover .medical-illustration {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4)) 
            drop-shadow(0 0 40px rgba(59, 130, 246, 0.5))
            drop-shadow(0 0 80px rgba(99, 102, 241, 0.3));
    transform: scale(1.08) rotateY(0deg) rotateX(5deg);
    animation-play-state: paused;
}

@keyframes illustration-entrance {
    0% {
        opacity: 0;
        transform: translateX(100px) scale(0.7) rotateY(45deg);
        filter: blur(20px) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    }
    60% {
        transform: translateX(-10px) scale(1.05) rotateY(-5deg);
        filter: blur(5px) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotateY(0deg);
        filter: blur(0px) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    }
}

@keyframes illustration-float {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg) rotateY(0deg); 
    }
    25% { 
        transform: translateY(-15px) translateX(5px) rotate(2deg) rotateY(2deg); 
    }
    50% { 
        transform: translateY(-8px) translateX(0) rotate(0deg) rotateY(0deg); 
    }
    75% { 
        transform: translateY(-20px) translateX(-5px) rotate(-2deg) rotateY(-2deg); 
    }
}

@keyframes illustration-glow {
    0%, 100% {
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3))
                drop-shadow(0 0 20px rgba(59, 130, 246, 0.2));
    }
    50% {
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3))
                drop-shadow(0 0 40px rgba(59, 130, 246, 0.4))
                drop-shadow(0 0 60px rgba(99, 102, 241, 0.3));
    }
}

.pulse-circle {
    animation: pulse-glow 3s ease-in-out infinite,
               pulse-expand 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

@keyframes pulse-expand {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.15;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.1;
        transform: scale(1);
    }
}

.hospital-building {
    animation: float-building 6s ease-in-out infinite,
               building-glow 3s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes float-building {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-8px) scale(1.02);
    }
    50% {
        transform: translateY(-12px) scale(1.03);
    }
    75% {
        transform: translateY(-8px) scale(1.02);
    }
}

@keyframes building-glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5))
                drop-shadow(0 0 25px rgba(99, 102, 241, 0.3));
    }
}

.float-1, .float-2, .float-3, .float-4 {
    filter: drop-shadow(0 0 8px currentColor);
    animation: particle-float 3s ease-in-out infinite,
               particle-pulse 2s ease-in-out infinite;
}

.float-1 {
    animation-delay: 0s, 0s;
}

.float-2 {
    animation-delay: 0.5s, 0.3s;
}

.float-3 {
    animation-delay: 1s, 0.6s;
}

.float-4 {
    animation-delay: 1.5s, 0.9s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(10px, -15px) scale(1.2);
    }
    50% {
        transform: translate(-10px, -25px) scale(0.9);
    }
    75% {
        transform: translate(15px, -10px) scale(1.1);
    }
}

@keyframes particle-pulse {
    0%, 100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 8px currentColor);
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 20px currentColor)
                drop-shadow(0 0 30px currentColor);
    }
}

.heart-beat {
    filter: drop-shadow(0 0 10px #ef4444);
    animation: heart-beat-pulse 1.5s ease-in-out infinite,
               heart-glow 2s ease-in-out infinite;
}

@keyframes heart-beat-pulse {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.15);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.2);
    }
}

@keyframes heart-glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px #ef4444)
                drop-shadow(0 0 20px rgba(239, 68, 68, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px #ef4444)
                drop-shadow(0 0 40px rgba(239, 68, 68, 0.8))
                drop-shadow(0 0 60px rgba(239, 68, 68, 0.4));
    }
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 25%, #8b5cf6 50%, #ec4899 75%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: title-entrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               title-glow 3s ease-in-out infinite 1.2s,
               gradient-shift-text 5s ease infinite 1.2s;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    position: relative;
    filter: drop-shadow(0 4px 20px rgba(30, 64, 175, 0.4))
            drop-shadow(0 0 40px rgba(59, 130, 246, 0.3));
}

@keyframes gradient-shift-text {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: title-shine 3s ease-in-out infinite 2s;
}

@keyframes title-entrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8) rotateX(90deg);
        filter: blur(10px);
    }
    60% {
        transform: translateY(-10px) scale(1.05) rotateX(0deg);
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0px);
    }
}

@keyframes title-glow {
    0%, 100% {
        filter: drop-shadow(0 4px 20px rgba(30, 64, 175, 0.4))
                drop-shadow(0 0 40px rgba(59, 130, 246, 0.3));
    }
    50% {
        filter: drop-shadow(0 4px 20px rgba(30, 64, 175, 0.6))
                drop-shadow(0 0 60px rgba(59, 130, 246, 0.5))
                drop-shadow(0 0 120px rgba(99, 102, 241, 0.4))
                drop-shadow(0 0 160px rgba(139, 92, 246, 0.3));
    }
}

@keyframes title-shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 3rem;
    opacity: 0;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #1e293b;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtitle-entrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards,
               subtitle-fade 4s ease-in-out infinite 1.5s;
    transform: translateY(30px);
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3))
            drop-shadow(0 0 20px rgba(59, 130, 246, 0.2));
}

@keyframes subtitle-entrance {
    0% {
        opacity: 0;
        transform: translateY(30px) translateX(-20px);
        filter: blur(5px);
    }
    100% {
        opacity: 0.98;
        transform: translateY(0) translateX(0);
        filter: blur(0px);
    }
}

@keyframes subtitle-fade {
    0%, 100% {
        opacity: 0.95;
        filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3))
                drop-shadow(0 0 20px rgba(59, 130, 246, 0.2));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.4))
                drop-shadow(0 0 30px rgba(59, 130, 246, 0.3))
                drop-shadow(0 0 50px rgba(99, 102, 241, 0.2));
    }
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    opacity: 0;
    animation: cta-entrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) 1s forwards;
    transform: translateY(30px) scale(0.9);
}

@keyframes cta-entrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

.hero-cta .btn {
    animation: button-bounce 2s ease-in-out infinite 2s;
}

@keyframes button-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 968px) {
    .hero {
        padding: 80px 0 100px;
    }

    .hero-tech-badges {
        flex-direction: row;
        gap: 1.5rem;
        padding: 2rem 5% 0;
        margin-top: 3rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tech-badge {
        flex-direction: column;
        gap: 0.8rem;
    }

    .tech-badge-icon {
        width: 80px;
        height: 80px;
    }

    .tech-badge-icon svg {
        width: 55px;
        height: 55px;
    }

    .tech-badge-label {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        min-width: auto;
    }
}

@media (max-width: 640px) {
    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }

    .hero {
        padding: 80px 0 80px;
    }

    .hero-tech-badges {
        margin-top: 2rem;
        padding: 1.5rem 5% 0;
        gap: 1rem;
    }

    .tech-badge {
        flex-direction: column;
        gap: 0.6rem;
    }

    .tech-badge-icon {
        width: 70px;
        height: 70px;
    }

    .tech-badge-icon svg {
        width: 50px;
        height: 50px;
    }

    .tech-badge-label {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn span {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #8b5cf6 100%);
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.3), 0 0 20px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #1e293b;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    border: 2px solid rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(59, 130, 246, 0.4);
    animation: button-pulse 1.5s ease-in-out infinite;
}

@keyframes button-pulse {
    0%, 100% { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 50px rgba(59, 130, 246, 0.6); }
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
    outline: none;
}

/* Reduced motion preference */
@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;
    }
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #0f172a;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 40px rgba(30, 41, 59, 0.3), 0 0 30px rgba(59, 130, 246, 0.2);
    border-color: rgba(30, 41, 59, 0.5);
}

.btn-secondary span {
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ========================================
   섹션 공통 스타일
   ======================================== */

/* 섹션 헤더 컨테이너 */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 2rem;
}

/* 섹션 라벨 (예: "Our Solutions", "Technology") */
.section-label {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: var(--radius-round);
    border: 1px solid rgba(30, 64, 175, 0.2);
}

/* 섹션 메인 제목 */
.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* 섹션 설명 텍스트 */
.section-description {
    font-size: 1.25rem;
    color: var(--color-gray);
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   Vision 섹션 스타일
   ======================================== */

/* Vision 섹션 컨테이너 */
.vision-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* Vision 섹션 상단 구분선 */
.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* Vision 카드 그리드 레이아웃 */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Vision 카드 스타일 */
.vision-card {
    background: var(--color-white);
    padding: 3.5rem 2.5rem;
    border-radius: var(--radius-default);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.vision-card:hover {
    transform: translateY(-12px) scale(1.03) rotateY(2deg);
    box-shadow: var(--shadow-xl), var(--shadow-glow), 0 0 40px rgba(30, 64, 175, 0.2);
    border-color: rgba(30, 64, 175, 0.3);
}

.vision-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.vision-card:hover::after {
    width: 300px;
    height: 300px;
}

.vision-card {
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.vision-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.3);
    position: relative;
    transition: var(--transition-smooth);
}

.vision-card:hover .vision-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.4);
}

.vision-icon svg {
    width: 48px;
    height: 48px;
    color: var(--white);
}

.vision-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.vision-card p {
    color: var(--gray-color);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ========================================
   Solutions 섹션 스타일
   ======================================== */

/* Solutions 섹션 컨테이너 */
.solutions-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
}

/* Solutions 섹션 하단 구분선 */
.solutions-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

/* Solutions 카드 그리드 레이아웃 */
.solutions-grid {
    display: grid;
    gap: 2.5rem;
    max-width: 100%;
}

.solution-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.solution-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 4rem 3.5rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    transition: transform 0.1s ease-out;
    border: 2px solid rgba(30, 64, 175, 0.1);
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transform-style: preserve-3d;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.solution-card:hover::before {
    opacity: 0.03;
}

.solution-icon {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    width: 70px;
    height: 70px;
    background: var(--gradient-2);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0.95;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
    z-index: 2;
}

.solution-card:hover .solution-icon {
    opacity: 1;
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
}

.solution-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.solution-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl), var(--shadow-glow), 0 0 50px rgba(30, 64, 175, 0.25);
    transform: translateX(15px) translateY(-5px) rotateY(3deg);
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius);
    pointer-events: none;
    z-index: 0;
}

.solution-card:hover::after {
    opacity: 1;
}

.solution-card > * {
    position: relative;
    z-index: 1;
}

.solution-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
    letter-spacing: -0.03em;
    opacity: 0.9;
}

.solution-content h3 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.solution-content p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.9;
    font-size: 1.1rem;
}

.solution-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.solution-features li {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid rgba(30, 64, 175, 0.15);
    transition: var(--transition-base);
}

.solution-features li {
    transition: var(--transition-base);
    cursor: pointer;
}

.solution-features li:hover {
    background: var(--gradient-2);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3), 0 0 15px rgba(30, 64, 175, 0.2);
    animation: feature-pulse 1s ease-in-out infinite;
}

@keyframes feature-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3), 0 0 15px rgba(30, 64, 175, 0.2); }
    50% { box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4), 0 0 25px rgba(30, 64, 175, 0.3); }
}

/* ========================================
   Technology 섹션 스타일
   ======================================== */

/* Technology 섹션 컨테이너 */
.technology-section {
    padding: 8rem 0;
    background: var(--gradient-hero-background);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.technology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tech-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.tech-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.tech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s infinite, rotate-glow 10s linear infinite;
    position: relative;
    box-shadow: 
        0 0 60px rgba(255, 255, 255, 0.2),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
}

.tech-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(99, 102, 241, 0.5), rgba(236, 72, 153, 0.5), rgba(59, 130, 246, 0.5), rgba(99, 102, 241, 0.5));
    z-index: -1;
    animation: rotate-border 8s linear infinite;
    filter: blur(8px);
}

@keyframes rotate-glow {
    0% { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)); }
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tech-circle-inner {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon {
    font-size: 5rem;
}

.tech-icon-svg {
    width: 80px;
    height: 80px;
    color: var(--white);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.tech-circle {
    animation: pulse 3s infinite, float 6s ease-in-out infinite;
}

/* ========================================
   Alliance 섹션 스타일
   ======================================== */

/* Alliance 섹션 컨테이너 */
.alliance-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.alliance-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.alliance-card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.1s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
}

.alliance-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.alliance-card:hover::after {
    transform: scaleX(1);
}

.alliance-card:hover {
    transform: translateY(-10px) scale(1.03) rotateX(2deg);
    box-shadow: var(--shadow-xl), var(--shadow-glow), 0 0 40px rgba(16, 185, 129, 0.2);
}

.alliance-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-2);
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(10px);
}

.alliance-card:hover::before {
    opacity: 0.3;
}

.alliance-card {
    cursor: pointer;
}

.alliance-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.3);
}

.alliance-card:hover .alliance-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.4);
}

.alliance-icon svg {
    width: 48px;
    height: 48px;
    color: var(--white);
}

.alliance-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.alliance-card p {
    color: var(--gray-color);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ========================================
   CTA (Call to Action) 섹션 스타일
   ======================================== */

/* CTA 섹션 컨테이너 */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.6;
}

/* ========================================
   Contact 섹션 스타일
   ======================================== */

/* Contact 섹션 컨테이너 */
.contact-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

@media (max-width: 968px) {
    .contact-grid {
        gap: 3rem;
    }
}

.contact-info h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.contact-info > p {
    color: var(--gray-color);
    margin-bottom: 3.5rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: var(--gradient-2);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4), 0 0 20px rgba(30, 64, 175, 0.3);
}

.contact-item:hover .contact-icon::before {
    width: 100px;
    height: 100px;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.contact-item p {
    color: var(--gray-color);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 3.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: var(--transition-base);
}

.form-group input.has-error,
.form-group textarea.has-error {
    border-color: var(--color-error);
    animation: input-shake-animation 0.3s ease;
}

/* 하위 호환성을 위한 별칭 */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--color-error);
    animation: input-shake-animation 0.3s ease;
}

@keyframes input-shake-animation {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Hero 전용 애니메이션 */
@keyframes letter-pop {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.5) rotateX(90deg);
        filter: blur(5px);
    }
    60% {
        transform: translateY(-5px) scale(1.1) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0px);
    }
}

@keyframes star-twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* 하위 호환성을 위한 별칭 */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: var(--secondary-color);
}

/* 폼 에러 메시지 스타일 */
.form-error-message {
    display: block;
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

/* 폼 상태 메시지 스타일 */
.form-status-message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: var(--radius-small);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
}

.form-status-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

/* 하위 호환성을 위한 별칭 */
.error-message {
    display: block;
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.form-status {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: var(--radius-small);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
}

.form-status.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

/* 버튼 로딩 스피너 스타일 */
.button-loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spinner-rotation 0.8s linear infinite;
    margin-left: 10px;
}

.button.is-loading .button-text {
    opacity: 0.7;
}

.button.is-loading .button-loading-spinner {
    display: inline-block;
}

@keyframes spinner-rotation {
    to { transform: rotate(360deg); }
}

/* 하위 호환성을 위한 별칭 */
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spinner-rotation 0.8s linear infinite;
    margin-left: 10px;
}

.btn.loading .btn-text {
    opacity: 0.7;
}

.btn.loading .btn-loader {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Footer 스타일
   ======================================== */

/* Footer 컨테이너 */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: var(--color-white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.footer-brand p {
    opacity: 0.85;
    font-size: 1.05rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ========================================
   애니메이션 효과
   ======================================== */

/* 페이드인 애니메이션 */
@keyframes fade-in-animation {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 페이드인 애니메이션 클래스 */
.animate-fade-in {
    animation: fade-in-animation 1s ease-out;
}

.animate-fade-in-delay {
    animation: fade-in-animation 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fade-in-animation 1s ease-out 0.6s both;
}

/* 하위 호환성을 위한 별칭 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-illustration {
        order: -1;
    }

    .medical-illustration {
        max-width: 400px;
    }
    
    .section-header {
        margin-bottom: 3.5rem;
    }
    
    .vision-section,
    .solutions-section,
    .technology-section,
    .alliance-section,
    .contact-section,
    .cta-section {
        padding: 5rem 0;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-card {
        padding: 2.5rem 2rem;
    }
    
    .solution-card {
        padding: 3rem 2.5rem;
        gap: 2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        z-index: 1000;
    }

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

    .hamburger {
        display: flex;
    }
    
    .theme-toggle {
        display: none;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .tech-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tech-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .solutions-grid {
        gap: 2rem;
    }

    .solution-card {
        flex-direction: column;
        text-align: center;
    }

    .solution-icon {
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto 1rem;
    }

    .solution-card-link {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-container {
        gap: 2rem;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .btn {
        width: 100%;
    }

    .medical-illustration {
        max-width: 300px;
    }

    .vision-grid,
    .alliance-content {
        grid-template-columns: 1fr;
    }

    .tech-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-circle {
        width: 200px;
        height: 200px;
    }

    .tech-circle-inner {
        width: 140px;
        height: 140px;
    }

    .tech-icon {
        font-size: 3rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .nav-container {
        padding: 0 20px;
    }
}
