/* ==========================================================================
   1. REGLA DE FONDO HEADER (TU ESTILO EXISTENTE)
   ========================================================================== */
.hero-custom {
    height: 60px; /* Altura fija para el header */
    background: linear-gradient(135deg, #0b1c3d 0%, #1f3c88 100%);
    color: white;
    text-align: center;
}

/* ==========================================================================
   2. CONTENEDOR PRINCIPAL Y LAYOUT
   ========================================================================== */
.inspiration-section {
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.inspiration-container {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================================================
   3. ICONO SUPERIOR (IMAGEN)
   ========================================================================== */
.inspiration-icon-wrapper {
    margin-bottom: 30px;
}

.inspiration-icon-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   4. TIPOGRAFÍA Y TEXTOS (TÍTULO Y SUBTÍTULO)
   ========================================================================== */
.inspiration-title {
    font-size: 72px;
    line-height: 1.05;
    font-weight: 700;
    color: #111111;
    margin: 0 0 24px 0;
    letter-spacing: -2px;
}

.inspiration-subtitle {
    font-size: 20px;
    line-height: 1.5;
    color: #666666;
    margin: 0 0 30px 0;
    font-weight: 400;
}

/* ==========================================================================
   5. BOTONES DE ACCIÓN (JOIN / SEE PLANS)
   ========================================================================== */
.inspiration-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Botón Primario Negro */
.btn-primary {
    background-color: #111111;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #111111;
}

.btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
}

/* Botón Secundario Blanco / Delineado */
.btn-secondary {
    background-color: #00E676;
    color: #0a0a0a;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #00d06d;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,230,118,0.45);
}

.btn-secondary .arrow {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.btn-secondary:hover .arrow {
    transform: translateX(4px);
}


/* ==========================================================================
   6. DISEÑO RESPONSIVE (CELULARES Y TABLETS)
   ========================================================================== */
@media (max-width: 768px) {
    .inspiration-section {
        padding: 50px 16px;
    }

    .inspiration-icon-img {
        width: 150px;
        height: 150px;
    }

    .inspiration-title {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .inspiration-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .inspiration-subtitle br,
    .inspiration-title br {
        display: none; /* Desactiva saltos rígidos en pantallas pequeñas */
    }

    .inspiration-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, 
    .btn-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   7. BURBUJA WHATSAPP (TU ESTILO EXISTENTE)
   ========================================================================== */
.whatsapp-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    text-decoration: none;
    font-family: Arial;
}

.bubble-icon {
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.bubble-icon img {
    width: 28px;
    height: 28px;
}

.bubble-text {
    background: white;
    padding: 10px 14px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    font-size: 14px;
    color: #333;
}

.hidden {
    display: none;
}

/* ==========================================================================
   8. SECCIÓN CARRUSEL DE CAPTURAS DE LA APP
   ========================================================================== */
.app-screenshots-section {
    width: 100%;
    padding: 60px 0 80px 0;
    background-color: #fafafa;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid #eaeaea;
    overflow: hidden; /* Evita que las tarjetas sobresalgan del sitio */
}

.screenshots-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Encabezado de la Sección */
.screenshots-header {
    margin-bottom: 40px;
    padding: 0 20px;
}

.screenshots-title {
    font-size: 40px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 12px 0;
    letter-spacing: -1px;
}

.screenshots-subtitle {
    font-size: 18px;
    color: #666666;
    margin: 0;
    font-weight: 400;
}

/* ==========================================================================
   9. CARRUSEL DINÁMICO (SIN SCROLLBAR)
   ========================================================================== */
/* Reemplazar la sección del carrusel por esto: */
.carousel-wrapper {
    width: 100%;             /* Cambiar 100vw por 100% */
    max-width: 100%;
    margin-left: 0;          /* Eliminar -50vw */
    margin-right: 0;
    left: 0;                 /* Eliminar left: 50% */
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    
    /* Ocultar barra de scroll en todos los navegadores */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE y Edge */
    -webkit-overflow-scrolling: touch;
}

/* Ocultar barra de scroll en Chrome, Safari y Opera */
.carousel-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    gap: 24px;
    justify-content: flex-start;
    align-items: stretch;
    width: max-content;
    padding: 0 20px;
}

/* Tarjeta individual */
.carousel-item {
    flex: 0 0 280px;
    background: #ffffff;
    border-radius: 20px;
    padding: 16px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none; /* Evita seleccionar imágenes al arrastrar */
}

.carousel-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    pointer-events: none; /* Para arrastrar fluido con el mouse */
}

.item-caption {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-top: 14px;
    margin-bottom: 4px;
}

/* ==========================================================================
   10. AJUSTES RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .app-screenshots-section {
        padding: 40px 0 60px 0;
    }

    .screenshots-title {
        font-size: 28px;
    }

    .screenshots-subtitle {
        font-size: 15px;
    }

    .carousel-item {
        flex: 0 0 230px;
        padding: 12px;
    }
}

/* ==========================================================================
   11. MOBBIN INSPIRED - AGREGADOS (NO PISAN LO EXISTENTE)
   ========================================================================== */
.mobbin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f2f2f2;
  border: 1px solid #e8e8e8;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}
.mobbin-badge-dot {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37,211,102,0.15);
}

.mobbin-trust {
  width: 100%;
  background: #111;
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.2px;
}
.mobbin-trust-stars { color: #FFC24C; letter-spacing: 2px; }

/* MOBBIN FRAME para tu carrusel - solo envolvé tu <img> con esto */
.carousel-item img {
  border: 6px solid #111;
  border-radius: 32px !important;
  box-shadow: 
    0 0 0 1px rgba(0,0,0,0.05),
    0 20px 40px rgba(0,0,0,0.12);
  aspect-ratio: 9/19.5; /* proporción iPhone real como en Mobbin */
}

.carousel-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.carousel-item:hover {
  transform: translateY(-8px) scale(1.02) !important;
}

/* ==========================================================================
   12. BADGE GENERAL
   ========================================================================== */

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f2f2f2;
    border: 1px solid #e6e6e6;
    padding: 7px 15px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: #111;
    letter-spacing: .3px;
    margin-bottom: 22px;
}

.section-badge-dot {
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(37,211,102,.12);
}


/* ==========================================================================
   13. SECCIÓN — CÓMO FUNCIONA TURBO OBD
   ========================================================================== */

.how-it-works-section {
    width: 100%;
    padding: 130px 20px 120px;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    overflow: hidden;
}

.how-it-works-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}


/* ==========================================================================
   BADGE
   ========================================================================== */

.how-it-works-section .section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}


