
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
}

.nav-link.active {
    color: #00b4d8 !important;
    font-weight: 600;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    padding-top: 70px;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

.section {
    padding: 90px 0;
}

.card-pro {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .card-pro:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    }

.btn-primary {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
}

.badge-soft {
    background: #e0f7fa;
    color: #0077b6;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.cta-box {
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    border-radius: 20px;
    padding: 60px;
}

.hero {
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    padding-top: 120px;
}



.hero-premium {
    min-height: 100vh;
    background: radial-gradient(circle at 20% 20%, #1b263b, #0d1b2a);
    color: white;
    position: relative;
    overflow: hidden;
}

    /* Glow background */
    .hero-premium::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        background: #00b4d8;
        filter: blur(150px);
        opacity: 0.2;
        top: -100px;
        left: -100px;
    }

/* Text styles */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
}

.hero-subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.gradient-text {
    background: linear-gradient(90deg, #00b4d8, #90e0ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badge */
.badge-premium {
    background: rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Buttons */
.btn-glow {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: white;
    border-radius: 10px;
    padding: 12px 25px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,180,216,0.4);
}

    .btn-glow:hover {
        transform: translateY(-2px);
    }

/* Stats */
.hero-stats div {
    margin-bottom: 8px;
    color: #94a3b8;
}

/* Glass card */
.glass-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Flow UI */
.flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
}

.node {
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 10px;
}

    .node.highlight {
        background: #00b4d8;
        color: #000;
    }

.arrow {
    opacity: 0.6;
}




/* CONTENEDOR MÁS PRO */
.container {
    max-width: 1200px;
}

/* TIPOGRAFÍA */
h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

p {
    font-size: 1rem;
}

/* SECCIONES MÁS RESPIRABLES */
.section {
    padding: 100px 0;
}

/* TARJETAS PREMIUM */
.card-pro {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    background: white;
    transition: all 0.3s ease;
}

    .card-pro:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

/* ICONOS */
.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0f7fa;
    font-size: 22px;
    margin-bottom: 15px;
}

/* TITULOS CON SUBTEXTO */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header p {
        color: #6b7280;
    }

/* DIVISOR SUAVE */
.divider {
    height: 1px;
    background: #e5e7eb;
    margin: 60px 0;
}





input, textarea {
    border-radius: 10px !important;
    padding: 10px;
}

    input:focus, textarea:focus {
        border-color: #00b4d8;
        box-shadow: 0 0 0 0.2rem rgba(0,180,216,0.2);
    }

.btn {
    transition: all 0.2s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

section:nth-child(even) {
    background-color: #f8fafc;
}

.card-pro.border-primary {
    border: 2px solid #00b4d8 !important;
    background: linear-gradient(180deg, #ffffff, #f0fbff);
}



/* CARD BASE PRO */
.card-soft {
    background: white;
    border-radius: 18px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

    .card-soft:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    }

/* ICONO PRO */
.icon-soft {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e0f7fa, #caf0f8);
}

/* TITULO */
.card-soft h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* TEXTO */
.card-soft p {
    color: #6b7280;
    margin-bottom: 0;
}



/* BADGE */
.badge-soft {
    background: #e0f7fa;
    color: #0077b6;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* CARD DERECHA */
.authority-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* STATS */
.authority-stat {
    margin-bottom: 20px;
}

    .authority-stat h3 {
        margin: 0;
        font-weight: 700;
        color: #00b4d8;
    }

    .authority-stat p {
        margin: 0;
        color: #6b7280;
    }




/* CARD */
.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

    .pricing-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    }

    /* PLAN DESTACADO */
    .pricing-card.featured {
        border: 2px solid #00b4d8;
        transform: scale(1.03);
    }

/* BADGE */
.badge-plan {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #00b4d8;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* PRECIO */
.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 15px;
}

/* LISTA */
.pricing-card ul li {
    margin-bottom: 10px;
    color: #4b5563;
}



/* Evita que se corten */
.carousel-img {
    max-height: 400px;
    object-fit: contain;
    margin: 0 auto;
}

/* Fondo suave para contraste */
.carousel-inner {
    background: #f8f9fa;
}

/* Flechas SIEMPRE visibles */
.custom-arrow {
    filter: invert(1);
}

/* Mejora caption */
.carousel-caption {
    bottom: 15px;
    left: 15px;
    right: auto;
    text-align: left;
}

/* Hover suave */
.carousel-img:hover {
    transform: scale(1.02);
    transition: all 0.3s ease;
}



/* FLOW BOX */
.flow-box {
    background: white;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

    .flow-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    }

    /* ACTIVO (PUIMX) */
    .flow-box.active {
        border: 2px solid #00b4d8;
        transform: scale(1.05);
    }

/* ICONO */
.flow-icon {
    font-size: 35px;
    margin-bottom: 15px;
}



/* BADGE */
.badge-soft {
    background: #e0f7fa;
    color: #0077b6;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* CARD PRINCIPAL */
.solution-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .solution-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 30px 70px rgba(0,0,0,0.12);
    }

/* COLUMNAS */
.solution-left,
.solution-right {
    flex: 1;
}

    /* TEXTO IZQUIERDA */
    .solution-left h5 {
        font-weight: 600;
    }

    .solution-left p {
        color: #6b7280;
    }

    /* TEXTO DERECHA */
    .solution-right h4 {
        font-weight: 700;
    }

    .solution-right p {
        color: #6b7280;
    }

/* DIVIDER */
.solution-divider {
    font-size: 28px;
    font-weight: bold;
    color: #00b4d8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .solution-card {
        flex-direction: column;
        text-align: center;
    }

    .solution-divider {
        transform: rotate(90deg);
    }
}
