/* 
   ESTILOS LANDING PAGE RMK (SCROLLSPY) 
   Convertidos de SASS a CSS plano
*/

/* Variables */
:root {
    --primary: #2563eb;
    /* Primary Blue */
    --primary-dark: #1d4ed8;
    /* Dark Blue */
    --accent: #e5e4ea;
    --font-light: #e7e6f1;
    --font-dark: #333;
    --grey: #BDC4D0;
    --white: #ffffff;
    --background-light: #F3F4F8;
    --background-dark: #2F3032;
}

/* Base */
body {
    position: relative;
    min-height: 100%;
    background: var(--background-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
div {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

h1 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 2.5rem;
    letter-spacing: 4px;
    margin-top: 0;
}

@media (min-width: 768px) {
    h1 {
        font-size: 2.375rem;
        line-height: 2.75rem;
    }
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.6rem;
}

p highlight {
    font-weight: 600;
    color: var(--primary);
}

/* Navigation */
nav.navbar {
    height: 60px;
    /* Unificado */
    background: transparent;
    border: none;
    transition: background-color 0.3s, box-shadow 0.3s;
    will-change: transform;
}

nav.navbar>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    position: relative;
    /* Base para el centrado absoluto de hijos */
}

.navbar-header {
    display: flex;
    align-items: center;
    float: none !important;
}

nav.navbar.show-color {
    background: var(--primary);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
}

nav.navbar.show-color ul.navbar-nav {
    color: white;
}

nav.navbar.show-color .navbar-home {
    visibility: visible;
    transform: translate(0, 0);
    opacity: 1;
    color: white;
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 60px;
    /* Unificado con el navbar */
    padding: 0 15px;
    margin: 0;
    color: white !important;
    font-family: 'Montserrat', sans-serif !important;
    text-decoration: none !important;
    line-height: 1;
    transition: all 0.3s;
}

.logo-bold {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
}

.logo-divider {
    display: inline-block;
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 12px;
    border-radius: 1px;
}

.logo-light {
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 3px;
    opacity: 0.9;
}

.show-color .navbar-brand {
    opacity: 1;
    /* Para evitar ruleset vacío y asegurar visibilidad */
}

.show-color .logo-divider {
    background: rgba(255, 255, 255, 0.6);
}

.navbar-home {
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 15px;
    height: 60px;
    /* Unificado */
    width: 40px;
    transition: transform 0.2s ease-in, opacity 0.2s ease-in;
    opacity: 0;
    font-size: 22px;
    color: var(--grey);
}

.navbar-toggle {
    height: 55px;
    margin: 0;
    padding: 0 20px;
    color: white !important;
    border: none;
}

.show-color .navbar-toggle {
    color: white !important;
}

nav.navbar>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    position: relative;
    /* Refuerzo de base relativa */
}

.navbar-header {
    flex-shrink: 0;
}

.navbar-collapse {
    display: flex !important;
    align-items: center !important;
    flex-grow: 1;
    float: none !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
    justify-content: center;
    padding: 0 15px !important;
    overflow: visible !important;
    /* Evitar recortes */
}

@media (min-width: 768px) {
    .navbar-collapse {
        height: 60px;
        position: static !important;
        /* Permite que ul.navbar-nav se centre respecto al container */
    }
}

ul.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    float: none !important;
    margin: 0 !important;
    padding: 0;
    text-align: center;
    color: var(--font-light);
}

@media (min-width: 768px) {
    ul.navbar-nav {
        position: absolute !important;
        left: 50% !important;
        top: 0 !important;
        transform: translateX(-50%) !important;
        height: 60px !important;
    }
}

@media (max-width: 767px) {
    nav.navbar>.container {
        flex-wrap: wrap;
    }

    .navbar-collapse {
        flex-direction: column;
        width: 100%;
    }

    ul.navbar-nav {
        flex-direction: column;
        background: var(--accent);
        color: var(--font-dark);
        width: 100%;
    }

    .navbar-login-container {
        position: relative !important;
        margin: 15px 0;
        background: transparent;
        width: 100%;
        justify-content: center;
    }
}

ul.navbar-nav>li {
    margin: 0 5px;
}