/* ==========================================================================
   TITULO PRINCIPAL
   ========================================================================== */

.how-it-works-title {
    max-width: 850px;
    margin: 0 auto 22px;
    text-align: center;

    font-size: 58px;
    line-height: 1.06;
    letter-spacing: -2.8px;
    font-weight: 700;

    color: #111111;
}

.how-it-works-title span {
    color: #8a8a8a;
}


/* ==========================================================================
   SUBTITULO
   ========================================================================== */

.how-it-works-subtitle {
    max-width: 720px;
    margin: 0 auto 95px;

    text-align: center;

    font-size: 18px;
    line-height: 1.65;
    font-weight: 400;

    color: #666666;
}


/* ==========================================================================
   FLUJO COMPLETO
   ========================================================================== */

.diagnostic-flow {
    position: relative;
    width: 100%;
}


/* ==========================================================================
   PASO INDIVIDUAL
   ========================================================================== */

.flow-step {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 90px;

    min-height: 480px;

    margin-bottom: 110px;
}


/* ==========================================================================
   LINEA CENTRAL DE CONEXIÓN
   ========================================================================== */

.flow-step:not(:last-child)::after {
    content: "";

    position: absolute;

    width: 1px;
    height: 110px;

    left: 50%;
    bottom: -110px;

    background: linear-gradient(
        to bottom,
        #d8d8d8,
        transparent
    );
}


/* ==========================================================================
   PASOS IMPARES
   ========================================================================== */

.flow-step:not(.flow-step-reverse) .flow-info {
    order: 1;
}

.flow-step:not(.flow-step-reverse) .flow-image {
    order: 2;
}


/* ==========================================================================
   PASOS PARES
   ========================================================================== */

.flow-step.flow-step-reverse .flow-info {
    order: 2;
}

.flow-step.flow-step-reverse .flow-image {
    order: 1;
}


/* ==========================================================================
   INFORMACIÓN DEL PASO
   ========================================================================== */

.flow-info {
    position: relative;
    max-width: 470px;
}

