/* estilos.css - Takum Play V7 (Final Fixed) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* FONDO ANIMADO SUTIL */
body::before {
    content: ""; position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(20,0,0,1) 0%, #000000 70%);
    z-index: -1; animation: pulseRed 10s infinite alternate;
}
@keyframes pulseRed { 0% { opacity: 0.8; } 100% { opacity: 1; } }

/* HEADER */
header {
    padding: 15px 5%;
    width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(0,0,0,0.95);
    position: fixed; top: 0; left: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo { font-size: 22px; font-weight: 900; color: #ff0000; text-shadow: 0 0 10px #ff0000; letter-spacing: 1px; }

.navbar { display: flex; gap: 20px; }
.navbar a {
    color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: 0.3s;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.navbar a:hover { color: #ff0000; }

.login-btn {
    background: transparent; color: white; font-weight: bold; border: 1px solid #ff0000;
    padding: 8px 20px; border-radius: 4px; cursor: pointer; transition: 0.3s;
}
.login-btn:hover { background: #ff0000; box-shadow: 0 0 15px #ff0000; }

/* HERO SECTION */
.hero {
    min-height: 90vh;
    padding-top: 140px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
}

h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
h1 span { color: #ff0000; text-shadow: 0 0 30px rgba(255,0,0,0.6); }
p.subtitle { font-size: 1.2rem; color: #ccc; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* BOTONES DESCARGA */
.downloads { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-download {
    text-decoration: none; padding: 15px 35px; font-size: 1.1rem; font-weight: bold;
    border-radius: 50px; display: flex; align-items: center; gap: 10px; transition: 0.3s; cursor: pointer; border: none;
}
.android { background: #00c853; color: white; box-shadow: 0 0 15px #00e676; }
.android:hover { transform: scale(1.05); background: #00e676; }
.windows { background: #0078d7; color: white; box-shadow: 0 0 15px #3399ff; }
.windows:hover { transform: scale(1.05); background: #3399ff; }
.web-player { background: #1a1a1a; color: #bbb; border: 1px solid #333; padding: 12px 30px; }
.web-player:hover { border-color: #fff; color: #fff; }

/* CARACTERÍSTICAS */
.features-section { padding: 80px 20px; background: #050505; }
.features-grid { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.card-feature {
    background: #111; padding: 30px; border-radius: 10px; width: 300px; text-align: center;
    border: 1px solid #222; transition: 0.3s;
}
.card-feature:hover { border-color: #ff0000; transform: translateY(-5px); }
.card-feature i { font-size: 40px; color: #ff0000; margin-bottom: 15px; }


/* --- PRECIOS & TABS (REPARADO) --- */
.pricing-section { 
    padding: 100px 20px; 
    text-align: center; 
    background: #000; 
}

/* CONTENEDOR DE PESTAÑAS */
.pricing-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    width: 100%;
}

/* BOTONES DE PESTAÑAS (Estilo Forzado) */
.tab-btn {
    appearance: none; /* Elimina estilo nativo del navegador */
    -webkit-appearance: none;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #333;
    padding: 12px 30px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

/* Hover */
.tab-btn:hover {
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Activo (Seleccionado) */
.tab-btn.active {
    background-color: #ff0000;
    border-color: #ff0000;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    transform: scale(1.05);
}

/* Etiquetas pequeñas dentro del botón */
.promo-tag {
    background: #fff;
    color: #000;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    font-weight: 800;
}
.tab-btn.active .promo-tag {
    background: #000;
    color: #fff;
}


/* CONTENEDOR DE TARJETAS (GRID) */
.pricing-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    width: 100%;
}

/* Esta clase fuerza que se muestre el panel seleccionado */
.pricing-container.active-panel {
    display: flex !important;
}

@keyframes fadeIn { to { opacity: 1; } }

/* TARJETAS DE PRECIO */
.price-card {
    background: #0f0f0f;
    border: 1px solid #333;
    padding: 30px 20px;
    border-radius: 15px;
    width: 260px;
    position: relative;
    transition: 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card:hover { border-color: #ff0000; transform: translateY(-10px); z-index: 10; }

.featured {
    border: 2px solid #ff0000;
    background: #150000;
    box-shadow: 0 0 25px rgba(255,0,0,0.15);
    transform: scale(1.05);
}
.featured:hover { transform: scale(1.08); }

.badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #ff0000; color: white; padding: 5px 15px; font-size: 0.75rem; font-weight: bold; border-radius: 20px;
    box-shadow: 0 0 10px #ff0000;
}

.price { font-size: 2.8rem; font-weight: 900; color: #fff; margin: 15px 0; }
.device-count { font-size: 1.1rem; color: #ccc; margin-bottom: 20px; font-weight: 500; }
.savings { color: #00e676; font-weight: bold; margin-bottom: 20px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

.btn-price {
    display: block; text-decoration: none; padding: 12px; border: 1px solid #555;
    color: #fff; border-radius: 8px; font-weight: bold; transition: 0.3s;
    margin-top: auto;
}
.btn-price:hover { background: #fff; color: #000; border-color: #fff; }

.featured-btn { background: #ff0000; border-color: #ff0000; }
.featured-btn:hover { background: #cc0000; color: #fff; border-color: #cc0000; }

/* CONTACTO */
.contact-section { padding: 100px 20px; text-align: center; background: #050505; }
.contact-links { display: flex; gap: 20px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.contact-btn {
    text-decoration: none; padding: 15px 40px; font-size: 1.2rem; font-weight: bold;
    border-radius: 10px; display: flex; align-items: center; gap: 10px; color: white; transition: 0.3s;
}
.whatsapp { background-color: #25D366; }
.whatsapp:hover { box-shadow: 0 0 15px #25D366; transform: scale(1.05); }
.email { background-color: #d44638; }
.email:hover { box-shadow: 0 0 15px #d44638; transform: scale(1.05); }

/* FOOTER */
footer { text-align: center; padding: 40px; color: #555; font-size: 0.8rem; border-top: 1px solid #1a1a1a; background: #000; }

/* MODAL */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9); align-items: center; justify-content: center; backdrop-filter: blur(8px);
}
.modal-content {
    background-color: #111; padding: 40px; border-radius: 15px; border: 2px solid #ff0000;
    text-align: center; max-width: 400px; width: 90%; position: relative;
    box-shadow: 0 0 50px rgba(255,0,0,0.4); animation: popIn 0.3s ease;
}
@keyframes popIn { from {transform: scale(0.8); opacity: 0;} to {transform: scale(1); opacity: 1;} }
.close { position: absolute; top: 15px; right: 20px; color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; }
.icon-maintenance { font-size: 60px; color: #ff0000; margin-bottom: 20px; }
.btn-ok { background: #ff0000; color: white; border: none; padding: 12px 35px; margin-top: 25px; font-weight: bold; border-radius: 5px; cursor: pointer; font-size: 1rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero { padding-top: 120px; }
    header { padding: 15px 20px; }
    .navbar { display: none; }
    .price-card { width: 100%; max-width: 350px; }
    .pricing-tabs { gap: 10px; }
    .tab-btn { width: 45%; justify-content: center; font-size: 0.9rem; padding: 10px; }
}