/* 백링크 트래픽 페이지 전용 스타일 */

/* 히어로 섹션 */
.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 {
    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);
}

/* 백링크 특징 카드 */
.backlink-feature-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.backlink-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2D3561, #3F4785);
}

.backlink-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.backlink-feature-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #E8EAF0, #D8DBE7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2D3561;
    font-size: 2rem;
    margin-bottom: 20px;
}

.backlink-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.backlink-feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* 백링크 타입 섹션 */
.backlink-types {
    background: #F8F9FA;
    padding: 80px 0;
}

.type-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.type-card .type-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2D3561, #3F4785);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
}

.type-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.type-card .metrics {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.type-card .metric {
    text-align: center;
}

.type-card .metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2D3561;
}

.type-card .metric-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 5px;
}

/* 백링크 분석 데모 */
.analysis-demo {
    padding: 80px 0;
}

.analysis-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.analysis-header {
    background: linear-gradient(135deg, #2D3561, #3F4785);
    color: white;
    padding: 30px;
}

.analysis-body {
    padding: 40px;
}

.domain-input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.domain-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #E8EAF0;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.domain-input:focus {
    outline: none;
    border-color: #2D3561;
}

.analyze-btn {
    background: #2D3561;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.analyze-btn:hover {
    background: #3F4785;
    transform: translateY(-2px);
}

.analysis-results {
    display: none;
}

.analysis-results.show {
    display: block;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-item {
    background: #F8F9FA;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.result-item .result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D3561;
    margin-bottom: 10px;
}

.result-item .result-label {
    color: var(--gray);
}

/* 백링크 소스 테이블 */
.backlink-sources {
    margin-top: 30px;
}

.sources-table {
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sources-table table {
    width: 100%;
    border-collapse: collapse;
}

.sources-table th {
    background: #F8F9FA;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 2px solid #E8EAF0;
}

.sources-table td {
    padding: 15px;
    border-bottom: 1px solid #F0F2F5;
}

.sources-table tr:last-child td {
    border-bottom: none;
}

.domain-authority {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.da-high {
    background: #D4EDDA;
    color: #155724;
}

.da-medium {
    background: #FFF3CD;
    color: #856404;
}

.da-low {
    background: #F8D7DA;
    color: #721C24;
}

/* 패키지 섹션 */
.package-section {
    background: #F8F9FA;
    padding: 80px 0;
}

.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.package-card.premium {
    border: 3px solid #2D3561;
    position: relative;
}

.package-card.premium .badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #FF0848;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.9rem;
}

.package-header {
    padding: 40px 30px;
    text-align: center;
    background: #F8F9FA;
}

.package-card.premium .package-header {
    background: linear-gradient(135deg, #2D3561, #3F4785);
    color: white;
}

.package-header h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.package-header .price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.package-header .price small {
    font-size: 1rem;
    font-weight: 400;
}

.package-body {
    padding: 30px;
}

.package-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.package-body ul li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-body ul li:last-child {
    border-bottom: none;
}

.package-body ul li i {
    color: #2D3561;
    font-size: 1.2rem;
}

/* 성공 사례 섹션 */
.case-studies {
    padding: 80px 0;
}

.case-study-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.case-study-header {
    background: linear-gradient(135deg, #2D3561, #3F4785);
    color: white;
    padding: 30px;
}

.case-study-body {
    padding: 30px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.metric-box {
    text-align: center;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 15px;
}

.metric-box .value {
    font-size: 2rem;
    font-weight: 700;
    color: #2D3561;
}

.metric-box .label {
    color: var(--gray);
    margin-top: 5px;
}

/* FAQ 스타일 */
.backlink-faq {
    background: #F8F9FA;
    padding: 80px 0;
}

/* 플로팅 버튼 */
.backlink-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.backlink-float-btn {
    background: linear-gradient(135deg, #2D3561, #3F4785);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(45, 53, 97, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.backlink-float-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 53, 97, 0.4);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .backlink-hero h1 {
        font-size: 2rem;
    }

    .backlink-hero .lead {
        font-size: 1.1rem;
    }

    .trust-badges {
        justify-content: center;
    }

    .domain-input-group {
        flex-direction: column;
    }

    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sources-table {
        overflow-x: auto;
    }

    .metric-box .value {
        font-size: 1.5rem;
    }
}