.flow-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 28px;

    border-radius: 50%;

    background: #111111;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .5px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.12);
}

.flow-info h3 {
    margin: 0 0 16px;

    font-size: 32px;
    line-height: 1.15;

    letter-spacing: -1.2px;

    color: #111111;
    font-weight: 700;
}

.flow-info p {
    max-width: 440px;

    margin: 0;

    font-size: 16px;
    line-height: 1.75;

    color: #707070;
}


/* ==========================================================================
   IMAGEN DEL PASO
   ========================================================================== */

.flow-image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
}


/* ==========================================================================
   CONTENEDOR VISUAL DE IMAGEN
   ========================================================================== */

.flow-image::before {
    content: "";

    position: absolute;

    width: 82%;
    height: 82%;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(37,211,102,.08) 0%,
        rgba(37,211,102,.035) 40%,
        transparent 72%
    );

    z-index: 0;

    pointer-events: none;
}


/* ==========================================================================
   IMAGEN
   ========================================================================== */

.flow-image img {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    max-width: 440px;
    height: auto;

    object-fit: contain;

    border-radius: 28px;

    box-shadow:
        0 25px 60px rgba(0,0,0,.10),
        0 5px 15px rgba(0,0,0,.05);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.flow-image:hover img {
    transform: translateY(-8px) scale(1.015);

    box-shadow:
        0 35px 80px rgba(0,0,0,.14),
        0 8px 20px rgba(0,0,0,.06);
}


/* ==========================================================================
   ETIQUETA DE IMAGEN
   ========================================================================== */

.flow-image-label {
    position: absolute;

    top: -15px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 3;

    padding: 8px 15px;

    background: rgba(255,255,255,.95);

    border: 1px solid #e8e8e8;

    border-radius: 100px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.08);

    color: #555555;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;

    white-space: nowrap;
}


/* ==========================================================================
   RESULTADO FINAL
   ========================================================================== */

.diagnostic-result {
    position: relative;

    display: flex;
    justify-content: center;

    margin-top: 20px;
    padding-top: 95px;

    text-align: center;
}


/* Línea superior */

.result-line {
    position: absolute;

    top: 0;
    left: 50%;

    width: 1px;
    height: 70px;

    transform: translateX(-50%);

    background: linear-gradient(
        to bottom,
        #d8d8d8,
        transparent
    );
}


/* Contenido */

.result-content {
    max-width: 650px;
}

.result-label {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 7px 14px;

    margin-bottom: 20px;

    border-radius: 100px;

    background: #111111;
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
}

.result-content h3 {
    margin: 0 0 15px;

    font-size: 34px;
    line-height: 1.15;

    letter-spacing: -1.2px;

    color: #111111;
}

.result-content p {
    margin: 0 auto;

    max-width: 590px;

    font-size: 16px;
    line-height: 1.7;

    color: #707070;
}


/* ==========================================================================
   15. SECCIÓN RESULTADO / IA
   ========================================================================== */

.ai-result-section {
    position: relative;

    width: 100%;

    padding: 140px 20px;

    background: #111111;
    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    box-sizing: border-box;

    overflow: hidden;
}


/* Sutil iluminación de fondo */

.ai-result-section::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    top: 50%;
    right: -250px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(37,211,102,.10),
        transparent 65%
    );

    pointer-events: none;
}


/* ==========================================================================
   CONTENEDOR
   ========================================================================== */

.ai-result-container {
    position: relative;
    z-index: 1;

    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 430px;

    align-items: center;

    gap: 100px;
}


/* ==========================================================================
   CONTENIDO
   ========================================================================== */

.ai-result-content {
    max-width: 590px;
}

.dark-badge {
    background: #1d1d1d;

    border-color: #303030;

    color: #ffffff;
}

.ai-result-title {
    margin: 0 0 25px;

    font-size: 52px;
    line-height: 1.06;

    letter-spacing: -2.5px;

    font-weight: 700;

    color: #ffffff;
}

.ai-result-title span {
    display: block;

    color: #777777;
}

.ai-result-text {
    max-width: 520px;

    margin: 0;

    font-size: 17px;
    line-height: 1.75;

    color: #aaaaaa;
}


/* ==========================================================================
   TELÉFONO
   ========================================================================== */

.ai-result-image {
    display: flex;

    justify-content: center;

    position: relative;
}


