* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION - PRIMERA SECCIÓN
   ============================================ */
.hero {
    background: linear-gradient(135deg, #F4FDFB 0%, #F4FDFB 10%, #1FAF9E 100%);
    min-height: auto;
    padding: 15px 80px 15px 100px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Parte Superior: Logo y Título */
.hero-top {
    display: flex;
    align-items: flex-start;
    gap: 200px;
    margin-bottom: 5px;
    padding-left: 30px;
}

.logo-container {
    flex-shrink: 0;
}

.logo_botic_app {
    width: 180px;
    height: auto;
    
}

.hero-text {
    flex: 1;
    max-width: 1200px;
    padding-left: 0;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    margin-top: 10px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: 1rem;
    color: #2d2d2d;
    line-height: 1.4;
    font-weight: 400;
}

/* Parte Inferior: Features y Dashboard */
.hero-bottom {
    display: flex;
    align-items: flex-start;
    gap: 200px;
    padding-left: 30px;
}

.features-list {
    list-style: none;
    flex-shrink: 0;
    min-width: 300px;
    padding-top: 60px;
}

.features-list li {
    font-size: 1.1rem;
    color: #2d2d2d;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    letter-spacing: 1.3px;
}

.features-list li:before {
    content: "✓";
    font-weight: bold;
    font-size: 1.2rem;
    color: #1a1a1a;
    flex-shrink: 0;
}

/* Dashboard Preview y Carrusel */
.dashboard-preview {
    flex: 1;
    max-width: 650px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 370px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: #f5f5f5;
    border: 3px solid rgba(20, 211, 189, 0.3); /* Borde turquesa suave */
}

.img_carrusel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 12px;
}

.img_carrusel.active {
    opacity: 1;
    z-index: 1;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background: white;
    width: 28px;
    border-radius: 5px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
} 

/* ============================================
   CTA SECTION - EN UNA SOLA LÍNEA
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #2d8c7d 0%, #1f6b5f 100%);
    padding: 0px 300px 0px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    height: 135px;
}

.cta-section h2 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    flex: 1;
    letter-spacing: 1.7px;
}

.cta-button {
    background: linear-gradient(135deg, #90EE90 0%, #6fc949 50%, #64cf36 100%);
    color: white;
    padding: 20px 35px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(100, 207, 54, 0.3);
    flex-shrink: 0;
    white-space: nowrap;
}

.cta-button:hover {
    background: linear-gradient(135deg, #7dd957 0%, #6bc945 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(100, 207, 54, 0.4);
}

.arrow {
    font-size: 1.7rem;
    font-weight: bold;
}

/* ============================================
   INFO SECTION - CARRUSEL BOOTSTRAP
   ============================================ */
.info-section {
    background: linear-gradient(180deg, #87ceeb 0%, #5eb3d6 100%);
    padding: 80px 40px;
    position: relative;
}

.info-section h2 {
    text-align: center;
    color: white;
    font-size: 3rem;
    margin-bottom: 60px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    font-weight: 700;
}

/* Contenedor del carrusel */
#carouselBoticApp {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Imágenes del carrusel */
.carousel-inner {
    border-radius: 20px;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Caption personalizado */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
    padding: 40px;
    text-align: left;
}

.caption-content {
    max-width: 800px;
    margin: 0 auto;
}

.caption-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.caption-logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-caption h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.carousel-caption p {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.carousel-caption .leer-mas {
    color: #7dd957;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    transition: color 0.3s;
}

.carousel-caption .leer-mas:hover {
    color: #6bc945;
}

/* Controles del carrusel personalizados */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: white;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 100%;
    filter: invert(1);
}

/* Indicadores personalizados */
.carousel-indicators {
    margin-bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
    transition: all 0.3s;
}

.carousel-indicators .active {
    width: 35px;
    border-radius: 6px;
    background-color: white;
}
  
/* ============================================
   FEATURES CARDS SECTION (Nueva sección de características)
   ============================================ */
.features-cards-section {
    background: #f8f9fa;
    padding: 80px 40px;
}

.features-cards-section h2 {
    text-align: center;
    color: #1a1a1a;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Efecto hover en la tarjeta */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(20, 211, 189, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0fffe 100%);
}

/* Contenedor del icono */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f8f6 0%, #d4f1ed 100%);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #14D3BD 0%, #0fb5a1 100%);
    transform: scale(1.1) rotate(5deg);
}

/* SVG dentro del icono */
.feature-icon svg,
.feature-icon i {
    font-size: 40px;
    color: #14D3BD;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon svg,
.feature-card:hover .feature-icon i {
    color: white;
    transform: scale(1.1);
}

/* Si usas imágenes en lugar de SVG */
.feature-icon img {
    width: 45px;
    height: 45px;
    transition: all 0.4s ease;
    filter: brightness(0) saturate(100%) invert(64%) sepia(88%) saturate(458%) hue-rotate(131deg) brightness(91%) contrast(92%);
}

.feature-card:hover .feature-icon img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    transform: scale(1.15);
}

/* Título de la tarjeta */
.feature-card h3 {
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: #14D3BD;
}

/* Descripción de la tarjeta */
.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: #555;
}

