/* ================================
   SENSORIA LANDING PAGE STYLES
   ================================ */

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes counter {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 2.5s cubic-bezier(0.16, 1, 0.3, 1); /* Aumentado de 0.5s a 2.5s */
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation with delays */
.animate-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: all 2.5s cubic-bezier(0.16, 1, 0.3, 1); /* Aumentado de 0.5s a 2.5s */
}

.animate-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button hover animations */
.btn-hover {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hover:hover {
    transform: scale(1.02) translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-hover:active {
    transform: scale(0.98);
}

/* Logo hover animation - ELIMINADO COMPLETAMENTE */

/* Card hover animations */
.card-hover {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Navigation link animations - ELIMINADO COMPLETAMENTE */

/* Form input animations */
.form-input {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    border-radius: 0.6rem !important;
}

/* Apple-Inspired Animation Philosophy */
/* Soft, elegant transitions with natural timing */

/* Enhanced Button Hover States */
.btn-hover {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hover:hover {
    transform: scale(1.02) translateY(-1px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}



/* Enhanced Form Focus States */
.form-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
    border-color: #546270;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Scroll-triggered Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 2.5s cubic-bezier(0.16, 1, 0.3, 1); /* Aumentado de 0.5s a 2.5s */
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Metric Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.proven-number {
    animation: countUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Enhanced Navigation Link Hover - ELIMINADO COMPLETAMENTE */

/* Footer Link Hover Effects */
footer a {
    transition: all 3s cubic-bezier(0.16, 1, 0.3, 1); /* Aumentado a 3s */
}

footer a:hover {
    transform: translateX(2px);
}



/* Card Hover Enhancements */
.card-hover {
    transition: all 3s cubic-bezier(0.16, 1, 0.3, 1); /* Aumentado a 3s */
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Tech Logo Hover Enhancements */
.tech-logo {
    transition: all 3s cubic-bezier(0.16, 1, 0.3, 1); /* Aumentado a 3s */
}

.tech-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.15);
}

/* SVG Icons Global Styles - All Viewports */
#contact .w-24.h-24 {
    width: 1.875rem !important; /* 30% más grande que 1.5rem */
    height: 1.875rem !important;
    color: white !important;
}

/* Footer Logo White */
footer img[src*="sensoria_logo.svg"] {
    filter: brightness(0) invert(1) !important;
}

.form-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Hero badge floating animation */
.hero-badge {
    animation: float 3s ease-in-out infinite;
}

/* Metric counter glow effect */
.metric-glow {
    transition: all 0.3s ease;
}

.metric-glow:hover {
    text-shadow: 0 0 10px rgba(26, 53, 33, 0.3);
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* Custom Tailwind overrides */
.py-6 {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
}

.w-20 {
    width: 3rem !important;
}

.h-20 {
    height: 3rem !important;
}

.text-body {
    padding-top: 12px !important;
    font-size: 1.15rem !important;
}

/* Removed .max-w-lg override to allow proper height control */

/* Typography hierarchy overrides */
.text-h1 {
    font-size: 3.7rem !important;
    line-height: 1.2 !important;
}

.text-h2 {
    font-size: 2.96rem !important;
    line-height: 1.3 !important;
}

.text-h3 {
    font-size: 2.22rem !important;
    line-height: 1.4 !important;
}

.text-h4 {
    font-size: 1.16rem !important;
    line-height: 3 !important;
}

/* Hero device image specific styling */
.hero-device-image {
    height: 500px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    opacity: 0;
    animation: heroImageFadeIn 2.5s ease-out 0.8s forwards; /* Aumentado y con delay */
}





/* Mobile background decoration */


/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #3c4043;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(84, 98, 112, 0.3);
}

.scroll-to-top:hover {
    background-color: #2f373f;
    transform: translateY(0) scale(1.05);
    box-shadow: 0 6px 16px rgba(84, 98, 112, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    color: white !important;
    width: 28px !important;
    height: 28px !important;
}

/* Technology section icons - reduce 50% */
#technology .w-20 {
    width: 2.5rem !important; /* Era 5rem (w-20), ahora 2.5rem (50% menos) */
}

#technology .h-20 {
    height: 2.5rem !important; /* Era 5rem (h-20), ahora 2.5rem (50% menos) */
}

/* Workspace section icons adjustments */
#workspace .w-20 {
    width: 2.55rem !important;
}

#workspace .h-20 {
    height: 2.5rem !important;
}

/* Workspace carousel-image width adjustment */
#workspace .carousel-image .w-full {
    width: auto !important;
}





