/* --- BASE & BACKGROUND --- */
body.saas-page {
    background-color: #000;
    color: #fff;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

#saas-bg-canvas {
    position: fixed;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

.saas-container {
    padding: 140px 0 80px;
}

/* --- INTRO ALIGNMENT --- */
.saas-intro .container.align-left {
    text-align: left;
    padding-left: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.system-tag {
    color: #8A0100;
    font-family: monospace;
    letter-spacing: 4px;
    font-weight: 900;
}

.saas-intro h1 {
    font-family: 'Poppins';
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 900;
    margin: 10px 0;
}

.saas-intro p {
    color: #888;
    max-width: 650px;
    line-height: 1.6;
}

/* --- COMPACT HORIZONTAL CARDS --- */
.saas-list {
    display: flex;
    flex-direction: column;
    gap: 25px; /* Espacio reducido entre tarjetas */
    margin-top: 40px;
}

.saas-item {
    position: relative;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #1a1a1a;
    border-left: 5px solid #8A0100;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.item-content {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    min-height: 240px; /* Tamaño reducido para compactar 3 módulos */
}

.item-text {
    padding: 30px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mod-num { font-family: monospace; color: #444; font-weight: bold; margin-bottom: 8px; font-size: 0.8rem; }
.item-text h2 { font-family: 'Poppins'; font-size: 1.6rem; margin-bottom: 12px; color: #fff; }
.item-text p { color: #888; font-size: 0.9rem; line-height: 1.5; margin-bottom: 25px; max-width: 500px; }

/* IMAGE AREA */
.item-image {
    background: #000;
    border-left: 1px solid #1a1a1a;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* FOOTER & BUTTON COMPACT */
.item-footer {
    display: flex;
    align-items: center;
    gap: 25px;
}

.price { font-family: 'Poppins'; font-size: 1.6rem; font-weight: 900; color: #fff; }

.add-to-cart {
    background: transparent;
    border: 1px solid #8A0100;
    color: #fff;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart img { 
    width: 16px; 
    filter: brightness(0) saturate(100%) invert(11%) sepia(91%) saturate(5412%) hue-rotate(352deg) brightness(91%) contrast(113%); 
}

.add-to-cart:hover { background: #8A0100; box-shadow: 0 0 20px rgba(138, 1, 0, 0.4); }

/* --- COMING SOON OVERLAY --- */
.item-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.94);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s;
    backdrop-filter: blur(10px);
}

.overlay-content { text-align: center; }
.lock-svg { 
    width: 45px; 
    height: 45px; 
    margin-bottom: 15px; 
    filter: invert(13%) sepia(95%) saturate(7400%) hue-rotate(355deg) brightness(90%) contrast(110%); 
}
.overlay-content h3 { font-family: 'Poppins'; font-size: 1.2rem; color: #8A0100; margin-bottom: 5px; }
.overlay-content p { font-size: 0.8rem; color: #555; }

.saas-item:hover .item-overlay { opacity: 1; }
.saas-item:hover .item-image img { transform: scale(1.05); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .item-content { grid-template-columns: 1fr; }
    .item-image { height: 180px; order: -1; }
    .item-text { padding: 25px; text-align: center; align-items: center; }
    .item-footer { justify-content: center; }
}