/* ==================== 기본 설정 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 컬러 팔레트 */
    --primary-color: #1E90FF;
    --secondary-color: #00CED1;
    --accent-color: #FFD700;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --danger-color: #F44336;
    --dark: #333333;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    
    /* 그라데이션 */
    --gradient-primary: linear-gradient(135deg, #1E90FF 0%, #00CED1 100%);
    --gradient-hero: linear-gradient(135deg, #1E90FF 0%, #00CED1 50%, #1E90FF 100%);
    
    /* 그림자 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* 간격 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
    
    /* 폰트 크기 */
    --font-xs: 12px;
    --font-sm: 14px;
    --font-md: 16px;
    --font-lg: 18px;
    --font-xl: 24px;
    --font-2xl: 32px;
    --font-3xl: 48px;
    
    /* 애니메이션 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", "맑은 고딕", sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-xl) 0;
}

/* ==================== 헤더 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    background-color: #FFFFFF !important;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: box-shadow var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.header-contact {
    display: flex;
    align-items: center;
}

.phone-number {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.phone-number:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.phone-image {
    max-height: 50px;
    width: auto;
    display: block;
}

/* ==================== 히어로 섹션 ==================== */
.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: hidden;
}

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

.wave-animation {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,60 Q300,100 600,60 T1200,60 L1200,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center bottom;
    background-repeat: repeat-x;
    animation: wave 10s linear infinite;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1200px;
    }
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: var(--font-md);
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: var(--font-3xl);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .highlight {
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: var(--font-lg);
    margin-bottom: 35px;
    line-height: 1.8;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ==================== 버튼 스타일 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: var(--font-md);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.btn-inquiry {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
}

.btn-inquiry:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    opacity: 0.95;
}

.btn-chat {
    background: #FEE500;
    color: #3c1e1e;
    border: none;
}

.btn-chat:hover {
    background: #FFEB3B;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #229ED9);
    color: white;
    border: none;
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #229ED9, #0088cc);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 데스크톱에서는 히어로 섹션의 텔레그램 버튼 숨김 */
.btn-telegram-hero {
    display: none;
}

.btn-phone {
    background: var(--white);
    color: var(--primary-color);
}

.btn-phone:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 20px 40px;
    font-size: var(--font-lg);
}

.btn-icon {
    font-size: 24px;
}

/* ==================== 섹션 타이틀 ==================== */
.section-title {
    text-align: center;
    font-size: var(--font-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: var(--font-md);
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
}

/* ==================== 핵심 가치 제안 섹션 (전문 상품권 매입 스타일) ==================== */
.value-section-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.value-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 10px 0;
}

.value-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 가치 카드 기본 */
.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E90FF, #00CED1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.value-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 144, 255, 0.25);
    border-color: #1E90FF;
}

/* 가치 카드 변형 - 모두 동일한 배경 */
.value-card-main {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
}

.value-card-highlight {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    /* border: 2px solid #FFD700; */ /* 테두리 제거 */
}

.value-card-highlight:hover {
    /* border-color: #FFA500; */ /* 호버 테두리 제거 */
}

.value-card-support {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
}

/* 배지 */
.value-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #1E90FF, #00CED1);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.value-badge-hot {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
}

/* 아이콘 */
.value-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    position: relative;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: rotateY(360deg);
}

.value-icon-primary {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1E90FF;
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.2);
}

.value-icon-success {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #FF9800;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.2);
}

.value-icon-info {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #4CAF50;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
}

/* 제목 */
.value-title-main {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.value-title-sub {
    font-size: 20px;
    font-weight: 700;
    color: #1E90FF;
    margin-bottom: 20px;
    line-height: 1.4;
}

.value-rate {
    color: #FF6B6B;
    font-size: 28px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(255, 107, 107, 0.2);
    display: inline-block;
    animation: bounce-text 2s infinite;
}

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

/* 설명 */
.value-description-detail {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-top: 15px;
}

.value-description-detail strong {
    color: #1E90FF;
    font-weight: 700;
}

/* 모든 카드의 강조 텍스트 색상 통일 */
.value-card-highlight .value-description-detail strong {
    color: #1E90FF;
}

.value-card-support .value-description-detail strong {
    color: #1E90FF;
}

/* ==================== 한도 안내 섹션 ==================== */
.limit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.limit-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    border: 3px solid var(--light-gray);
    transition: all var(--transition-normal);
}

.limit-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.limit-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
}