/* Mobile responsive adjustments */
@media (max-width: 767px) {
    body {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 60px 0 0 0 !important; /* Mobile: 100px - 40px = 60px superior */
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    html {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Forzar ancho correcto en móvil */
    .max-w-screen-xl {
        max-width: 100vw !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        box-sizing: border-box !important;
    }
    
    /* Grid de una sola columna en móvil */
    .mobile-single-column {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Texto en primera fila */
    .mobile-text-row {
        grid-column: 1 !important;
        order: 1 !important;
        text-align: center !important;
    }
    
    /* Imagen en segunda fila */
    .mobile-image-row {
        grid-column: 1 !important;
        order: 2 !important;
        justify-content: center !important;
    }
    
    /* Tamaño de imagen en móvil */
    .mobile-image-size {
        width: 160px !important;
        height: 160px !important;
    }
    
    /* Compliance Section - H3 centrado */
    .compliance-h3-center {
        text-align: center !important;
    }
    
    /* Compliance Section - SVG margin-right 1rem */
    .compliance-svg-margin {
        margin-right: 1rem !important;
    }
    
    /* Compliance Section - Texto font-size 1rem */
    .compliance-text-size {
        font-size: 1rem !important;
    }
    
    /* Todos los iconos SVG en móvil - 2.4rem */
    .w-20.h-20 {
        width: 2.4rem !important;
        height: 2.4rem !important;
    }
    
    /* Asegurar que todos los iconos Lucide tengan el tamaño correcto */
    i[data-lucide] {
        width: 2.4rem !important;
        height: 2.4rem !important;
    }
    
    /* Estilo para el texto de 'Live data from 3 active office environments' */
    .live-data-text-size {
        font-size: 17px !important;
    }
    
    /* Estilo para 'CONFIDENCE ACHIEVED IN 3 MONTHS' solo en móvil */
    .confidence-text-mobile {
        font-size: 11px !important;
    }
    
    /* Early Access Benefits - H3 centrado */
    .early-access-center {
        text-align: center !important;
    }
    
    /* Contact Section - Párrafo específico */
    .contact-section-text {
        font-size: 16px !important;
        text-align: center !important;
    }
    
    /* Contact Section - Párrafos generales */
    #contact p {
        font-size: 1.05rem !important;
    }
    
    /* Contact Section - Early Access Benefits - font-inter text-body */
    #contact .font-inter.text-body {
        font-size: 1.05rem !important;
    }
    

    

    
    .hero-device-image {
        height: 300px !important;
        max-width: 350% !important;
        margin-top: 4rem !important;
    }
    
    /* Header elements - ELIMINADO COMPLETAMENTE */
    
    /* Mobile typography scaling */
    .text-h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .text-h2 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    .text-h3 {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
    }
    
    .text-h4 {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }
}



@keyframes heroImageFadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Carousel Styles */
.image-carousel-container {
    width: 100%;
    height: 100%;
    margin: 0;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.carousel-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    background: #fafafa;
    border-radius: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin: 0;
}

.carousel-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

/* Carousel Navigation Dots */
.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dot:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #6b7280;
    transform: scale(1.3);
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #546270;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
}

.image-carousel-container:hover .carousel-arrow {
    opacity: 1;
    visibility: visible;
}

