/* ==========================================================================
   💎 Premium Digital Business Card Stylesheet
   ========================================================================== */

/* 1. 디자인 시스템 변수 정의 */
:root {
    /* 폰트 정의 */
    --font-heading: 'Outfit', 'Noto Sans KR', sans-serif;
    --font-body: 'Inter', 'Noto Sans KR', sans-serif;

    /* 모션 효과 */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* 레이아웃 */
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 12px;
}

/* 🌙 다크 테마 색상 (기본값) */
.dark-theme {
    --bg-color: #090d16;
    --card-bg: rgba(15, 23, 42, 0.8);
    --card-border: rgba(197, 168, 128, 0.15); /* 럭셔리 골드 빛 테두리 */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #c5a880; /* 최고급 프라이빗 뱅킹(PB) 감성 무광 샴페인 골드 */
    --accent-gradient: linear-gradient(135deg, #c5a880 0%, #a38258 100%);
    --secondary-gradient: linear-gradient(135deg, #059669 0%, #047857 100%); /* 메트라이프 딥 포레스트 그린 아주 소량 배치 */
    --shadow-color: rgba(0, 0, 0, 0.5);
    --btn-bg: rgba(255, 255, 255, 0.05);
    --btn-hover: rgba(255, 255, 255, 0.1);
    --input-bg: rgba(15, 23, 42, 0.95);
}

/* ☀️ 라이트 테마 색상 */
.light-theme {
    --bg-color: #fbfaf7; /* 더욱 따뜻하고 격식 있는 명품 미백색(Warm Ivory) */
    --card-bg: rgba(255, 255, 255, 0.92);
    --card-border: rgba(197, 168, 128, 0.22);
    --text-primary: #1e293b; /* 세련되고 묵직한 차콜 딥 슬레이트 */
    --text-secondary: #64748b;
    --accent-color: #9a7c56; /* 럭셔리 딥 골드 */
    --accent-gradient: linear-gradient(135deg, #b89b72 0%, #876a44 100%);
    --secondary-gradient: linear-gradient(135deg, #047857 0%, #065f46 100%);
    --shadow-color: rgba(27, 38, 59, 0.06);
    --btn-bg: rgba(27, 38, 59, 0.04);
    --btn-hover: rgba(27, 38, 59, 0.08);
    --input-bg: rgba(255, 255, 255, 0.98);
}

/* 2. 초기화 및 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* 3. 백그라운드 블러 효과 (Aesthetic Elements) */
.bg-blur {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
    animation: pulse-bg 12s infinite alternate;
}

.bg-blur-1 {
    top: 5%;
    left: -50px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
}

.bg-blur-2 {
    bottom: 15%;
    right: -50px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    animation-delay: -6s;
}

@keyframes pulse-bg {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(30px, 50px); }
}

/* 4. 컨테이너 (모바일 뷰포트 고정) */
.app-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background: transparent;
    padding: 24px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
}

/* 5. 헤더 스타일 */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    font-family: 'Great Vibes', cursive;
    font-weight: 500;
    font-size: 2.8rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    text-transform: none;
    line-height: 1;
}

body.light-theme .logo {
    color: #111111;
    text-shadow: none;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-bounce);
    backdrop-filter: blur(10px);
}

.icon-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background: var(--btn-hover);
}

.icon-btn:active {
    transform: scale(0.95);
}

/* 6. 프로필 카드 스타일 (글래스모피즘) */
.profile-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.15);
}

.profile-img-container {
    position: relative;
    width: 145px;
    height: 145px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--card-bg);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25), 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    cursor: pointer;
    overflow: visible; /* 배지가 잘리지 않도록 함 */
}

.profile-img-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.5), 0 12px 30px rgba(0, 0, 0, 0.35);
}

.profile-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease; /* 더욱 부드러운 크로스페이드 연출 */
}

.profile-img.active {
    opacity: 1;
    z-index: 2;
}

/* 마우스 호버 시 자연스럽게 두 번째 이미지로 전환 */
.profile-slider-area:hover .profile-img-1 {
    opacity: 0 !important;
    z-index: 1 !important;
}

.profile-slider-area:hover .profile-img-2 {
    opacity: 1 !important;
    z-index: 3 !important;
}

.status-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #0f172a;
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-active 1.5s infinite;
}

@keyframes pulse-active {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.profile-title {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.profile-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 5px 0;
}

.profile-tags span {
    font-size: 0.8rem;
    background: var(--btn-bg);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
}

.profile-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 5px;
    padding: 0 10px;
}

/* 7. 퀵 액션 섹션 */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.action-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: var(--transition-bounce);
}

.action-btn span {
    font-size: 0.75rem;
    font-weight: 700;
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: white;
    transition: var(--transition-smooth);
}

