/* =========================================================
   VERTEX IPTV - PRICING & DEALS STYLESHEET (pricing.css)
   ========================================================= */

/* Root color fallbacks if style.css variables are missing */
:root {
    --primary-red: #e50914;
    --bg-dark: #0c0c0e;
    --bg-card: #141419;
    --text-muted: #a0a0aa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Controls Header Styling */
.interactive-controls {
    background: var(--bg-card);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    box-shadow: var(--card-shadow);
}

.control-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.toggle-buttons {
    display: flex;
    background: var(--bg-dark);
    padding: 0.3rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-buttons .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-buttons .btn.active {
    background: var(--primary-red) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
}

/* Pricing Grid Layout */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.pricing-card .plan-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-top: -5px;
    margin-bottom: 15px;
    font-weight: 500;
}

.pricing-card .price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 10px;
}

.pricing-card .old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.pricing-card .current-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.card-features li {
    font-size: 0.88rem;
    color: #ddd;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li i {
    color: #00ff88;
}

.notice-feature {
    border-top: 1px dashed rgba(255,255,255,0.1);
    padding-top: 0.8rem;
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
}

/* Badges */
.badge-popular, .badge-best, .badge-deal, .badge-mega, .badge-dhamaka {
    position: absolute;
    top: -14px;
    right: 20px;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-popular { background: var(--primary-red); color: #fff; }
.badge-best { background: #007bff; color: #fff; }
.badge-deal { background: #28a745; color: #fff; }
.badge-mega { background: #ffcc00; color: #000; }
.badge-dhamaka { background: #00ffcc; color: #000; }

/* Special Deal Card Customizations */
.deal-card {
    border: 1px solid rgba(40, 167, 69, 0.4);
}

.mega-deal {
    border: 2px solid #ffcc00 !important;
    background: linear-gradient(145deg, #18181c, #22221b) !important;
}

.double-dhamaka {
    border: 2px solid #00ffcc !important;
    background: linear-gradient(145deg, #12181a, #162426) !important;
}

.buy-btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.3s ease;
}

.buy-btn:hover {
    background: var(--primary-red);
    color: #fff;
}

.mega-btn {
    background: #ffcc00 !important;
    color: #000 !important;
}

.mega-btn:hover {
    background: #e6b800 !important;
}

.dhamaka-btn {
    background: #00ffcc !important;
    color: #000 !important;
}

.dhamaka-btn:hover {
    background: #00cca8 !important;
}

/* FAQ Section Accordion */
.faq-section {
    background: rgba(0, 0, 0, 0.2);
}

.faq-accordion {
    max-width: 850px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 1.5rem 1.2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}