@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   상단 네비게이션
   ============================================ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(30, 130, 190, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(20, 100, 160, 0.5);
    padding: 0.75rem 0;
}

.top-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-nav-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.top-nav-links {
    display: flex;
    gap: 2rem;
}

.top-nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.top-nav-link:hover {
    color: #a78bfa;
}

.top-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.top-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .top-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(3, 0, 20, 0.95);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    }
    .top-nav-links.active {
        display: flex;
    }
    .top-nav-toggle {
        display: flex;
    }
}

/* ============================================
   프로필 섹션
   ============================================ */
.profile-section {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(3, 0, 20, 0.9) 0%, rgba(10, 5, 40, 0.95) 100%);
}

.profile-container {
    max-width: 900px;
    margin: 0 auto;
}

.profile-section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    overflow: hidden;
    padding: 1.5rem;
}

.profile-photo {
    text-align: center;
    margin-bottom: 1rem;
}

.profile-photo img {
    width: 150px;
    height: 210px;
    border-radius: 4px;
    object-fit: cover;
    border: 5px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.profile-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.profile-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.profile-contact-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.profile-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #c4b5fd;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.profile-badge:hover {
    background: rgba(139, 92, 246, 0.4);
}

.profile-content {
    color: rgba(255, 255, 255, 0.85);
}

.profile-block {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.profile-block h4 {
    color: #a78bfa;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.profile-block ul {
    list-style: none;
    padding: 0;
}

.profile-block ul li {
    padding: 0.15rem 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
    font-size: 0.85rem;
}

.profile-block ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #a78bfa;
}

.profile-block p {
    line-height: 1.6;
    font-size: 0.85rem;
}

.profile-highlight-box {
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.profile-highlight-box.red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(249, 115, 22, 0.1));
    border-left: 4px solid #ef4444;
}

.profile-highlight-box.red h5 {
    color: #f87171;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.profile-highlight-box.red p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.profile-highlight-box.blue {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
}

.profile-highlight-box.blue p {
    font-size: 0.8rem;
    line-height: 1.5;
}

.profile-book-list {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.profile-book-list li {
    padding: 0.1rem 0;
    line-height: 1.5;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.profile-note {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #030014;
    color: #fff;
    overflow-x: hidden;
}

/* ============================================
   파티클 배경
   ============================================ */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* ============================================
   히어로 섹션
   ============================================ */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 70px;
    position: relative;
    padding: 70px 20px 30px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(168, 85, 247, 0.2) 0%, transparent 40%);
    animation: aurora 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes aurora {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.1); }
    50% { transform: rotate(0deg) scale(1.05); }
    75% { transform: rotate(-5deg) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a78bfa;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease backwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; color: rgba(255,255,255,0.9); }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; color: rgba(255,255,255,0.9); }

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.8s backwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 히어로 통계 */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 1s backwards;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.hero-stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: #a78bfa;
}

.hero-stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    font-weight: 600;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.5), transparent);
}

/* CTA 버튼 */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 60px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    animation: fadeInUp 1s ease 1.2s backwards;
    position: relative;
    overflow: hidden;
}

.hero-cta::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.6s;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.5);
}

.hero-cta svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* 스크롤 인디케이터 */
.scroll-indicator {
    display: none;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    animation: fadeIn 1s ease 1.5s backwards;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ============================================
   솔루션 리스트 배너
   ============================================ */
.solution-list-banner {
    position: relative;
    z-index: 1;
    background: #1a1145;
    padding: 16px 0;
    border-top: 1px solid rgba(139, 92, 246, 0.25);
    border-bottom: 1px solid rgba(139, 92, 246, 0.25);
}

.solution-list-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.solution-list-total {
    color: #facc15;
    font-size: 1.3rem;
    margin-left: 6px;
}

.solution-list-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
}

.solution-list-category {
    display: flex;
    flex-direction: column;
}

