/* ==========================================================================
   10. ESTILO SaaS / B2B BUSINESS (ESTILO STRIPE/LINEAR)
   ========================================================================== */

.saas-body {
    background-color: #000000;
    color: #ededed;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Fondo de cuadrícula tipo software */
.saas-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: -1;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* -------------------------------------
   NAVEGACIÓN SaaS
   ------------------------------------- */
.saas-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.saas-links {
    display: flex;
    gap: 32px;
}

.saas-links a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.saas-links a:hover, .saas-links a.active {
    color: #ffffff;
}

.saas-btn-primary {
    background: #ffffff;
    color: #000000;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.saas-btn-primary:hover {
    background: #e4e4e7;
}

.saas-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Menú Móvil */
.saas-mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #09090b;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 990;
}

.saas-mobile-menu.active {
    max-height: 250px;
    padding: 16px 24px;
}

.saas-mobile-menu a {
    color: #a1a1aa;
    text-decoration: none;
    padding: 12px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.saas-mobile-menu a.mobile-cta {
    color: #ffffff;
    font-weight: 600;
    border-bottom: none;
}

/* -------------------------------------
   HERO SaaS
   ------------------------------------- */
.saas-hero {
    padding: 160px 24px 80px 24px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-container {
    max-width: 800px;
}

.saas-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #d4d4d8;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

.saas-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 0 0 24px 0;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, #71717a);
    -webkit-background-clip: text;
    color: transparent;
}

.saas-hero p {
    font-size: 1.15rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin: 0 auto 40px auto;
    max-width: 650px;
}

.saas-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.saas-btn-primary i {
    margin-left: 6px;
    font-size: 0.8rem;
}

.saas-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.saas-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* -------------------------------------
   SOCIAL PROOF (LOGOS)
   ------------------------------------- */
.saas-trusted {
    text-align: center;
    padding: 0 24px 80px 24px;
}

.saas-trusted p {
    font-size: 0.75rem;
    color: #71717a;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-item {
    font-size: 1.2rem;
    font-weight: 600;
    color: #a1a1aa;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* -------------------------------------
   FEATURES / BENTO GRID SaaS
   ------------------------------------- */
.saas-features {
    padding: 40px 24px 100px 24px;
    display: flex;
    justify-content: center;
}

.feature-container {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.saas-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 32px;
    transition: background 0.2s;
}

.saas-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
}

.saas-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #fff;
}

.saas-card p {
    font-size: 0.9rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin: 0;
}

/* -------------------------------------
   FOOTER SaaS
   ------------------------------------- */
.saas-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 24px;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    font-size: 0.85rem;
    color: #71717a;
    margin: 8px 0 0 0;
}

.footer-legal p {
    font-size: 0.8rem;
    color: #71717a;
    margin: 0;
}

/* -------------------------------------
   ANIMACIONES
   ------------------------------------- */
.fade-in {
    opacity: 0;
    animation: fadeInSaaS 0.8s ease forwards;
}

@keyframes fadeInSaaS {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------
   RESPONSIVO SaaS
   ------------------------------------- */
@media (max-width: 900px) {
    .saas-links, .saas-nav-actions .saas-btn-primary { display: none; }
    .saas-mobile-toggle { display: block; }
    
    .saas-hero h1 { font-size: 2.8rem; }
    
    .feature-container { grid-template-columns: 1fr; }
    
    .saas-cta-group { flex-direction: column; }
    
    .footer-container { flex-direction: column; gap: 24px; text-align: center; }
}