.carousel-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Carousel column wrapper for full height */
.carousel-column-wrapper {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.carousel-column-wrapper .image-carousel-container {
    display: flex;
    align-items: stretch;
    height: 100%;
    width: 100%;
}

.carousel-column-wrapper .image-carousel {
    border-radius: 0 12px 12px 0; /* Only right side rounded to match container */
    background: #ffffff;
    border: none;
    box-shadow: none;
    width: 100%;
}

/* Responsive adjustments for carousel */
@media (max-width: 1023px) {
    /* Restore mobile layout for the module */
    .bg-white.rounded-medium .grid.lg\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    .carousel-column-wrapper {
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .carousel-column-wrapper .image-carousel {
        height: 250px !important;
        min-height: 250px !important;
    }
    
    .image-carousel-container {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .carousel-placeholder {
        padding: 20px !important;
        border-radius: 12px !important;
        margin: 20px !important;
        height: calc(100% - 40px) !important;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        opacity: 1;
        visibility: visible;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
}

/* Tech Stack Logos Carousel */
.logos-carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 48px 0;
}

.logos-carousel-track {
    display: flex;
    animation: scroll 60s linear infinite;
    width: max-content;
}



.logos-carousel-slide {
    flex-shrink: 0;
    margin: 0 38px; /* 20% más separación (32px * 1.2 = 38px) */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-logo {
    height: 58px !important;
    width: auto !important;
    max-width: 156px !important;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.tech-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Mobile responsive - one by one */
@media (max-width: 767px) {
    .logos-carousel-container {
        padding: 32px 0;
    }
    
    .logos-carousel-slide {
        margin: 0 24px; /* Less spacing on mobile */
        min-width: 120px; /* Ensure consistent width */
    }
    
    .tech-logo {
        height: 52px !important; /* 30% bigger on mobile too */
        max-width: 130px !important;
    }
    
    /* Slower animation on mobile */
    .logos-carousel-track {
        animation: scroll 90s linear infinite;
    }
}

/* Pause animation on hover */
.logos-carousel-container:hover .logos-carousel-track {
    animation-play-state: paused;
}

/* Ensure background covers full width */
.bg-primary-50.w-full {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Animated Green Background for Proven Section */
.green-cta-block {
  width: 100%;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: 400% 400%;
  background-image: linear-gradient(-45deg, #2E8B57 0%, #349663 25%, #2A7A4F 51%, #18472d 100%);
  -webkit-animation: AnimateGreenBG 8s ease-in-out infinite;
          animation: AnimateGreenBG 8s ease-in-out infinite;
}

@-webkit-keyframes AnimateGreenBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes AnimateGreenBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Proven Section Numbers */
.proven-number {
    font-size: 5.25rem !important;
    line-height: 5.5rem !important;
}

/* Custom Padding Y Class */
.py-80 {
    padding-top: 17.5rem !important;
    padding-bottom: 17.5rem !important;
}

/* Proven Data Carousel Styles - Mobile Only */
@media (max-width: 1023px) {
    .proven-data-carousel-container {
        overflow: hidden;
        position: relative;
        width: 100%;
        padding: 48px 0;
    }

    .proven-data-carousel-track {
        display: flex;
        animation: scrollProvenData 30s linear infinite;
        width: max-content;
    }

    .proven-data-carousel-slide {
        flex-shrink: 0;
        margin: 0 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 300px;
    }

    @keyframes scrollProvenData {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }

    /* Pause animation on hover */
    .proven-data-carousel-container:hover .proven-data-carousel-track {
        animation-play-state: paused;
    }
}

/* Desktop layout - Original flex layout */
@media (min-width: 1024px) {
    .proven-data-carousel-container {
        display: none !important;
    }
    
    /* Show original flex layout on desktop */
    .proven-original-layout {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 48px !important;
        margin-bottom: 48px !important;
    }
}

/* Compliance Boxes Shimmer Light Effect */
#compliance .bg-primary-50 {
    position: relative;
    overflow: hidden;
}

#compliance .bg-primary-50::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 15%,
        rgba(255, 255, 255, 0.95) 50%,
        transparent 85%,
        transparent 100%
    );
    animation: complianceShimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    transform: translateZ(0);
}

#compliance .bg-primary-50 > * {
    position: relative;
    z-index: 2;
}

@keyframes complianceShimmer {
    0% {
        transform: translateX(0) translateZ(0);
    }
    100% {
        transform: translateX(100%) translateZ(0);
    }
}

/* Counter numbers animation */
.cases-counter {
    display: inline-block;
    font-weight: bold;
    transition: all 0.1s ease;
}

/* AI Accordion Simple */

.ai-accordion-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3c4043;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ai-accordion-toggle:hover {
    background-color: #2a2e31;
    box-shadow: 0 4px 12px rgba(60, 64, 67, 0.3);
    transform: translateY(-2px);
}

.ai-accordion-toggle:focus {
    outline: 2px solid #3c4043;
    outline-offset: 2px;
}

/* Arrow pointing up when expanded */
.ai-accordion-toggle[aria-expanded="true"] .ai-accordion-icon {
    transform: rotate(180deg);
}

/* Arrow centered when in expanded content */
.ai-accordion-content .ai-accordion-toggle {
    margin: 16px auto 0;
    display: flex;
}

.ai-accordion-icon {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    width: 1.5rem !important;
    height: 1.5rem !important;
}

.ai-accordion-content {
    transition: max-height 2s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 2s ease;
    opacity: 0;
}

.ai-accordion-content.expanded {
    opacity: 1;
    max-height: none !important;
    height: auto !important;
    max-width: 90% !important;
    margin-left: 0.5rem !important;
}

/* Smooth staggered animation for accordion items */
.ai-accordion-content .space-y-24 > div {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-accordion-content.expanded .space-y-24 > div {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for opening - each item appears progressively */
.ai-accordion-content.expanded .space-y-24 > div:nth-child(1) {
    transition-delay: 0.1s;
}

.ai-accordion-content.expanded .space-y-24 > div:nth-child(2) {
    transition-delay: 0.2s;
}

.ai-accordion-content.expanded .space-y-24 > div:nth-child(3) {
    transition-delay: 0.3s;
}

.ai-accordion-content.expanded .space-y-24 > div:nth-child(4) {
    transition-delay: 0.4s;
}

.ai-accordion-content.expanded .space-y-24 > div:nth-child(5) {
    transition-delay: 0.5s;
}

/* Staggered delay for closing - each item disappears in reverse order */
.ai-accordion-content .space-y-24 > div:nth-child(5) {
    transition-delay: 0.1s;
}

.ai-accordion-content .space-y-24 > div:nth-child(4) {
    transition-delay: 0.2s;
}

.ai-accordion-content .space-y-24 > div:nth-child(3) {
    transition-delay: 0.3s;
}

.ai-accordion-content .space-y-24 > div:nth-child(2) {
    transition-delay: 0.4s;
}

.ai-accordion-content .space-y-24 > div:nth-child(1) {
    transition-delay: 0.5s;
}

/* Feature Cards H4 Styling */
.cajas.text-h4 {
    margin-bottom: 0 !important;
    font-size: 1.5rem !important;
}

/* Feature Cards P Styling */
.feature-card p {
    font-size: 0.9rem !important;
}

/* Accordion Titles */
.accordion-title {
    font-size: 1.6rem !important;
}

/* CTA Buttons */
.bg-cta {
    background-color: #3c4043 !important;
    border-radius: 35px !important;
}

.bg-cta:hover {
    background-color: #2a2e31 !important;
}

/* Reserve Early Access Button */
.bg-primary-800 {
    background-color: #3c4043 !important;
    border-radius: 35px !important;
}

.bg-primary-800:hover {
    background-color: #2a2e31 !important;
}

/* Accordion H4 Line Height */
h4.font-inter.text-h4.text-primary-700 {
    line-height: 2rem !important;
}

/* Desktop accordion content adjustments */
@media (min-width: 1260px) {
    .ai-accordion-content.expanded {
        max-width: 70% !important;
        margin-left: 4.5rem !important;
    }
}

/* Responsive adjustments for new accordion */
@media (max-width: 767px) {
    .ai-accordion-toggle {
        padding: 6px;
    }
    
    .ai-accordion-icon {
        width: 1.25rem !important;
        height: 1.25rem !important;
    }
    
    .ai-accordion-content.expanded {
        max-height: 400px !important;
    }
}

/* ===== Rebuilt Header & Navigation (sr-*) ===== */
.sr-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,.5);-webkit-backdrop-filter:saturate(180%) blur(8px);backdrop-filter:saturate(180%) blur(8px);transition:transform 0.3s cubic-bezier(0.16, 1, 0.3, 1)}
.sr-header__inner{max-width:1280px;margin:0 auto;padding:12px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px}
.sr-logo img{height:108px;width:auto;display:block}
/* desktop nav */
.sr-nav{display:none;gap:36px;align-items:center}
.sr-nav a{color:#3b3f45;text-decoration:none;font-weight:500;line-height:1;transition:color .2s ease}
.sr-nav a:hover,.sr-nav a:focus{color:#0f172a;outline:none}
/* actions */
.sr-actions{display:flex;align-items:center;gap:16px}
.sr-btn-login{display:none;background:#3c4043;color:#fff;padding:12px 24px;border-radius:35px;text-decoration:none;font-family:'Inter',sans-serif;font-size:14px;font-weight:500;transition:all 0.3s ease}
.sr-btn-login:hover,.sr-btn-login:focus{background:#2a2e31;transform:translateY(-1px);box-shadow:0 4px 12px rgba(60,64,67,0.3);outline:none}
/* hamburger (mobile only) */
.sr-hamburger{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;background:#fff}
.sr-hamburger span{display:block;position:relative;width:18px;height:2px;background:#0f172a}
.sr-hamburger span::before,.sr-hamburger span::after{content:"";position:absolute;left:0;width:18px;height:2px;background:#0f172a;transition:transform .2s ease,opacity .2s ease}
.sr-hamburger span::before{top:-6px}.sr-hamburger span::after{top:6px}

/* mobile full overlay */
.sr-mobile{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#ffffff;display:none;z-index:1100;opacity:0;transition:opacity 2s ease-in-out}
.sr-mobile.is-open{display:flex;flex-direction:column;opacity:1}

/* Header con logo centrado */
.sr-mobile__header{display:flex;flex-direction:column;align-items:center;padding:48px 24px 0;text-align:center}
.sr-mobile__logo img{height:90px;width:auto;margin-bottom:16px}

/* Botón X en esquina superior derecha */
.sr-close{position:absolute;top:24px;right:24px;background:none;border:none;font-size:32px;color:#000;cursor:pointer;padding:8px;line-height:1;z-index:10}

/* Navegación centrada verticalmente */
.sr-mobile__nav{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:0 24px}
.sr-mobile__nav a{font-size:22px;font-weight:500;color:#374151;text-decoration:none;transition:color 0.3s ease;font-family:'Inter',sans-serif}
.sr-mobile__nav a:hover{color:#000}



/* responsive: show desktop nav from 1024px up */
@media (min-width:1024px){
  .sr-nav{display:flex}
  .sr-hamburger{display:none}
  .sr-mobile{display:none !important}
  .sr-btn-login{display:inline-block}
  .sr-logo img{height:120px}
  .sr-header__inner{padding-left:0}
}

/* ensure page content isn't hidden under sticky header if author used anchors at top */
:target{scroll-margin-top:76px}

/* Header hide/show for mobile responsive */
@media (max-width: 767px) {
    .sr-header.header-hidden {
        transform: translateY(-100%);
    }
}

/* Add body padding to compensate for fixed header */
body {
    padding-top: 170px; /* Desktop: 120px + 50px = 170px */
}

/* Ajuste específico para desktop */
@media (min-width: 768px) {
    body {
        padding-top: 170px !important; /* Desktop: 120px + 50px = 170px */
    }
}



/* Mobile responsive for AI System Section */
@media (max-width: 767px) {
    /* AI System Section - Formato izquierda como "Real results" */
    #ai-system .grid.lg\\:grid-cols-2 > div {
        text-align: left !important;
    }
    
    #ai-system .grid.lg\\:grid-cols-2 .space-y-24 > div {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        flex-direction: row !important;
        text-align: left !important;
    }
    
    #ai-system .grid.lg\\:grid-cols-2 .space-y-24 > div i {
        margin: 0 1rem 0 0 !important;
        margin-top: 0.125rem !important;
        flex-shrink: 0 !important;
    }
    
    #ai-system .grid.lg\\:grid-cols-2 .space-y-24 > div h4 {
        text-align: left !important;
    }
    
    /* H3 centrado */
    #ai-system h3 {
        text-align: center !important;
    }
    
    /* Párrafos con font-size específico */
    #ai-system p {
        font-size: 1.1rem !important;
    }
}

/* Mobile responsive for Proven Section */


@media (max-width: 767px) {
    /* Fix padding for mobile - reducir 40px (2.5rem) superior e inferior */
    .py-80 {
        padding-top: 5.5rem !important; /* 8rem - 2.5rem = 5.5rem */
        padding-bottom: 5.5rem !important; /* 8rem - 2.5rem = 5.5rem */
    }
    
    /* Reducir padding de secciones py-64 también */
    section.py-64,
    .py-64 {
        padding-top: 1.5rem !important; /* 4rem - 2.5rem = 1.5rem */
        padding-bottom: 1.5rem !important; /* 4rem - 2.5rem = 1.5rem */
    }
    
    /* Fix background to cover full width */
    .green-cta-block {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        height: auto !important;
        min-height: 60vh !important;
        padding: 4rem 2rem !important;
    }
    
    /* Make proven numbers responsive */
    .proven-number {
        font-size: 3.5rem !important;
        line-height: 4rem !important;
    }
    
    /* Adjust spacing for mobile */
    #proven .space-x-48 {
        gap: 2rem !important;
    }
    
    #proven .space-x-48 > div {
        margin: 0 1rem !important;
    }
    
    /* Make text responsive */
    #proven .text-h2 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 2rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 90vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    #proven p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 3rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 90vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Adjust button for mobile */
    #proven .btn-hover {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }
    
    /* Proven Data Carousel Mobile Styles */
    .proven-data-carousel-container {
        padding: 32px 0 !important;
    }
    
    /* Contact Form Mobile Styles */
    #contact .form-input {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    #contact select.form-input {
        appearance: none !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
        background-position: right 0.5rem center !important;
        background-repeat: no-repeat !important;
        background-size: 1.5em 1.5em !important;
        padding-right: 2.5rem !important;
    }
    
    /* SVG Icons Mobile Styles */
    #contact .w-24.h-24 {
        width: 1.875rem !important; /* 30% más grande que 1.5rem */
        height: 1.875rem !important;
        color: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }
    
    #contact li {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    #contact li span {
        text-align: center !important;
    }
    
    /* Proven Data Carousel Mobile Styles */
    .proven-data-carousel-slide {
        margin: 0 24px !important;
        min-width: 250px !important;
    }
    
    /* Slower animation on mobile */
    .proven-data-carousel-track {
        animation: scrollProvenData 45s linear infinite !important;
    }
}