/* Glow detrás del teléfono */

.ai-result-image::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 500px;

    border-radius: 50%;

    background: radial-gradient(
        ellipse,
        rgba(255,255,255,.08),
        transparent 70%
    );

    filter: blur(20px);

    z-index: 0;
}


/* Marco */

.ai-phone-frame {
    position: relative;
    z-index: 1;

    width: 300px;

    padding: 9px;

    background: #050505;

    border: 1px solid #333333;

    border-radius: 38px;

    box-shadow:
        0 35px 90px rgba(0,0,0,.65),
        0 0 0 1px rgba(255,255,255,.03);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.ai-phone-frame:hover {
    transform: translateY(-10px) rotate(1deg);

    box-shadow:
        0 45px 110px rgba(0,0,0,.75);
}

.ai-phone-frame img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 30px;
}


/* ==========================================================================
   16. RESPONSIVE — TABLETS
   ========================================================================== */

@media (max-width: 1000px) {

    .how-it-works-title {
        font-size: 48px;
    }

    .flow-step {
        gap: 55px;
    }

    .flow-info h3 {
        font-size: 28px;
    }

    .ai-result-container {
        grid-template-columns: 1fr 350px;
        gap: 60px;
    }

    .ai-result-title {
        font-size: 44px;
    }

}


/* ==========================================================================
   17. RESPONSIVE — CELULARES
   ========================================================================== */

@media (max-width: 768px) {

    .how-it-works-section {
        padding: 85px 18px 90px;
    }

    .how-it-works-title {
        font-size: 38px;
        line-height: 1.08;

        letter-spacing: -1.5px;

        margin-bottom: 18px;
    }

    .how-it-works-subtitle {
        font-size: 15px;
        line-height: 1.65;

        margin-bottom: 65px;
    }


    /* ==========================================
       FLUJO MOBILE
       ========================================== */

    .flow-step,
    .flow-step.flow-step-reverse {
        display: flex;

        flex-direction: column;

        gap: 35px;

        min-height: auto;

        margin-bottom: 90px;
    }


    /* Orden siempre texto → imagen */

    .flow-step .flow-info,
    .flow-step.flow-step-reverse .flow-info {
        order: 1;
    }

    .flow-step .flow-image,
    .flow-step.flow-step-reverse .flow-image {
        order: 2;
    }


    /* Línea */

    .flow-step:not(:last-child)::after {
        left: 50%;

        bottom: -90px;

        height: 70px;
    }


    /* Información */

    .flow-info {
        width: 100%;

        max-width: 500px;

        text-align: center;

        margin: 0 auto;
    }

    .flow-number {
        width: 44px;
        height: 44px;

        margin-bottom: 20px;
    }

    .flow-info h3 {
        font-size: 27px;

        letter-spacing: -.8px;

        margin-bottom: 12px;
    }

    .flow-info p {
        font-size: 15px;

        line-height: 1.65;

        margin: 0 auto;
    }


    /* Imagen */

    .flow-image {
        width: 100%;

        padding: 0 5px;

        box-sizing: border-box;
    }

    .flow-image img {
        width: 100%;

        max-width: 370px;

        border-radius: 24px;
    }

    .flow-image-label {
        top: -12px;

        font-size: 9px;

        padding: 7px 12px;
    }


    /* Resultado */

    .diagnostic-result {
        padding-top: 75px;
    }

    .result-line {
        height: 55px;
    }

    .result-content h3 {
        font-size: 28px;
    }

    .result-content p {
        font-size: 15px;
    }


    /* ==========================================
       IA
       ========================================== */

    .ai-result-section {
        padding: 90px 20px;
    }

    .ai-result-container {
        display: flex;

        flex-direction: column;

        gap: 65px;

        text-align: center;
    }

    .ai-result-content {
        max-width: 600px;
    }

    .ai-result-title {
        font-size: 38px;

        letter-spacing: -1.5px;
    }

    .ai-result-title span {
        margin-top: 4px;
    }

    .ai-result-text {
        margin: 0 auto;

        font-size: 15px;

        line-height: 1.7;
    }

    .ai-phone-frame {
        width: 260px;

        border-radius: 34px;
    }

    .ai-phone-frame img {
        border-radius: 27px;
    }

}


