/* 백링크 성공사례 페이지 전용 스타일 - backlink-traffic 스타일 기반 */

/* 히어로 섹션 */
.backlink-hero {
    background: linear-gradient(135deg, #2D3561 0%, #3F4785 100%);
    padding: 120px 0 80px;
    margin-top: 56px;
    position: relative;
    overflow: hidden;
}

.backlink-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.backlink-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: contain;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.backlink-hero .container {
    position: relative;
    z-index: 1;
}

.backlink-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.backlink-hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FCB913;
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

/* 성공 지표 섹션 */
.success-metrics {
    background-color: #F8F9FA;
    padding: 80px 0;
}

.metric-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.metric-card.before {
    border: 3px solid #dc3545;
}

.metric-card.after {
    border: 3px solid #28a745;
    position: relative;
}

.metric-card.after::before {
    content: '추천';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #FF0848;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.9rem;
}

.metric-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.metric-list {
    list-style: none;
    padding: 0;
}

.metric-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-list li:last-child {
    border-bottom: none;
}

.metric-card.before .metric-list i {
    color: #dc3545;
    font-size: 1.2rem;
}

.metric-card.after .metric-list i {
    color: #28a745;
    font-size: 1.2rem;
}

/* 상세 사례 섹션 */
.case-studies {
    padding: 80px 0;
}

.case-study-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.case-content {
    padding: 40px;
}

.case-content .badge {
    font-size: 0.875rem;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
}

.result-box {
    background: #F8F9FA;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
}

.result-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.result-item i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
    color: #2D3561;
}

.result-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.result-item span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2D3561;
}

.strategy-box {
    background: linear-gradient(135deg, #E8EAF0, #F8F9FA);
    border-left: 5px solid #2D3561;
    padding: 25px;
    border-radius: 10px;
}

.strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strategy-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.strategy-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2D3561;
    font-weight: bold;
}

/* 백링크 구축 프로세스 */
.backlink-process {
    background: white;
    padding: 80px 0;
}

.process-timeline {
    position: relative;
    padding: 60px 0;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2D3561, #3F4785);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2D3561, #3F4785);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(45, 53, 97, 0.3);
}

.step-number:after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(45, 53, 97, 0.2);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* 고객 후기 */
.testimonials {
    background-color: #F8F9FA;
    padding: 80px 0;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* FAQ 섹션 */
.faq-section {
    background: white;
    padding: 80px 0;
}

.faq-section .accordion-item {
    border: none;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-section .accordion-button {
    background: white;
    color: #333;
    font-weight: 600;
    padding: 25px 30px;
    font-size: 1.15rem;
    border: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #2D3561, #3F4785);
    color: white;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

.faq-section .accordion-body {
    padding: 25px 30px;
    background: white;
    line-height: 1.8;
    color: #555;
}

/* CTA 섹션 */
.cta-section {
    background: linear-gradient(135deg, #2D3561, #3F4785);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .btn-light {
    background: white;
    color: #2D3561;
}

.cta-buttons .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline-light:hover {
    background: white;
    color: #2D3561;
    transform: translateY(-3px);
}

/* 관련 서비스 */
.related-services {
    background: #F8F9FA;
    padding: 80px 0;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2D3561, #3F4785);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.service-card h4 {
    font-size: 1.5rem;
    color: #2D3561;
    margin-bottom: 15px;
}

.service-card p {
    flex-grow: 1;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .backlink-hero h1 {
        font-size: 2rem;
    }

    .backlink-hero .lead {
        font-size: 1.1rem;
    }

    .trust-badges {
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .hero-stats .stat-item {
        flex: 1 1 calc(33.333% - 20px);
        min-width: 100px;
    }

    .process-timeline:before {
        display: none;
    }

    .process-step {
        margin-bottom: 40px;
    }

    .metric-card {
        padding: 30px;
    }

    .case-content {
        padding: 30px;
    }

    .result-item {
        padding: 15px;
    }

    .result-item i {
        font-size: 2rem;
    }

    .result-item span {
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .backlink-hero {
        padding: 100px 0 60px;
    }

    .trust-badge {
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    .hero-stats .stat-number {
        font-size: 2rem;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    .step-number:after {
        width: 100px;
        height: 100px;
    }
}