/* 4-2 숫자가 말하는 제니스의 성과 섹션 전용 스타일 */

.shopping-performance-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    padding: 120px 0;
    position: relative;
    color: white;
}

.performance-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 섹션 타이틀 */
.performance-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: #3B82F6;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

/* 리드 카피 */
.performance-lead {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.4;
}

/* 설명 문구 */
.performance-description {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 4rem;
    color: #e5e7eb;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* 성과 그래프 영역 */
.performance-graphs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.graph-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.graph-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #10B981);
}

.graph-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.graph-container {
    position: relative;
    height: 200px;
    margin-bottom: 1.5rem;
}

/* 매출 성장 그래프 */
.revenue-graph {
    width: 100%;
    height: 100%;
    position: relative;
}

.revenue-line {
    fill: none;
    stroke: #3B82F6;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.revenue-area {
    fill: url(#revenueGradient);
    opacity: 0.3;
}

/* ROAS 그래프 */
.roas-graph {
    width: 100%;
    height: 100%;
    position: relative;
}

.roas-bar {
    fill: #10B981;
    opacity: 0;
    animation: growBar 1.5s ease-out forwards;
}

.roas-bar:nth-child(2) {
    animation-delay: 0.3s;
}

.roas-bar:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes growBar {
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* 전환율 그래프 */
.conversion-graph {
    width: 100%;
    height: 100%;
    position: relative;
}

.conversion-circle {
    fill: none;
    stroke: #F59E0B;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    animation: drawCircle 2s ease-out forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

.conversion-text {
    font-size: 2rem;
    font-weight: 700;
    color: #F59E0B;
    text-anchor: middle;
    dominant-baseline: middle;
}

.graph-label {
    font-size: 0.9rem;
    color: #d1d5db;
    font-weight: 500;
}

/* Before/After 비교 */
.before-after-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.comparison-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.before-title {
    color: #DC2626;
}

.after-title {
    color: #10B981;
}

.comparison-image {
    width: 100%;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #d1d5db;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.before-image {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
}

.after-image {
    background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
}

.comparison-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.before-stats .stat-number {
    color: #DC2626;
}

.after-stats .stat-number {
    color: #10B981;
}

.stat-label {
    font-size: 0.8rem;
    color: #d1d5db;
}

/* 고객 후기 */
.testimonials-section {
    margin-bottom: 4rem;
}

.testimonials-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    border-left: 4px solid #3B82F6;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #d1d5db;
    margin: 0;
}

.industry-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: #d1d5db;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 성과 요약 배지 */
.performance-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.summary-badge {
    background: linear-gradient(135deg, #3B82F6, #10B981);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.summary-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.summary-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.summary-label {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* 강조 문구 */
.highlight-message {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 16px;
    border: 2px solid #f59e0b;
    position: relative;
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #92400e;
    line-height: 1.6;
    margin: 0;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.performance-graphs {
    animation: fadeInUp 0.8s ease-out;
}

.before-after-comparison {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.testimonials-grid {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.performance-summary {
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.summary-badge {
    animation: countUp 1s ease-out 1.2s both;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .performance-graphs {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .before-after-comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .shopping-performance-section {
        padding: 80px 0;
    }
    
    .performance-title {
        font-size: 2.5rem;
    }
    
    .performance-lead {
        font-size: 1.3rem;
    }
    
    .graph-card {
        padding: 2rem;
    }
    
    .comparison-item {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .summary-badge {
        padding: 1.5rem;
    }
    
    .summary-number {
        font-size: 2.5rem;
    }
    
    .highlight-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .performance-title {
        font-size: 2rem;
    }
    
    .performance-lead {
        font-size: 1.1rem;
    }
    
    .performance-summary {
        grid-template-columns: 1fr;
    }
    
    .summary-number {
        font-size: 2rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }
}
