:root {
    --primary-color: #5f48fc;
    --secondary-color: #8349f9;
    --accent-color: #ffb347;
    --base-bg: #ffffff;
    --text-color: #333333;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --gradient: linear-gradient(135deg, #5f48fc 0%, #8349f9 100%);
    --gradient-reverse: linear-gradient(135deg, #8349f9 0%, #5f48fc 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--base-bg);
}

/* Navigation */
.navbar {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1030 !important; /* Bootstrap navbar z-index + buffer */
}

.navbar.fixed-top {
    z-index: 1030 !important; /* Ensure navbar stays above other elements */
}

/* Navbar collapse menu z-index for mobile */
.navbar-collapse {
    z-index: 1031 !important;
}

/* Navbar toggler button z-index */
.navbar-toggler {
    z-index: 1032 !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.btn {
    background: var(--gradient) !important;
    border: none;
    color: white !important;
    transition: all 0.3s ease;
}

.nav-link.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(95, 72, 252, 0.3);
    color: white !important;
}

/* Logo Styles */
.navbar-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.hero-logo-container {
    position: relative;
    display: inline-block;
}

.hero-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(95, 72, 252, 0.3));
    transition: all 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 25px 50px rgba(95, 72, 252, 0.4));
}

.footer-logo {
    height: 50px;
    width: auto;
}

/* Hero Image Container */
.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.hero-logo-wrapper {
    position: relative;
    display: inline-block;
}

.hero-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

/* Slogan Styles */
.hero-slogan {
    display: block;
    text-align: center;
    margin-top: 20px;
}

