/*
Theme Name: MASTV IPTV Legazy Style
Description: Diseño oscuro, rojo y moderno tipo LegazyTV adaptado para MASTV.
Version: 3.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #0b0c10;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.logo h1 span {
    color: #e50914;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #a0a5b5;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffffff;
}

.btn-demo-red {
    background-color: #e50914;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s, transform 0.2s;
}

.btn-demo-red:hover {
    background-color: #f6121d;
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
    padding: 60px 50px 40px 50px;
    background: radial-gradient(circle at 20% 20%, rgba(229, 9, 20, 0.15) 0%, rgba(11, 12, 16, 1) 70%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #d1d5db;
    margin-bottom: 25px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background-color: #e50914;
    border-radius: 50%;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 18px;
    color: #9ca3af;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-primary-red {
    background-color: #e50914;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}

.hero-features-list {
    display: flex;
    gap: 20px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 600;
}

.hero-features-list i {
    color: #e50914;
    margin-right: 5px;
}

/* CARD PREVIEW HERO */
.hero-card-preview {
    flex: 1;
    max-width: 480px;
}

.preview-box {
    background: linear-gradient(135deg, rgba(20, 22, 30, 0.9) 0%, rgba(10, 11, 15, 0.95) 100%);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.15);
}

.preview-tag {
    background: rgba(229, 9, 20, 0.2);
    color: #e50914;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.preview-sub {
    color: #9ca3af;
    font-size: 13px;
    margin-top: 15px;
}

.preview-box h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
}

.preview-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.preview-categories span {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
}

/* BARRA DE ESTADÍSTICAS */
.stats-bar {
    display: flex;
    justify-content: space-around;
    background: #111319;
    padding: 30px 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 32px;
    color: #e50914;
}

.stat-item h3 {
    font-size: 22px;
    font-weight: 800;
}

.stat-item p {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 700;
}

/* SECCIONES Y TITULOS */
.trust-section, .categories-section, .pricing-section, .devices-section {
    padding: 70px 50px;
    text-align: center;
}

.section-subtitle {
    color: #e50914;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

h2 {
    font-size: 36px;
    font-weight: 800;
    margin-top: 5px;
    margin-bottom: 15px;
}

.section-desc {
    color: #9ca3af;
    max-width: 650px;
    margin: 0 auto 40px auto;
}

/* GRID DE CARACTERÍSTICAS */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: left;
}

.feature-card i {
    font-size: 28px;
    color: #e50914;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    color: #9ca3af;
    font-size: 14px;
}

/* CATEGORÍAS */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.cat-card {
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cat-card i {
    font-size: 24px;
    color: #e50914;
}

.cat-card span {
    font-size: 13px;
    font-weight: 700;
}

/* TABLA DE PLANES */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.price-card {
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 35px 25px;
    width: 260px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card.featured {
    border: 2px solid #e50914;
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.2);
}

.recommended-tag, .promo-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e50914;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 10px;
}

.price-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.price-val {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
}

.price-val span {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 600;
}

.price-sub {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin-bottom: 25px;
}

.plan-features li {
    font-size: 13px;
    color: #d1d5db;
    margin-bottom: 10px;
}

.plan-features li i {
    color: #e50914;
    margin-right: 8px;
}

.btn-select-plan {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: block;
    transition: background 0.3s;
}

.btn-select-plan.red {
    background: #e50914;
}

.btn-select-plan:hover {
    background: #f6121d;
}

/* DISPOSITIVOS Y APPS */
.devices-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0 50px 0;
}

.device-item {
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.device-item i {
    color: #e50914;
    margin-right: 8px;
}

.apps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    text-align: left;
}

.app-column h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #e50914;
}

.app-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.app-badges span {
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

/* BOTÓN FLOTANTE WHATSAPP */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 10000;
}

/* RESPONSIVE EN MÓVILES */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    .nav-links {
        display: none;
    }
    .hero-section {
        padding: 40px 20px;
    }
    .hero-container {
        flex-direction: column;
    }
    .hero-text h1 {
        font-size: 32px;
    }
    .trust-section, .categories-section, .pricing-section, .devices-section {
        padding: 40px 20px;
    }
}