/* ===== RESET Y CONFIGURACI�N BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* ===== SISTEMA DE VISTAS ===== */
.vista {
    display: none; /* Por defecto todas ocultas */
    animation: fadeIn 0.3s ease-in;
}

.vista:first-child {
    display: block; /* Solo vista-landing visible por defecto */
}

/* vista-landing visibility - basic setup only */
#vista-landing.vista {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== CONTENEDORES ===== */
.container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
}

/* Container profesional para vista-landing de Tranzir */
#vista-landing .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 2.5em;
    font-weight: 700;
}

h2 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 600;
}

p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* ===== FORMULARIOS ===== */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #f8f9fa;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
    min-width: 140px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover:not(:disabled) {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Google Sign In Button */
.btn-google {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.btn-google:active {
    transform: scale(0.98);
}

.buttons {
    margin-top: 30px;
}

.buttons .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
}

/* ===== ENLACES ===== */
.links {
    margin-top: 30px;
    text-align: center;
}

.links a {
    display: block;
    color: #00d4ff;
    text-decoration: none;
    margin: 10px 0;
    font-weight: 500;
    transition: color 0.3s;
}

.links a:hover {
    color: #00a3cc;
    text-decoration: underline;
}

/* ===== PANEL DE USUARIO ===== */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.panel-header h1 {
    margin-bottom: 0;
    font-size: 2em;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.user-info span {
    color: #666;
    font-weight: 500;
}

.panel-content {
    text-align: left;
}

.status {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.status p {
    margin: 8px 0;
    color: #2d3748;
}

.features {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}

.features .btn {
    width: 100%;
    text-align: left;
    padding: 15px;
    font-size: 14px;
}

/* ===== LANGUAGE DROPDOWN (ALINEADO CON BRANDING TRANZIR) ===== */
.language-dropdown {
    position: relative;
    margin-right: 12px;
}

.language-toggle {
    position: relative;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(9, 9, 121, 0.1) 100%);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-toggle .lang-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-dropdown:hover .language-toggle .lang-arrow {
    transform: rotate(180deg);
}

.language-toggle:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(9, 9, 121, 0.2) 100%);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.2);
    transform: translateY(-1px);
}

.language-toggle:active {
    transform: translateY(0);
}

.language-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(15, 15, 35, 0.98);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 120px;
}

.language-dropdown:hover .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.language-option:hover {
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
}

.language-option:first-child {
    border-radius: 6px 6px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 6px 6px;
}

/* Efecto de pulso al cambiar idioma */
.language-toggle.changing {
    animation: languagePulse 0.4s ease;
}

@keyframes languagePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    }
}

/* ===== MENSAJES (NOTIFICACIONES MÁS PEQUEÑAS Y RÁPIDAS) ===== */
.mensajes,
.mensajes-container,
#mensajes {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001 !important;
    max-width: 320px;
    pointer-events: none;
}

.mensaje {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 6px;
    color: white !important;
    font-weight: 500;
    font-size: 13px;
    animation: slideIn 0.2s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.mensaje-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
    border-color: #68d391;
}

.mensaje-error {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%) !important;
    border-color: #fc8181;
}

.mensaje-info {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%) !important;
    border-color: #63b3ed;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== LOADING ===== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    z-index: 9999;
}

/* Brand Icon */
.brand-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.3));
}

/* Pulse Animation for Icon */
@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.9;
    }
}

/* ===== PROGRESS BAR ===== */
.progress-container {
    padding: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-label {
    font-size: 14px;
    font-weight: 500;
    color: #cbd5e1;
}

.progress-percentage {
    font-size: 18px;
    font-weight: 700;
    color: #3b82f6;
}

.progress-bar-container {
    width: 100%;
    height: 24px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.15);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 12px;
    transition: width 0.5s ease-out;
    width: 0%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    position: relative;
    overflow: hidden;
}

/* Animated stripes for progress bar */
.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 40px 40px;
    animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 0;
    }
}

