/* ============================================
   ESTILOS MODERNOS PARA LANDING DE VENTAS
   ============================================ */

/* Hero Section Modern */
.hero-section-modern {
    position: relative;
    padding-top: 100px;
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(30, 58, 138, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    animation: particlesFloat 15s ease-in-out infinite;
}

@keyframes particlesFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

.hero-badge {
    animation: fadeInDown 0.8s ease-out;
}

.trust-badges {
    opacity: 0.9;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Floating Cards */
.hero-visual-modern {
    position: relative;
    min-height: 400px;
}

.floating-card {
    position: absolute;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card:first-child {
    top: 20%;
    left: 10%;
    max-width: 280px;
}

.floating-card:last-child {
    bottom: 20%;
    right: 10%;
    max-width: 250px;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.icon-box-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.7;
    animation: fadeInUp 1s ease-out 1s both;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
    margin: 0 auto;
}

.wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Stats Section */
.stats-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, .05) 35px, rgba(255, 255, 255, .05) 70px);
    opacity: 0.3;
}

.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-number.counting {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Cards */
.service-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(30, 58, 138, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(255, 107, 53, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 1.5rem;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.service-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(30, 58, 138, 0.05);
    line-height: 1;
    z-index: 0;
}

.service-icon {
    position: relative;
    z-index: 1;
}

.icon-box-large {
    transition: all 0.3s ease;
}

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

.service-features li {
    transition: all 0.2s ease;
}

.service-features li:hover {
    transform: translateX(5px);
}

/* Clients Carousel Modern */
.clients-carousel-modern {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.client-logo-modern {
    flex: 0 0 auto;
    margin: 0 1.5rem;
    width: 250px;
}

.client-card {
    transition: all 0.3s ease;
    min-height: 120px;
}

.client-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.client-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Project Cards */
.project-card {
    position: relative;
    transition: all 0.4s ease;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.tech-stack {
    animation: fadeIn 0.5s ease-out;
}

/* Project Card Full (Portfolio Page) */
.project-card-full {
    transition: all 0.3s ease;
    opacity: 1;
}

.project-image-full {
    overflow: hidden;
}

.project-image-full img {
    transition: transform 0.4s ease;
}

.project-card-full:hover .project-image-full img {
    transform: scale(1.05);
}

.project-overlay-full {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
    border: 2px solid rgba(30, 58, 138, 0.1);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.2);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.15);
}

.testimonial-quote {
    flex-grow: 1;
}

.testimonial-rating i {
    font-size: 1.1rem;
}

.avatar-placeholder {
    flex-shrink: 0;
}

/* CTA Section */
.cta-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(59, 130, 246, 0.8));
    z-index: 0;
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.bg-accent {
    background-color: var(--accent-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .floating-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-bottom: 1rem;
        max-width: 100% !important;
    }

    .hero-visual-modern {
        min-height: auto;
    }

    .service-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .display-2 {
        font-size: 2.5rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .client-logo-modern {
        width: 180px;
        margin: 0 1rem;
    }
}