.action-btn.call .icon-circle { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.action-btn.kakao .icon-circle { background: linear-gradient(135deg, #fef08a 0%, #eab308 100%); color: #3b2c00; }
.action-btn.sms .icon-circle { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.action-btn.save .icon-circle { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.2);
}

.action-btn:hover .icon-circle {
    transform: scale(1.1);
}

/* 8. 섹션 공통 스타일 */
.section-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 24px 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    backdrop-filter: blur(16px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.section-title i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* 9. 핵심 강점 리스트 */
.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--btn-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.info-card:hover {
    border-color: var(--accent-color);
    transform: translateX(3px);
}

.card-icon {
    font-size: 1.4rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 10. 통계 섹션 */
.stats-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item span:nth-child(2) {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--card-border);
}

/* 11. 후기 슬라이더 */
.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(10px);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.testimonial-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 12px;
    text-align: center;
}

.testimonial-author {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--accent-color);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--card-border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--accent-color);
    width: 20px;
    border-radius: 4px;
}

/* 12. 상담 신청 폼 */
.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.input-group input,
.input-group select,
.input-group textarea {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 12px 14px;
    border-radius: var(--border-radius-sm);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition: var(--transition-smooth);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.submit-btn {
    background: var(--accent-gradient);
    border: none;
    color: white;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* 13. 푸터 스타일 */
.app-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.qr-trigger-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: var(--transition-bounce);
}

.qr-trigger-btn:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* 14. 모달 오버레이 (QR 팝업) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 380px;
    padding: 30px 24px;
    position: relative;
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.modal-close:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.qr-code-box {
    width: 180px;
    height: 180px;
    background: white;
    margin: 0 auto 24px auto;
    border-radius: var(--border-radius-sm);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* QRCode.js가 동적으로 생성하는 img 태그에 대한 핏 */
.qr-code-box img {
    width: 100% !important;
    height: 100% !important;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-action-btn {
    border: 1px solid var(--card-border);
    background: var(--btn-bg);
    color: var(--text-primary);
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: var(--transition-bounce);
}

.modal-action-btn:hover {
    background: var(--btn-hover);
}

.modal-action-btn.primary {
    background: var(--accent-gradient);
    border: none;
    color: white;
}

.modal-action-btn.primary:hover {
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* 15. 토스트 알림 */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   🖼️ Interactive Portfolio Gallery Styles
   ========================================================================== */
.portfolio-section {
    padding: 24px 16px;
}

.gallery-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: var(--btn-bg);
    padding: 4px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--card-border);
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: 10px 4px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background: var(--card-bg);
    color: var(--accent-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.gallery-content {
    position: relative;
    width: 100%;
}

.gallery-grid {
    display: none;
    /* 🎠 2x2 격자(=4칸) 가시 + 옆으로 스크롤하면 다음 4칸 — 8장이어도 짧고 깔끔 */
    grid-auto-flow: column;
    grid-template-rows: auto auto;
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 0;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* 스크롤바 숨김 — 깔끔한 미술관 느낌 */
.gallery-grid::-webkit-scrollbar { height: 4px; }
.gallery-grid::-webkit-scrollbar-track { background: transparent; }
.gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(197, 168, 128, 0.35);
    border-radius: 2px;
}

.gallery-grid.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

/* 각 아이템 — 가로 스냅 정렬 */
.gallery-item { scroll-snap-align: start; }

.gallery-item {
    background: var(--btn-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.15); /* 럭셔리 골드 오라 */
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #1e293b;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-img-wrapper img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: var(--transition-smooth);
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: var(--transition-bounce);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-overlay span {
    font-size: 0.75rem;
    font-weight: 700;
}

.gallery-info {
    padding: 10px 8px;
    text-align: center;
}

.gallery-info h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-info p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   🔍 Premium Lightbox Modal Styles
   ========================================================================== */
.lightbox-overlay {
    z-index: 200;
}

.lightbox-content {
    background: rgba(15, 23, 42, 0.9); /* 항상 고급스러운 다크톤 고정 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    width: 95%;
    max-width: 440px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(25px);
}

.modal-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img-container {
    width: 100%;
    max-height: 70vh;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #090d16;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lightbox-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-caption {
    text-align: center;
    padding: 4px 8px;
}

.lightbox-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff !important; /* 모달 내부 텍스트는 테마에 상관없이 항상 백색 고정 */
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lightbox-caption p {
    font-size: 0.85rem;
    color: #cbd5e1 !important; /* 모달 내부 설명 텍스트도 고대비 슬레이트 색상 */
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ==========================================================================
   📈 Premium Success Cases & Network Styles
   ========================================================================== */
.success-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.success-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.success-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15);
    border-color: var(--accent-color);
}

.success-badge {
    align-self: flex-start;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

.success-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.4;
}

.success-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.success-details li {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    padding-left: 14px;
    position: relative;
}

.success-details li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
}

.success-details li strong {
    color: var(--text-primary);
}

/* Advisor Network Styles */
.section-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: -10px auto 20px;
    line-height: 1.5;
}

.advisor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.advisor-badge {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.advisor-badge i {
    color: var(--accent-color);
    font-size: 0.95rem;
}

.advisor-badge span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.advisor-badge:hover {
    transform: scale(1.05);
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.25);
}

.advisor-badge:hover i,
.advisor-badge:hover span {
    color: #ffffff !important;
}

/* ==========================================================================
   📸 New Full-Poster Profile Card Styles
   ========================================================================== */
.profile-card.new-full-profile {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    height: 520px; /* PC & 모바일에서 압도적인 가시성을 선사하는 고정 높이 */
    display: block; /* 기존 flex 정렬 무효화 */
}

.profile-card.new-full-profile::before {
    display: none; /* 기존 상단 무지개 선 제거 */
}

.profile-card.new-full-profile:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(56, 189, 248, 0.12);
}

.profile-slider-area {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.profile-slider-area .profile-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 15% !important; /* 김순영 센터장님 고화질 사진 얼굴 중심 황금 정렬 */
    border-radius: 0 !important; /* 구버전의 50% 둥글기 강제 파괴 */
    border: none !important; /* 구버전 보더 강제 삭제 */
    box-shadow: none !important; /* 구버전 그림자 제거 */
    opacity: 0 !important;
    z-index: 1 !important;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.profile-slider-area .profile-img.active {
    opacity: 1 !important;
    z-index: 2 !important;
}

/* 텍스트 가독성을 확보해 주는 프리미엄 블랙 하단 필터링 오버레이 */
.profile-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 46%; /* 46%로 바짝 낮춰서 턱 및 어깨 가림을 차단하고 하단 1/3에 정렬시킴 */
    background: linear-gradient(to top, 
        rgba(9, 13, 22, 1) 0%, 
        rgba(9, 13, 22, 0.85) 45%, 
        rgba(9, 13, 22, 0) 100%
    );
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px 15px 12px; /* 패딩을 한층 더 미니멀하게 리사이징 */
    box-sizing: border-box;
}

/* 라이트 모드일 때 겹치는 텍스트 가독성을 위한 특수 그라데이션 보정 */
body.light-theme .profile-text-overlay {
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.85) 45%, 
        rgba(255, 255, 255, 0) 100%
    );
}

.profile-text-overlay .profile-info {
    text-align: center;
    width: 100%;
}

.profile-badge-top {
    font-size: 0.68rem; 
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--accent-color); /* 골드로 세련되게 통일 */
    background: rgba(15, 23, 42, 0.7); 
    border: 1px solid rgba(197, 168, 128, 0.35); /* 골드 보더 */
    padding: 4px 12px; 
    border-radius: 30px;
    display: inline-block; 
    margin: 0 auto 6px auto; 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

body.light-theme .profile-badge-top {
    text-shadow: none;
    color: #b5976f; /* 라이트 모드 차분한 골드 */
    background: rgba(255, 255, 255, 0.88); 
    border: 1px solid rgba(197, 168, 128, 0.25);
    box-shadow: 0 3px 8px rgba(197, 168, 128, 0.06);
}

.profile-text-overlay .profile-name {
    font-family: 'Song Myung', serif; 
    font-size: 2.5rem; /* 모바일에서 웅장하고 품격 있게 다이렉트 각인 (+0.35rem) */
    font-weight: 700;
    color: #ffffff !important;
    margin: 4px 0 8px 0 !important;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

body.light-theme .profile-text-overlay .profile-name {
    color: #0f172a !important;
    text-shadow: none;
}

.profile-text-overlay .profile-title {
    font-size: 1.15rem; /* 모바일 실가독성 대응 극적 확대 */
    font-weight: 700;
    color: #f1f5f9 !important;
    margin: 0 0 10px 0 !important; 
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap; /* 모바일에서 여러 줄로 쪼개져 산만해지지 않도록 단단히 고정 */
}

body.light-theme .profile-text-overlay .profile-title {
    color: #334155 !important;
    text-shadow: none;
}

.profile-text-overlay .profile-tags {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px; 
    flex-wrap: wrap;
}

.profile-text-overlay .profile-tags span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-color); /* 파랑 탈출 ➡️ 샴페인 골드 적용 */
    background: rgba(197, 168, 128, 0.12); /* 은은한 골드 백그라운드 */
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 3px 9px;
    border-radius: 20px;
    text-shadow: none;
}