.progress-job-id {
    margin-top: 12px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

.progress-job-id span {
    font-family: 'Courier New', monospace;
    color: #94a3b8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 2em;
    }

    .panel-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .user-info {
        flex-direction: column;
        gap: 10px;
    }

    .mensajes {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* ===== ESTADOS ESPECIALES ===== */
input.error {
    border-color: #f56565;
    background: #fed7d7;
}

input.success {
    border-color: #48bb78;
    background: #f0fff4;
}

/* ===== LANDING PAGE ESPEC�FICOS ===== */
#vista-landing .container {
    max-width: 600px;
    background: transparent;
    border: none;
    box-shadow: none;
}

#vista-landing h1 {
    font-size: 3em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ANIMACIONES ADICIONALES ===== */
.btn:active {
    transform: translateY(0);
}

.form-group {
    position: relative;
}

/* ===== FORMULARIOS COMUNES PARA VISTAS ===== */
/* Estilos comunes para vista-registro, vista-login, vista-confirmacion */
.vista-form {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vista-form .container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    max-width: 420px;
    width: 100%;
    margin-top: 60px;
}

.vista-form h1 {
    text-align: center;
    background: linear-gradient(135deg, #00d4ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

/* Logo profesional - Versión pulida y mejorada */
.form-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto 32px auto !important;
    padding: 12px 20px;
    border-radius: 12px;
    width: fit-content;
    position: relative;
}

.form-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 153, 204, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.form-logo:hover::before {
    opacity: 1;
}

.form-logo:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 153, 204, 0.05));
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
}

.form-logo .logo-icon {
    font-size: 40px;
    filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.4));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-logo:hover .logo-icon {
    transform: scale(1.15) rotate(-8deg);
    filter: drop-shadow(0 6px 12px rgba(0, 212, 255, 0.6));
}

.form-logo .logo-text {
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 50%, #006699 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 212, 255, 0.2);
    transition: all 0.4s ease;
}

.form-logo:hover .logo-text {
    letter-spacing: 0px;
}

.vista-form h2 {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 500;
}

.vista-form .form-group {
    margin-bottom: 20px;
}

.vista-form label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
}

.vista-form input[type="email"],
.vista-form input[type="password"],
.vista-form input[type="text"],
.vista-form .form-control {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.vista-form input[type="email"]:focus,
.vista-form input[type="password"]:focus,
.vista-form input[type="text"]:focus,
.vista-form .form-control:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.vista-form .btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.vista-form .btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #090979 100%);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    padding: 16px;
}

.vista-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.vista-form .btn-success {
    background-color: #28a745;
    color: white;
}

.vista-form .btn-success:hover {
    background-color: #218838;
}

.vista-form .register-link,
.vista-form .login-link,
.vista-form .links {
    text-align: center;
    margin-top: 20px;
}

.vista-form .register-link a,
.vista-form .login-link a,
.vista-form .links a {
    color: #00d4ff;
    text-decoration: none;
}

.vista-form .register-link a:hover,
.vista-form .login-link a:hover,
.vista-form .links a:hover {
    text-decoration: underline;
}

.vista-form .error {
    color: #dc3545;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

.vista-form .success {
    color: #155724;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

.vista-form .errors {
    color: red;
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
}

/* ===== PANEL STYLES COMPARTIDOS ===== */
/* Estilos comunes para vista-panel */
.vista-panel {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.vista-panel .header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.vista-panel .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vista-panel .logo {
    font-size: 24px;
    font-weight: 700;
    color: #4a5568;
}

.vista-panel .user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vista-panel .user-name {
    color: #4a5568;
    font-weight: 500;
}

.vista-panel .btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.vista-panel .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.vista-panel .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.vista-panel .btn-secondary {
    background: #f8f9fa;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 8px 16px;
    font-size: 14px;
}

.vista-panel .btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== UTILIDADES ===== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ===============================================
   TRANZIR LANDING PAGE STYLES (FROM BOCETO)
   =============================================== */

/* Tranzir Container Global */
#vista-landing {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
    display: block;
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

#vista-landing .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Header */
#vista-landing .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#vista-landing .header.scrolled {
    background: rgba(15, 15, 35, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#vista-landing .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

#vista-landing .nav-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

#vista-landing .nav-btn {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#vista-landing .nav-btn:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

#vista-landing .nav-btn-cta {
    background: linear-gradient(135deg, #00d4ff 0%, #090979 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

#vista-landing .nav-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

/* Modal */
#vista-landing .modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

#vista-landing .modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

#vista-landing .modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

#vista-landing .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

#vista-landing .modal-close:hover {
    color: #00d4ff;
    transform: rotate(90deg);
}

#vista-landing .modal h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-align: center;
}

#vista-landing .modal p {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo profesional en navegación de landing */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 8px;
}

.nav-logo:hover {
    background: rgba(0, 212, 255, 0.08);
    transform: translateY(-1px);
}

.nav-logo .logo-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 6px rgba(0, 212, 255, 0.4));
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-icon {
    transform: rotate(-8deg) scale(1.1);
}

.nav-logo .logo-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo centrado en formularios */
.vista-form .nav-logo {
    justify-content: center;
    margin: 0 auto 24px auto;
    width: fit-content;
}

/* Badge Beta en landing - mismo estilo que panel */
.beta-badge-landing {
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

/* Mantener compatibilidad con .logo antiguo */
#vista-landing .logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #00d4ff 0%, #090979 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Content */
#vista-landing .main-content {
    padding-top: 120px;
}

/* Hero Section - The Hook */
#vista-landing .hero {
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
}

