/*
 * /assets/css/landing.css
 * Estilos para la pagina de aterrizaje (index.php)
 * Incluye: navbar, banner slider, servicios, caracteristicas, estadisticas, clientes, CTA, footer
 */

/* ===== NAVBAR ===== */
.navbar-landing {
    background: #0c66ea !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-landing.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    background: #0952c4 !important;
}

.navbar-landing .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0c66ea !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-landing .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-landing .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-landing .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.navbar-landing .nav-link:hover::after {
    width: 80%;
}

.btn-login-nav {
    background: white;
    color: #0c66ea !important;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-login-nav:hover {
    background: transparent;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* ===== BANNER SLIDER ===== */
.hero-banner {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 102, 234, 0.8) 0%, rgba(9, 82, 196, 0.6) 100%);
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    z-index: 2;
    bottom: 50%;
    transform: translateY(50%);
    text-align: left;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.carousel-caption p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.btn-banner {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.btn-banner-primary {
    background: white;
    color: #0c66ea;
    border: 2px solid white;
}

.btn-banner-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

/* ===== SERVICIOS ===== */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(12, 102, 234, 0.15);
    border-color: #0c66ea;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0c66ea, #0952c4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CARACTERISTICAS ===== */
.features-section {
    padding: 80px 0;
    background: white;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: #dce6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.8rem;
    color: #0c66ea;
}

.feature-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
}

.feature-image {
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}

/* Display de icono de caracteristica */
.feature-icon-display {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #dce6ff 0%, #f8f9fa 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(12, 102, 234, 0.1);
}

.feature-icon-display::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(12, 102, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: pulse 3s ease-in-out infinite;
}

.feature-icon-display::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(9, 82, 196, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation: pulse 3s ease-in-out infinite 1.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.feature-main-icon {
    font-size: 8rem;
    color: #0c66ea;
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

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

.floating-icon {
    position: absolute;
    z-index: 1;
    opacity: 0.3;
    animation: floatAround 4s ease-in-out infinite;
}

.floating-icon-1 {
    font-size: 2rem;
    color: #0c66ea;
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.floating-icon-2 {
    font-size: 1.5rem;
    color: #0952c4;
    top: 70%;
    left: 20%;
    animation-delay: 1s;
}

.floating-icon-3 {
    font-size: 2.5rem;
    color: #0c66ea;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon-4 {
    font-size: 1.8rem;
    color: #0952c4;
    bottom: 15%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(5deg); }
    50% { transform: translate(-5px, -20px) rotate(-5deg); }
    75% { transform: translate(-10px, -5px) rotate(3deg); }
}

/* ===== ESTADISTICAS ===== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0c66ea, #0952c4);
    color: white;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== CLIENTES ===== */
.clients-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.clients-carousel-wrapper {
    position: relative;
    padding: 40px 80px;
}

.client-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #0c66ea;
    color: #0c66ea;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.client-nav-btn:hover {
    background: #0c66ea;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(12, 102, 234, 0.3);
}

.client-nav-btn i {
    font-size: 1.5rem;
}

.client-nav-prev {
    left: 10px;
}

.client-nav-next {
    right: 10px;
}

.clients-slider {
    overflow: hidden;
    padding: 40px 0;
}

.clients-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.client-card {
    min-width: 200px;
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 3px solid #e0e0e0;
    text-decoration: none;
    cursor: pointer;
}

.client-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(12, 102, 234, 0.2);
    border-color: #0c66ea;
}

.client-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-card:hover .client-logo-img {
    transform: scale(1.1);
}

.client-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #dce6ff 0%, #f8f9fa 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.client-card:hover .client-placeholder {
    background: linear-gradient(135deg, #0c66ea 0%, #0952c4 100%);
}

.client-placeholder-icon {
    font-size: 3.5rem;
    color: #0c66ea;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.client-card:hover .client-placeholder-icon {
    color: white;
    transform: scale(1.2) rotate(10deg);
}

.client-placeholder-text {
    font-size: 1rem;
    font-weight: 600;
    color: #0c66ea;
    transition: all 0.3s ease;
}

.client-card:hover .client-placeholder-text {
    color: white;
}

.client-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(12, 102, 234, 0.95), transparent);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.client-card:hover .client-name {
    opacity: 1;
    transform: translateY(0);
}

.client-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0c66ea;
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.client-card:hover .client-badge {
    opacity: 1;
    transform: scale(1);
}

/* ===== PLANES / PRECIOS ===== */
.pricing-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(12, 102, 234, 0.15);
    border-color: #0c66ea;
}

.pricing-featured {
    border: 2px solid #0c66ea;
    box-shadow: 0 10px 30px rgba(12, 102, 234, 0.2);
    transform: scale(1.05);
}

.pricing-featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #0c66ea;
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    z-index: 2;
    letter-spacing: 1px;
}

.pricing-header {
    padding: 30px 25px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.pricing-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.pricing-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.pricing-price {
    margin: 15px 0;
}

.pricing-price .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0c66ea;
}

.pricing-price .period {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 20px 25px;
    margin: 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    font-size: 1.1rem;
    color: #0c66ea;
    flex-shrink: 0;
}

.pricing-footer {
    padding: 20px 25px 30px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-cta {
    background: white;
    color: #667eea;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0c66ea;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE LANDING ===== */
@media (max-width: 768px) {
    .navbar-landing .navbar-brand {
        padding: 8px 15px;
        border-radius: 8px;
    }

    .navbar-landing .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
    }

    .navbar-landing .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-landing .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .hero-banner,
    .carousel-item {
        height: 500px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-card {
        margin-bottom: 30px;
    }

    .navbar-landing .navbar-collapse {
        background: #0c66ea;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .clients-carousel-wrapper {
        padding: 40px 60px;
    }

    .client-nav-btn {
        width: 40px;
        height: 40px;
    }

    .client-nav-btn i {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .clients-carousel-wrapper {
        padding: 40px 50px;
    }

    .client-card {
        min-width: 160px;
        width: 160px;
        height: 160px;
    }
}

/*
 * /assets/css/landing.css
 * Proposito: Estilos completos para la pagina de aterrizaje publica (index.php)
 * Rol en el sistema: CSS especifico para la landing page de CloudVOT
 */