body.light-theme .profile-text-overlay .profile-tags span {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.15);
}

.profile-text-overlay .profile-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #cbd5e1 !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0 !important;
    padding: 0 10px;
    word-break: keep-all;
}

body.light-theme .profile-text-overlay .profile-desc {
    color: #475569 !important;
    text-shadow: none;
}

/* ==========================================================================
   💎 13. Accordion Core Strengths Styling (인터랙티브 아코디언 스타일)
   ========================================================================== */
.accordion-section {
    position: relative;
}

.section-subtitle-accordion {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

body.light-theme .section-subtitle-accordion {
    color: #64748b;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.accordion-item {
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.light-theme .accordion-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.accordion-item:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.1);
}

body.light-theme .accordion-item:hover {
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.08);
}

.accordion-item.active {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

body.light-theme .accordion-item.active {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.5);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.05);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    outline: none;
    font-family: inherit;
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.accordion-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: #6366f1;
    opacity: 0.85;
}

body.light-theme .accordion-num {
    color: #0284c7;
}

.accordion-header-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    transition: color 0.3s;
}

body.light-theme .accordion-header-title {
    color: #1e293b;
}

.accordion-item.active .accordion-header-title {
    color: #818cf8;
}

body.light-theme .accordion-item.active .accordion-header-title {
    color: #0284c7;
}

