/* ==========================================
   TV PLANS PAGE STYLES
   ========================================== */

/* TV Plans Page - uses same styles as homepage */
.tv-plans-page {
    padding-top: calc(80px + 3rem);
    /* Account for fixed header */
    position: relative;
    background: url('../images/fundo_planotv.jpg') center center / cover no-repeat !important;
}

.tv-plans-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 107, 241, 0.92) 0%, rgba(103, 58, 183, 0.60) 100%);
    z-index: 0;
}

.tv-plans-page>.container {
    position: relative;
    z-index: 1;
}

.tv-plans-page .section-header {
    color: white;
}

.tv-plans-page .section-title {
    color: white;
}

.tv-plans-page .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.tv-plans-page .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #F9FAFB;
}

/* Plan Note */
.plan-note {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: left;
    font-style: italic;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

/* ==========================================
   CHANNEL BAR
   ========================================== */
.channel-bar {
    background: #f7f7f7;
    padding: 2rem 0;
}

.channel-logos-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
}

.channel-bar-logo {
    height: 40px;
    width: auto;
    transition: var(--transition-normal);
}

.channel-bar-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.channel-bar-link {
    text-align: center;
    margin-top: 1.5rem;
}

.channel-bar-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.channel-bar-link a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   À LA CARTE SECTION
   ========================================== */
.alacarte-section {
    padding: 3rem 0 4rem;
    background: var(--bg-light);
}

.alacarte-badge {
    text-align: center;
    margin-bottom: 2rem;
}

.alacarte-badge span {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-purple) 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alacarte-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.alacarte-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.alacarte-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.alacarte-logo {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alacarte-logo img {
    width: auto;
    max-width: 100%;
    height: 50px;
    object-fit: contain;
}

.alacarte-price {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.alacarte-price .currency {
    font-size: 0.9rem;
    font-weight: 600;
    vertical-align: top;
}

.alacarte-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.alacarte-price .cents {
    font-size: 1rem;
    font-weight: 600;
    vertical-align: top;
}

.alacarte-price .period {
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-alacarte {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--success-green) 0%, var(--success-green-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.btn-alacarte:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   VELOO PLAY SECTION
   ========================================== */
.veloo-play-section {
    padding: 5rem 0;
    position: relative;
    background: url('../images/familia_tv.jpg') center center / cover no-repeat;
}

.veloo-play-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 107, 241, 0.92) 0%, rgba(103, 58, 183, 0.70) 100%);
}

.veloo-play-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.veloo-play-info {
    color: white;
}

.veloo-play-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.veloo-play-logo {
    height: 60px;
    width: auto;
}

.veloo-play-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.download-platforms h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.platform-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-normal);
    backdrop-filter: blur(5px);
}

.platform-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.platform-btn i {
    font-size: 1.25rem;
}

.coming-soon h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.coming-soon-items {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.coming-soon-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .alacarte-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tv-plans-page {
        padding-top: calc(80px + 2rem);
    }

    .channel-logos-bar {
        gap: 1.5rem 2rem;
    }

    .channel-bar-logo {
        height: 30px;
    }

    .alacarte-section {
        padding: 2rem 0 3rem;
    }

    .veloo-play-section {
        padding: 3rem 0;
    }

    .veloo-play-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .veloo-play-logo {
        height: 50px;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .coming-soon-items {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .alacarte-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .alacarte-card {
        padding: 1rem;
    }

    .alacarte-logo {
        min-height: 60px;
        padding: 0.75rem;
    }

    .alacarte-logo img {
        max-height: 40px;
    }

    .alacarte-price .amount {
        font-size: 2rem;
    }

    .channel-bar-logo {
        height: 25px;
    }

    .platform-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .platform-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
    }

    .platform-btn i {
        font-size: 1rem;
    }
}

/* ==========================================
   TV VISUAL MOCKUP (FORMERLY MAISTV)
   ========================================== */
.maistv-tv-wrap {
    position: relative;
    width: 450px;
    height: 280px;
    margin-bottom: 20px;
}

.maistv-tv-outer {
    position: relative;
    width: 100%;
    height: 100%;
    background: #111;
    border: 10px solid #222;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: visible;
}

.maistv-tv-screen {
    position: absolute;
    inset: 4px;
    background: linear-gradient(155deg, #0D1F5C, #1E6BF1);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.maistv-tv-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.maistv-tv-brand {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 2;
}

.maistv-tv-stand {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 18px;
    background: #222;
    border-radius: 4px 4px 0 0;
}

.maistv-tv-stand::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 6px;
    background: #111;
    border-radius: 10px;
}

/* Float badges positioning for TV */
.maistv-tv-wrap .movel-float-badge-1 {
    left: -120px;
    top: 20px;
}

.maistv-tv-wrap .movel-float-badge-2 {
    right: -80px;
    bottom: 40px;
}

@media (max-width: 1024px) {
    .maistv-tv-wrap {
        width: 360px;
        height: 220px;
    }

    .maistv-tv-wrap .movel-float-badge-1 {
        left: -60px;
    }

    .maistv-tv-wrap .movel-float-badge-2 {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .maistv-tv-wrap {
        display: none;
    }
}
