﻿/* ============================================================
   GENERAL & BODY STYLES
============================================================ */

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* ============================================================
   NAVIGATION & HEADER
============================================================ */
.navbar {
    background-color: transparent;
}

.navbar-brand {
    font-size: 1.4rem;
}


/* ============================================================
   HERO SECTION
============================================================ */

.hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 60px;
    background: radial-gradient(circle at top, #252525, #0a0a0a 60%);
}

.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 8px;
}

.hero p {
    font-size: 1.25rem;
    color: #cfcfcf;
}

#hero-cta {
    display: inline-block;
    background: #fff;
    color: #000;
    border: none;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

#hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

#hero-cta:active {
    transform: translateY(0);
}


/* ============================================================
   FEATURE BOXES & CARDS
============================================================ */

.feature-box {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    background-color: #0a0a0a;
    color: #b5b5b5;
    padding: 30px 0;
    margin-top: 80px;
}

.header-main {
    background: linear-gradient(90deg, #141414, #0a0a0a);
    border-bottom: 1px solid #1f1f1f;
}

.header-main .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #ffffff !important;
}

.header-main .nav-link {
    color: #d0d0d0 !important;
    font-size: 0.95rem;
    margin: 0 10px;
    transition: color 0.2s ease;
}

.header-main .nav-link:hover {
    color: #ffffff !important;
}

.header-main .btn-login {
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
}

.header-main .btn-login:hover {
    background-color: #ffffff;
    color: #000000;
}

/* ============================================================
   LOGO SLIDER (MODULE 2)
============================================================ */

.trust-bar {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #0a0a0a, #141414);
    overflow: hidden;
}

.trust-title {
    color: #b5b5b5;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.logo-slider {
    width: 100%;
    overflow: hidden;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
}

.logo-track span {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #ffffff;
    opacity: 0.5;
    margin: 0 50px;
    white-space: nowrap;
}

.logo-track span:hover {
    opacity: 1;
}

@keyframes scrollLogos {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.footer-enterprise {
    background: #0a0a0a;
    padding: 80px 0;
    color: #cfcfcf;
}

.footer-enterprise h6 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-enterprise ul {
    list-style: none;
    padding: 0;
}

.footer-enterprise li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.7;
    cursor: pointer;
}

.footer-enterprise li:hover {
    opacity: 1;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #ffffff;
}

/* ============================================================
   WORKFLOWS SECTION (MODULE: FLUJOS INTELIGENTES)
============================================================ */

.workflows-section {
    margin: 120px 0;
}

.workflows-left {
    background: #151515;
    padding: 80px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workflows-tag {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b5b5b5;
    margin-bottom: 20px;
}

.workflows-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.workflows-left p {
    color: #cfcfcf;
    max-width: 420px;
}

.workflows-link {
    margin-top: 30px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
}

.workflows-link:hover {
    text-decoration: underline;
}

.workflows-right {
    background: #f0f0f0;
    padding: 80px;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.workflow-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeUp 0.8s ease forwards;
}

.workflow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.workflow-card .icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.workflow-card h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #000000;
}

.workflow-card p {
    font-size: 0.9rem;
    color: #444444;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   MEGA MENU & NAVIGATION DROPDOWN
============================================================ */

.mega-hover {
    position: relative;
}

.mega-panel {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    border-top: 1px solid #2a2a2a;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
}


.mega-hover:hover .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}


.mega-left {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mega-item strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.mega-item p {
    color: #b5b5b5;
    font-size: 0.85rem;
    margin: 4px 0 0;
}

.mega-right {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 14px;
}

.mega-right h4 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin-bottom: 12px;
}

.mega-right p {
    color: #cfcfcf;
    font-size: 0.9rem;
}

.mega-mock {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mega-mock div {
    height: 60px;
    background: #252525;
    border-radius: 8px;
}

.has-mega::after {
    content: "▾";
    font-size: 1rem;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.25s ease;
}

.mega-hover:hover .has-mega::after {
    transform: rotate(180deg);
}

/* ============================================================
   TESTIMONIAL SLIDER
============================================================ */

.testimonial-section {
    margin: 140px 0;
    display: flex;
    justify-content: center;
}

.testimonial-container {
    position: relative;
    width: 80%;
    max-width: 1100px;
    height: 420px;
    overflow: hidden;
    border-radius: 18px;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    z-index: 1;
}

.testimonial-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6);
}

.testimonial-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    max-width: 520px;
    color: #ffffff;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 14px;
}

.testimonial-author {
    font-size: 0.85rem;
    opacity: 0.8;
}

.testimonial-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background: #ffffff;
}

.mega-panel.force-close {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    pointer-events: none;
}

#main-content.hidden {
    display: none;
}

#back-home {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffffff;
    color: #000000;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 2000;
}

#mainNav {
    position: relative;
}

#nav-underline {
    position: absolute;
    bottom: -14px;
    height: 2px;
    background: #ffffff;
    width: 0;
    left: 0;
    opacity: 0;
    transition: all 0.25s ease;
    pointer-events: none;
}

.nav-item.is-active>.nav-link {
    color: #ffffff !important;
}

.footer-enterprise li {
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-enterprise li:hover {
    opacity: 1;
    transform: translateX(4px);
}

/* ============================================================
   MOBILE RESPONSIVE
============================================================ */

@media (max-width: 768px) {
    /* Hero */
    .hero {
        padding-top: 60px;
        padding-bottom: 40px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Features grid: 3 columns on mobile */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
        padding: 0 12px;
    }

    .feature-tile.listas-negras {
        display: none;
    }

    /* Testimonial */
    .testimonial-section {
        margin: 80px 0;
    }

    .testimonial-container {
        width: 100%;
        height: auto;
        min-height: 340px;
    }

    .testimonial-slide img {
        height: 340px;
    }

    .testimonial-content {
        position: relative;
        bottom: auto;
        left: auto;
        padding: 20px 20px 48px;
        max-width: 100%;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    /* Workflows */
    .workflows-section {
        margin: 60px 0;
    }

    .workflows-left {
        padding: 40px 24px;
    }

    .workflows-left h2 {
        font-size: 2rem;
    }

    .workflows-right {
        padding: 40px 24px;
    }

    /* Trust bar */
    .trust-bar {
        padding: 50px 0 40px;
    }

    /* Product scope */
    .scope-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .scope-text h2 {
        font-size: 2rem;
    }

    .scope-modules {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}