.slogan-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.slogan-text:hover {
    color: rgba(255, 179, 71, 0.9);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

/* Hero Section */
.hero-section {
    background: var(--gradient);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

/* Hero Title adjustment */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 1;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: white;
    font-weight: 600;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-features {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.feature-check {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.feature-check i {
    font-size: 1.2rem;
}

.btn-cta {
    background: var(--base-bg);
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 2px solid transparent;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: var(--primary-color);
    background: var(--base-bg);
}

.btn-cta.accent {
    background: var(--accent-color);
    color: var(--text-color);
}

.btn-cta.accent:hover {
    background: var(--accent-color);
    color: var(--text-color);
    filter: brightness(1.1);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Stats Section */
.stats-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Feature Cards */
.feature-card {
    background: var(--base-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(95, 72, 252, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(95, 72, 252, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-reverse);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    background: var(--base-bg);
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    z-index: 1;
    opacity: 0.3;
}

.step-card:last-child::before {
    display: none;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.step-description {
    color: var(--text-light);
}

/* Preview Section */
.preview-section {
    background: var(--bg-light);
}

.preview-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.preview-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(95, 72, 252, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out;
}

.preview-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(95, 72, 252, 0.4);
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,179,71,0.1)" cx="200" cy="200" r="100"/><circle fill="rgba(255,179,71,0.05)" cx="800" cy="600" r="150"/></svg>');
    background-size: cover;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer h5 {
    color: var(--accent-color);
}

/* Contact Form */
.contact-form {
    box-shadow: 0 20px 60px rgba(95, 72, 252, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form .form-control {
    border: 2px solid rgba(95, 72, 252, 0.1);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(95, 72, 252, 0.25);
    background: var(--base-bg);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.contact-form .btn-cta {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.contact-form .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(95, 72, 252, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Navigation Improvements */
.navbar-nav .nav-link.btn {
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.navbar-nav .nav-link.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(95, 72, 252, 0.3);
}

/* Responsive Design - Mobile First Approach - CLEANED */
@media (max-width: 768px) {
    /* Force proper navbar positioning */
    .navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        z-index: 1030 !important;
        padding: 0.5rem 0;
        margin: 0;
        background: rgba(255,255,255,0.98) !important;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    }
    
    /* Navbar collapse styling */
    .navbar-collapse {
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        border-radius: 0 0 15px 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        margin-top: 10px;
        padding: 1rem;
        z-index: 1031 !important;
        position: relative;
    }
    
    /* Navbar toggler */
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
        z-index: 1032 !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    /* Body adjustments */
    body {
        overflow-x: hidden;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Main content positioning */
    main {
        position: relative;
        z-index: 1;
        margin-top: 0;
        padding-top: 0;
    }
    
    /* Hero section specific fixes */
    .hero-section {
        min-height: auto !important;
        padding: 80px 0 60px 0 !important;
        margin-top: 0 !important;
        position: relative;
        z-index: 1;
    }
    
    /* All sections scroll margin */
    section {
        scroll-margin-top: 80px !important;
    }
    
    /* Specific section adjustments */
    #inicio {
        padding-top: 80px !important;
    }
    
    #caracteristicas,
    #como-funciona,
    #preview,
    #testimonios,
    #contacto {
        scroll-margin-top: 80px !important;
        padding-top: 60px !important;
    }
    
    /* Typography adjustments */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        color: white;
        font-weight: 600;
        opacity: 1;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1.1rem;
        color: white;
        line-height: 1.6;
        font-weight: 400;
        opacity: 1;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Button adjustments */
    .btn-cta {
        padding: 12px 30px;
        font-size: 0.9rem;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .hero-cta {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Logo sizes */
    .navbar-logo {
        height: 40px;
    }
    
    .slogan-text {
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    /* Navigation buttons */
    .navbar-nav .nav-link.btn {
        margin: 0.25rem 0;
        text-align: center;
        padding: 0.5rem 1rem;
    }
    
    /* Feature cards */
    .feature-card {
        margin-bottom: 30px;
    }
    
    .step-card::before {
        display: none;
    }
    
    /* Hero features alignment */
    .hero-features {
        text-align: center;
    }
    
    .hero-features .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .feature-check {
        justify-content: center;
        align-items: center;
        display: flex;
        margin-bottom: 0.5rem;
    }
    
    /* Image containers */
    .preview-image-container {
        margin-bottom: 30px;
    }
    
    .preview-image {
        max-width: 90%;
    }
    
    /* Container adjustments */
    .container {
        position: relative;
        z-index: 1;
        padding-left: 15px;
        padding-right: 15px;
    }
} 

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    margin-top: 50px;
}

.testimonials-wrapper {
    display: flex;
    animation: slide 30s infinite linear;
    gap: 30px;
}

.testimonial-card {
    flex: 0 0 400px;
    background: var(--base-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(95, 72, 252, 0.1);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(95, 72, 252, 0.15);
    border-color: var(--primary-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-color);
    font-family: serif;
    opacity: 0.3;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.stars {
    display: flex;
    gap: 5px;
}

.stars i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.testimonials-wrapper:hover {
    animation-play-state: paused;
}

/* Responsive testimonials */
@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 300px;
        padding: 20px;
    }
    
    .testimonials-wrapper {
        gap: 20px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        flex: 0 0 280px;
        padding: 15px;
    }
    
    .testimonial-card::before {
        font-size: 40px;
        top: -5px;
    }
} 

/* Hero Main Image */
.hero-main-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.hero-main-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-main-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments for main image */
@media (max-width: 768px) {
    .hero-main-img {
        border-radius: 10px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 576px) {
    .hero-main-img {
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
} 

/* SEO and Accessibility Improvements */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.2rem;
    color: white;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 1;
}

/* Improved focus states for accessibility */
.btn-cta:focus,
.nav-link:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Improved article structure */
article.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(95, 72, 252, 0.15);
}

/* Performance optimizations */
.hero-main-img,
.navbar-logo {
    will-change: transform;
}

/* Print styles */
@media print {
    .navbar,
    .btn-cta,
    .hero-cta {
        display: none !important;
    }
    
    .hero-title,
    .section-title {
        color: #000 !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Dark mode preparation */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 

/* Section padding adjustments for mobile */
@media (max-width: 768px) {
    /* Ensure sections don't hide behind fixed navbar */
    section {
        scroll-margin-top: 90px; /* Space for fixed navbar */
    }
    
    #inicio {
        padding-top: 90px;
    }
    
    #caracteristicas,
    #como-funciona,
    #preview,
    #testimonios,
    #contacto {
        scroll-margin-top: 90px;
        padding-top: 20px;
    }
    
    /* Navbar mobile fixes */
    .navbar {
        padding: 0.5rem 0;
        z-index: 1030 !important;
    }
} 

/* Mobile overflow and positioning fixes */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Ensure proper stacking context */
    .container {
        position: relative;
        z-index: 1;
    }
    
    /* Fix navbar positioning issues */
    .navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1030 !important;
    }
    
    /* Prevent content from going behind navbar */
    body {
        padding-top: 0;
    }
    
    main {
        position: relative;
        z-index: 1;
    }
    
    /* Ensure sections don't hide behind fixed navbar */
    section {
        scroll-margin-top: 90px; /* Space for fixed navbar */
    }
} 

/* Extra small screens (phones) */
@media (max-width: 576px) {
    /* Even more specific navbar fixes */
    .navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        z-index: 1030 !important;
        padding: 0.4rem 0;
        margin: 0;
        background: rgba(255,255,255,0.98) !important;
    }
    
    /* Hero section adjustments */
    .hero-section {
        min-height: auto !important;
        padding: 70px 0 50px 0 !important;
        margin-top: 0 !important;
    }
    
    /* Hero content */
    .hero-content {
        padding: 1.5rem 0 1.5rem 0;
        text-align: center;
    }
    
    /* Fix row layout for extra small screens */
    .hero-section .row {
        min-height: auto !important;
        align-items: flex-start !important;
        padding-top: 1rem;
        display: flex;
        flex-direction: column;
    }
    
    /* Make columns stack properly */
    .hero-section .col-lg-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1.5rem;
    }
    
    /* Ensure text content comes first */
    .hero-section .col-lg-6:first-child {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    /* Image container comes second */
    .hero-section .col-lg-6:last-child {
        order: 2;
        margin-bottom: 0;
    }
    
    /* Image container adjustments */
    .hero-image-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }
    
    .hero-main-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .hero-main-img {
        width: 100%;
        height: auto;
        max-width: 100%;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    
    /* Typography for small screens */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        color: white;
        font-weight: 600;
        opacity: 1;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1rem;
        color: white;
        line-height: 1.5;
        font-weight: 400;
        opacity: 1;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Button adjustments */
    .btn-cta {
        padding: 10px 25px;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-cta {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    /* Logo sizes */
    .navbar-logo {
        height: 35px;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .slogan-text {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .footer-logo {
        height: 25px;
    }
    
    /* Stats adjustments */
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Section padding */
    .section-padding {
        padding: 50px 0;
    }
    
    /* Image adjustments */
    .preview-image {
        max-width: 95%;
        border-radius: 15px;
    }
    
    /* Container padding */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Hero features alignment */
    .hero-features {
        text-align: center;
    }
    
    .hero-features .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .feature-check {
        justify-content: center;
        align-items: center;
        display: flex;
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }
    
    /* Scroll adjustments */
    section {
        scroll-margin-top: 70px !important;
    }
    
    #inicio {
        padding-top: 70px !important;
    }
    
    #caracteristicas,
    #como-funciona,
    #preview,
    #testimonios,
    #contacto {
        scroll-margin-top: 70px !important;
        padding-top: 50px !important;
    }
} 

/* Global mobile fixes */
@media (max-width: 768px) {
    /* Ensure no elements escape viewport */
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* Force proper document flow */
    html {
        overflow-x: hidden;
        scroll-behavior: smooth;
    }
    
    body {
        overflow-x: hidden;
        position: relative;
        min-height: 100vh;
    }
    
    /* Ensure navbar stays fixed */
    .navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        z-index: 1030 !important;
        transform: translateZ(0); /* Force hardware acceleration */
    }
    
    /* Prevent content from jumping */
    .navbar-collapse.show {
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Ensure hero section doesn't overlap */
    .hero-section {
        position: relative;
        z-index: 1;
        width: 100%;
        overflow: hidden;
    }
    
    /* Force proper stacking */
    main {
        position: relative;
        z-index: 1;
        width: 100%;
    }
    
    /* Ensure all sections have proper spacing */
    section:not(.hero-section) {
        margin-top: 0;
        padding-top: 60px;
    }
    
    /* Fix any potential image overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Ensure buttons don't break layout */
    .btn-cta {
        word-wrap: break-word;
        white-space: normal;
    }
} 

/* Prevent content overlap in mobile */
@media (max-width: 768px) {
    /* Ensure proper spacing between content and image */
    .hero-section .col-lg-6:first-child {
        position: relative;
        z-index: 2;
        background: transparent;
        padding-bottom: 2rem;
    }
    
    .hero-section .col-lg-6:last-child {
        position: relative;
        z-index: 1;
        margin-top: 2rem;
        clear: both;
    }
    
    /* Ensure no absolute positioning conflicts */
    .hero-content {
        position: relative;
        z-index: 2;
        background: transparent;
        width: 100%;
        display: block;
    }
    
    .hero-image-container {
        position: relative;
        z-index: 1;
        background: transparent;
        width: 100%;
        display: block;
        clear: both;
    }
    
    /* Force proper text flow */
    .hero-title,
    .hero-subtitle,
    .hero-description,
    .hero-cta,
    .hero-features {
        position: relative;
        z-index: 3;
        width: 100%;
        display: block;
        clear: both;
    }
    
    /* Ensure image doesn't interfere with text */
    .hero-main-img {
        position: relative;
        z-index: 1;
        display: block;
        clear: both;
    }
    
    /* Add visual separation */
    .hero-section .col-lg-6:first-child::after {
        content: '';
        display: block;
        height: 2rem;
        width: 100%;
        clear: both;
    }
} 

/* Hero Section Layout Fixes */
.hero-row {
    min-height: 100vh;
    align-items: center;
}

.hero-text-col,
.hero-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-col {
    padding-right: 2rem;
}

.hero-image-col {
    padding-left: 2rem;
}

/* Desktop and larger screens */
@media (min-width: 992px) {
    .hero-row {
        min-height: 100vh;
        align-items: center;
    }
    
    .hero-text-col {
        order: 1;
        padding-right: 2rem;
    }
    
    .hero-image-col {
        order: 2;
        padding-left: 2rem;
    }
}

/* Tablet screens */
@media (max-width: 991px) and (min-width: 769px) {
    .hero-row {
        min-height: auto;
        flex-direction: column;
        padding-top: 2rem;
    }
    
    .hero-text-col {
        order: 1;
        width: 100%;
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-image-col {
        order: 2;
        width: 100%;
        padding: 2rem 0;
    }
}

/* Mobile screens - Complete layout override */
@media (max-width: 768px) {
    .hero-row {
        min-height: auto !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-top: 2rem;
    }
    
    .hero-text-col {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 2rem 0 3rem 0 !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
        display: block !important;
    }
    
    .hero-image-col {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 2rem 0 !important;
        margin-top: 2rem !important;
        text-align: center !important;
        display: block !important;
    }
    
    .hero-content {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }
    
    .hero-image-container {
        width: 100% !important;
        padding: 1rem 0 !important;
        margin: 0 !important;
        display: block !important;
    }
} 

/* Extra small screens - Enhanced mobile layout */
@media (max-width: 576px) {
    .hero-row {
        min-height: auto !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-top: 1.5rem;
    }
    
    .hero-text-col {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 1.5rem 0 2.5rem 0 !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
        display: block !important;
    }
    
    .hero-image-col {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 1.5rem 0 !important;
        margin-top: 1.5rem !important;
        text-align: center !important;
        display: block !important;
    }
    
    .hero-content {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }
    
    .hero-image-container {
        width: 100% !important;
        padding: 0.5rem 0 !important;
        margin: 0 !important;
        display: block !important;
    }
    
    .hero-main-image {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-main-img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
} 

/* MOBILE LAYOUT FIX - FORCE SEPARATION */
@media (max-width: 768px) {
    /* Reset hero section completely */
    .hero-section {
        padding: 80px 0 40px 0 !important;
        min-height: auto !important;
    }
    
    /* Force row to be vertical stack */
    .hero-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        min-height: auto !important;
    }
    
    /* Text column - always first */
    .hero-text-col {
        order: 1 !important;
        width: 100% !important;
        padding: 20px 15px 40px 15px !important;
        margin-bottom: 30px !important;
        background: transparent !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    /* Image column - always second */
    .hero-image-col {
        order: 2 !important;
        width: 100% !important;
        padding: 20px 15px !important;
        margin-top: 30px !important;
        background: transparent !important;
        position: relative !important;
        z-index: 5 !important;
    }
    
    /* Force content to be block */
    .hero-content {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Force image container to be block */
    .hero-image-container {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 20px 0 !important;
        margin: 0 !important;
    }
    
    /* Image sizing */
    .hero-main-image {
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
    }
    
    .hero-main-img {
        width: 100% !important;
        height: auto !important;
        border-radius: 15px !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
    }
    
    /* Typography */
    .hero-title {
        font-size: 2.2rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        color: white !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        color: white !important;
        line-height: 1.6 !important;
    }
    
    /* CTA button */
    .hero-cta {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    .btn-cta {
        display: inline-block !important;
        padding: 12px 30px !important;
        font-size: 1rem !important;
    }
    
    /* Features */
    .hero-features {
        text-align: center !important;
    }
    
    .hero-features .d-flex {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }
    
    .feature-check {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Clear any floats */
    .hero-text-col::after,
    .hero-image-col::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }
} 

/* EXTRA SMALL MOBILE - FORCE SEPARATION */
@media (max-width: 576px) {
    /* Reset hero section completely */
    .hero-section {
        padding: 70px 0 30px 0 !important;
        min-height: auto !important;
    }
    
    /* Force row to be vertical stack */
    .hero-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        min-height: auto !important;
    }
    
    /* Text column - always first */
    .hero-text-col {
        order: 1 !important;
        width: 100% !important;
        padding: 15px 10px 30px 10px !important;
        margin-bottom: 25px !important;
        background: transparent !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    /* Image column - always second */
    .hero-image-col {
        order: 2 !important;
        width: 100% !important;
        padding: 15px 10px !important;
        margin-top: 25px !important;
        background: transparent !important;
        position: relative !important;
        z-index: 5 !important;
    }
    
    /* Image sizing for small screens */
    .hero-main-image {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .hero-main-img {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    }
    
    /* Typography for small screens */
    .hero-title {
        font-size: 1.8rem !important;
        text-align: center !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 0.8rem !important;
        color: white !important;
    }
    
    .hero-description {
        font-size: 0.9rem !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
        color: white !important;
        line-height: 1.5 !important;
    }
    
    /* CTA button for small screens */
    .hero-cta {
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }
    
    .btn-cta {
        display: inline-block !important;
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
    }
    
    /* Features for small screens */
    .hero-features .d-flex {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.8rem !important;
    }
    
    .feature-check {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 0.3rem !important;
        font-size: 0.9rem !important;
    }
} 

/* DISABLE CONFLICTING RULES */
@media (max-width: 768px) {
    /* Override any previous rules that might conflict */
    .hero-section .col-lg-6 {
        all: unset !important;
    }
    
    .hero-section .row {
        all: unset !important;
    }
    
    /* Remove any bootstrap defaults that interfere */
    .col-lg-6 {
        position: static !important;
        float: none !important;
        display: block !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure no absolute positioning */
    .hero-content * {
        position: static !important;
    }
    
    .hero-image-container * {
        position: static !important;
    }
} 

/* HERO SECTION - CUSTOM LAYOUT (NO BOOTSTRAP) */
.hero-wrapper {
    display: flex;
    align-items: center;
    min-height: 100vh;
    gap: 3rem;
}

.hero-text-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    max-width: 100%;
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

/* MOBILE LAYOUT - COMPLETE OVERRIDE */
@media (max-width: 768px) {
    .hero-wrapper {
        display: block !important;
        min-height: auto !important;
        gap: 0 !important;
        padding: 2rem 0 !important;
    }
    
    .hero-text-content {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 3rem !important;
        text-align: center !important;
    }
    
    .hero-image-content {
        display: block !important;
        width: 100% !important;
        margin-top: 3rem !important;
        text-align: center !important;
    }
    
    .hero-image-wrapper {
        display: block !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    .hero-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-radius: 15px !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
    }
    
    .features-list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
        justify-content: center !important;
        margin-top: 1.5rem !important;
    }
    
    .feature-check {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Typography for mobile */
    .hero-title {
        font-size: 2.2rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        color: white !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        color: white !important;
        line-height: 1.6 !important;
    }
    
    .hero-cta {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    .btn-cta {
        display: inline-block !important;
        padding: 12px 30px !important;
        font-size: 1rem !important;
    }
}

/* EXTRA SMALL MOBILE */
@media (max-width: 576px) {
    .hero-wrapper {
        padding: 1.5rem 0 !important;
    }
    
    .hero-text-content {
        margin-bottom: 2rem !important;
    }
    
    .hero-image-content {
        margin-top: 2rem !important;
    }
    
    .hero-image-wrapper {
        max-width: 320px !important;
    }
    
    .hero-image {
        border-radius: 12px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .hero-description {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5 !important;
    }
    
    .hero-cta {
        margin-bottom: 1.5rem !important;
    }
    
    .btn-cta {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
    }
    
    .features-list {
        gap: 0.8rem !important;
    }
    
    .feature-check {
        font-size: 0.9rem !important;
        margin-bottom: 0.3rem !important;
    }
} 

/* Models Section */
.models-section {
    background: var(--bg-light);
    overflow: hidden;
}

.models-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.models-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.model-card {
    flex: 0 0 300px;
    background: var(--base-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0.7;
    transform: scale(0.9);
}

.model-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 25px 60px rgba(95, 72, 252, 0.2);
    border: 2px solid var(--primary-color);
}

.model-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(95, 72, 252, 0.25);
}

.model-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.model-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.model-card:hover .model-img {
    transform: scale(1.1);
}

.model-info {
    padding: 1.5rem;
    text-align: center;
}

.model-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.model-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Slider Controls */
.slider-controls {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100vw;
    display: flex;
    justify-content: space-between;
    padding: 0 5vw; /* 5% del ancho de la ventana en cada lado */
    pointer-events: none;
    z-index: 10;
}

/* Responsive padding para diferentes tamaños de pantalla */
@media (max-width: 1200px) {
    .slider-controls {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .slider-controls {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .slider-controls {
        padding: 0 10px;
    }
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--base-bg);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(95, 72, 252, 0.3);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-btn:disabled:hover {
    background: var(--base-bg);
    color: var(--primary-color);
    transform: none;
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(95, 72, 252, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Auto-scroll animation */
@keyframes slideShow {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    25% { transform: translateX(-320px); }
    45% { transform: translateX(-320px); }
    50% { transform: translateX(-640px); }
    70% { transform: translateX(-640px); }
    75% { transform: translateX(-960px); }
    95% { transform: translateX(-960px); }
    100% { transform: translateX(-1280px); }
}

.models-slider.auto-scroll {
    animation: slideShow 15s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .models-slider-container {
        padding: 1rem;
    }
    
    .model-card {
        flex: 0 0 280px;
    }
    
    .model-image {
        height: 200px;
    }
    
    .model-info {
        padding: 1rem;
    }
    
    .model-name {
        font-size: 1.1rem;
    }
    
    .model-description {
        font-size: 0.8rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .model-card {
        flex: 0 0 250px;
    }
    
    .model-image {
        height: 180px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
} 

/* Device Mockups Section */
.devices-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 2rem;
}

/* Mobile Mockup */
.mobile-mockup {
    position: relative;
    z-index: 2;
    margin-right: -100px;
    animation: float 6s ease-in-out infinite;
}

.mobile-frame {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 35px;
    padding: 25px 15px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    position: relative;
    border: 3px solid #333;
}

.mobile-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #666;
    border-radius: 2px;
}

.mobile-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.mobile-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.mobile-button {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    border: 2px solid #555;
}

/* Desktop Mockup */
.desktop-mockup {
    position: relative;
    z-index: 1;
    margin-left: -50px;
    animation: float 6s ease-in-out infinite 0.5s;
}

.desktop-frame {
    width: 450px;
    height: 320px;
    background: #2a2a2a;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.2);
    border: 2px solid #444;
}

.desktop-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.browser-bar {
    height: 35px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid #ddd;
}

.browser-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.browser-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-button.red {
    background: #ff5f57;
}

.browser-button.yellow {
    background: #ffbd2e;
}

.browser-button.green {
    background: #28ca42;
}

.browser-url {
    flex: 1;
    background: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
    border: 1px solid #ddd;
}

.desktop-preview-image {
    width: 100%;
    height: calc(100% - 35px);
    object-fit: cover;
    object-position: top;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design for Device Mockups */
@media (max-width: 768px) {
    .devices-showcase {
        flex-direction: column;
        min-height: auto;
        padding: 1rem;
    }
    
    .mobile-mockup {
        margin-right: 0;
        margin-bottom: 2rem;
        order: 1;
    }
    
    .desktop-mockup {
        margin-left: 0;
        order: 2;
        transform: scale(0.8);
    }
    
    .mobile-frame {
        width: 240px;
        height: 480px;
        padding: 20px 12px;
    }
    
    .desktop-frame {
        width: 350px;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .mobile-frame {
        width: 200px;
        height: 400px;
        padding: 15px 10px;
    }
    
    .desktop-frame {
        width: 280px;
        height: 200px;
    }
    
    .desktop-mockup {
        transform: scale(0.7);
    }
}

/* ===== MODELS SLIDER STYLES ===== */
.models-section {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Desktop Styles */
.models-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.models-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 500%; /* 5 cards * 100% */
}

.model-card {
    flex: 0 0 20%; /* Each card takes 20% of slider width */
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 10px;
    min-height: 500px;
    box-sizing: border-box;
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(95, 72, 252, 0.2);
}

.model-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.model-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.model-card:hover .model-img {
    transform: scale(1.05);
}

.model-info {
    padding: 25px;
    text-align: center;
    background: white;
}

.model-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.model-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(95, 72, 252, 0.3);
}

.slider-btn i {
    font-size: 1.2rem;
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(95, 72, 252, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* MOBILE CAROUSEL - COMPLETELY NEW DESIGN */
@media (max-width: 768px) {
    .models-slider-container {
        display: none;
    }
    
    .mobile-models-carousel {
        position: relative;
        width: 100%;
        overflow: hidden;
        background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
        border-radius: 20px;
        margin: 0 auto;
        box-shadow: 0 10px 30px rgba(95, 72, 252, 0.1);
    }
    
    .mobile-carousel-track {
        display: flex;
        width: 500%; /* 5 slides × 100% each */
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        will-change: transform;
        transform: translateX(0%);
    }
    
    .mobile-model-slide {
        flex: 0 0 100%; /* Each slide takes full visible width */
        width: 100%;
        min-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    .mobile-model-card {
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        margin: 20px;
        overflow: hidden;
        height: 450px;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .mobile-model-image {
        flex: 1;
        padding: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
        min-height: 280px;
        max-height: 300px;
    }
    
    .mobile-model-img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
        transition: transform 0.3s ease;
    }
    
    .mobile-model-info {
        padding: 25px;
        text-align: center;
        flex-shrink: 0;
    }
    
    .mobile-model-name {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .mobile-model-description {
        color: var(--text-light);
        font-size: 1rem;
        line-height: 1.6;
        margin: 0;
    }
    
    /* Mobile controls - Ocultos */
    .mobile-carousel-controls {
        display: none;
    }
    
    /* Mobile indicators - Mejorados */
    .mobile-carousel-indicators {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding: 20px 0;
        margin: 0;
    }
    
    .mobile-indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(95, 72, 252, 0.3);
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border: 2px solid transparent;
    }
    
    .mobile-indicator.active {
        background: var(--primary-color);
        transform: scale(1.3);
        border-color: rgba(95, 72, 252, 0.2);
        box-shadow: 0 0 0 4px rgba(95, 72, 252, 0.1);
    }
    
    .mobile-indicator:hover {
        background: rgba(95, 72, 252, 0.6);
        transform: scale(1.1);
    }
}

/* Optimizaciones adicionales para móviles muy pequeños */
@media (max-width: 576px) {
    .mobile-model-card {
        height: 360px;
        margin: 10px;
    }
    
    .mobile-model-image {
        min-height: 180px;
        max-height: 200px;
        padding: 15px;
    }
    
    .mobile-model-name {
        font-size: 1.1rem;
    }
    
    .mobile-model-description {
        font-size: 0.9rem;
    }
    
    .mobile-carousel-indicators {
        padding: 15px 0;
        gap: 10px;
    }
    
    .mobile-indicator {
        width: 10px;
        height: 10px;
    }
}

/* ===== NFC PAGE STYLES ===== */

/* Hybrid Technology Cards */
.hybrid-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
}

.hybrid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.nfc-tech {
    border-color: #007bff;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.qr-tech {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
}

.tech-header {
    text-align: center;
    margin-bottom: 25px;
}

.tech-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
}

.nfc-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.qr-icon {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.tech-badge {
    background: linear-gradient(135deg, #007bff, #28a745);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tech-features {
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
    padding: 10px;
    background: rgba(0,123,255,0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0,123,255,0.1);
    transform: translateX(5px);
}

.feature-item i {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Hybrid Advantage Section */
.hybrid-advantage {
    background: linear-gradient(135deg, #007bff, #28a745);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,123,255,0.2);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
}

.hybrid-advantage h4 {
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.8rem;
}

.hybrid-advantage p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.hybrid-advantage strong {
    color: white;
    font-weight: 700;
}

/* NFC Steps */
.step-card.nfc-step {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.step-card.nfc-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 20px;
    font-size: 2rem;
    color: #007bff;
}

.step-card.nfc-step h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-card.nfc-step p {
    color: #6c757d;
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    padding: 50px 0 30px;
    margin-top: 50px;
}

.footer-brand img {
    filter: brightness(0) invert(1);
}

.footer h5 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

.contact-info p {
    color: #adb5bd;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #007bff;
    width: 20px;
}

.footer-divider {
    border-color: #495057;
    margin: 30px 0 20px;
}

.footer .row:last-child p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive adjustments for NFC page */
@media (max-width: 768px) {
    .comparison-card,
    .step-card.nfc-step {
        margin-bottom: 30px;
    }
    
    .comp-price .price {
        font-size: 2rem;
    }
    
    .model-image-nfc {
        height: 200px;
    }
}

/* ===== DESKTOP MODELS GRID STYLES ===== */
.desktop-models-grid {
    margin-top: 2rem;
}

.desktop-model-card {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    height: 100%;
}

.desktop-model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(95, 72, 252, 0.2);
}

.desktop-model-card.featured {
    border: 3px solid var(--accent-color);
    transform: scale(1.02);
}

.desktop-model-card.premium {
    border: 3px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.featured-badge, .premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-badge {
    background: var(--primary-color);
}

.model-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.model-image-wrapper {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;
}

.model-image-wrapper .model-img {
    max-width: 100%;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.desktop-model-card:hover .model-img {
    transform: scale(1.05);
}

.model-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(95, 72, 252, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.desktop-model-card:hover .model-overlay {
    opacity: 1;
}

.model-features {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.nfc-badge {
    background: linear-gradient(135deg, #5f48fc, #8349f9);
}

.qr-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.model-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.model-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    text-align: center;
}

.model-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
    flex-grow: 1;
}

.model-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.highlight-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Service Highlights Styles */
.service-highlights {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 40px 30px;
    margin-top: 30px;
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.highlight-icon:hover {
    transform: scale(1.1);
}

.highlight-icon i {
    font-size: 2rem;
    color: white;
}

.service-highlights h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.service-highlights p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}