/* Reset & Base Styles */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --section-padding: 120px 0;
    --container-spacing: 80px;
    --header-height: 80px; /* 헤더 높이 변수 추가 */
    --vh: 1vh; /* 동적 viewport height */
    --safe-area-inset-top: env(safe-area-inset-top, 0px); /* iOS 안전 영역 */
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px); /* iOS 안전 영역 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-primary);
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* 공통 섹션 스타일 */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--container-spacing);
    position: relative;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color); /* fallback */
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* 브라우저별 섹션 타이틀 언더라인 최적화 */
.samsung-browser .section-title::after {
    background: linear-gradient(90deg, #6366f1, #4f46e5);
}

.edge-browser .section-title::after {
    background: linear-gradient(90deg, #5b21b6, #6366f1);
}

/* 그라디언트 미지원 브라우저 */
.no-gradient .section-title::after {
    background: var(--primary-color) !important;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: var(--container-spacing);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* 브라우저별 헤더 최적화 */

/* 삼성인터넷 브라우저 최적화 */
.samsung-browser .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.samsung-browser .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
}

/* 엣지 브라우저 최적화 */
.edge-browser .header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.edge-browser .header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
}

/* backdrop-filter 미지원 브라우저 fallback */
.no-backdrop-filter .header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.no-backdrop-filter .header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

/* @supports 를 사용한 추가 fallback */
@supports not (backdrop-filter: blur(20px)) {
    .header {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
    }
    
    .header.scrolled {
        background: rgba(255, 255, 255, 1) !important;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12) !important;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-image {
    height: 48px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color); /* fallback 색상 */
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: -4px;
    letter-spacing: -0.5px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 브라우저별 로고 최적화 */

/* WebKit 지원 브라우저 (크롬, 사파리, 삼성인터넷) */
@supports (-webkit-background-clip: text) and (-webkit-text-fill-color: transparent) {
    .logo h1 {
        color: transparent; /* WebKit 지원 시에만 투명하게 */
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* 삼성인터넷 브라우저 최적화 */
.samsung-browser .logo h1 {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 엣지 브라우저 최적화 */
.edge-browser .logo h1 {
    background: linear-gradient(135deg, #5b21b6 0%, #6366f1 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 일반 브라우저 fallback (Firefox 등) */
@supports not (-webkit-background-clip: text) {
    .logo h1 {
        color: var(--primary-color) !important;
        background: none !important;
        text-shadow: 0 1px 3px rgba(99, 102, 241, 0.3);
    }
    
    .logo h1:hover {
        color: var(--primary-dark) !important;
        text-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
    }
}

/* 그라디언트 지원하지 않는 브라우저 추가 fallback */
.no-gradient .logo h1 {
    color: var(--primary-color) !important;
    background: none !important;
    text-shadow: 0 1px 3px rgba(99, 102, 241, 0.3);
}

.logo span {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color); /* fallback */
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

/* 브라우저별 네비게이션 언더라인 최적화 */
.samsung-browser .nav a::before {
    background: linear-gradient(90deg, #6366f1, #4f46e5);
}

.edge-browser .nav a::before {
    background: linear-gradient(90deg, #5b21b6, #6366f1);
}

/* 그라디언트 미지원 브라우저 */
.no-gradient .nav a::before {
    background: var(--primary-color) !important;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a:hover::before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

/* Hero Section */
.hero {
    /* 헤더 아래에서 시작하도록 높이 조정 */
    height: calc(100vh - var(--header-height));
    height: calc(var(--vh, 1vh) * 100 - var(--header-height)); /* 동적 viewport height 사용 */
    /* 헤더 바로 아래에서 시작 */
    margin-top: var(--header-height);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 0;
    /* 최소 높이도 헤더 높이 제외 */
    min-height: calc(100vh - var(--header-height));
    min-height: calc(var(--vh, 1vh) * 100 - var(--header-height));
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 기본 그라디언트 (크롬 최적화) */
    background: linear-gradient(-45deg, 
        #0f4c75, /* 깊은 의료 블루 */
        #3282b8, /* 메디컬 블루 */
        #0f4c75, /* 신뢰감 있는 네이비 */
        #2c5f7e  /* 차분한 블루그레이 */
    );
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

/* 삼성인터넷 브라우저 최적화 */
.samsung-browser .hero-gradient-bg {
    /* 삼성인터넷에서 더 부드러운 색상 전환을 위한 단순화된 그라디언트 */
    background: linear-gradient(-45deg, 
        #1a5490, /* 밝은 의료 블루 */
        #2980b9, /* 안정적인 블루 */
        #1a5490, /* 일관된 블루 */
        #34495e  /* 차분한 그레이블루 */
    );
    /* 삼성인터넷에서 애니메이션 속도 조정 */
    animation: gradientShift 25s ease infinite;
}

/* 엣지 브라우저 최적화 */
.edge-browser .hero-gradient-bg {
    /* 엣지에서 더 선명한 색상 대비 */
    background: linear-gradient(-45deg, 
        #0d3d5c, /* 진한 네이비 */
        #2471a3, /* 엣지 최적화 블루 */
        #0d3d5c, /* 일관된 네이비 */
        #1b4f72  /* 안정적인 다크블루 */
    );
    /* 엣지에서 부드러운 애니메이션 */
    animation: gradientShift 22s ease-in-out infinite;
}

/* backdrop-filter 미지원 브라우저용 대체 배경 */
.no-backdrop-filter .hero-gradient-bg {
    /* 더 진한 배경으로 텍스트 가독성 향상 */
    background: linear-gradient(-45deg, 
        #0a2a42, /* 더 진한 네이비 */
        #1e5f8b, /* 진한 블루 */
        #0a2a42, /* 일관된 진한 네이비 */
        #1a3a52  /* 진한 그레이블루 */
    );
    /* 오버레이 추가로 텍스트 가독성 보장 */
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float-particle 20s linear infinite;
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    left: 10%;
    top: 80%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    width: 12px;
    height: 12px;
    left: 20%;
    top: 100%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.particle:nth-child(3) {
    width: 6px;
    height: 6px;
    left: 30%;
    top: 90%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    left: 50%;
    top: 110%;
    animation-delay: -15s;
    animation-duration: 28s;
}

.particle:nth-child(5) {
    width: 14px;
    height: 14px;
    left: 60%;
    top: 95%;
    animation-delay: -7s;
    animation-duration: 35s;
}

.particle:nth-child(6) {
    width: 7px;
    height: 7px;
    left: 70%;
    top: 105%;
    animation-delay: -12s;
    animation-duration: 26s;
}

.particle:nth-child(7) {
    width: 9px;
    height: 9px;
    left: 80%;
    top: 85%;
    animation-delay: -3s;
    animation-duration: 32s;
}

.particle:nth-child(8) {
    width: 11px;
    height: 11px;
    left: 90%;
    top: 100%;
    animation-delay: -8s;
    animation-duration: 24s;
}

.particle:nth-child(9) {
    width: 5px;
    height: 5px;
    left: 15%;
    top: 95%;
    animation-delay: -18s;
    animation-duration: 29s;
}

.particle:nth-child(10) {
    width: 13px;
    height: 13px;
    left: 85%;
    top: 110%;
    animation-delay: -2s;
    animation-duration: 27s;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.8) 0%, 
        rgba(6, 182, 212, 0.6) 50%, 
        rgba(99, 102, 241, 0.8) 100%);
    z-index: -1;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    max-width: 1000px;
    z-index: 2;
    position: relative;
    padding: 40px 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 히어로 섹션이 이미 헤더 아래에서 시작하므로 기본 패딩만 */
    padding-bottom: max(40px, calc(var(--safe-area-inset-bottom) + 60px));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: float-badge 6s ease-in-out infinite;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.badge-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 32px;
    letter-spacing: -3px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.highlight {
    /* 기본 그라디언트 (크롬 최적화) */
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
    animation-delay: 0.2s;
}

/* 삼성인터넷 브라우저 최적화 */
.samsung-browser .highlight {
    /* 삼성인터넷에서 더 안정적인 2색 그라디언트 */
    background: linear-gradient(135deg, #f39c12, #e67e22);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(243, 156, 18, 0.4);
}

/* 엣지 브라우저 최적화 */
.edge-browser .highlight {
    /* 엣지에서 더 선명한 오렌지 계열 */
    background: linear-gradient(135deg, #ff9500, #ff6b35);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 149, 0, 0.4);
}

/* 그라디언트 미지원 브라우저 */
.no-gradient .highlight {
    background: #f39c12 !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    color: #f39c12 !important;
    text-shadow: 0 2px 10px rgba(243, 156, 18, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3.5vw, 1.5rem);
    margin-bottom: 48px;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 40px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* 삼성인터넷 브라우저 최적화 */
.samsung-browser .cta-button.secondary {
    /* 삼성인터넷에서 더 안정적인 배경 */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* 엣지 브라우저 최적화 */
.edge-browser .cta-button.secondary {
    /* 엣지에서 더 선명한 배경 */
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* backdrop-filter 미지원 브라우저 */
.no-backdrop-filter .cta-button.secondary {
    /* 대체 배경으로 가독성 보장 */
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.cta-button i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover i {
    transform: translateX(4px);
}



.scroll-indicator {
    position: absolute;
    bottom: max(40px, calc(var(--safe-area-inset-bottom) + 20px));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
    z-index: 2;
    /* 히어로 통계와 겹치지 않도록 위치 조정 */
    margin-top: 20px;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

.scroll-indicator span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Main Services */
.main-services {
    background: var(--bg-secondary);
    position: relative;
}

.main-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        transparent 100%);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-primary);
    padding: 48px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

/* 브라우저별 서비스 카드 호버 최적화 */
.samsung-browser .service-card:hover {
    /* 삼성인터넷에서 더 부드러운 애니메이션 */
    transform: translateY(-10px) scale(1.02);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.edge-browser .service-card:hover {
    /* 엣지에서 더 선명한 효과 */
    transform: translateY(-14px) scale(1.03);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        /* 터치 디바이스에서는 호버 효과 감소 */
        transform: translateY(-8px);
        transition: all 0.2s ease;
    }
    
    .partner-item:hover {
        transform: translateY(-5px);
        transition: all 0.2s ease;
    }
    
    .stat-item:hover {
        transform: translateY(-4px);
        transition: all 0.2s ease;
    }
}

/* 터치 상태 스타일 */
.touch-hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.service-card.touch-hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-xl) !important;
}

.partner-item.touch-hover {
    transform: translateY(-6px) !important;
}

/* 키보드 포커스 스타일 */
.keyboard-focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 8px;
}

/* 접근성 향상: 포커스 가능한 요소 스타일 */
.service-card:focus,
.partner-item:focus,
.stat-item:focus,
.cta-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 96px;
    height: 96px;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--gradient-primary);
    border-radius: 28px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.service-card:hover .service-icon::before {
    opacity: 0.3;
}

.service-icon i {
    font-size: 40px;
    color: white;
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.3;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Solutions Section */
.solutions-section {
    background: var(--bg-primary);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-item {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-item:hover::before {
    opacity: 0.03;
}

.solution-item:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-left-color: var(--secondary-color);
}

.solution-item > * {
    position: relative;
    z-index: 2;
}

.solution-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.solution-icon i {
    font-size: 28px;
    color: white;
}

.solution-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.solution-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Special Solutions */
.special-solutions {
    background: var(--bg-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.special-solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.9;
    z-index: 1;
}

.special-solutions .container {
    position: relative;
    z-index: 2;
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.special-item {
    text-align: center;
    padding: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.special-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.special-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.special-icon i {
    font-size: 48px;
    color: white;
}

.special-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.special-item h4 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    opacity: 0.9;
    font-weight: 500;
}

.special-item p {
    line-height: 1.7;
    opacity: 0.9;
    font-size: 16px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Software Solutions */
.software-solutions {
    background: var(--bg-secondary);
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.software-item {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.software-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.software-item:hover::before {
    opacity: 0.03;
}

.software-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.software-item > * {
    position: relative;
    z-index: 2;
}

.software-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-secondary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.software-icon i {
    font-size: 28px;
    color: white;
}

.software-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.4;
}

.software-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Why Choose Us */
.why-choose-us {
    background: var(--bg-primary);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    text-align: center;
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    color: white;
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-item > * {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    line-height: 1;
}

.stat-item:hover .stat-number {
    color: white;
}

.stat-label {
    font-size: 15px;
    color: var(--text-secondary);
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    line-height: 1.4;
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.update-date {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 32px;
    font-weight: 500;
}

/* Partners */
.partners-section {
    background: var(--bg-secondary);
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-item {
    padding: 40px;
    background: var(--bg-primary);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    height: auto;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.partner-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

/* 브라우저별 파트너 항목 호버 최적화 */
.samsung-browser .partner-item:hover {
    /* 삼성인터넷에서 더 안정적인 효과 */
    transform: translateY(-6px) scale(1.02);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.edge-browser .partner-item:hover {
    /* 엣지에서 더 선명한 효과 */
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.partner-logo {
    height: 80px;  /* 로고 영역 높이 고정 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.partner-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    filter: grayscale(30%) opacity(0.8);
}

.partner-item:hover .partner-logo-img {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(1);
}

.partner-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

/* Contact Section */
.contact-section {
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: var(--container-spacing);
    align-items: start;
}

.contact-info {
    padding: 20px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.contact-icon i {
    font-size: 24px;
    color: white;
}

.contact-details h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    height: fit-content;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-primary);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    /* 기본 그라디언트 (크롬 최적화) */
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    /* 호버 효과 기본값 */
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

/* 삼성인터넷 브라우저 최적화 */
.samsung-browser .submit-btn {
    /* 삼성인터넷에서 더 안정적인 그라디언트 */
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* 엣지 브라우저 최적화 */
.edge-browser .submit-btn {
    /* 엣지에서 더 선명한 그라디언트 */
    background: linear-gradient(135deg, #5b21b6, #3b82f6);
    box-shadow: 0 4px 15px rgba(91, 33, 182, 0.3);
}

/* 그라디언트 미지원 브라우저 */
.no-gradient .submit-btn {
    background: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 브라우저별 호버 효과 최적화 */
.samsung-browser .submit-btn:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.edge-browser .submit-btn:hover {
    box-shadow: 0 8px 25px rgba(91, 33, 182, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.no-gradient .submit-btn:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.contact-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.footer-left {
    flex: 1;
    max-width: 60%;
}

.footer-right {
    flex: 0 0 auto;
    min-width: 300px;
}

.footer-logo-image {
    height: 56px;
    width: auto;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1);
}

.footer-logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.footer-logo h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.company-info {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.info-item i {
    color: var(--primary-light);
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.info-item span {
    font-weight: 400;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-light);
}

/* 네이버 블로그 아이콘 스타일 */
.naver-blog-link {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    padding: 4px;
}

.naver-blog-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
}

.naver-blog-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.naver-blog-link:hover .naver-blog-icon {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.footer-copyright {
    margin-top: 24px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* Hero 데코레이션 요소들 */
.hero-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: absolute;
    animation: rotate-decoration 20s linear infinite;
}

.decoration-circle.large {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    border-color: rgba(99, 102, 241, 0.2);
}

.decoration-circle.medium {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    border-color: rgba(6, 182, 212, 0.2);
    animation-direction: reverse;
}

.decoration-circle.small {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 80%;
    border-color: rgba(251, 191, 36, 0.2);
}

@keyframes rotate-decoration {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/*파트너로고 이미지 스타일조정*/
.partner-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    filter: grayscale(30%) opacity(0.8);
}

.partner-item:hover .partner-logo-img {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(1);
}

/* 반응형 조정 */
@media (max-width: 768px) {
    .partner-logo-img {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .partner-logo-img {
        width: 55px;
        height: 55px;
    }
}

/*파트너2로고 이미지 스타일조정*/
.partner-logo-img2 {
    width: 180px;
    height: 180px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    filter: grayscale(30%) opacity(0.8);
}

.partner-item:hover .partner-logo-img2 {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(1);
}

/* 반응형 조정 */
@media (max-width: 768px) {
    .partner-logo-img2 {
        width: 125px;
        height: 125px;
    }
}

@media (max-width: 480px) {
    .partner-logo-img2 {
        width: 120px;
        height: 120px;
    }
}


/* 의료 기술 아이콘들 */
.tech-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.tech-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    animation: float-tech-icon 8s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tech-icon:nth-child(1) {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.tech-icon:nth-child(2) {
    top: 25%;
    right: 20%;
    animation-delay: -2s;
}

.tech-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: -4s;
}

.tech-icon:nth-child(4) {
    bottom: 20%;
    right: 15%;
    animation-delay: -6s;
}

.tech-icon:nth-child(5) {
    top: 60%;
    left: 85%;
    animation-delay: -1s;
}

@keyframes float-tech-icon {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-15px) scale(1.1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-5px) scale(0.95);
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-20px) scale(1.05);
        opacity: 0.95;
    }
}

/* 추가 그라데이션 오버레이 */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(15, 76, 117, 0.3) 0%, 
        rgba(50, 130, 184, 0.2) 40%, 
        rgba(15, 76, 117, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

/* 펄스 효과 */
.pulse-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

.pulse-element:nth-child(1) {
    top: 20%;
    left: 25%;
    animation-delay: 0s;
}

.pulse-element:nth-child(2) {
    top: 70%;
    right: 30%;
    animation-delay: 1s;
}

.pulse-element:nth-child(3) {
    bottom: 40%;
    left: 60%;
    animation-delay: 2s;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

/* AOS 스크롤 애니메이션 커스터마이징 */
[data-aos="fade-up"] {
    transform: translate3d(0, 40px, 0);
    opacity: 0;
}

[data-aos="fade-right"] {
    transform: translate3d(-40px, 0, 0);
    opacity: 0;
}

[data-aos="fade-left"] {
    transform: translate3d(40px, 0, 0);
    opacity: 0;
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
    opacity: 0;
}

[data-aos="flip-up"] {
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
}

/* 애니메이션 완료 상태 */
[data-aos].aos-animate {
    transform: translate3d(0, 0, 0) scale(1) perspective(400px) rotateX(0deg);
    opacity: 1;
}

/* 부드러운 트랜지션 */
.section-title,
.section-subtitle {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 스크롤 시 섹션별 배경 변화 효과 */
.main-services,
.solutions-section,
.software-solutions,
.why-choose-us,
.partners-section,
.contact-section {
    transition: background-color 0.5s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .header-content {
        padding: 0 24px;
    }
    
    .special-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .software-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        padding: 0 20px;
    }
    
    /* 히어로 섹션을 제외한 일반 섹션들만 패딩 적용 */
    section:not(.hero) {
        padding: 80px 0;
    }
    
    /* 히어로 섹션 모바일 최적화 */
    .hero {
        /* 헤더 아래에서 시작하도록 높이 조정 */
        height: calc(100vh - var(--header-height));
        height: calc(var(--vh, 1vh) * 100 - var(--header-height)); /* 동적 viewport height 사용 */
        /* 헤더 바로 아래에서 시작 + iOS 안전 영역 고려 */
        margin-top: calc(var(--header-height) + var(--safe-area-inset-top));
        padding: 0;
        /* 최소 높이도 조정 */
        min-height: calc(600px - var(--header-height));
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        /* 이미 헤더 아래에서 시작하므로 기본 패딩만 */
        padding: 20px 20px 100px 20px;
        width: 100%;
        max-width: 1000px;
        overflow: visible;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-stats {
        margin: 40px auto 60px auto; /* 충분한 마진 확보 */
        gap: 32px;
    }
    
    .scroll-indicator {
        bottom: max(30px, var(--safe-area-inset-bottom));
        position: absolute; /* 히어로 섹션 내에서 절대 위치 */
    }
    
    .section-title {
        margin-bottom: 60px;
    }
    
    .section-subtitle {
        margin-bottom: 60px;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 300px;
        height: calc(100vh - var(--header-height));
        height: calc(100svh - var(--header-height)); /* iOS Safari 안전 영역 고려 */
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 40px 24px;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-left: 1px solid var(--border-color);
    }
    
    /* 모바일에서 브라우저별 헤더 최적화 */
    .samsung-browser .header {
        background: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(12px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
    }
    
    .samsung-browser .header.scrolled {
        background: rgba(255, 255, 255, 0.99) !important;
        backdrop-filter: blur(12px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
    }
    
    .samsung-browser .nav {
        background: rgba(255, 255, 255, 0.99) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 24px;
        margin-top: 20px;
    }
    
    .nav a {
        font-size: 18px;
        padding: 12px 0;
        border-bottom: 1px solid transparent;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav a::before {
        display: none;
    }
    
    .nav a:hover {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        padding-left: 8px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    

    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .software-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
        .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-left {
        max-width: 100%;
    }

    .footer-right {
        min-width: auto;
        width: 100%;
    }

    .footer-info {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    
    /* 모바일에서 네이버 블로그 아이콘 최적화 */
    .naver-blog-icon {
        width: 36px;
        height: 36px;
    }

    .company-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-item {
        justify-content: center;
        text-align: center;
    }
    
    .footer-copyright {
        margin-top: 16px;
        text-align: center;
    }
    
    /* 작은 화면에서 네이버 블로그 아이콘 최적화 */
    .naver-blog-icon {
        width: 32px;
        height: 32px;
    }
    
    .footer-links {
        gap: 16px;
    }
    
    .contact-form {
        padding: 32px;
    }
    
    .service-card,
    .solution-item,
    .software-item {
        padding: 32px;
    }
    
    .special-item {
        padding: 40px 32px;
        min-height: 320px;
    }
    
    .hero-content {
        padding: 20px 20px 100px 20px;
        max-height: calc(100vh - var(--header-height) - 120px);
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        padding: 0 16px;
    }
    
    /* 히어로 섹션을 제외한 일반 섹션들만 패딩 적용 */
    section:not(.hero) {
        padding: 60px 0;
    }
    
    /* 히어로 섹션 모바일 최적화 */
    .hero {
        /* 헤더 아래에서 시작하도록 높이 조정 */
        height: calc(100vh - var(--header-height));
        height: calc(var(--vh, 1vh) * 100 - var(--header-height)); /* 동적 viewport height 사용 */
        /* 헤더 바로 아래에서 시작 */
        margin-top: var(--header-height);
        padding: 0;
        /* 최소 높이를 더 크게 설정 (iOS에서 충분한 히어로 영역) */
        min-height: calc(450px - var(--header-height));
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
    
    .hero-content {
        /* 상하 패딩을 최소화하되 안전한 간격 확보 */
        padding: 15px 16px 20px 16px;
        width: 100%;
        max-width: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* 높이를 히어로 섹션에 맞춤 */
        height: 100%;
        position: relative;
        z-index: 2;
    }
    

    
    .scroll-indicator {
        /* 히어로 섹션 하단에 고정 */
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        z-index: 3;
        /* 히어로 통계와 겹치지 않도록 위치 조정 */
        margin-top: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* 히어로 뱃지 최적화 */
    .hero-badge {
        padding: 10px 24px;
        margin-bottom: 25px;
        font-size: 13px;
    }
    
    /* 히어로 타이틀 최적화 */
    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
        line-height: 1.1;
        margin-bottom: 15px;
    }
    
    /* 히어로 서브타이틀 최적화 */
    .hero-subtitle {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 25px;
        max-width: 350px;
    }
    
    /* 버튼 최적화 */
    .hero-buttons {
        margin-bottom: 25px;
        gap: 14px;
    }
    
    .hero-stats .stat-number {
        font-size: 2.2rem; /* 작은 화면에서 더 작게 */
        margin-bottom: 6px;
        line-height: 1;
    }
    
    .hero-stats .stat-label {
        font-size: 12px; /* 작은 화면에서 더 작게 */
        line-height: 1.2;
    }
    
    .service-card,
    .contact-form {
        padding: 24px;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .solution-item,
    .software-item {
        padding: 24px;
        min-height: 240px;
    }
    
    .special-item {
        padding: 32px 24px;
        min-height: 280px;
    }
    
    .partner-item {
        padding: 24px;
        min-height: 140px;
    }
    
    .stat-item {
        padding: 24px;
        min-height: 160px;
    }
    

    
    .cta-button {
        padding: 16px 32px;
        font-size: 16px;
        min-width: 180px;
    }
}

/* 개인정보처리방침 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 3% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow: hidden;
    transform: translateY(-50px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.modal-close {
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.modal-body {
    padding: 0;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.privacy-content {
    padding: 32px;
    line-height: 1.7;
    color: var(--text-primary);
}

.privacy-content h3 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.privacy-content h4 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.privacy-content p {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-agencies {
    margin-top: 24px;
}

.agency {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.agency h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 16px;
}

.agency p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

/* 모달 스크롤바 스타일링 */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 모달 반응형 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px 24px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .privacy-content {
        padding: 24px 20px;
    }
    
    .privacy-content h3 {
        font-size: 18px;
    }
    
    .privacy-content h4 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 2% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .privacy-content {
        padding: 20px 16px;
    }
}

/* 모바일에서도 부드러운 애니메이션 */
@media (max-width: 768px) {
    [data-aos] {
        transform: none !important;
        opacity: 1 !important;
    }
    
    [data-aos="fade-up"] {
        transform: translate3d(0, 20px, 0) !important;
        opacity: 0 !important;
    }
    
    [data-aos].aos-animate {
        transform: translate3d(0, 0, 0) !important;
        opacity: 1 !important;
    }
}

/* 카카오톡 상담 버튼 */
.kakao-consult-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: float-kakao 3s ease-in-out infinite;
}

.kakao-consult-btn a {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: #fee500;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(254, 229, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f9d71c;
    max-width: 200px;
    overflow: hidden;
}

.kakao-consult-btn a:hover {
    background: #f9d71c;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(254, 229, 0, 0.6);
}

.kakao-btn-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.kakao-consult-btn a:hover .kakao-btn-image {
    transform: scale(1.1) rotate(5deg);
}

.kakao-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.kakao-main-text {
    font-size: 16px;
    font-weight: 700;
    color: #3c1e1e;
    margin-bottom: 2px;
}

.kakao-sub-text {
    font-size: 12px;
    font-weight: 500;
    color: #654b00;
}

@keyframes float-kakao {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 카카오톡 버튼 반응형 */
@media (max-width: 768px) {
    .kakao-consult-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .kakao-consult-btn a {
        padding: 10px 16px;
        max-width: 180px;
    }
    
    .kakao-btn-image {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .kakao-main-text {
        font-size: 14px;
    }
    
    .kakao-sub-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .kakao-consult-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .kakao-consult-btn a {
        padding: 8px 14px;
        max-width: 160px;
    }
    
    .kakao-btn-image {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }
    
    .kakao-main-text {
        font-size: 13px;
    }
    
    .kakao-sub-text {
        font-size: 10px;
    }
}

/* 스크롤 시 부드러운 등장 효과 */
.kakao-consult-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.kakao-consult-btn.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* 터치 디바이스를 위한 추가 스타일 */
.kakao-consult-btn.touch-active a {
    background: #f9d71c;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(254, 229, 0, 0.5);
}

/* 접근성을 위한 포커스 스타일 */
.kakao-consult-btn a:focus {
    outline: 3px solid rgba(254, 229, 0, 0.8);
    outline-offset: 2px;
}

/* 고해상도 디스플레이 대응 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .kakao-btn-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}



/* 380px 이하 초소형 디바이스 전용 최적화 */
@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }
    
    .header-content {
        padding: 0 12px;
    }
    
    /* 헤더 높이 최적화 */
    .header {
        padding: 12px 0;
    }
    
    /* 히어로 섹션 380px 전용 최적화 */
    .hero {
        /* 헤더 높이를 정확히 계산하여 설정 */
        height: calc(100vh - var(--header-height));
        height: calc(var(--vh, 1vh) * 100 - var(--header-height));
        /* 헤더 바로 아래에서 시작 */
        margin-top: var(--header-height);
        padding: 0;
        /* 최소 높이를 더 작게 설정 (iOS에서 컴팩트한 히어로 영역) */
        min-height: calc(350px - var(--header-height));
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
    
    .hero-content {
        /* 상하 패딩을 최소화하되 안전한 간격 확보 */
        padding: 15px 12px 20px 12px;
        width: 100%;
        max-width: 360px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* 높이를 히어로 섹션에 맞춤 */
        height: 100%;
        position: relative;
        z-index: 2;
    }
    
    /* 히어로 뱃지 최적화 */
    .hero-badge {
        padding: 8px 20px;
        margin-bottom: 20px;
        font-size: 12px;
    }
    
    /* 히어로 타이틀 최적화 */
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.1;
        margin-bottom: 12px;
    }
    
    /* 히어로 서브타이틀 최적화 */
    .hero-subtitle {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 20px;
        max-width: 300px;
    }
    
    /* 버튼 최적화 */
    .hero-buttons {
        margin-bottom: 20px;
        gap: 12px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 140px;
    }
    

    
    /* 스크롤 인디케이터 최적화 */
    .scroll-indicator {
        /* 히어로 섹션 하단에 고정 */
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%) scale(0.8);
        z-index: 3;
        /* 히어로 통계와 겹치지 않도록 위치 조정 */
        margin-top: 0;
    }
    
    /* 기타 요소들 최적화 */
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 40px;
    }
    
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    /* 서비스 카드 등 간격 조정 */
    section:not(.hero) {
        padding: 50px 0;
    }
    
    .service-card,
    .contact-form {
        padding: 20px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .solution-item,
    .software-item {
        padding: 20px;
        min-height: 200px;
    }
    
    .special-item {
        padding: 24px 20px;
        min-height: 240px;
    }
    
    .partner-item {
        padding: 20px;
        min-height: 120px;
    }
    
    .stat-item {
        padding: 20px;
        min-height: 140px;
    }
    
    .stats-grid,
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Neural Partners 섹션 380px 이하 최적화 */
    .neural-partners-section {
        padding: 60px 0 30px 0;
    }
    
    .neural-partners-visual {
        min-height: 320px;
        margin: 0 auto;
        max-width: calc(100% - 16px);
        transform: translateX(-50%);
        position: relative;
    }
    
    #neuralPartnersCanvas {
        height: 280px;
    }
    
    .neural-partners-logo-info {
        bottom: 0.5%;
        min-width: 220px;
        padding: 12px 20px;
        border-radius: 10px;
    }
    
    .neural-partners-logo-info .logo-name {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .neural-partners-logo-info .logo-description {
        font-size: 0.75rem;
    }

}

/* Neural Partners Section - Neural Network Test 스타일 적용 */
.neural-partners-section {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    padding: 120px 0 120px 0;
    overflow: hidden;
    min-height: 100vh;
}

.neural-partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(100, 255, 218, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 69, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.neural-partners-section .section-title {
    /* 기본 section-title 속성 상속 */
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--container-spacing);
    position: relative;
    letter-spacing: -1px;
    line-height: 1.2;
    
    /* Neural Partners 전용 스타일 */
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #64ffda 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.neural-partners-section .section-subtitle {
    color: #64ffda;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    font-weight: 200;
    letter-spacing: 2px;
    line-height: 1.6;
    margin-bottom: var(--container-spacing);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    position: relative;
    z-index: 10;
}

.neural-partners-visual {
    position: relative;
    width: 100%;
    min-height: 700px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    border-radius: 32px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(100, 255, 218, 0.2),
        0 0 100px rgba(100, 255, 218, 0.15);
    overflow: hidden;
    z-index: 5;
}

.neural-partners-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(100, 255, 218, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

.neural-partners-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(100, 255, 218, 0.02) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 40%, rgba(99, 102, 241, 0.02) 60%, transparent 80%);
    pointer-events: none;
    z-index: 2;
    animation: gradientShift 12s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%;
        opacity: 0.8;
    }
    25% { 
        background-position: 100% 0%, 0% 100%;
        opacity: 1;
    }
    50% { 
        background-position: 100% 100%, 0% 0%;
        opacity: 0.6;
    }
    75% { 
        background-position: 0% 100%, 100% 0%;
        opacity: 1;
    }
}

#neuralPartnersCanvas {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(100, 255, 218, 0.1);
    background: radial-gradient(circle at center, rgba(100, 255, 218, 0.03), transparent);
    /* GPU 가속 및 픽셀 정렬 최적화 */
    will-change: transform;
    transform: translateZ(0);
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

/* 배경 파티클 효과 - Neural Network Test 스타일 */
.neural-partners-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.neural-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #64ffda;
    border-radius: 50%;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(100, 255, 218, 0.6);
    pointer-events: none;
}

.neural-particle-glow {
    background: radial-gradient(circle, rgba(100, 255, 218, 0.9) 0%, transparent 70%);
    box-shadow: 
        0 0 15px rgba(100, 255, 218, 0.6),
        0 0 30px rgba(100, 255, 218, 0.3);
    animation: float 10s ease-in-out infinite, particleGlow 3s infinite ease-in-out;
}

.neural-particle-pulse {
    background: rgba(100, 255, 218, 0.8);
    animation: float 8s ease-in-out infinite, particlePulse 2.5s infinite ease-in-out;
    box-shadow: 0 0 12px rgba(100, 255, 218, 0.5);
}

.neural-particle:nth-child(odd) {
    background: rgba(100, 255, 218, 0.8);
    animation-duration: 8s;
}

.neural-particle:nth-child(3n) {
    background: rgba(100, 255, 218, 0.6);
    animation-duration: 10s;
    width: 3px;
    height: 3px;
}

.neural-particle:nth-child(4n) {
    background: rgba(100, 255, 218, 0.7);
    animation-duration: 7s;
    width: 2px;
    height: 2px;
}

.neural-particle:nth-child(5n) {
    background: rgba(100, 255, 218, 0.6);
    animation-duration: 12s;
    width: 5px;
    height: 5px;
}

.neural-particle:nth-child(6n) {
    background: rgba(100, 255, 218, 0.5);
    animation-duration: 9s;
    width: 3px;
    height: 3px;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    33% { 
        transform: translateY(-10px) rotate(120deg);
        opacity: 1;
    }
    66% { 
        transform: translateY(10px) rotate(240deg);
        opacity: 0.9;
    }
}

@keyframes particleGlow {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(100, 255, 218, 0.6),
            0 0 30px rgba(100, 255, 218, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(100, 255, 218, 0.8),
            0 0 50px rgba(100, 255, 218, 0.5);
        transform: scale(1.2);
    }
}

@keyframes particlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* 추가 글로우 효과 */
.neural-partners-visual .neural-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}



@keyframes pulseGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
}

.neural-partners-logo-info {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 20px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.3);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 15;
    min-width: 300px;
    max-width: 90vw;
    text-align: center;
    box-sizing: border-box;
}



.neural-partners-logo-info.active {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.neural-partners-logo-info .logo-name {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    color: #64ffda;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.neural-partners-logo-info .logo-description {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
    max-width: 100%;
    line-height: 1.5;
    color: #ffffff;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin: 0 auto;
}



/* 반응형 디자인 */
@media (max-width: 1024px) {
    .neural-partners-section {
        padding: 120px 0 100px 0;
    }
    
    .neural-partners-section .section-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
        font-weight: 800;
    }
    
    .neural-partners-section .section-subtitle {
        font-size: 1.125rem;
        margin-bottom: 4rem;
    }
    
    .neural-partners-visual {
        min-height: 580px;
        border-radius: 28px;
    }
    
    #neuralPartnersCanvas {
        height: 520px;
        border-radius: 20px;
    }
    
    .neural-partners-logo-info {
        min-width: 280px;
        max-width: 85vw;
        padding: 18px 32px;
        bottom: 5%;
    }
    
    .neural-partners-logo-info .logo-name {
        font-size: 1.6rem;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .neural-partners-logo-info .logo-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .neural-partners-section {
        padding: 100px 0 80px 0;
    }
    
    .neural-partners-section .section-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
        font-weight: 800;
    }
    
    .neural-partners-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3.5rem;
    }
    
    .neural-partners-visual {
        min-height: 460px;
        border-radius: 24px;
        margin: 0 auto;
        max-width: calc(100% - 32px);
        transform: translateX(-50%);
        position: relative;
    }
    
    #neuralPartnersCanvas {
        height: 400px;
        border-radius: 16px;
        /* 모바일에서 터치 스크롤 허용 */
        touch-action: auto;
        pointer-events: none;
    }
    
    .neural-partners-logo-info {
        bottom: 2%;
        min-width: 280px;
        max-width: 100vw;
        padding: 16px 14px;
        border-radius: 16px;
        transition: all 0.6s ease; /* 모든 디바이스에서 동일한 전환 */
    }
}

@media (max-width: 480px) {
    .neural-partners-section {
        padding: 80px 0 40px 0;
    }
    
    .neural-partners-section .section-title {
        font-size: clamp(1.8rem, 3.5vw, 2rem);
        font-weight: 800;
        margin-bottom: 40px;
    }
    
    .neural-partners-section .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 3rem;
    }
    
    .neural-partners-visual {
        min-height: 500px;
        border-radius: 20px;
        margin: 0 auto;
        max-width: calc(100% - 24px);
        transform: translateX(-50%);
        position: relative;
    }
    
    #neuralPartnersCanvas {
        height: 320px;
        border-radius: 12px;
        /* 작은 모바일 화면에서 렌더링 최적화 */
        image-rendering: auto;
        image-rendering: -webkit-optimize-contrast;
        /* 터치 스크롤 허용 */
        touch-action: auto;
        pointer-events: none;
        /* 부드러운 스케일링 */
        transform-origin: center;
        /* 정확한 픽셀 매핑 */
        image-rendering: optimizeQuality;
    }
    
    .neural-partners-logo-info {
        bottom: 1%;
        min-width: 240px;
        max-width: 75vw;
        padding: 14px 20px;
        border-radius: 12px;
        transition: all 0.6s ease; /* 모든 디바이스에서 동일한 전환 */
        left: 50%;
        right: auto;
        margin: 0 auto;
    }
    
    .neural-partners-logo-info .logo-name {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 8px;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .neural-partners-logo-info .logo-description {
        font-size: 0.8rem;
        line-height: 1.4;
        word-break: keep-all;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* 접근성 */
@media (prefers-reduced-motion: reduce) {
    .neural-partners-logo-info {
        transition: opacity 0.3s ease;
    }
    
    .neural-partners-visual::before {
        background: none;
    }
}

/* 고해상도 디스플레이 최적화 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .neural-partners-visual {
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    
    .neural-partners-logo-info {
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.5),
            0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
}

/* 호버 효과 (데스크톱) */
@media (hover: hover) {
    .neural-partners-visual:hover {
        transform: translateY(-2px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 
            0 35px 70px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
}

/* Contact 섹션 제목 줄바꿈 방지 */
.contact-section .section-title {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .contact-section .section-title {
        white-space: normal;
        font-size: clamp(2rem, 4vw, 2.2rem);
        word-break: keep-all;
        line-height: 1.3;
    }
}

/* Neural Partners 섹션 모바일 성능 최적화 */
@media (max-width: 768px) {
    /* GPU 가속 활성화 */
    .neural-partners-visual,
    #neuralPartnersCanvas,
    .neural-particle {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    /* 애니메이션 최적화 */
    .neural-particle {
        animation-duration: 8s; /* 모바일에서 더 긴 지속시간 */
        animation-timing-function: ease-out; /* 더 부드러운 타이밍 */
    }
    
    /* 그라데이션 단순화 */
    .neural-partners-visual::before {
        background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
        animation-duration: 8s; /* 더 긴 주기 */
    }
    
    /* 파티클 수 제한 */
    .neural-particle:nth-child(n+16) {
        display: none;
    }
}

@media (max-width: 480px) {
    /* 더 적극적인 최적화 */
    .neural-partners-visual {
        /* 복잡한 효과 비활성화 */
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(100, 255, 218, 0.2);
    }
    
    .neural-partners-visual::before,
    .neural-partners-visual::after {
        display: none; /* 배경 애니메이션 비활성화 */
    }
    
    /* 파티클 더 제한 */
    .neural-particle:nth-child(n+9) {
        display: none;
    }
    
    /* 로고 정보 최적화 */
    .neural-partners-logo-info {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(0, 0, 0, 0.9);
        border: 1px solid rgba(100, 255, 218, 0.2);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        max-width: 100vw;
        min-width: 280px;
        padding: 12px 14px;
    }
}

/* 성능이 낮은 기기용 */
@media (max-width: 380px) {
    /* 모든 고급 효과 비활성화 */
    .neural-partners-visual {
        background: rgba(0, 0, 0, 0.8);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(100, 255, 218, 0.3);
    }
    
    .neural-particle {
        display: none; /* 모든 파티클 숨김 */
    }
    
    .neural-partners-logo-info {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(0, 0, 0, 0.95);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        max-width: 100vw;
        min-width: 280px;
        padding: 12px 14px;
        bottom: 2%;
    }
    
    /* 간소화된 그라데이션 */
    .neural-partners-section::before {
        display: none;
    }
}

/* 모션 민감도 고려 */
@media (prefers-reduced-motion: reduce) {
    .neural-particle,
    .neural-partners-visual::before,
    .neural-partners-visual::after {
        animation: none !important;
        transform: none !important;
    }
    
    .neural-partners-logo-info {
        transition: opacity 0.3s ease;
    }
}

/* 저전력 모드 최적화 */
@media (max-device-width: 768px) and (orientation: portrait) {
    /* 세로 모드 모바일에서 성능 최적화 */
    .neural-partners-visual {
        border-radius: 16px;
        transform: none;
        transition: none;
    }
    
    #neuralPartnersCanvas {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 중간 크기 화면 (400px 전후) 최적화 */
@media (max-width: 420px) and (min-width: 381px) {
    .neural-partners-logo-info {
        max-width: 95vw !important;
        min-width: 300px !important;
        padding: 14px 20px !important;
        bottom: 2% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
    }
    
    .neural-partners-logo-info .logo-name {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .neural-partners-logo-info .logo-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        word-break: keep-all !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        text-align: center !important;
        /* 긴 텍스트를 위한 최적화 */
        max-height: 3.4em !important; /* 약 2.5줄 높이 */
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        /* 한글 단어 분리 방지 */
        word-break: keep-all !important;
        /* 부드러운 텍스트 렌더링 */
        text-rendering: optimizeLegibility !important;
        -webkit-font-smoothing: antialiased !important;
        /* 텍스트 중앙 정렬 최적화 */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        /* webkit-line-clamp와 flex 충돌 해결 */
        display: -webkit-box !important;
    }
}

/* 매우 작은 화면 (320px 이하) 추가 최적화 */
@media (max-width: 380px) {
    .neural-partners-logo-info {
        max-width: 88vw !important;
        min-width: 200px !important;
        padding: 12px 16px !important;
        bottom: 3% !important;
        font-size: 0.9em;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
    }
    
    .neural-partners-logo-info .logo-name {
        font-size: 1.2rem !important;
        margin-bottom: 6px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .neural-partners-logo-info .logo-description {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        word-break: keep-all !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        /* 2줄 제한 */
        max-height: 2.6em !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
}