/* ============================================================
   PREMIUM FEATURES PAGE (premium.php) STYLES
   Shared premium feature grid, hero, status bar, and comparison.
   ============================================================ */

.pf-hero-card {
    background: linear-gradient(135deg, #0f172a 0%, #2e1065 50%, #311042 100%);
    border-radius: 16px;
    padding: 2.2rem 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.pf-hero-card::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
    top: -80px;
    right: -60px;
    pointer-events: none;
}
.pf-hero-content {
    position: relative;
    z-index: 2;
}
.pf-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fef08a;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}
.pf-hero-title {
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
    font-size: clamp(1.4rem, 4vw, 2.1rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}
.pf-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.94rem;
    max-width: 720px;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.pf-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.4rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
}
.pf-status-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.pf-status-tag {
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
}
.pf-status-tag.active {
    background: rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.45);
}
.pf-status-tag.free {
    background: rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.pf-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.06);
}
.pf-card:hover {
    transform: translateY(-4px);
    border-color: #c4b5fd;
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.06), 0 12px 28px rgba(139, 92, 246, 0.12);
}
.pf-card.highlight {
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
}
.pf-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.pf-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.pf-card-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pf-card-title {
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.45rem;
}
.pf-card-desc {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}
.pf-card-btn {
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    background: #f1f5f9;
    color: #334155;
}
.pf-card:hover .pf-card-btn,
.pf-card.highlight .pf-card-btn {
    background: linear-gradient(135deg, #8b5cf6, #8b5cf6 50%, #d946ef);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}

/* ============================================================
   PREMIUM COMPARISON TABLE
   ============================================================ */
.pf-compare-wrap {
    margin-top: 2.5rem;
}
.pf-compare-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
}
.pf-compare-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8b5cf6;
    margin-bottom: 0.3rem;
}
.pf-compare-title {
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.3rem;
}
.pf-compare-sub {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0;
}
.pf-compare-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    border: 0;
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #8b5cf6, #8b5cf6 50%, #d946ef);
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}
.pf-compare-cta:hover {
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.4);
}
.pf-compare-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.pf-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.pf-compare-table thead th {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}
.pf-compare-table thead .pf-c-feature {
    color: #475569;
    background: #f8fafc;
}
.pf-compare-table thead .pf-c-free {
    background: #f8fafc;
    color: #64748b;
    text-align: left;
    width: 220px;
}
.pf-compare-table thead .pf-c-prem {
    background: linear-gradient(135deg, #f9f5ff 0%, #fdf2ff 100%);
    text-align: left;
    width: 300px;
    border-left: 1.5px solid #ede9fe;
    position: relative;
}
.pf-c-prem-inner {
    position: relative;
    padding: 0.25rem 0 0.1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}
.pf-c-ribbon {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    padding: 0.18rem 0.7rem;
    border-radius: 9999px;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35);
}
.pf-c-prem-name {
    font-size: 0.88rem;
    font-weight: 900;
    color: #5b21b6;
}
.pf-compare-table tbody td {
    padding: 0.95rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}
.pf-compare-table tbody tr:last-child td {
    border-bottom: 0;
}
.pf-compare-table tbody tr:nth-child(even) td {
    background: rgba(248, 250, 252, 0.5);
}
.pf-compare-table tbody tr:nth-child(even) td.pf-c-prem {
    background: rgba(250, 245, 255, 0.5);
}
.pf-compare-table tbody tr:hover td {
    background: #f8fafc;
}
.pf-compare-table tbody tr:hover td.pf-c-prem {
    background: #f9f5ff;
}
.pf-c-feature {
    font-weight: 600;
    color: #334155;
    width: 42%;
}
.pf-row-ico {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-right: 0.6rem;
    background: #f5f3ff;
    color: #8b5cf6;
}
.pf-c-free {
    text-align: left;
    color: #94a3b8;
    font-weight: 500;
}
.pf-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    white-space: nowrap;
}
.pf-tag.free {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.pf-c-prem {
    text-align: left;
    font-weight: 700;
    color: #5b21b6;
    border-left: 1.5px solid #ede9fe;
}
.pf-c-prem.check {
    color: #047857;
    font-weight: 700;
}
.pf-c-prem.check i {
    color: #10b981;
}
.pf-compare-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    border-top: 1px solid #edf2f7;
    background: #f8fafc;
    font-size: 0.84rem;
    color: #64748b;
}
.pf-compare-cta-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    border: 0;
    font-weight: 800;
    font-size: 0.82rem;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #8b5cf6, #8b5cf6 50%, #d946ef);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pf-compare-cta-sm:hover {
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(139, 92, 246, 0.35);
}

/* Mobile-friendly stacked layout for small screens */
@media (max-width: 767px) {
    .pf-compare-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .pf-compare-cta {
        width: 100%;
        justify-content: center;
    }
    .pf-compare-table,
    .pf-compare-table thead,
    .pf-compare-table tbody,
    .pf-compare-table tr,
    .pf-compare-table th,
    .pf-compare-table td {
        display: block;
        width: 100% !important;
    }
    .pf-compare-table thead {
        display: none;
    }
    .pf-compare-table tbody tr {
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        margin-bottom: 0.9rem;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    }
    .pf-compare-table tbody tr:nth-child(even) td {
        background: transparent;
    }
    .pf-compare-table td {
        position: relative;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f1f5f9;
    }
    .pf-compare-table td.pf-c-feature {
        padding-top: 0.8rem;
        font-weight: 700;
        background: #f8fafc;
    }
    .pf-compare-table td.pf-c-free {
        text-align: left;
        border-left: 3px solid #cbd5e1;
        padding-left: 1rem;
    }
    .pf-compare-table td.pf-c-prem {
        text-align: left;
        border-left: 3px solid #8b5cf6;
        border: 0;
        padding-left: 1rem;
    }
    .pf-compare-table tbody tr:hover td {
        background: transparent;
    }
    .pf-compare-table tbody tr:hover td.pf-c-feature {
        background: #f8fafc;
    }
    .pf-compare-table td.pf-c-prem br,
    .pf-compare-foot span {
        white-space: normal;
    }
}