/* Efecto de brillo en hover (opcional) */
.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(20, 211, 189, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        left: -100%;
        top: -100%;
    }
    100% {
        left: 100%;
        top: 100%;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon svg,
    .feature-icon i {
        font-size: 35px;
    }
}

/* CTA Bottom */
.features-cta-bottom {
    background: linear-gradient(135deg, #2c5f5d 0%, #1a4442 100%);
    border-radius: 20px;
    padding: 50px 150px;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-bottom-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    justify-content: space-between;
}

.cta-bottom-content p {
    color: white;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 400;
    flex: 1;
    max-width: 700px;
}

.cta-button-bottom {
    background: linear-gradient(135deg, #90EE90 0%, #6fc949 50%, #64cf36 100%);
    color: white;
    padding: 20px 35px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(100, 207, 54, 0.3);
    flex-shrink: 0;
    white-space: nowrap;
}

.cta-button-bottom:hover {
    background: linear-gradient(135deg, #7dd957 0%, #6bc945 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(100, 207, 54, 0.4);
}

/* Responsive para Features Cards */
@media (max-width: 1200px) {
    .features-cards-container {
        gap: 30px;
    }
    
    .features-cta-bottom {
        padding: 40px;
    }
    
    .cta-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .cta-bottom-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .features-cards-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 30px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .features-cta-bottom {
        padding: 30px 25px;
        border-radius: 15px;
    }
    
    .cta-bottom-content p {
        font-size: 1.1rem;
    }
    
    .cta-button-bottom {
        padding: 18px 30px;
        font-size: 1.1rem;
    }
} 

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: linear-gradient(135deg, #2d8c7d 0%, #1f6b5f 100%);
    padding: 60px 40px 10px 40px;
}

.faq-section h2 {
    color: white;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255,255,255,0.95);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

/* Intercalado de colores - preguntas pares */
.faq-item:nth-child(even) {
    background: rgba(224, 247, 243, 0.95);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
}

.faq-icon {
    color: #3ab5a3;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 30px 25px 30px;
    color: #666;
    line-height: 1.7;
    font-size: 0.98rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================
   CTA BOTTOM SECTION - Después de FAQ
   ============================================ */
.cta-bottom {
    padding: 50px 60px;
    text-align: center;
}

/* El botón ya está definido en .cta-button, solo aseguramos que funcione aquí también */
/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1B3A4B 0%, #1B3A4B 100%);
    padding: 60px 40px;
    text-align: center;
}

.footer-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-content > p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.footer-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .hero {
        padding: 50px 40px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-bottom {
        flex-direction: column;
        gap: 35px;
    }
    
    .dashboard-preview {
        max-width: 100%;
    }
    
    .carousel-wrapper {
        height: 350px;
    }
    
    .cta-section {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-section h2 {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 35px 20px;
        min-height: auto;
    }
    
    .hero-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .logo_botic_app {
        width: 110px;
    }
    
    .hero-text {
        padding-left: 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 0.95rem;
    }
    
    .features-list {
        min-width: auto;
    }
    
    .features-list li {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .carousel-wrapper {
        height: 250px;
    }
    
    .cta-section {
        padding: 50px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .info-section h2,
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .cards-container {
        flex-direction: column;
    }
    
    .carousel-btn {
        display: none;
    }
}