.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    transition: all 0.3s ease;
}

body.light-theme .accordion-icon {
    background: rgba(0, 0, 0, 0.03);
    color: #64748b;
}

.accordion-item.active .accordion-icon {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    transform: rotate(180deg);
}

body.light-theme .accordion-item.active .accordion-icon {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion-body {
    padding: 0 20px 20px 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.6;
}

body.light-theme .accordion-body {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    color: #475569;
}

.accordion-summary-bold {
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

body.light-theme .accordion-summary-bold {
    color: #0f172a;
}

/* ==========================================================================
   🤝 14. Expert Advisor Network Redesign (전문가 협업 인프라 고도화)
   ========================================================================== */
.advisor-network-section {
    position: relative;
}

.network-benefit-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(30, 41, 59, 0.6) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
    text-align: left;
}

body.light-theme .network-benefit-banner {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid rgba(2, 132, 199, 0.18);
}

.banner-icon {
    font-size: 1.8rem;
    color: #818cf8;
}

body.light-theme .banner-icon {
    color: #0284c7;
}

.banner-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 4px;
}

body.light-theme .banner-text h4 {
    color: #0f172a;
}

.banner-text p {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0;
}

body.light-theme .banner-text p {
    color: #475569;
}

.network-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.network-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 20px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.light-theme .network-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.network-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
}

body.light-theme .network-card:hover {
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.06);
}

.network-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.network-partner {
    font-size: 0.75rem;
    font-weight: 700;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.12);
    padding: 3px 8px;
    border-radius: 6px;
}

body.light-theme .network-partner {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
}

.network-icon {
    font-size: 1.1rem;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.light-theme .network-icon {
    background: rgba(0, 0, 0, 0.03);
}

.network-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
    line-height: 1.35;
}

body.light-theme .network-card h3 {
    color: #1e293b;
}