#vista-landing .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

#vista-landing .hero-content {
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#vista-landing .hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

#vista-landing .hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 48px;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

#vista-landing .email-capture {
    max-width: 550px;
    margin: 0 auto 20px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

#vista-landing .capture-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

#vista-landing .email-input {
    flex: 1;
    min-width: 280px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

#vista-landing .email-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

#vista-landing .email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#vista-landing .cta-btn {
    background: linear-gradient(135deg, #00d4ff 0%, #090979 100%);
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

#vista-landing .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 212, 255, 0.35);
}

#vista-landing .cta-section {
    margin-top: 32px;
    text-align: center;
}

#vista-landing .trust-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Problem Section - The Diagnosis */
#vista-landing .problem-section {
    padding: 60px 0;
}

#vista-landing .section-header {
    text-align: center;
    margin-bottom: 40px;
}

#vista-landing .section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

#vista-landing .section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

#vista-landing .problem-list {
    display: grid;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

#vista-landing .problem-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #ff4444;
    border-radius: 12px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#vista-landing .problem-item:hover {
    transform: translateX(8px);
    border-left-color: #00d4ff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

#vista-landing .problem-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 12px;
}

#vista-landing .problem-item h3 span {
    font-size: 1.8rem;
    line-height: 1;
}

#vista-landing .problem-item p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Solution Section - The Revelation */
#vista-landing .solution-section {
    padding: 60px 0;
    position: relative;
}

#vista-landing .demo-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 48px;
    margin: 60px 0;
    backdrop-filter: blur(20px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

#vista-landing .video-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.6);
}

#vista-landing .features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

#vista-landing .feature-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

#vista-landing .feature-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

#vista-landing .feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #00d4ff;
    display: flex;
    align-items: center;
    gap: 12px;
}

#vista-landing .feature-item p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* Final CTA Section - The Close */
#vista-landing .final-cta {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

#vista-landing .final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

#vista-landing .cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#vista-landing .cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

#vista-landing .cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 48px;
    line-height: 1.6;
}

/* Footer */
#vista-landing .footer {
    padding: 60px 0 40px;
}

#vista-landing .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Logo profesional en footer */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    font-size: 32px;
    filter: drop-shadow(0 3px 8px rgba(0, 212, 255, 0.5));
}

.footer-logo .logo-text {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.8px;
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mantener compatibilidad con .logo antiguo del footer */
#vista-landing .footer-brand .logo {
    display: inline-block;
}

#vista-landing .footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

#vista-landing .footer-section ul {
    list-style: none;
}

#vista-landing .footer-section ul li {
    margin-bottom: 12px;
}

#vista-landing .footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

#vista-landing .footer-section ul li a:hover {
    color: #00d4ff;
}

#vista-landing .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
}

#vista-landing .footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#vista-landing .footer-legal p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

#vista-landing .legal-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ROI Calculator Slider - Correct Implementation */
#vista-landing .slider-wrapper {
    position: relative;
    width: 100%;
    height: 6px;
}

#vista-landing .slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    top: 0;
}

#vista-landing .slider-progress {
    position: absolute;
    height: 6px;
    background: linear-gradient(90deg, #00d4ff, #00a3cc);
    border-radius: 10px;
    top: 0;
    transition: width 0.15s ease;
    pointer-events: none;
}

#vista-landing input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    position: absolute;
    top: -7px;
    left: 0;
    cursor: pointer;
    z-index: 10;
}

#vista-landing input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00d4ff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#vista-landing input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00d4ff;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#vista-landing input[type="range"]::-webkit-slider-runnable-track {
    background: transparent;
}

