/* =====================================================
   SISTEMA DE VENTAS DE TELECOMUNICACIONES - ESTILOS GLOBALES
   ===================================================== */

/* ===== RESET Y VARIABLES ===== */
:root {
    /* Colores base */
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --secondary: #7c3aed;
    --accent: #f43f5e;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #0ea5e9;
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);

    /* Neutros */
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --white: #ffffff;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #f1f5f9;

    /* Sombras base */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    background-color: var(--gray-lighter);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TIPOGRAFÍA ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--gray);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== CONTENEDORES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-lg);
}

/* ===== TARJETAS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.card-header {
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: var(--spacing-lg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: var(--spacing-xs);
}

.card-body {
    padding: 0;
}

.card-footer {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-light);
    margin-top: var(--spacing-lg);
}

/* Card con glassmorphism */
.card-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    outline: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover:not(:disabled) {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover:not(:disabled) {
    background: #059669;
    transform: translateY(-2px);
}

.btn-warning {
    background: var(--warning);
    color: var(--white);
}

.btn-warning:hover:not(:disabled) {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-error,
.btn-danger {
    background: var(--error);
    color: var(--white);
}

.btn-error:hover:not(:disabled),
.btn-danger:hover:not(:disabled) {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover:not(:disabled) {
    background: var(--primary);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== FORMULARIOS ===== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-label.required::after {
    content: " *";
    color: var(--error);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark);
    background-color: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder {
    color: var(--gray);
}

.form-control:disabled {
    background-color: var(--gray-lighter);
    cursor: not-allowed;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: block;
}

.form-help {
    color: var(--gray);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: block;
}

/* ===== CHECKBOX Y RADIO ===== */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: var(--spacing-sm);
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

/* ===== ALERTAS ===== */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid;
    display: flex;
    align-items: start;
    gap: var(--spacing-md);
}

.alert-success {
    background-color: #d1fae5;
    border-color: var(--success);
    color: #065f46;
}

.alert-warning {
    background-color: #fef3c7;
    border-color: var(--warning);
    color: #92400e;
}

.alert-error,
.alert-danger {
    background-color: #fee2e2;
    border-color: var(--error);
    color: #991b1b;
}

.alert-info {
    background-color: #dbeafe;
    border-color: var(--info);
    color: #1e40af;
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background-color: var(--primary);
    color: var(--white);
}

.badge-success {
    background-color: var(--success);
    color: var(--white);
}

.badge-warning {
    background-color: var(--warning);
    color: var(--dark);
}

.badge-error,
.badge-danger {
    background-color: var(--error);
    color: var(--white);
}

.badge-secondary {
    background-color: var(--gray);
    color: var(--white);
}

/* ===== TABLAS ===== */
.table-responsive {
    overflow-x: auto;
    margin-bottom: var(--spacing-lg);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.table thead {
    background-color: var(--gray-lighter);
}

.table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 2px solid var(--gray-light);
    white-space: nowrap;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-light);
    color: var(--gray);
}

.table tbody tr {
    transition: background-color var(--transition-fast);
}

.table tbody tr:hover {
    background-color: var(--gray-lighter);
}

/* ===== UTILIDADES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

.text-warning {
    color: var(--warning);
}

.text-error,
.text-danger {
    color: var(--error);
}

.text-muted {
    color: var(--gray);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-gradient {
    background: var(--gradient-primary);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mt-4 {
    margin-top: var(--spacing-xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.mb-4 {
    margin-bottom: var(--spacing-xl);
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.gap-1 {
    gap: var(--spacing-sm);
}

.gap-2 {
    gap: var(--spacing-md);
}

.gap-3 {
    gap: var(--spacing-lg);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.fade-in {
    animation: fadeIn var(--transition-base) ease-out;
}

.slide-in {
    animation: slideIn var(--transition-base) ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .card {
        padding: var(--spacing-lg);
    }

    .btn {
        width: 100%;
    }
}

/* ===== LOADING SPINNER ===== */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.text-center .spinner {
    margin: 2rem auto;
}

/* ===== FOOTER ESTÉTICO ===== */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-brand-side {
    flex: 1;
    min-width: 280px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-social-lite {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-lite a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-decoration: none;
    font-size: 1.2rem;
}

.footer-social-lite a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.footer-links-side {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-nav-col h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav-col ul {
    list-style: none;
}

.footer-nav-col ul li {
    margin-bottom: 10px;
}

.footer-nav-col ul a {
    color: var(--gray-light);
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.footer-nav-col ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.corporate-tiny-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.corporate-tiny-card p {
    color: var(--gray-light);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.status-badge-footer {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 5px;
}

.footer-credits {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-credits p {
    font-size: 0.85rem;
    color: var(--gray);
}

.powered-by {
    color: var(--gray-light) !important;
}

@media (max-width: 768px) {
    .footer-layout {
        flex-direction: column;
    }

    .footer-credits {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================================================
   RESPONSIVE DESIGN - ALL DEVICES
   ===================================================== */

/* ===== NAVBAR RESPONSIVE ===== */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Tablet and Mobile - 768px and below */
@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 1rem;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar-nav a {
        display: block;
        padding: 0.75rem;
        width: 100%;
        text-align: center;
    }

    .card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .row {
        flex-direction: column;
    }

    .col-md-4,
    .col-md-6,
    .col-md-8 {
        width: 100%;
        max-width: 100%;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    input,
    select,
    textarea {
        font-size: 16px;
        padding: 0.75rem;
    }

    .operadores-grid,
    .info-cards,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .wow-table-container {
        overflow-x: auto;
    }

    .wow-table {
        min-width: 500px;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    body {
        font-size: 14px;
    }

    .navbar {
        padding: 0.5rem 0.75rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .card {
        padding: 0.75rem;
    }

    .card h3 {
        font-size: 1rem;
    }

    .btn-group,
    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero {
        padding: 1.5rem 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* Small Mobile - 360px and below */
@media (max-width: 360px) {
    h1 {
        font-size: 1.3rem;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .card {
        padding: 0.5rem;
    }
}

/* --- Hostinger Style Modern Cards --- */
/* ==========================================================================
   DISEÑO VANGUARDISTA DE ALTA DENSIDAD (PROFESIONAL & ATRACTIVO)
   ========================================================================== */

.promociones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.modern-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    position: relative;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--operador-color);
}

/* Cabecera Sólida con Gradiente */
.modern-card-header {
    background: linear-gradient(135deg, var(--operador-color), #1a202c);
    padding: 20px 25px;
    color: #ffffff !important;
    position: relative;
    min-height: 100px;
}

.modern-card.recommended .modern-card-header {
    background: linear-gradient(135deg, #2d3748, var(--operador-color));
}

.modern-recommend-banner {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promocion-tipo {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.modern-plan-title {
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Bloque de Valor (Precio y Velocidad) */
.modern-card-body {
    padding: 20px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modern-value-section {
    background: #f8fafc;
    margin: -20px -25px 20px -25px;
    padding: 20px 25px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-price-old {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 0.9rem;
    display: block;
    margin-bottom: -5px;
    font-weight: 600;
}

.modern-price-main {
    display: flex;
    align-items: flex-start;
}

.modern-price-currency {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a202c;
    margin-top: 5px;
}

.modern-price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: #1a202c;
    line-height: 1;
}

.modern-price-details {
    margin-left: 5px;
    display: flex;
    flex-direction: column;
}

.modern-price-cents {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
}

.modern-price-period {
    font-size: 0.8rem;
    color: #718096;
}

.modern-duration-tag {
    display: inline-block;
    background: #fff5f5;
    color: #e53e3e;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #feb2b2;
    margin-top: 5px;
}

/* Badge de Ahorro Flotante */
.modern-badge-discount {
    background: #ecc94b;
    color: #1a202c;
    padding: 5px 12px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 0.9rem;
}

/* Lista de Beneficios Compacta */
.modern-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.modern-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.4;
}

.modern-feature-icon {
    width: 18px;
    height: 18px;
    background: #f0fff4;
    color: #38a169;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.7rem;
    flex-shrink: 0;
    border: 1px solid #c6f6d5;
}

/* Bloque Final de Acción */
.modern-card-footer {
    padding-top: 15px;
    border-top: 1px solid #edf2f7;
}

.modern-btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 16px;
    border: none;
    font-weight: 900;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modern-btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.modern-btn-special {
    background: linear-gradient(135deg, var(--operador-color), #b91c1c);
    /* Gradiente vibrante basado en operador */
    color: white;
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.3);
}

/* Animación de brillo (shine) para botones especiales */
.modern-btn-special::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: none;
    animation: buttonShine 3s infinite;
}

@keyframes buttonShine {
    0% {
        left: -60%;
    }

    20% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.modern-btn:hover {
    transform: translateY(-4px) scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.modern-btn-primary:hover {
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
}

.modern-btn-special:hover {
    box-shadow: 0 15px 30px rgba(227, 6, 19, 0.4);
}

.modern-btn:active {
    transform: translateY(0) scale(0.98);
}

.modern-legal-note {
    text-align: center;
    font-size: 0.65rem;
    color: #a0aec0;
    margin-top: 10px;
}

.modern-btn-outline {
    background: white;
    color: #1a1a1a;
}

.modern-btn-outline:hover {
    background: #f8fafc;
    transform: scale(1.02);
}

.modern-features-list {
    margin-top: 15px;
    list-style: none;
    padding: 0;
    flex-grow: 1;
    /* Esto hace que la lista ocupe el espacio disponible */
}

.modern-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: #334155;
}

.modern-feature-icon {
    color: #6366f1;
    font-weight: bold;
    flex-shrink: 0;
}