.limit-title {
    font-size: var(--font-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
}

.limit-amount {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.limit-desc {
    font-size: var(--font-sm);
    color: var(--gray);
}

/* ==================== 거래 내역 섹션 ==================== */
.transaction-section {
    background: #f5f5f5;
}

.transaction-section .section-title {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.highlight-text {
    color: #00d4aa;
}

.main-highlight {
    color: #00d4aa;
    font-weight: 700;
}

.transaction-section .section-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.transaction-section .section-subtitle strong {
    color: #333;
    font-weight: 700;
}

/* 통계 카드 */
.stats-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.stat-card {
    flex: 1;
    max-width: 400px;
    background: white;
    border-radius: 25px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
}

.stat-today {
    border: 2px solid #00d4aa;
    animation: fadeInLeft 0.8s ease-out;
}

.stat-total {
    border: 2px solid #00d4aa;
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stat-label {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #00d4aa;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}

/* 카운팅 애니메이션 효과 */
.stat-card:hover .stat-value {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

.transaction-section.counted .stat-value {
    animation: numberGlow 1s ease-in-out;
}

@keyframes numberGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(0, 212, 170, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 212, 170, 0.8), 0 0 30px rgba(0, 212, 170, 0.5);
    }
}

/* 거래 내역 카드 */
.transaction-cards-wrapper {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.transaction-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr 1.2fr;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 15px;
}

.header-col {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-align: center;
}

.transaction-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow: hidden;
    padding-right: 5px;
    position: relative;
}

/* 스크롤바 스타일 */
.transaction-cards::-webkit-scrollbar {
    width: 6px;
}

.transaction-cards::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.transaction-cards::-webkit-scrollbar-thumb {
    background: #00d4aa;
    border-radius: 10px;
}

.transaction-card {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr 1.2fr;
    gap: 15px;
    padding: 18px 20px;
    background: #fafafa;
    border-radius: 12px;
    align-items: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.transaction-card:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 자동 스크롤 애니메이션 */
.transaction-cards.auto-scroll {
    animation: autoScroll 30s linear infinite;
}

@keyframes autoScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.card-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.name-badge {
    background: linear-gradient(135deg, #00ced1 0%, #4caf50 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.product-info i {
    color: #00d4aa;
    font-size: 18px;
}

.amount-text {
    font-size: 16px;
    font-weight: 700;
    color: #00d4aa;
}

.status-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-complete {
    background: #00d4aa;
    color: white;
}

.status-progress {
    background: #ffd700;
    color: #333;
    animation: pulse 2s infinite, glow 1.5s ease-in-out infinite;
    position: relative;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 25px rgba(255, 215, 0, 0.4);
    }
}

/* ==================== 진행 절차 섹션 ==================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-sm);
    align-items: center;
}

.process-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition-normal);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-lg);
    box-shadow: var(--shadow-md);
}

.process-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
}

.process-title {
    font-size: var(--font-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
}

.process-description {
    font-size: var(--font-sm);
    color: var(--gray);
    line-height: 1.6;
}

.process-arrow {
    font-size: var(--font-2xl);
    color: var(--primary-color);
    text-align: center;
    font-weight: 700;
}

/* ==================== 취급 상품 섹션 ==================== */
.products-section {
    background: var(--light-gray);
    padding: 60px 0;
}

/* 상품 그리드 - 4개 간단 버전 */
.products-grid-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card-featured {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(30, 144, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #1E90FF;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-15px);
}

.product-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1E90FF, #00CED1);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.product-card-featured:hover::before {
    transform: scaleX(0);
}

.product-card-featured:hover {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1E90FF, #00CED1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    transition: all 0.3s ease;
    transform: scale(1.1);
}

.product-card-featured:hover .product-icon {
    transform: rotateY(0deg) scale(1);
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1E90FF;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 기존 그리드 (사용 안 함) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 2px solid var(--light-gray);
}

.product-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.product-placeholder {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--font-md);
    color: var(--primary-color);
    background: var(--light-gray);
    border-radius: 10px;
}

/* ==================== 차별화 포인트 섹션 ==================== */
.why-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.why-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.why-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.why-image-placeholder {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    background: var(--light-gray);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.why-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform var(--transition-normal);
}

.why-card:hover .why-image-placeholder img {
    transform: scale(1.1);
}

.why-content {
    flex: 1;
}

.why-title {
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.why-description {
    font-size: var(--font-md);
    color: var(--gray);
    line-height: 1.8;
}

/* ==================== 고객 후기 섹션 ==================== */
.reviews-section {
    background: var(--light-gray);
}

.warning-box {
    background: #FFF3CD;
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.warning-box p {
    margin: 8px 0;
    color: var(--dark);
    font-size: var(--font-md);
    line-height: 1.8;
}

.warning-box strong {
    color: var(--danger-color);
}

/* ==================== 후기 슬라이더 (4개씩 자동 스크롤) ==================== */
.reviews-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.reviews-slider-container {
    overflow: hidden;
    position: relative;
}

.reviews-slider-track {
    display: flex;
    gap: 15px;
    animation: slideLeft 40s linear infinite;
    will-change: transform;
}

.reviews-slider-track:hover {
    animation-play-state: paused;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    background: var(--white);
    padding: 25px 18px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    text-align: center;
    border: 2px solid transparent;
    min-width: calc(25% - 12px);
    max-width: calc(25% - 12px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(30, 144, 255, 0.25);
    border-color: #1E90FF;
}

.review-stars {
    font-size: 16px;
    margin-bottom: 12px;
    color: #FFD700;
}

.review-stars i {
    margin: 0 1px;
}

.review-text {
    font-size: 14px;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
    font-weight: 500;
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.review-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 40px;
    color: #1E90FF;
    opacity: 0.1;
    font-family: Georgia, serif;
}

.review-author {
    font-size: 14px;
    color: #1E90FF;
    font-weight: 700;
    margin-bottom: 4px;
}

.review-meta {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
}

/* 슬라이더 컨트롤 */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid #1E90FF;
    color: #1E90FF;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
    background: #1E90FF;
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

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

/* ==================== 서비스 메뉴 섹션 ==================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 3px solid transparent;
    transition: all var(--transition-normal);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 64px;
    margin-bottom: var(--spacing-sm);
}

.service-title {
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.service-description {
    font-size: var(--font-md);
    color: var(--gray);
    line-height: 1.8;
}

/* ==================== CTA 섹션 ==================== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
}

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

.cta-title {
    font-size: var(--font-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta-description {
    font-size: var(--font-lg);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== 푸터 ==================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 60px;
    /* filter: brightness(0) invert(1); */ /* 기존 필터 비활성화 - 컬러 로고 표시 */
}

/* 만약 흰색 로고가 필요한 경우 이 클래스를 추가하세요 */
.footer-logo img.white-logo {
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: var(--font-xl);
    font-weight: 700;
}

.footer-info {
    margin-bottom: var(--spacing-md);
    line-height: 2;
}

.footer-info p {
    font-size: var(--font-sm);
    opacity: 0.8;
}

.footer-copyright {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: var(--font-sm);
    opacity: 0.6;
}

/* ==================== 플로팅 버튼 ==================== */
.floating-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 0;
    z-index: 999;
    box-shadow: var(--shadow-xl);
}

.floating-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-lg);
    transition: all var(--transition-normal);
}

.floating-btn-inquiry {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
}

.floating-btn-inquiry:hover {
    opacity: 0.95;
}

.floating-btn-chat {
    background: #FEE500;
    color: #3c1e1e;
    border: none;
}

.floating-btn-chat:hover {
    background: #FFEB3B;
}

.floating-phone {
    background: var(--primary-color);
    color: var(--white);
}

.floating-phone:hover {
    background: #1873cc;
}

.floating-icon {
    font-size: 24px;
}

/* ==================== 자동 팝업 툴팁 ==================== */
.auto-popup-tooltip {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.auto-popup-tooltip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: popupBounce 0.6s ease-out;
}

@keyframes popupBounce {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auto-popup-tooltip.hide {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

.tooltip-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    border-radius: 50%;
}

.tooltip-close:hover {
    background: #f5f5f5;
    color: #333;
}

.tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tooltip-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    padding-right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tooltip-text i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.tooltip-subtext {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
}

/* 호버 효과 */
.auto-popup-tooltip:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* 화살표 꼬리 */
.auto-popup-tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 30px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .auto-popup-tooltip {
        bottom: 90px;
        right: 15px;
        left: 15px;
        max-width: none;
        padding: 18px 20px;
    }
    
    .tooltip-text {
        font-size: 16px;
    }
    
    .tooltip-subtext {
        font-size: 13px;
    }
    
    .auto-popup-tooltip::after {
        right: 50%;
        transform: translateX(50%) rotate(45deg);
    }
}

/* ==================== 애니메이션 ==================== */
@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);
    }
}