.network-card p {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

body.light-theme .network-card p {
    color: #64748b;
}

/* ==========================================================================
   📱 Mobile-First Responsive Optimization (카톡 & 모바일 브라우저 최적화)
   ========================================================================== */
@media screen and (max-width: 480px) {
    .app-container {
        padding: 16px 14px 40px 14px;
        gap: 22px;
    }
    
    /* 1. 프로필 포스터 높이 및 폰트 유연화 */
    .profile-card.new-full-profile {
        height: 480px; /* 카톡 브라우저의 상하단 네비바로 가려지는 화면 비율 고려 */
    }

    .profile-text-overlay {
        padding: 20px 16px 20px;
    }

    .profile-text-overlay .profile-name {
        font-size: 1.85rem;
    }

    .profile-text-overlay .profile-title {
        font-size: 0.95rem;
        margin-bottom: 10px !important;
    }

    .profile-text-overlay .profile-tags {
        margin-bottom: 12px;
        gap: 4px;
    }

    .profile-text-overlay .profile-tags span {
        font-size: 0.68rem;
        padding: 2px 8px;
    }

    .profile-text-overlay .profile-desc {
        font-size: 0.8rem;
        padding: 0 4px;
        line-height: 1.5;
    }

    /* 2. 퀵 액션 가독성 극대화 (텍스트 잘림/생략 방지) */
    .quick-actions {
        gap: 8px;
    }

    .action-btn {
        padding: 10px 4px;
        border-radius: var(--border-radius-sm);
    }

    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .action-btn span {
        font-size: 0.68rem;
        letter-spacing: -0.5px;
    }

    /* 3. 법인 컨설팅 카드 모바일 레이아웃 최적화 */
    .section-container {
        padding: 20px 16px;
    }

    .section-title {
        font-size: 1.05rem;
        margin-bottom: 16px;
    }

    .cards-grid {
        gap: 12px;
    }

    .info-card {
        gap: 12px;
        padding: 12px;
    }

    .card-icon {
        font-size: 1.25rem;
    }

    .info-card h3 {
        font-size: 0.9rem;
        word-break: keep-all;
    }

    .info-card p {
        font-size: 0.78rem;
        line-height: 1.45;
        word-break: keep-all;
    }

    /* 4. 통계 영역 피팅 */
    .stats-section {
        padding: 16px 10px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-item span:nth-child(2) {
        font-size: 0.95rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* 5. 포트폴리오 갤러리 텍스트 말줄임 파괴 (모바일에서 온전히 보이도록) */
    .gallery-info h4 {
        font-size: 0.78rem;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: keep-all;
    }

    .gallery-info p {
        font-size: 0.68rem;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: keep-all;
    }

    /* 6. 성공 사례 모바일 대응 */
    .success-cases-grid {
        gap: 14px;
    }

    .success-card {
        padding: 18px;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .success-card .success-badge {
        position: static !important;
        align-self: flex-start !important;
        margin-bottom: 6px !important;
    }

    .success-card h3 {
        font-size: 1.05rem;
        word-break: keep-all;
        margin-top: 0 !important;
    }

    .success-details li {
        font-size: 0.8rem;
        word-break: keep-all;
    }

    /* 7. 아코디언 모바일 대응 */
    .accordion-header {
        padding: 15px 16px;
    }
    
    .accordion-header-title {
        font-size: 0.95rem;
        word-break: keep-all;
    }

    .accordion-body {
        padding: 0 16px 16px 42px;
        font-size: 0.85rem;
    }

    .accordion-summary-bold {
        font-size: 0.88rem;
        word-break: keep-all;
    }

    /* 8. 전문가 네트워크 카드 모바일 대응 */
    .network-benefit-banner {
        padding: 14px 16px;
        gap: 12px;
    }

    .banner-icon {
        font-size: 1.5rem;
    }

    .banner-text h4 {
        font-size: 0.88rem;
        word-break: keep-all;
    }

    .banner-text p {
        font-size: 0.78rem;
        word-break: keep-all;
    }

    .network-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .network-card {
        padding: 16px;
    }

    .network-card h3 {
        font-size: 0.92rem;
        word-break: keep-all;
    }

    .network-card p {
        font-size: 0.76rem;
        word-break: keep-all;
    }
}

/* 📱 초소형 모바일 화면 (아이폰 SE, Galaxy Z Flip 커버 등 360px 이하) */
@media screen and (max-width: 360px) {
    .profile-card.new-full-profile {
        height: 440px;
    }

    .profile-text-overlay .profile-name {
        font-size: 1.65rem;
    }
    
    .profile-text-overlay .profile-desc {
        font-size: 0.75rem;
        padding: 0;
    }

    .quick-actions {
        gap: 6px;
    }

    .icon-circle {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .action-btn span {
        font-size: 0.62rem;
    }
}

/* ✉️ Premium Brand Message Box (프로필 가림을 원천 방지하고 도입부에 럭셔리하게 안착) */
.brand-message-box {
    margin: 20px 0 10px 0;
    padding: 22px 20px;
    border-radius: var(--border-radius-md);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition-bounce);
}

.brand-message-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(56, 189, 248, 0.25);
}

.brand-message {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
    word-break: keep-all;
    position: relative;
    z-index: 2;
}

body.light-theme .brand-message {
    color: #475569;
}

.quote-icon-left, .quote-icon-right {
    font-size: 1.4rem;
    color: rgba(56, 189, 248, 0.15); /* 은은하고 시크한 네온 스카이블루 음영 아이콘 */
    position: absolute;
    z-index: 1;
}

body.light-theme .quote-icon-left, body.light-theme .quote-icon-right {
    color: rgba(2, 132, 199, 0.08); /* 라이트 모드 은은한 블루 */
}

.quote-icon-left {
    top: 10px;
    left: 14px;
}

.quote-icon-right {
    bottom: 10px;
    right: 14px;
}

/* 🎯 Hero Copy Section Style (법인대표 첫화면 집중 카피) */
.hero-copy-container {
    padding: 22px 10px 10px 10px;
    text-align: center;
    width: 100%;
}

.hero-main-copy {
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.45;
    color: #ffffff; /* 다크모드 디폴트 */
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

.hero-main-copy span {
    color: #38bdf8; /* 다크모드 하이라이트 블루 */
}

body.light-theme .hero-main-copy {
    color: #0f172a;
}

body.light-theme .hero-main-copy span {
    color: #0284c7; /* 라이트모드 메인 블루 */
}

.hero-sub-copy {
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.5;
    color: #94a3b8;
    margin: 0;
    word-break: keep-all;
}

body.light-theme .hero-sub-copy {
    color: #475569;
}

/* 🎖️ Trust Credentials Badges Grid (3대 핵심 인증/신뢰 요소) */
.trust-credentials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 15px 0 22px 0;
    width: 100%;
}

.credential-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 10px 4px;
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-bounce);
}

.credential-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.25);
}

.credential-badge .badge-icon {
    font-size: 1.05rem;
    color: #38bdf8;
    margin-bottom: 6px;
}

body.light-theme .credential-badge .badge-icon {
    color: #0284c7;
}

.credential-badge .badge-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.credential-badge .badge-title {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    word-break: keep-all;
}

.credential-badge .badge-desc {
    font-size: 0.52rem;
    color: var(--text-secondary);
    white-space: nowrap;
    display: inline-block;
    transform: scale(0.92);
}

/* 🎯 1순위: 히어로 문제 해결 중심 카피 스타일 */
.hero-copy-container {
    text-align: center;
    padding: 24px 16px 14px 16px;
    margin-top: 5px;
    width: 100%;
}