#vista-landing input[type="range"]::-moz-range-track {
    background: transparent;
}

#vista-landing .roi-calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

#vista-landing .roi-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

#vista-landing .roi-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

#vista-landing .roi-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    #vista-landing .hero h1 {
        font-size: 2.5rem;
    }

    #vista-landing .hero-subtitle {
        font-size: 1.1rem;
    }

    #vista-landing .section-header h2 {
        font-size: 2rem;
    }

    #vista-landing .cta-content h2 {
        font-size: 2.2rem;
    }

    #vista-landing .capture-form {
        flex-direction: column;
    }

    #vista-landing .email-input {
        min-width: 100%;
    }

    #vista-landing .demo-container {
        padding: 32px 24px;
    }

    #vista-landing .features-list {
        grid-template-columns: 1fr;
    }

    #vista-landing .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    #vista-landing .footer-brand p {
        margin: 0 auto;
    }

    #vista-landing .footer-section ul {
        text-align: center;
    }

    #vista-landing .legal-badges {
        flex-direction: column;
        align-items: center;
    }

    #vista-landing .nav {
        flex-direction: column;
        gap: 16px;
    }

    #vista-landing .nav-buttons {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    #vista-landing .nav-btn, #vista-landing .nav-btn-cta {
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* ===== SCROLLBAR INTEGRADA CON COLORES EXACTOS DE LANDING ===== */
/* Colores exactos: #0f0f23, #1a1a2e, #16213e, #00d4ff */

/* Scrollbar global minimalista */
html::-webkit-scrollbar {
    width: 6px !important;
}

html::-webkit-scrollbar-track {
    background: #0f0f23 !important;
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 50%, #0f0f23 100%) !important;
    border-radius: 3px !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, rgba(0, 212, 255, 0.3) 100%) !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
}

/* Scrollbar específica para body */
body::-webkit-scrollbar {
    width: 6px !important;
}

body::-webkit-scrollbar-track {
    background: #0f0f23 !important;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 50%, #0f0f23 100%) !important;
    border-radius: 3px !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, rgba(0, 212, 255, 0.3) 100%) !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
}

/* Firefox scrollbar con colores exactos */
html {
    scrollbar-width: thin !important;
    scrollbar-color: #16213e #0f0f23 !important;
}

body {
    scrollbar-width: thin !important;
    scrollbar-color: #16213e #0f0f23 !important;
}

/* ============================================
   PRICING PAGE STYLES - MINIMALIST CLEAN
   ============================================ */

/* Vista Pricing - Match Landing Background */
#vista-pricing {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

/* Header de Pricing - Delgado y Horizontal */
.pricing-header-slim {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 10px 24px;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: none;
}

.pricing-nav-slim {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 44px;
}

#vista-pricing .nav-logo {
    transform: scale(0.7);
    transform-origin: left center;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

#vista-pricing .nav-logo .logo-icon {
    font-size: 22px;
}

#vista-pricing .nav-logo .logo-text {
    font-size: 22px;
}

#vista-pricing .beta-badge-landing {
    font-size: 10px;
    padding: 3px 7px;
}

#vista-pricing .nav-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Botones de pricing iguales a landing */
#vista-pricing .language-toggle {
    padding: 8px 18px;
    margin-right: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(9, 9, 121, 0.1) 100%);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.1);
}

#vista-pricing .nav-btn {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#vista-pricing .nav-btn:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

#vista-pricing .nav-btn-cta {
    background: linear-gradient(135deg, #00d4ff 0%, #090979 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

#vista-pricing .nav-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

/* Main Pricing Container */
.pricing-main {
    padding: 80px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Pricing Title - Estilo igual al logo Tranzir */
.pricing-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 56px;
    text-shadow: 0 2px 8px rgba(0, 212, 255, 0.2);
}

/* Pricing Grid - 2 Cards Side by Side */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 0 auto;
}

/* Individual Pricing Card */
.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

/* Pro Card - Featured */
.pricing-card-pro {
    border: 2px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
    position: relative;
}

.pricing-card-pro::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 100%);
    color: #0f0f23;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pricing-card-pro:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 16px 48px rgba(0, 212, 255, 0.2);
    transform: translateY(-6px);
}

/* Plan Name */
.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

/* Plan Price */
.plan-price {
    margin-bottom: 32px;
    margin-top: 24px;
}