ul.navbar-nav>li>a {
    padding: 0 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    /* Unificado */
    letter-spacing: 1.5px;
    color: currentColor;
    background: transparent;
    transition: all 0.3s;
    line-height: normal !important;
    /* Reset line-height */
}

ul.navbar-nav>li>a:hover {
    background: rgba(0, 0, 0, 0.1);
}

ul.navbar-nav>li.active {
    color: white;
}

@media (min-width: 768px) {
    ul.navbar-nav>li.active>a {
        background: rgba(255, 255, 255, 0.15) !important;
        box-shadow: inset 0 -3px 0 0 white;
    }

    /* Estilo del activo cuando el navbar es verde */
    .show-color ul.navbar-nav>li.active {
        display: flex;
        align-items: center;
        height: 60px;
    }

    .show-color ul.navbar-nav>li.active>a {
        background: white !important;
        color: var(--primary) !important;
        border-radius: 4px;
        margin: 0 5px;
        height: 36px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-login-container {
        position: absolute;
        right: 15px;
        top: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        margin: 0;
        height: 60px !important;
        pointer-events: auto;
    }

    .navbar-login-btn {
        background: var(--primary);
        color: white !important;
        height: 36px !important;
        padding: 0 20px !important;
        border-radius: 18px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        font-size: 12px;
        line-height: 1 !important;
        margin: 0 !important;
    }
}

.navbar-login-btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ajuste del botón login cuando el navbar es verde */
.show-color .navbar-login-btn {
    background: white !important;
    color: var(--primary) !important;
    font-weight: 700;
}

.show-color .navbar-login-btn:hover {
    background: var(--background-light) !important;
    color: var(--primary-dark) !important;
}

.tutorials-link {
    transition: all 0.3s ease;
}

.tutorials-link:hover {
    background: var(--primary) !important;
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(26, 187, 156, 0.3);
}

/* Sections */
section {
    position: relative;
    padding: 100px 0;
    background: var(--white);
    min-height: auto;
}

.section-bg-white {
    background-color: var(--white) !important;
}

.section-bg-light {
    background-color: #f8fafc !important;
}

#home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
    height: 100vh;
    padding: 50px 0;
    background: transparent;
}

#home:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174');
    background-size: cover;
    background-position: center bottom;
    z-index: -1;
}

/* Cyber Global Hub Animation (Ultra-Premium v3.0) */
.connectivity-hub {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 40px;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyber-sphere {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotateSphere 20s infinite linear;
}

.cyber-center {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 35px var(--primary), 0 0 70px rgba(26, 187, 156, 0.4);
    animation: pulseCore 2s infinite ease-in-out;
}

.cyber-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.cyber-ring.r1 {
    transform: rotateX(70deg) rotateY(10deg);
    animation: rotateR1 8s infinite linear;
}

.cyber-ring.r2 {
    transform: rotateX(-70deg) rotateY(20deg);
    animation: rotateR2 10s infinite linear;
}

.cyber-ring.r3 {
    transform: rotateY(90deg);
    animation: rotateR3 12s infinite linear;
}

.cyber-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 12px #fff;
}

.cyber-node.n1 {
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.cyber-node.n2 {
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes rotateSphere {
    from {
        transform: rotateY(0deg) rotateX(0deg);
    }

    to {
        transform: rotateY(360deg) rotateX(20deg);
    }
}

@keyframes pulseCore {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 10px var(--primary));
    }

    50% {
        transform: scale(1.2);
        filter: brightness(1.8) drop-shadow(0 0 30px var(--primary));
    }
}

@keyframes rotateR1 {
    from {
        transform: rotateX(70deg) rotateZ(0deg);
    }

    to {
        transform: rotateX(70deg) rotateZ(360deg);
    }
}

@keyframes rotateR2 {
    from {
        transform: rotateX(-70deg) rotateZ(0deg);
    }

    to {
        transform: rotateX(-70deg) rotateZ(-360deg);
    }
}

@keyframes rotateR3 {
    from {
        transform: rotateY(90deg) rotateZ(0deg);
    }

    to {
        transform: rotateY(90deg) rotateZ(360deg);
    }
}

#home h1 {
    text-align: center;
    text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    color: var(--font-light);
}