.hero-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(197, 168, 128, 0.12);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-main-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.38;
    color: var(--text-primary);
    margin-bottom: 12px;
    word-break: keep-all;
    letter-spacing: -0.5px;
}

.hero-main-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-meta-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-name {
    font-weight: 700;
    color: var(--text-primary);
}

.hero-sep {
    opacity: 0.3;
}

/* 🎯 7순위: 상단 주요 행동 유도 2개 대형 CTA 버튼 */
.hero-cta-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-bottom: 22px;
    padding: 0 4px;
}

.cta-large-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: var(--border-radius-md);
    font-size: 0.8rem;
    font-weight: 750;
    text-decoration: none;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-large-btn:active {
    transform: scale(0.96);
}

.cta-kakao {
    background: #fee500;
    color: #191919;
    border: 1px solid #fee500;
}

.cta-kakao:hover {
    background: #edd500;
}

.cta-phone {
    background: var(--accent-gradient);
    color: #ffffff;
    border: 1px solid var(--accent-color);
}

.cta-phone:hover {
    filter: brightness(1.1);
}

/* 🎯 2순위: 정보 다이어트가 가미된 프로필 디자인 */
.new-full-profile {
    margin-bottom: 24px !important;
}

.new-full-profile .profile-title {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 6px !important;
    letter-spacing: 0px !important;
}

.new-full-profile .profile-subtitle-one {
    font-size: 0.72rem !important;
    color: #c5a880 !important;
    font-weight: 500 !important;
    opacity: 0.9;
    letter-spacing: -0.2px;
}

/* 🎯 8순위: ★ 전문가 협업 네트워크 다이어그램 디자인 ★ */
.expert-network-section {
    padding-bottom: 10px;
}

.network-map-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 24px 16px;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.network-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.network-node {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 168, 128, 0.15);
    border-radius: var(--border-radius-md);
    padding: 12px 6px;
    text-align: center;
    transition: var(--transition-smooth);
    max-width: 44%;
}

body.light-theme .network-node {
    background: rgba(27, 38, 59, 0.02);
    border-color: rgba(197, 168, 128, 0.25);
}

.network-node:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.15);
}

.network-node .node-icon {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.network-node .node-name {
    display: block;
    font-size: 0.76rem;
    font-weight: 750;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.network-node .node-role {
    display: block;
    font-size: 0.58rem;
    color: var(--text-secondary);
}

.network-connector {
    color: var(--accent-color);
    font-size: 0.85rem;
    opacity: 0.4;
    padding: 0 5px;
    animation: netPulse 2.5s infinite ease-in-out;
}

/* 중심 허브 연결 영역 */
.network-hub-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
    position: relative;
    height: 60px;
    z-index: 2;
}

.hub-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(197, 168, 128, 0) 0%, rgba(197, 168, 128, 0.4) 50%, rgba(197, 168, 128, 0) 100%);
}

.hub-center {
    width: 65px;
    height: 65px;
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.3);
}

.hub-logo-circle {
    text-align: center;
}

.hub-text {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.network-footer-tag {
    text-align: center;
    margin-top: 18px;
    font-size: 0.65rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    padding: 8px 10px;
    border-radius: var(--border-radius-sm);
    border-top: 1px dashed rgba(197, 168, 128, 0.15);
}

body.light-theme .network-footer-tag {
    background: rgba(27, 38, 59, 0.01);
}

.network-footer-tag i {
    color: var(--accent-color);
    margin-right: 4px;
}

@keyframes netPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.95); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* 🎖️ Trust Credentials Badges Grid (3대 핵심 인증/신뢰 요소 - 골드 테마 동기화) */
.trust-credentials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 15px 0 22px 0;
    width: 100%;
}

.credential-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 12px 4px;
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-bounce);
}

.credential-badge:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.credential-badge .badge-icon {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.credential-badge .badge-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

/* 🎯 4순위: Stats counter 영역 (네이온 블루 제거 ➡️ 럭셔리 골드) */
.stats-section {
    border-color: var(--card-border) !important;
    background: rgba(197, 168, 128, 0.03) !important;
}

.stats-section .stat-number {
    color: var(--accent-color) !important;
}

/* 🎯 5순위: 실제 검토 사례 상세 디자인 */
.success-cases-section {
    padding-bottom: 10px;
}

.success-cases-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 15px;
}

.success-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    position: relative;
    transition: var(--transition-smooth);
}

.success-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.success-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(197, 168, 128, 0.15);
    border: 1px solid rgba(197, 168, 128, 0.3);
    color: var(--accent-color);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.success-card h3.success-main-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    padding-bottom: 8px;
    width: 100%;
}

.success-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.success-details li {
    display: flex;
    align-items: flex-start;
    font-size: 0.72rem;
    line-height: 1.45;
}

.case-label {
    min-width: 60px;
    color: var(--text-secondary);
    font-weight: 700;
}

.case-val {
    color: var(--text-primary);
    flex: 1;
}