/* ==========================================================================
   18. RESPONSIVE — CELULARES PEQUEÑOS
   ========================================================================== */

@media (max-width: 480px) {

    .how-it-works-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .how-it-works-title {
        font-size: 34px;
    }

    .how-it-works-subtitle {
        font-size: 14px;

        margin-bottom: 55px;
    }

    .flow-step {
        margin-bottom: 80px;
    }

    .flow-info h3 {
        font-size: 25px;
    }

    .flow-info p {
        font-size: 14px;
    }

    .flow-image img {
        border-radius: 21px;
    }

    .result-content h3 {
        font-size: 26px;
    }

    .ai-result-title {
        font-size: 34px;
    }

    .ai-phone-frame {
        width: 245px;
    }

}

/* ==========================================================================
   19. SECCIÓN: FUNCIONES PRO (CONTENIDO CENTRADO)
   ========================================================================== */

.features-section {
    width: 100%;
    padding: 130px 20px;
    background: #fafafa;
    border-top: 1px solid #eeeeee;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.features-container {
    max-width: 1140px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 70px;
}

.features-title {
    font-size: 52px;
    line-height: 1.08;
    font-weight: 700;
    color: #111111;
    letter-spacing: -2px;
    margin: 0 0 16px 0;
}

.features-title span {
    color: #888888;
}

.features-subtitle {
    font-size: 18px;
    color: #666666;
    margin: 0;
    font-weight: 400;
}

/* Grilla Responsiva */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 28px;
}

/* Tarjeta Individual Centrada */
.features-section .feature-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 24px;
    padding: 40px 30px 36px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra el icono y elementos horizontalmente */
    text-align: center;  /* Centra todos los textos e interlineados */
    overflow: hidden;
}

