/* ============================================
   DEAL CATEGORY SEO PAGES
   ============================================ */

/* Hero */
.dcat-hero {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.dcat-hero__icon {
    font-size: 40px;
    color: #fbbf24;
    margin-bottom: 12px;
}

.dcat-hero__title {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
}

.dcat-hero__intro {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.dcat-hero__stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dcat-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    min-width: 100px;
}

.dcat-hero__stat-val {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.dcat-hero__stat-val--gold { color: #fbbf24; }
.dcat-hero__stat-val--green { color: #34d399; }

.dcat-hero__stat-label {
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    margin-top: 4px;
}

/* Category nav pills */
.dcat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.dcat-nav__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dcat-nav__pill:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
}

.dcat-nav__pill--active {
    background: linear-gradient(135deg, #7A95F8, #6453CA);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

.dcat-nav__pill--active:hover {
    background: linear-gradient(135deg, #7A95F8, #6453CA);
    opacity: 0.9;
}

.dcat-nav__pill i {
    font-size: 14px;
}

/* Section titles */
.dcat-section__title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dcat-section__title i {
    color: #7A95F8;
    font-size: 22px;
}

.dcat-section__desc {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    margin-bottom: 16px;
}

/* Comparison table */
.dcat-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    -webkit-overflow-scrolling: touch;
}

.dcat-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.dcat-table thead th {
    padding: 14px 16px;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
}

.dcat-table tbody tr {
    transition: background 0.15s ease;
}

.dcat-table tbody tr:hover {
    background: rgba(255,255,255,0.04);
}

.dcat-table tbody td {
    padding: 14px 16px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}

.dcat-table__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
}

.dcat-table__rank--gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}

.dcat-table__rank--silver {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #fff;
}

.dcat-table__rank--bronze {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
}

.dcat-table__firm {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dcat-table__firm:hover {
    color: #7A95F8;
    text-decoration: none;
}

.dcat-table__logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255,255,255,0.9);
    padding: 2px;
    flex-shrink: 0;
}

.dcat-table__discount {
    display: inline-block;
    padding: 3px 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.dcat-table__price-green {
    color: #34d399;
    font-weight: 700;
}

.dcat-table__tp {
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dcat-table__tp i {
    color: #f59e0b;
    font-size: 14px;
}

.dcat-table__na {
    color: rgba(255,255,255,0.3);
}

.dcat-table__btn {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #34d399, #10b981);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dcat-table__btn:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}

/* Categories grid (bottom) */
.dcat-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 32px;
}

.dcat-cat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dcat-cat-card:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dcat-cat-card i {
    font-size: 20px;
    color: #7A95F8;
    flex-shrink: 0;
}

.dcat-cat-card--all {
    border-color: rgba(122,149,248,0.3);
    background: rgba(122,149,248,0.1);
}

/* CTA */
.dcat-cta {
    text-align: center;
    padding: 32px;
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.dcat-cta h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.dcat-cta p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 16px;
}

.dcat-cta__links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dcat-cta__links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #7A95F8, #6453CA);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dcat-cta__links a:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .dcat-hero {
        padding: 24px 20px;
    }

    .dcat-hero__title {
        font-size: 22px;
    }

    .dcat-hero__stats {
        flex-direction: column;
        gap: 8px;
    }

    .dcat-hero__stat {
        flex-direction: row;
        gap: 8px;
        justify-content: center;
    }

    .dcat-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .dcat-categories-grid {
        grid-template-columns: 1fr;
    }

    .dcat-cta__links {
        flex-direction: column;
    }

    .dcat-cta__links a {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .dcat-hero__title {
        font-size: 19px;
    }

    .dcat-table thead th,
    .dcat-table tbody td {
        padding: 10px 10px;
        font-size: 12px;
    }

    .dcat-table__logo {
        width: 24px;
        height: 24px;
    }
}
