/* 뷰티/미용 업종 사례 페이지 전용 스타일 */

/* 애니메이션 정의 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 107, 157, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 157, 0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 페이드인 애니메이션 클래스 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Font Awesome 애니메이션 */
.fa-bounce {
    animation: bounce 1s infinite;
}

/* 펄스 애니메이션 */
.pulse-animation {
    animation: pulse 2s infinite;
}

/* 헤더 섹션 */
.page-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotate(30deg);
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.header-stats {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
}

.header-stats .stat-item {
    text-align: center;
}

.header-stats .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.header-stats .stat-label {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

/* 인트로 섹션 */
.intro-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

/* 뷰티 카테고리 */
.beauty-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* 카테고리 아이템 */
.category-item {
    background: #fff;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-item.touch-active {
    transform: scale(0.98);
}

.category-item i {
    font-size: 3rem;
    color: #ff6b9d;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.category-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.category-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* 케이스 스터디 섹션 */
.case-study {
    padding: 80px 0;
    background-color: #fff;
}

.case-study-alt {
    background-color: #f8f9fa;
}

.case-header {
    text-align: center;
    margin-bottom: 60px;
}

.case-badge {
    display: inline-block;
    background: #ff6b9d;
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.case-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* 도전과제 & 솔루션 리스트 */
.challenge-list,
.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.challenge-list li,
.solution-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.challenge-list i {
    color: #dc3545;
    margin-right: 10px;
    font-size: 1.2rem;
}

.solution-list i {
    color: #28a745;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* 결과 카드 */
/* 결과 카드 */
.result-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.5s ease;
}

.result-card.animated {
    animation: fadeInUp 0.8s ease-out;
}

.result-icon {
    width: 50px;
    height: 50px;
    background: #ff6b9d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.result-data .result-value {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.counter {
    display: inline-block;
}

.result-data .result-label {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-top: 5px;
}

/* 후기 박스 */
.testimonial-box {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.testimonial-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.testimonial-box cite {
    font-style: normal;
    font-weight: 600;
    display: block;
    text-align: right;
}

/* 타임라인 */
/* 타임라인 */
.result-timeline {
    position: relative;
    padding-left: 40px;
}

.result-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    margin-left: -20px;
    opacity: 0;
    transition: all 0.5s ease;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 0;
    width: 30px;
    height: 30px;
    background: #ff6b9d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

/* 프리미엄 케이스 스터디 */
.premium-case-study {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 20px;
}

.metric-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.metric-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.metric-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.metric-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
    color: #666;
}

.metric-list li:last-child {
    border-bottom: none;
}

.metric-box-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
}

.metric-box-success h3,
.metric-box-success li {
    color: #fff;
}

.metric-box-success li {
    border-bottom-color: rgba(255,255,255,0.2);
}

/* 전략 박스 */
.strategy-box {
    text-align: center;
    padding: 30px;
}

.strategy-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b9d;
    margin-bottom: 30px;
}

.strategy-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.strategy-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.strategy-item i {
    font-size: 2.5rem;
    color: #ff6b9d;
}

.strategy-item span {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* 케이스 인사이트 */
.case-insight {
    background: #fff3cd;
    padding: 25px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 4px solid #ffc107;
}

.case-insight h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #856404;
    margin-bottom: 15px;
}

.case-insight p {
    color: #856404;
    margin: 0;
    line-height: 1.8;
}

/* 뷰티 전략 섹션 */
/* 뷰티 전략 섹션 */
.beauty-strategy-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.strategy-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.strategy-card.touch-active {
    transform: scale(0.98);
}

.strategy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.strategy-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.strategy-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.strategy-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strategy-points li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #666;
    font-size: 0.95rem;
}

.strategy-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b9d;
    font-weight: 700;
}

/* 성과 요약 섹션 */
.results-summary {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
}

.summary-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.summary-stat {
    text-align: center;
}

.summary-stat i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.summary-stat h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.summary-stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* CTA 섹션 */
.cta-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.cta-box {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    padding: 60px;
    border-radius: 20px;
    color: #fff;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.btn-white {
    background: #fff;
    color: #ff6b9d;
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* FAQ 섹션 */
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-section .accordion-item {
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.faq-section .accordion-button {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 20px 30px;
    border: none;
    font-size: 1.1rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

.faq-section .accordion-body {
    padding: 30px;
    line-height: 1.8;
    color: #666;
}

/* 반응형 디자인 */
@media (max-width: 991px) {
    .header-stats {
        justify-content: center;
        margin-top: 30px;
    }

    .result-cards {
        grid-template-columns: 1fr;
    }

    .strategy-items {
        grid-template-columns: 1fr;
    }

    .premium-case-study {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    .case-title {
        font-size: 2rem;
    }

    .beauty-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .summary-box {
        padding: 40px 20px;
    }

    .cta-box {
        padding: 40px 30px;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .result-timeline {
        padding-left: 30px;
    }

    .timeline-marker {
        left: -30px;
    }

    .timeline-item {
        margin-left: -10px;
    }
}

@media (max-width: 576px) {
    .beauty-categories {
        grid-template-columns: 1fr;
    }

    .header-stats {
        gap: 20px;
    }

    .header-stats .stat-number {
        font-size: 2.5rem;
    }

    .strategy-card {
        padding: 30px 20px;
    }
}

/* 로딩 상태 스타일 */
.case-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.case-image.loaded {
    opacity: 1;
}

/* 프로그레스 바 (추가 기능용) */
.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6b9d 0%, #c44569 100%);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}