.price-amount {
    font-size: 4.5rem;
    font-weight: 800;
    color: #00d4ff;
    letter-spacing: -0.03em;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.price-period {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    display: block;
}

/* Plan Features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.plan-features li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    position: relative;
    padding-left: 24px;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: 600;
}

/* Plan Button */
.plan-button {
    width: 100%;
    padding: 16px 32px;
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.plan-button:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.plan-button-pro {
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 100%);
    color: #0f0f23;
    border-color: #00d4ff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.4);
}

.plan-button-pro:hover {
    background: linear-gradient(135deg, #00e5ff 0%, #00a3cc 100%);
    border-color: #00e5ff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-title {
        font-size: 2rem;
        margin-bottom: 48px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-main {
        padding: 100px 20px 60px;
    }

    .price-amount {
        font-size: 2.5rem;
    }
}

/* ========== ESTILOS PARA "MIS VOCES" ========== */

/* Voice Cards - Hover effects */
.voice-card:hover {
    border-color: rgba(0, 212, 255, 0.3) !important;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.1) !important;
    transform: translateY(-2px);
}

/* Add Voice Button - Hover effect */
#addVoiceBtn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

#addVoiceBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Voices Section */
.voices-section {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Animations for messages */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Voice Card Hover Animation */
.voice-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design para Voces */
@media (max-width: 768px) {
    .voices-grid {
        grid-template-columns: 1fr !important;
    }

    .limits-card {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }

    #upgradePlanLink {
        align-self: stretch;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .voices-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    }
}

/* ========== ESTILOS PARA "MIS VOCES" - Board Layout del CEO ========== */

/* Board Grid - Layout de 2 columnas */
.board-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Voice Items - Cada voz en la biblioteca */
.voice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(15, 15, 35, 0.5);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.voice-item:hover {
    border-color: rgba(102, 126, 234, 0.4);
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.voice-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.voice-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    position: relative;
}

.voice-icon::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C10.34 2 9 3.34 9 5v6c0 1.66 1.34 3 3 3s3-1.34 3-3V5c0-1.66-1.34-3-3-3zm5.91 9c-.49 0-.9.36-.98.85C16.52 14.2 14.47 16 12 16s-4.52-1.8-4.93-4.15c-.08-.49-.49-.85-.98-.85-.61 0-1.09.54-1 1.14.49 3 2.89 5.35 5.91 5.78V20c0 .55.45 1 1 1s1-.45 1-1v-2.08c3.02-.43 5.42-2.78 5.91-5.78.1-.6-.39-1.14-1-1.14z"/></svg>') center/contain no-repeat;
}

.voice-details h3 {
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 2px;
}

.voice-details p {
    font-size: 12px;
    color: #94a3b8;
}

.voice-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    background: rgba(15, 15, 35, 0.6);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #cbd5e1;
    font-size: 12px;
}

.icon-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    transform: scale(1.05);
}

.icon-btn.play:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
}

.icon-btn.delete:hover {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-color: transparent;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
    color: #475569;
}

.empty-state p {
    font-size: 14px;
    line-height: 1.6;
}

/* Limit Badge */
.limit-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #a5b4fc;
    margin-top: 16px;
}

.limit-number {
    color: #818cf8;
    font-weight: 700;
}

/* Drop Zone para audio */
.drop-zone {
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(102, 126, 234, 0.05);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.drop-zone:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.drop-zone.active {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.drop-zone-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    opacity: 0.6;
}

.drop-zone-icon svg {
    width: 100%;
    height: 100%;
}

.drop-zone-text {
    font-size: 14px;
    color: #f8fafc;
    font-weight: 500;
    margin-bottom: 6px;
}

.drop-zone-hint {
    font-size: 12px;
    color: #94a3b8;
}

/* Tips Section */
.tips-section {
    margin-top: 24px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
}

.tips-title {
    font-size: 13px;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 10px;
}

.tips-list {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.8;
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding-left: 16px;
    position: relative;
}

.tips-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 35, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    font-weight: 500;
    font-size: 14px;
    z-index: 2000;
    animation: slideInToast 0.3s ease;
    display: none;
}

.toast.active {
    display: block;
}

.toast.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

@keyframes slideInToast {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Voices List Container */
.voices-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Responsive para board de voces */
@media (max-width: 1024px) {
    .board-grid {
        grid-template-columns: 1fr;
    }
}