[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"].aos-animate {
    animation: fadeInUp 0.8s ease forwards;
}

[data-aos="fade-right"].aos-animate {
    animation: fadeInUp 0.8s ease forwards;
}

[data-aos="zoom-in"].aos-animate {
    animation: zoomIn 0.8s ease forwards;
}

[data-aos="flip-left"].aos-animate {
    animation: flipLeft 0.8s ease forwards;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flipLeft {
    from {
        opacity: 0;
        transform: rotateY(-90deg);
    }
    to {
        opacity: 1;
        transform: rotateY(0);
    }
}

/* ==================== 반응형 디자인 ==================== */
@media (max-width: 1200px) {
    .header-contact {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --font-3xl: 32px;
        --font-2xl: 24px;
        --font-xl: 20px;
        --spacing-xl: 48px;
        --spacing-lg: 32px;
    }
    
    .header-content {
        padding: var(--spacing-xs) 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text {
        font-size: var(--font-lg);
    }
    
    .phone-number {
        padding: 10px 16px;
        font-size: var(--font-sm);
    }
    
    .phone-text {
        display: none;
    }
    
    /* 모바일 히어로 섹션 높이 최적화 */
    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .hero-badge {
        font-size: var(--font-sm);
        padding: 10px 20px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: var(--font-2xl);
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: var(--font-md);
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        gap: 10px;
        justify-content: center;
    }
    
    /* 문의하기 버튼은 전체 너비 */
    .btn-inquiry {
        flex: 1 1 100%;
        width: 100%;
        order: 1;
    }
    
    /* 모바일에서 빠른 상담 버튼 - 50% 너비 */
    .btn-chat {
        flex: 1 1 calc(50% - 5px);
        padding: 12px 16px;
        font-size: 14px;
        order: 2;
    }
    
    /* 텔레그램 버튼은 모바일에서만 표시 - 50% 너비 */
    .btn-telegram-hero {
        flex: 1 1 calc(50% - 5px);
        padding: 12px 16px;
        font-size: 14px;
        display: inline-flex;
        order: 3;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .value-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    /* 서비스 섹션 - 모바일에서 가로로 3개 나란히 배치 */
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .service-card {
        padding: 15px 8px;
    }
    
    .service-icon {
        font-size: 28px;
        margin-bottom: 6px;
    }
    
    .service-title {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .service-description {
        font-size: 11px;
        line-height: 1.4;
    }
    
    /* 한도 안내 - 모바일에서도 2x2 그리드 */
    .limit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .limit-card {
        padding: 20px 12px;
    }
    
    .limit-icon {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .limit-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .limit-amount {
        font-size: 16px;
        font-weight: 700;
    }
    
    .limit-desc {
        font-size: 12px;
    }
    
    /* 상품 그리드 모바일: 1열 */
    .products-grid-simple {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card-featured {
        padding: 30px 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    /* 이용 절차 - 모바일에서 2x2 그리드 */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .process-arrow {
        display: none;
    }
    
    .process-card {
        padding: 20px 12px;
    }
    
    .process-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
        top: -12px;
        right: -12px;
    }
    
    .process-icon {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .process-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .process-description {
        font-size: 12px;
        line-height: 1.5;
    }
    
    /* why 섹션 - 모바일에서 2열 그리드 (2+1 형태) */
    .why-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* 세 번째 카드는 2열을 차지하도록 */
    .why-card:nth-child(3) {
        grid-column: 1 / -1;
    }
    
    .why-card {
        flex-direction: column;
        padding: 20px 15px;
    }
    
    .why-image-placeholder {
        width: 100%;
        max-width: 200px;
        height: auto;
        aspect-ratio: 1;
        margin: 0 auto 12px;
    }
    
    .why-image-placeholder img {
        object-fit: contain;
        max-height: 150px;
    }
    
    .why-content {
        text-align: center;
    }
    
    .why-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .why-description {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .reviews-slider-wrapper {
        padding: 0 20px;
    }
    
    .reviews-slider-track {
        animation: slideLeftMobile 30s linear infinite;
    }
    
    @keyframes slideLeftMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-100%);
        }
    }
    
    .review-card {
        padding: 25px 15px;
        min-height: 280px;
        min-width: calc(100% - 10px);
        max-width: calc(100% - 10px);
    }
    
    .review-text {
        font-size: 14px;
    }
    
    .review-text::before {
        font-size: 35px;
        left: 0;
        top: 0;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-controls {
        margin-top: 20px;
    }
    
    /* 거래 내역 - 모바일 */
    .transaction-section .section-title {
        font-size: 20px;
    }
    
    .stats-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-card {
        max-width: 100%;
        padding: 15px 20px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .stat-value {
        font-size: 16px;
    }
    
    .transaction-cards-wrapper {
        padding: 15px;
    }
    
    .transaction-header {
        grid-template-columns: 0.8fr 1.5fr 1.2fr 1fr;
        gap: 8px;
        padding: 12px 10px;
    }
    
    .header-col {
        font-size: 11px;
    }
    
    .transaction-card {
        grid-template-columns: 0.8fr 1.5fr 1.2fr 1fr;
        gap: 8px;
        padding: 12px 10px;
    }
    
    .name-badge {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .product-info {
        font-size: 11px;
        gap: 5px;
    }
    
    .product-info i {
        font-size: 14px;
    }
    
    .amount-text {
        font-size: 12px;
    }
    
    .status-badge {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .floating-buttons {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .floating-btn {
        font-size: var(--font-md);
        padding: 16px;
    }
    
    .floating-text {
        font-size: var(--font-sm);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .value-grid,
    .limit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 태블릿: 2열 */
    .products-grid-simple {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
}

@media (min-width: 1025px) {
    .process-grid {
        grid-template-columns: auto 40px auto 40px auto 40px auto;
    }
}

/* ==================== 프린트 스타일 ==================== */
@media print {
    .header,
    .floating-buttons,
    .hero-buttons,
    .cta-buttons {
        display: none;
    }
    
    body {
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* ==================== 접근성 개선 ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

a:focus,
button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ==================== 모달 스타일 ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    margin: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.modal-close:hover {
    background: var(--light-gray);
    color: var(--dark);
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-description {
    text-align: center;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

/* ==================== 폼 스타일 ==================== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    font-size: 14px;
}

.required {
    color: var(--danger-color);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 14px;
    transition: all var(--transition-normal);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-notice {
    background: var(--light-gray);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.form-notice p {
    font-size: 12px;
    color: var(--gray);
    margin: 3px 0;
    line-height: 1.5;
}

.form-notice p:first-child {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    font-size: 13px;
}

.checkbox-group {
    margin-bottom: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    color: var(--dark);
    font-size: 14px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* ==================== 성공 모달 ==================== */
.modal-success {
    text-align: center;
    padding: 40px 30px;
    max-width: 380px;
}

.success-icon {
    font-size: 80px;
    margin-bottom: var(--spacing-sm);
    animation: bounce 0.6s ease;
}

.success-title {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.success-message {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==================== 챗봇 위젯 스타일 ==================== */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 100px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9998;
    animation: slideInUp 0.3s ease;
}

.chatbot-widget.active {
    display: flex;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, #1E90FF 0%, #00CED1 100%);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chatbot-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    padding: 4px;
    object-fit: contain;
}

.chatbot-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chatbot-title {
    font-size: 16px;
    font-weight: 700;
}

.chatbot-status {
    font-size: 12px;
    opacity: 0.9;
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chatbot-body {
    flex: 1;
    background: #f5f5f5;
    overflow-y: auto;
    padding: 20px;
    scroll-behavior: smooth;
}

.chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chatbot-message {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    padding: 4px;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.message-content {
    flex: 1;
}

.message-text {
    background: white;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-message {
    justify-content: flex-end;
}

.user-text {
    background: #1E90FF;
    color: white;
    border-radius: 12px 12px 0 12px;
}

.chatbot-quick-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.quick-btn {
    background: #FF1493;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.quick-btn:hover {
    background: #E6127D;
    transform: translateY(-2px);
}

.chatbot-notice {
    background: white;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notice-icon {
    color: #4CAF50;
    font-size: 10px;
}

.chatbot-info-notice {
    background: white;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chatbot-footer {
    background: white;
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
}

.footer-btn {
    width: 100%;
    background: #f5f5f5;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
}

.footer-btn:hover {
    background: #e0e0e0;
}

.footer-icon {
    font-size: 16px;
}

/* 챗봇 입력 폼 */
.chat-input-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.chat-input:focus {
    border-color: #1E90FF;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    background: #1E90FF;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chat-send-btn:hover {
    background: #1873cc;
    transform: scale(1.1);
}

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

.chatbot-submit-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.chat-submit-btn {
    background: linear-gradient(135deg, #1E90FF, #00CED1);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
    transition: all 0.3s;
}

.chat-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .chatbot-widget {
        bottom: 10px;
        right: 10px;
        width: calc(100vw - 20px);
        height: calc(100vh - 80px);
        max-height: calc(100vh - 80px);
        border-radius: 15px;
    }
    
    .chatbot-logo {
        width: 40px;
        height: 40px;
    }
    
    .chatbot-title {
        font-size: 14px;
    }
    
    .chatbot-status {
        font-size: 11px;
    }
    
    .message-text {
        font-size: 13px;
    }
}

/* ==================== 다크모드 지원 (선택사항) ==================== */
@media (prefers-color-scheme: dark) {
    /* 다크모드 스타일은 필요시 추가 */
}