.case-val strong {
    color: var(--accent-color);
    font-weight: 800;
}

/* 🎯 7순위: 아코디언 하단 무료 리스크 진단 CTA */
.mid-cta-container {
    width: 100%;
    margin-top: 18px;
    padding: 0 4px;
}

.mid-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-gradient);
    color: #ffffff;
    border: 1px solid var(--accent-color);
    padding: 16px;
    border-radius: var(--border-radius-md);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.2);
    transition: var(--transition-bounce);
}

.mid-cta-btn:active {
    transform: scale(0.96);
}

/* 🎯 7순위: 하단 보조 액션 버튼 스타일 (문자 남기기, 연락처 저장) */
.footer-sub-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin: 22px 0 10px 0;
    padding: 0 4px;
}

.sub-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 168, 128, 0.18);
    color: var(--text-secondary);
    padding: 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

body.light-theme .sub-action-btn {
    background: rgba(27, 38, 59, 0.02);
    border-color: rgba(197, 168, 128, 0.25);
    color: var(--text-primary);
}

.sub-action-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

@media (max-width: 360px) {
    .credential-badge .badge-title {
        font-size: 0.6rem;
    }
    .credential-badge .badge-desc {
        font-size: 0.48rem;
    }
}

/* 🏢 사무실 및 연락처 정보 영역 (Luxury Gold Style) */
.office-info-section {
    margin: 25px 4px 10px 4px;
    width: calc(100% - 8px);
    box-sizing: border-box;
}

.office-info-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(197, 168, 128, 0.18);
    border-radius: var(--border-radius-md);
    padding: 20px 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-bounce);
}

body.light-theme .office-info-card {
    background: #ffffff;
    border: 1px solid rgba(197, 168, 128, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02);
}

.office-info-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(197, 168, 128, 0.12);
}

.office-info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.78rem;
    line-height: 1.5;
}

.office-info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 35px;
    font-weight: 800;
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-label i {
    font-size: 0.75rem;
    width: 12px;
    text-align: center;
}

.info-value {
    color: var(--text-primary);
    word-break: keep-all;
}

.info-value a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.info-value a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   🏛️ 신규 개편: 성공사례 좌우 스와이프 슬라이더 & 진영세무회계 B2B 배너 스타일
   ========================================================================== */

/* 1. 성공사례 슬라이더 */
.success-slider-container {
    position: relative;
    overflow: hidden;
    margin-top: 15px;
    width: 100%;
    border-radius: var(--border-radius-md);
}

.success-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.success-slide-card {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 2px 4px;
}

/* 슬라이더 컨트롤러 내비게이션 */
.slider-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 0 8px;
}

.slider-btn {
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.3);
    color: var(--accent-color);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background: var(--accent-gradient);
    border-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(197, 168, 128, 0.2);
}

.slider-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.25);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background: var(--accent-color);
    width: 18px;
    border-radius: 4px;
}

/* 2. 진영세무회계 B2B 우대 혜택 배너 */
.jinyoung-banner {
    background: rgba(197, 168, 128, 0.06);
    border: 1px dashed var(--accent-color);
    border-radius: var(--border-radius-md);
    padding: 15px;
    margin-top: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.jinyoung-banner-icon {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-top: 2px;
}

.jinyoung-banner-text h4 {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.jinyoung-banner-text p {
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.jinyoung-banner-text strong {
    color: var(--accent-color);
    font-weight: 800;
}

/* ==========================================================================
   🏛️ Premium Real-time PDF Action Buttons (샴페인 골드 테마 연동)
   ========================================================================== */
.success-pdf-action,
.jinyoung-pdf-action {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 22px auto 5px auto;
    padding: 0 10px;
}

.premium-pdf-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 480px;
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.08) 0%, rgba(197, 168, 128, 0.16) 100%);
    border: 1px solid rgba(197, 168, 128, 0.35);
    border-radius: var(--border-radius-md);
    padding: 14px 18px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.05);
    position: relative;
    overflow: hidden;
}

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

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

.premium-pdf-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.12) 0%, rgba(197, 168, 128, 0.22) 100%);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.18);
}

.premium-pdf-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.1);
}

.pdf-btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background: rgba(224, 86, 86, 0.08);
    border: 1px solid rgba(224, 86, 86, 0.25);
    color: #e05656;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.premium-pdf-btn:hover .pdf-btn-icon {
    background: #e05656;
    color: #ffffff;
    transform: scale(1.08) rotate(-5deg);
    border-color: #e05656;
    box-shadow: 0 4px 12px rgba(224, 86, 86, 0.35);
}

.pdf-btn-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.pdf-btn-text strong {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 3px;
    letter-spacing: -0.3px;
    transition: var(--transition-smooth);
}

.premium-pdf-btn:hover .pdf-btn-text strong {
    color: var(--accent-color);
}