#home h4 {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    color: var(--primary);
}

.section-header {
    position: relative;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 700;
    color: #333;
    text-align: center;
    line-height: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: #888;
    font-size: 15px;
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 300;
    line-height: 1.6;
}

.section-header:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 70px;
    height: 3px;
    background: var(--primary);
    transform: translateX(-50%);
}

#demo {
    background-color: #fcfcfd;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 24px 24px;
    padding: 120px 0;
    position: relative;
}

/* Service / Solution Cards - Premium Editorial Design */
.solution-card {
    background: white;
    padding: 40px 30px;
    /* Reducido px */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Subte Glow Background */
.solution-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(26, 187, 156, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
    z-index: -1;
}

.solution-card:hover::before {
    transform: scale(1.6) translate(-10px, 10px);
    background: radial-gradient(circle, rgba(26, 187, 156, 0.08) 0%, transparent 70%);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.06);
    border-color: rgba(26, 187, 156, 0.15);
}

.solution-icon-wrapper {
    width: 55px;
    height: 55px;
    background: rgba(26, 187, 156, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.solution-card:hover .solution-icon-wrapper {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(26, 187, 156, 0.25);
}

.solution-card .lnr {
    font-size: 26px;
    /* Ícono más pequeño */
    color: var(--primary);
    transition: color 0.4s ease;
}

.solution-card:hover .solution-icon-wrapper .lnr {
    color: white !important;
}

.solution-card h3 {
    font-size: 18px;
    /* Reducido */
    font-weight: 800;
    color: var(--font-dark);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.solution-card p {
    font-size: 13px;
    /* Reducido, estándar de lectura secundaria */
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* Fake Link / CTA */
.solution-link {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    /* Reducido */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.solution-link .lnr {
    font-size: 14px;
    margin-left: 6px;
    transition: transform 0.3s ease;
    color: var(--primary) !important;
}

.solution-card:hover .solution-link .lnr {
    transform: translateX(8px);
}

.solution-card:hover .solution-link {
    color: #11816b;
}

/* Number watermark */
.card-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 50px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.5s ease;
    z-index: 0;
}

.solution-card:hover .card-number {
    color: rgba(26, 187, 156, 0.05);
    transform: scale(1.1) translateY(-5px);
}

/* Timeline Widget Styles */
.timeline {
    list-style: none;
    padding: 0;
}

.timeline .block {
    margin-bottom: 30px;
    border-left: 3px solid var(--primary);
    padding-left: 25px;
}

/* Store Cards Design */
.store-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 187, 156, 0.08);
    border-color: rgba(26, 187, 156, 0.15);
}

.store-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(26, 187, 156, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.store-card:hover .store-icon-wrapper {
    background: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(26, 187, 156, 0.25);
}

.store-icon-wrapper .lnr {
    font-size: 24px;
    color: var(--primary);
    transition: color 0.4s ease;
}

.store-card:hover .store-icon-wrapper .lnr {
    color: white !important;
}

.store-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--font-dark);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.store-role {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.store-details {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    margin-top: auto;
}

.store-detail-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 12px;
    padding: 0 10px;
}

.store-detail-item:last-child {
    margin-bottom: 0;
}

.store-detail-item .lnr {
    font-size: 16px;
    color: var(--primary);
    margin-right: 12px;
}

.store-detail-item span {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    text-align: left;
}

/* About Section Professional Redesign (Split Layout) */
.about-split-wrapper {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.experience-tag {
    display: inline-block;
    background: rgba(26, 187, 156, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(26, 187, 156, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.experience-tag:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(26, 187, 156, 0.25);
    background: var(--primary);
    color: white;
}

.about-title {
    font-size: 24px;
    /* Tamaño reducido según requerimiento */
    font-weight: 800;
    line-height: 1.4;
    color: var(--font-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-title .text-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #11816b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-title:hover .text-primary {
    transform: scale(1.03) rotate(-1deg);
}

.about-description p {
    font-size: 14px;
    color: #666;
    /* Un gris un poco más sólido */
    line-height: 1.7;
    margin-bottom: 18px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.about-split-wrapper:hover .about-description p {
    color: #444;
    /* Oscurece sutilmente al hacer hover en la sección */
}

.about-stats-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    cursor: default;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--font-dark);
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.stat-item:hover .stat-num {
    color: var(--primary);
    transform: scale(1.08);
    /* Dinamismo sutil en números */
}

.stat-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: #666;
}

/* Partner Logos Compact Section */
.partner-logos-compact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px 0;
}

.partner-item {
    font-size: 14px;
    font-weight: 800;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
}

.partner-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.partner-item:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.partner-item:hover::after {
    width: 100%;
}

.partner-sep {
    width: 1px;
    height: 15px;
    background: #ddd;
}

/* Right Column Features */
.about-feature-item {
    display: flex;
    margin-bottom: 35px;
    padding: 25px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-feature-item:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.af-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary);
    font-size: 20px;
    transition: all 0.3s ease;
}

.about-feature-item:hover .af-icon {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.af-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--font-dark);
}

.af-content p {
    margin: 0;
    font-size: 14px;
    color: #777;
    line-height: 1.5;
    font-weight: 400;
}

@media (max-width: 991px) {
    .about-split-wrapper {
        flex-direction: column;
    }

    .about-text-col {
        margin-bottom: 50px;
        text-align: center;
    }

    .about-stats-row {
        justify-content: center;
    }

    .about-feature-item {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Staggered Animation Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Micro-accent shape */
.about-text-col {
    position: relative;
}

.about-text-col:before {
    content: '';
    position: absolute;
    top: -20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: radial-gradient(var(--primary) 20%, transparent 20%);
    background-size: 10px 10px;
    opacity: 0.1;
    z-index: -1;
}

/* Floating Button */
.scrollTop {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s;
    z-index: 999;
}

.scrollTop.show-button {
    opacity: 0.8;
    transform: translateY(0);
}

.scrollTop:hover {
    opacity: 1;
    color: white;
}

/* Premium Footer Styling */
footer.footer-premium {
    padding: 50px 0 20px;
    background: #111418;
    color: #a0a5b0;
    font-size: 14px;
    position: relative;
    border-top: 5px solid var(--primary);
}

.footer-col {
    margin-bottom: 20px;
}

.footer-brand {
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-brand span {
    color: var(--primary);
    font-weight: 300;
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links-premium {
    display: flex;
    gap: 15px;
}

.social-links-premium a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links-premium a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 187, 156, 0.4);
}

.footer-heading {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a5b0;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--primary);
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    margin: 0;
}

.footer-legal {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.footer-legal a {
    color: #a0a5b0;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

@media (max-width: 767px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Features Premium Design */
#features {
    background: #fdfdfd;
}

.feature-box {
    background: white;
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    height: 100%;
    margin-bottom: 30px;
}

.feature-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(26, 187, 156, 0.15);
    border-color: var(--primary);
}

.feature-box .lnr {
    font-size: 50px;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.feature-box:hover .lnr {
    transform: scale(1.1) rotate(5deg);
}

.feature-box h4 {
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: var(--font-dark);
}

/* HowTo / Guía Design (Timeline Style) */
#howto {
    background: white;
}

.step-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 187, 156, 0.08);
    border-color: rgba(26, 187, 156, 0.15);
}

.step-number-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(26, 187, 156, 0.25);
    transition: transform 0.4s ease;
}

.step-card:hover .step-number-wrapper {
    transform: scale(1.15) rotate(10deg);
}

.step-content {
    text-align: center;
}

.step-content h3 {
    margin-top: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--font-dark);
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.step-content p {
    margin-bottom: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* Connecting line visible only on desktop */
@media (min-width: 992px) {
    .step-card::after {
        content: '';
        position: absolute;
        top: 65px;
        right: -30%;
        width: 60%;
        height: 2px;
        background: border-box;
        border-top: 2px dashed rgba(26, 187, 156, 0.3);
        z-index: -1;
    }

    .col-md-3:last-child .step-card::after {
        display: none;
    }
}

/* --- ANIMATIONS SYSTEM --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered Delay for features */
.feature-box:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-box:nth-child(2) {
    transition-delay: 0.3s;
}

.feature-box:nth-child(3) {
    transition-delay: 0.5s;
}