.solution-list-category-title {
    font-size: 1rem;
    font-weight: 700;
    color: #c4b5fd;
    padding: 6px 12px;
    margin-bottom: 2px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-list-count {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

.solution-list-item {
    padding: 5px 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
    transition: all 0.2s ease;
    display: block;
    text-decoration: none;
}

.solution-list-item:last-child {
    border-bottom: none;
}

.solution-list-item:hover {
    color: #fff;
    background: rgba(139, 92, 246, 0.1);
    padding-left: 24px;
}

/* 솔루션 리스트 그룹 색상 */
.solution-list-item.gi-election { color: #7ec8e8; }
.solution-list-item.gi-election:hover { color: #aaddf5; }
.solution-list-item.gi-radio    { color: #f4a7b0; }
.solution-list-item.gi-radio:hover { color: #ffc5cc; }
.solution-list-item.gi-dental   { color: #7dd87d; }
.solution-list-item.gi-dental:hover { color: #a8eeaa; }
.solution-list-item.gi-claude   { color: #c3a4e8; }
.solution-list-item.gi-claude:hover { color: #dcc4f8; }
.solution-list-item.gi-navi     { color: #ffb74d; }
.solution-list-item.gi-navi:hover { color: #ffd080; }
.solution-list-item.gi-slide    { color: #ffe082; }
.solution-list-item.gi-slide:hover { color: #fff3b0; }

/* 그룹 경계선 */
.solution-list-item.group-start {
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
}

@media (max-width: 900px) {
    .solution-list-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .solution-list-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ============================================
   카테고리 네비게이션
   ============================================ */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 0, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

.nav-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(102, 126, 234, 0.2) 100%);
    border-color: rgba(139, 92, 246, 0.5);
    color: #fff;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
}

.nav-icon {
    font-size: 1.3rem;
}

.nav-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.nav-btn.active .nav-count {
    background: rgba(139, 92, 246, 0.3);
}

/* ============================================
   검색 섹션
   ============================================ */
.search-section {
    max-width: 100%;
    padding: 20px 20px;
    background: #0d0a2a;
}

.search-section .search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

/* ============================================
   메인 & 그리드
   ============================================ */
.main {
    max-width: 100%;
    padding: 15px 30px 40px;
    background: #030014;
}

.main #solutions-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 카테고리 그룹 */
.category-group {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.category-group:nth-child(1) { animation-delay: 0.1s; }
.category-group:nth-child(2) { animation-delay: 0.2s; }
.category-group:nth-child(3) { animation-delay: 0.3s; }
.category-group:nth-child(4) { animation-delay: 0.4s; }

.category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.category-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.category-count {
    margin-left: auto;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(102, 126, 234, 0.25) 100%);
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e9d5ff;
}

/* 솔루션 그리드 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

/* ============================================
   솔루션 카드 - 3D 효과
   ============================================ */
.solution-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 1000px;
    opacity: 0;
    animation: cardAppear 0.6s ease forwards;
}

.solution-card:nth-child(1) { animation-delay: 0.1s; }
.solution-card:nth-child(2) { animation-delay: 0.15s; }
.solution-card:nth-child(3) { animation-delay: 0.2s; }
.solution-card:nth-child(4) { animation-delay: 0.25s; }
.solution-card:nth-child(5) { animation-delay: 0.3s; }
.solution-card:nth-child(6) { animation-delay: 0.35s; }

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(40px) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.solution-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(139, 92, 246, 0.3);
}

.solution-card:hover::before {
    opacity: 1;
}

/* 카드 헤더 */
.card-header {
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 0;
}

.card-header::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    transition: transform 0.6s;
    z-index: 1;
}

.solution-card:hover .card-header::after {
    transform: translate(30%, 30%);
}

.card-header.education::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.card-header.business::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.card-header.healthcare::before {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.card-header.creative::before {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.solution-card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.card-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(4px);
}

/* 카드 바디 */
.card-body {
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.card-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
    font-weight: 400;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 5px 10px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #c4b5fd;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* 카드 푸터 */
.card-footer {
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.status-dot.development {
    background: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(102, 126, 234, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* ============================================
   푸터
   ============================================ */
.footer {
    position: relative;
    background: linear-gradient(180deg, rgba(30, 130, 190, 0.5) 0%, rgba(30, 130, 190, 0.95) 100%);
    margin-top: 40px;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, #667eea, transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 웨이브 */
.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px 24px;
    position: relative;
    z-index: 1;
}

/* 상단 섹션 */
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* 브랜드 */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #c4b5fd;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(139, 92, 246, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

/* 링크 섹션 */
.footer-links-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.footer-links-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-link:hover {
    color: #a78bfa;
    padding-left: 10px;
}

.footer-link .link-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.footer-link:hover .link-icon {
    transform: scale(1.2);
}

/* 통계 */
.footer-stats {
    display: flex;
    flex-direction: column;
}

.footer-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 60px;
}

.footer-stat-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* 연락처 */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-item svg {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    color: #a78bfa;
}

.footer-contact-item:hover svg {
    opacity: 1;
    stroke: #a78bfa;
    fill: #a78bfa;
}

/* 구분선 */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    margin-bottom: 30px;
}

/* 하단 섹션 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-powered {
    display: flex;
    align-items: center;
    gap: 8px;
}

.powered-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.powered-gradient {
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.powered-sparkle {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* AI심재우톡 플로팅 버튼 */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.floating-chat-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.5);
}

.floating-chat-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.floating-chat-label {
    white-space: nowrap;
}

/* AI심재우톡 팝업 */
.chat-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 400px;
    height: 600px;
    background: #1a1025;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chat-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    flex-shrink: 0;
}

.chat-popup-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.chat-popup-title-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.chat-popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    line-height: 1;
}

.chat-popup-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.chat-popup-body {
    flex: 1;
    overflow: hidden;
}

.chat-popup-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 팝업 모바일 반응형 */
@media (max-width: 480px) {
    .chat-popup {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

/* 푸터 반응형 */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: none;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-tech-stack {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-links-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-link {
        justify-content: center;
    }

    .footer-link:hover {
        padding-left: 0;
    }

    .footer-stat-item {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

}

/* ============================================
   애니메이션
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   반응형
   ============================================ */
@media (max-width: 1024px) {
    .hero-stats {
        gap: 30px;
    }

    .hero-stat-number {
        font-size: 3rem;
    }

    .solutions-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* 히어로 섹션 컴팩트 */
    .hero {
        min-height: auto;
        padding: 60px 15px 40px;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 0.7rem;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .hero-description br {
        display: none;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .hero-stat {
        min-width: 80px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .hero-stat-suffix {
        font-size: 1.2rem;
    }

    .hero-stat-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
        margin-top: 4px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .scroll-indicator {
        display: none;
    }

    /* 네비게이션 컴팩트 */
    .category-nav {
        padding: 10px 0;
    }

    .nav-container {
        gap: 6px;
        padding: 0 10px;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 10px;
        gap: 5px;
    }

    .nav-icon {
        font-size: 1rem;
    }

    .nav-text {
        display: none;
    }

    .nav-count {
        padding: 2px 6px;
        font-size: 0.7rem;
    }

    /* 검색 컴팩트 */
    .search-section {
        margin: 20px auto;
        padding: 0 15px;
    }

    .search-input {
        padding: 12px 15px 12px 45px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .search-icon {
        left: 15px;
        width: 18px;
        height: 18px;
    }

    /* 메인 컴팩트 */
    .main {
        padding: 15px 15px 40px;
    }

    /* 카테고리 그룹 컴팩트 */
    .category-group {
        margin-bottom: 40px;
    }

    .category-header {
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 12px;
        flex-wrap: nowrap;
    }

    .category-icon {
        font-size: 1.8rem;
    }

    .category-title {
        font-size: 1.2rem;
    }

    .category-count {
        padding: 6px 12px;
        font-size: 0.75rem;
        margin-left: auto;
        margin-top: 0;
    }

    /* 카드 그리드 컴팩트 */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* 카드 컴팩트 */
    .solution-card {
        border-radius: 16px;
    }

    .card-header {
        padding: 20px 15px;
    }

    .card-icon {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .card-title {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .card-category {
        padding: 4px 10px;
        font-size: 0.6rem;
    }

    .card-body {
        padding: 15px;
    }

    .card-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .card-tags {
        gap: 5px;
    }

    .tag {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .card-footer {
        padding: 12px 15px;
        flex-direction: row;
        gap: 10px;
    }

    .card-status {
        font-size: 0.75rem;
        gap: 6px;
    }

    .status-dot {
        width: 8px;
        height: 8px;
    }

    .card-link {
        padding: 8px 16px;
        font-size: 0.8rem;
        gap: 5px;
    }

    /* 푸터 컴팩트 */
    .footer {
        margin-top: 40px;
    }

    .footer-wave {
        top: -30px;
        height: 60px;
    }

    .footer-container {
        padding: 40px 15px 25px;
    }

    .footer-top {
        gap: 25px;
        margin-bottom: 25px;
    }

    .footer-logo {
        margin-bottom: 12px;
    }

    .logo-icon {
        font-size: 1.8rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .footer-tagline {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }

    .footer-tech-stack {
        gap: 6px;
    }

    .tech-badge {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .footer-links-title {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .footer-link {
        font-size: 0.85rem;
        padding: 8px 0;
    }

    .footer-link .link-icon {
        font-size: 0.95rem;
    }

    .footer-stat-item {
        padding: 8px 0;
        gap: 10px;
    }

    .footer-stat-num {
        font-size: 1.2rem;
        min-width: 50px;
    }

    .footer-stat-text {
        font-size: 0.8rem;
    }

    .footer-contact-item {
        font-size: 0.85rem;
        padding: 8px 0;
        gap: 8px;
    }

    .footer-contact-item svg {
        width: 16px;
        height: 16px;
    }

    .footer-divider {
        margin-bottom: 20px;
    }

    .footer-bottom {
        gap: 10px;
    }

    .footer-copyright {
        font-size: 0.75rem;
    }

    .footer-powered {
        gap: 5px;
    }

    .powered-text, .powered-gradient {
        font-size: 0.75rem;
    }

}

@media (max-width: 480px) {
    .hero {
        padding: 40px 12px 30px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .hero-stats {
        gap: 10px;
    }

    .hero-stat {
        min-width: 70px;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.6rem;
    }

    .hero-cta {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .nav-btn {
        padding: 6px 10px;
    }

    .category-icon {
        font-size: 1.5rem;
    }

    .category-title {
        font-size: 1rem;
    }

    .card-header {
        padding: 15px 12px;
    }

    .card-icon {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-body {
        padding: 12px;
    }

    .card-description {
        font-size: 0.8rem;
    }

    .card-footer {
        padding: 10px 12px;
    }
}

/* ============================================
   스크롤바
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Selection */
::selection {
    background: rgba(139, 92, 246, 0.4);
    color: #fff;
}

/* ============================================
   페이지 접속 잠금 화면
   ============================================ */
.site-lock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(15, 10, 35, 0.97) 0%, rgba(5, 0, 15, 0.99) 100%);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-lock-overlay.unlocked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-lock-content {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(145deg, rgba(30, 20, 50, 0.8) 0%, rgba(10, 5, 20, 0.9) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    max-width: 400px;
    width: 90%;
    animation: siteLockAppear 0.6s ease;
}

@keyframes siteLockAppear {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.site-lock-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.site-lock-content h2 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-lock-content > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.site-lock-input-wrapper {
    margin-bottom: 20px;
}

.site-lock-input-wrapper input {
    width: 180px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 12px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.site-lock-input-wrapper input:focus {
    border-color: rgba(139, 92, 246, 0.7);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.site-lock-btn {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.site-lock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.site-lock-error {
    color: #f87171;
    font-size: 0.85rem;
    margin-top: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.site-lock-error.show {
    opacity: 1;
}

/* ============================================
   비밀번호 모달
   ============================================ */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.password-modal.active {
    opacity: 1;
    visibility: visible;
}

.password-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.password-modal-content {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 20, 50, 0.95) 0%, rgba(10, 5, 20, 0.98) 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 24px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(139, 92, 246, 0.3),
                0 0 60px rgba(139, 92, 246, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.password-modal.active .password-modal-content {
    transform: scale(1) translateY(0);
}

.password-modal-header {
    margin-bottom: 30px;
}

.password-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.password-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.password-modal-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.password-input-wrapper {
    margin-bottom: 25px;
}

.password-input-wrapper input {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    letter-spacing: 12px;
    transition: all 0.3s ease;
}

.password-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 8px;
}

.password-input-wrapper input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.password-modal-buttons {
    display: flex;
    gap: 15px;
}

.password-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.password-btn.cancel {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.password-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.password-btn.submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.password-btn.submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.password-error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.password-error.show {
    opacity: 1;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-10px); }
    40%, 80% { transform: translateX(10px); }
}