.features-section .feature-card:hover {
    transform: translateY(-6px);
    border-color: #e0e0e0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* Tarjeta destacada (IA) */
.feature-card-highlight {
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
    border: 1px solid #d0e1fd !important;
}

.card-badge {
    position: absolute;
    top: 18px;
    right: 50%;
    transform: translateX(50%); /* Posicionado al centro superior */
    background: #111111;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

/* Iconos SVG Centrados */
.feature-icon-box {
    width: 56px;
    height: 56px;
    background: #111111;
    color: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

/* Ajuste de margen para la card que lleva badge */
.feature-card-highlight .feature-icon-box {
    margin-top: 16px;
}

.features-section .feature-card:hover .feature-icon-box {
    transform: scale(1.08) rotate(-3deg);
}

.features-section .feature-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.features-section .feature-card p {
    font-size: 15px;
    line-height: 1.65;
    color: #666666;
    margin: 0;
}


/* ==========================================================================
   20. SECCIÓN: CTA FINAL (CORREGIDO PARA NO ROMPER EL FOOTER)
   ========================================================================== */

.final-cta-section {
    position: relative;
    width: 100%;
    padding: 120px 20px;
    background-color: #111111;
    color: #ffffff;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    overflow: hidden; /* Corta resplandores que invadan el footer */
    z-index: 1;
}

/* Resplandor sutil de fondo (Aislado) */
.cta-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, rgba(31, 60, 136, 0.2) 50%, transparent 70%);
    filter: blur(50px);
    pointer-events: none; /* EVITA bloquear clics en el footer */
    z-index: 0;
}

.final-cta-container {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-cta-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
    margin-bottom: 28px;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
}

.final-cta-section h2 {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -2px;
    margin: 0 0 16px 0;
    line-height: 1.1;
}

.final-cta-section p {
    font-size: 19px;
    color: #aaaaaa;
    margin: 0 0 40px 0;
    font-weight: 400;
    max-width: 580px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.final-cta-button {
    background-color: #ffffff;
    color: #111111;
    padding: 20px 42px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.final-cta-button:hover {
    background-color: #f4f4f4;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.cta-note {
    font-size: 13px;
    color: #777777;
    font-weight: 500;
}

.btn-secondary{
    background: #00E676 !important;
    color: #0a0a0a !important;
    box-shadow: 0 8px 24px rgba(0,230,118,0.35) !important;
    font-size: 18px !important;
    padding: 18px 36px !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.inspiration-buttons{
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}


/* STICKY BAR - LADO A LADO FONDO BLANCO, NO TAPA */
#turbo-sticky-bar{
  position:fixed; bottom:0; left:0; width:100%;
  background: #ffffff;
  border-top:1px solid #E8E8EA;
  padding:14px 16px; z-index:999999;
  display:flex; justify-content:center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  transform: translateY(100%);
  opacity:0;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
  pointer-events:none;
}
#turbo-sticky-bar.visible{
  transform: translateY(0);
  opacity:1;
  pointer-events:auto;
}
#btn-turbo-sticky{
  background: #00E676;
  color:#0a0a0a; width:100%; max-width:480px;
  padding:14px 24px; border-radius:999px;
  font-weight:900; text-decoration:none;
  display:flex; align-items:center; justify-content:center; gap:12px;
  box-shadow: 0 4px 16px rgba(0,230,118,0.3);
  line-height:1.1;
}
#btn-turbo-sticky .sticky-icon{ font-size:20px; }
#btn-turbo-sticky .sticky-copy{ display:flex; flex-direction:column; align-items:flex-start; }
#btn-turbo-sticky .sticky-text{ font-size:15px; line-height:1; }
#btn-turbo-sticky .sticky-sub{ font-size:11px; font-weight:600; opacity:0.65; margin-top:2px; }
body.has-sticky{ padding-bottom:84px !important; }
.whatsapp-bubble, .bubble-text, .bubble-icon { display:none !important; }



/* ===== GOOGLE PLAY STYLE HERO ===== */
.playstore-hero{
  background:#fff; padding:20px 16px 12px; font-family:'Poppins', sans-serif;
  border-bottom:1px solid #e8eaed;
}
.playstore-container{ max-width:1100px; margin:0 auto; }
.play-header{ display:flex; gap:18px; align-items:flex-start; }
.play-icon{
  width:84px; height:84px; border-radius:20px; box-shadow:0 2px 8px rgba(0,0,0,0.15); flex-shrink:0;
}
.play-title{ font-size:24px; font-weight:700; color:#202124; margin:0 0 2px 0; line-height:1.2; }
.play-dev{ font-size:14px; color:#01875f; font-weight:500; margin-bottom:2px; }
.play-contains{ font-size:12px; color:#5f6368; }
.play-stats{
  display:flex; align-items:center; justify-content:space-between; margin:18px 0 0 0;
  padding:12px 0; border-top:1px solid #f1f3f4; border-bottom:1px solid #f1f3f4;
}
.play-stat{ flex:1; text-align:center; display:flex; flex-direction:column; }
.play-stat b{ font-size:15px; color:#202124; font-weight:700; line-height:1; }
.play-stat span{ font-size:12px; color:#5f6368; margin-top:4px; }
.play-stat-divider{ width:1px; height:32px; background:#e8eaed; }

.play-install-wrap{ margin:16px 0 14px; text-align:center; }
.btn-play-install{
  display:block; width:100%; background:#00E676; color:#0a0a0a; 
  padding:14px 24px; border-radius:8px; font-size:15px; font-weight:800;
  text-decoration:none; text-align:center; letter-spacing:0.2px;
  box-shadow:none; border:none;
}
.btn-play-install:hover{ background:#00d06d; }
.play-badge-android{
  margin-top:10px; font-size:11px; color:#5f6368; display:inline-flex; align-items:center; gap:6px;
  background:#f8f9fa; padding:6px 12px; border-radius:100px;
}

.play-screenshots{
  display:flex; gap:10px; overflow-x:auto; padding:8px 0 12px; 
  scrollbar-width:none; -webkit-overflow-scrolling:touch;
}
.play-screenshots::-webkit-scrollbar{ display:none; }
.play-screenshot{ flex:0 0 160px; height:320px; border-radius:12px; overflow:hidden; border:1px solid #e8eaed; background:#f8f9fa; }
.play-screenshot img{ width:100%; height:100%; object-fit:cover; display:block; }

.play-desc{
  font-size:14px; text-align: center; color:#4a4e51; line-height:1.5; margin:10px 0 6px; padding:0 2px;
}

@media(min-width:800px){
  .playstore-hero{ padding:30px 24px 20px; }
  .play-icon{ width:96px; height:96px; border-radius:22px; }
  .play-title{ font-size:28px; }
  .btn-play-install{ max-width:340px; margin:0 auto; border-radius:24px; }
  .play-screenshot{ flex:0 0 200px; height:400px; }
}

