/* ==========================================================================
   BACKLINKS MODULE UNIFIED STYLESHEET
   Location: /app/code/backlinks/v1/frontend/assets/css/backlinks.css
   ========================================================================== */

/* ── 1. Navigation Components ────────────────────────────────────────── */
.backlinks-nav {
    background: #ffffff;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 0;
}

.backlinks-nav .nav-tabs {
    border-bottom: 2px solid #e0e0e0;
    padding: 0 1rem;
}

.backlinks-nav .nav-link {
    border: none;
    color: #666666;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.backlinks-nav .nav-link:hover {
    color: var(--color-primary, #0d6efd);
    background: transparent;
}

.backlinks-nav .nav-link.active {
    color: var(--color-primary, #0d6efd);
    background: transparent;
    border-bottom-color: var(--color-primary, #0d6efd);
}

.backlinks-nav .nav-link i {
    margin-right: 0.5rem;
}

/* ── 2. Dashboard & Management Components ──────────────────────────────── */
.header-card {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 12px;
    color: #666666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: #333333;
}

.table-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.status-active { color: #10b981; font-weight: 500; }
.status-broken { color: #ef4444; font-weight: 500; }

.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }

.pagination { margin-top: 20px; text-align: center; }
.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333333;
}
.pagination a.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

/* ── 3. Detail View Components ────────────────────────────────────────── */
.detail-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.detail-label {
    font-weight: 600;
    color: #666666;
    width: 200px;
}

.detail-value {
    flex: 1;
    color: #333333;
}

/* ── 4. Landing Page Components ───────────────────────────────────────── */
.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: 40px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.check-list li {
    margin-bottom: 16px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-list .check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

/* Premium Grid & Card Layouts */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.premium-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    transition: transform 0.3s;
}

.premium-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Hero Image 3D Effects */
.img-3d {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s;
}

.img-3d:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.img-3d-right {
    transform: perspective(1000px) rotateY(5deg);
}

.img-3d-right:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Premium Badges */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 32px;
}