.pdf-btn-text span {
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.pdf-btn-arrow {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.premium-pdf-btn:hover .pdf-btn-arrow {
    transform: translateX(4px);
    color: var(--accent-color);
    opacity: 1;
}

/* 다크모드 대응을 위한 정교한 튜닝 */
/* 다크모드 대응을 위한 정교한 튜닝 */
body.dark-theme .premium-pdf-btn {
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.05) 0%, rgba(197, 168, 128, 0.1) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

body.dark-theme .premium-pdf-btn:hover {
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.1) 0%, rgba(197, 168, 128, 0.18) 100%);
}

/* ==========================================================================
   🏢 VIP 비대면 초간편 서류 제출 체크리스트 대시보드 스타일
   ========================================================================== */
.upload-dashboard-section {
    padding-bottom: 25px !important;
}

.upload-dashboard-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(197, 168, 128, 0.18);
    border-radius: var(--border-radius-md);
    padding: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

body.light-theme .upload-dashboard-card {
    background: #ffffff;
    border: 1px solid rgba(197, 168, 128, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
}

.upload-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 168, 128, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition-smooth);
}

body.light-theme .upload-item {
    background: rgba(27, 38, 59, 0.01);
    border-color: rgba(197, 168, 128, 0.15);
}

.upload-item.completed {
    border-color: var(--accent-color) !important;
    background: rgba(197, 168, 128, 0.04) !important;
}

body.light-theme .upload-item.completed {
    background: rgba(197, 168, 128, 0.06) !important;
}

.upload-item-header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.upload-status-icon {
    font-size: 1.1rem;
    margin-top: 2px;
    transition: var(--transition-smooth);
}

.upload-status-icon.waiting {
    color: rgba(197, 168, 128, 0.35);
}

.upload-status-icon.optional {
    color: rgba(197, 168, 128, 0.25);
}

.upload-status-icon.done {
    color: #10b981 !important; /* 초록색 체크 */
}

.upload-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.upload-item-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.required-badge {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    font-size: 0.58rem;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 700;
}

.optional-badge {
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.2);
    color: var(--accent-color);
    font-size: 0.58rem;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 600;
}

.upload-item-desc {
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

.upload-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px dashed rgba(197, 168, 128, 0.1);
    padding-top: 8px;
}

.upload-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.35);
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.upload-action-btn:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: var(--accent-color);
}

.hidden-file-input {
    display: none;
}

.file-name-display {
    font-size: 0.65rem;
    color: var(--text-secondary);
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-name-display.has-file {
    color: var(--accent-color) !important;
    font-weight: 700;
}

.security-trust-note {
    background: rgba(197, 168, 128, 0.03);
    border: 1px dashed rgba(197, 168, 128, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 10px 12px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.65rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.security-trust-note i {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-top: 1px;
}

.file-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 168, 128, 0.2);
    color: rgba(255, 255, 255, 0.2);
    padding: 14px;
    border-radius: var(--border-radius-md);
    font-size: 0.8rem;
    font-weight: 800;
    cursor: not-allowed;
    transition: var(--transition-bounce);
    width: 100%;
}

body.light-theme .file-submit-btn {
    color: rgba(0, 0, 0, 0.25);
}

.file-submit-btn.ready {
    background: var(--accent-gradient) !important;
    border-color: var(--accent-color) !important;
    color: #ffffff !important;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.25);
}

.file-submit-btn.ready:active {
    transform: scale(0.97);
}

/* ==========================================================================
   🔒 B2B BTO 보안 업로드 게이트 & 잠금 오버레이 스타일
   ========================================================================== */
.upload-dashboard-card.locked {
    position: relative;
    pointer-events: none; /* 클릭 및 인풋 상호작용 차단 */
}

.upload-dashboard-card.locked > *:not(.upload-locked-overlay) {
    filter: blur(5px);
    opacity: 0.3;
}

.upload-locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: center;
    z-index: 10;
    pointer-events: auto; /* 오버레이 영역 자체는 이벤트 수용 */
    background: rgba(15, 23, 42, 0.15);
    border-radius: var(--border-radius-md);
}

body.light-theme .upload-locked-overlay {
    background: rgba(255, 255, 255, 0.25);
}

.locked-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-size: 1.3rem;
    animation: lockPulse 2.2s infinite ease-in-out;
}

@keyframes lockPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.3); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(197, 168, 128, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(197, 168, 128, 0); }
}

.locked-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.locked-desc {
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.45;
    max-width: 250px;
}

/* 잠금 해제 시 활성화되는 웰컴 헤더 */
.upload-welcome-header {
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.08) 0%, rgba(197, 168, 128, 0.02) 100%);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: var(--border-radius-sm);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
    animation: slideInDown 0.4s ease-out;
}

body.light-theme .upload-welcome-header {
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.06) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-color: rgba(197, 168, 128, 0.3);
}

.upload-welcome-icon {
    font-size: 1.25rem;
    color: var(--accent-color);
}

.upload-welcome-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.upload-welcome-company {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: -0.3px;
}

.upload-welcome-message {
    font-size: 0.62rem;
    color: var(--text-secondary);
    line-height: 1.4;
}




