/* -------------------------------------------------------------------
   style.css - ESTILOS MAESTROS KÜTRAL (Premium & Responsive)
   ------------------------------------------------------------------- */

/* 1. CONFIGURACIÓN BASE */
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --brand-dark: #0c1f3e;   /* Azul Profundo */
    --brand-gold: #d4a05d;   /* Dorado Elegante */
    --brand-light: #fdfaf6;  /* Blanco Hueso */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--brand-light);
    color: #1f2937;
    overflow-x: hidden; /* Previene scroll horizontal */
}

/* Fuentes Personalizadas */
h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', serif;
}

.font-logo-script {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    font-style: normal;
}

/* 2. COLORES CORPORATIVOS (Utilities) */
.bg-brand-dark { background-color: var(--brand-dark); }
.text-brand-dark { color: var(--brand-dark); }
.bg-brand-gold { background-color: var(--brand-gold); }
.text-brand-gold { color: var(--brand-gold); }
.border-brand-gold { border-color: var(--brand-gold); }

/* Degradado Dorado (Plan Gold) */
.bg-gold-gradient {
    background: linear-gradient(145deg, #fef5c3 0%, #d4a05d 50%, #b8860b 100%);
}

/* Fondo Negro Premium (Plan Black) */
.bg-plan-black {
    background-color: #111;
    background-image: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.3), transparent 1%), 
                      radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.3), transparent 1%);
    background-size: 100% 100%;
}

/* 3. HERO SECTION (Imagen Principal) */
.hero-bg {
    /* Asegúrate de que la imagen esté en public/images/imagen-principal.png */
    background-image: url('../images/imagen-principal.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Filtro oscuro sobre la imagen */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Oscuridad al 50% */
    z-index: 1;
}

.hero-bg > div {
    position: relative;
    z-index: 10; /* Texto encima del filtro */
}

/* 4. ANIMACIONES (Fade In) */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 5. TARJETAS DE PRODUCTO Y SUSCRIPCIÓN */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Overlay "Próximamente" */
.coming-soon-card {
    position: relative;
    overflow: hidden;
}

.coming-soon-overlay-base {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px; /* Altura de la barra */
    background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: #888;
    border-top: 1px solid #eee;
    backdrop-filter: blur(2px);
}

/* Ajuste específico para planes */
.coming-soon-overlay-plan {
    height: 100%; /* Cubre toda la tarjeta */
    background: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    color: var(--brand-dark);
    font-weight: 900;
    letter-spacing: 2px;
    z-index: 20;
}

/* 6. MODALES Y FORMULARIOS */
/* Scrollbar personalizado para listas largas dentro de modales */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Backdrop Blur para modales */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Pestañas de Login */
.tab-active {
    border-bottom: 2px solid var(--brand-dark);
    color: var(--brand-dark);
    font-weight: bold;
}
.tab-inactive {
    color: #9ca3af;
    border-bottom: 2px solid transparent;
}
.tab-inactive:hover {
    color: var(--brand-dark);
}

/* 7. NOTIFICACIONES (TOAST) */
#toast-notification {
    z-index: 9999; /* Siempre encima */
    transition: all 0.3s ease-in-out;
}