:root {
    /* Colores principales - Azul YInMn */
    --primary: #2E5090;
    --primary-dark: #1e3a70;
    --primary-light: #4a6fa5;

    /* Secundario */
    --secondary: #1a2332;

    /* Acento - Naranja */
    --accent: #ff6b35;
    --accent-light: #ff8c61;

    /* Success - Teal */
    --success: #14b8a6;

    /* Colores base */
    --dark: #1f2937;
    --light: #f9fafb;

    /* Gradientes */
    --gradient-main: linear-gradient(135deg, #2E5090 0%, #4a6fa5 100%);
    --gradient-dark: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a70 0%, #2E5090 50%, #4a6fa5 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);

    /* Sombras */
    --shadow-soft: 0 10px 40px rgba(46, 80, 144, 0.15);
    --shadow-strong: 0 20px 60px rgba(46, 80, 144, 0.2);
    --shadow-xl: 0 25px 80px rgba(46, 80, 144, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(46, 80, 144, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
    min-height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-main);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    margin-bottom: -4rem;
    padding-bottom: 0;
}

.hero::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 1200 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {

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

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0.5rem 0 0 0;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    animation: pulse 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    margin-right: 0.5rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--light);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    color: var(--primary-dark);
}

.btn-secondary-custom {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

/* Hero Cards */
.hero-cards-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-strong);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.hero-card-main {
    width: 200px;
    transform: rotate(-5deg);
    animation-delay: 0s;
    z-index: 3;
}

.hero-card-secondary {
    width: 160px;
    position: relative;
}

.hero-card-reports {
    transform: rotate(5deg);
    animation-delay: 2s;
    z-index: 2;
    margin-left: -40px;
}

.hero-card-sales {
    transform: rotate(-3deg);
    animation-delay: 4s;
    z-index: 1;
    margin-right: -40px;
}

.hero-card:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: var(--shadow-xl);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }

    25% {
        transform: translateY(-15px) rotate(calc(var(--rotation, 0deg) + 2deg));
    }

    50% {
        transform: translateY(-25px) rotate(calc(var(--rotation, 0deg) + 5deg));
    }

    75% {
        transform: translateY(-10px) rotate(calc(var(--rotation, 0deg) - 2deg));
    }
}

/* ============================================
   FEATURE SHOWCASE
   ============================================ */

.feature-showcase {
    padding: 6rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

/* Carousel Styles */
.feature-showcase .carousel {
    position: relative;
}

.feature-showcase .carousel-inner {
    height: 650px;
}

.feature-showcase .carousel-item {
    height: 650px;
    padding: 2rem 0;
}

.feature-showcase .carousel-item .row {
    height: 100%;
    align-items: center;
}

.feature-showcase .carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.feature-showcase .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(46, 80, 144, 0.3);
    border: 2px solid transparent;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.feature-showcase .carousel-indicators button.active {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

.feature-showcase .carousel-control-prev,
.feature-showcase .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(46, 80, 144, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-showcase .carousel-control-prev {
    left: 20px;
}

.feature-showcase .carousel-control-next {
    right: 20px;
}

.feature-showcase .carousel-control-prev:hover,
.feature-showcase .carousel-control-next:hover {
    opacity: 1;
    background: rgba(46, 80, 144, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.feature-showcase .carousel-control-prev-icon,
.feature-showcase .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    filter: brightness(0) saturate(100%) invert(24%) sepia(95%) saturate(1234%) hue-rotate(201deg) brightness(92%) contrast(89%);
}

/* Quitar padding superior de la primera sección showcase después del hero */
.hero + .feature-showcase {
    padding-top: 0;
    padding-bottom: 6rem;
}

.feature-showcase:nth-child(even) {
    background: var(--light);
}

/* Feature Showcase Reverse - Invierte el orden de imagen y texto */
.feature-showcase-reverse .row {
    flex-direction: row-reverse;
}

@media (max-width: 991px) {
    .feature-showcase-reverse .row {
        flex-direction: column;
    }
}

.feature-showcase::before,
.feature-showcase::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(46, 80, 144, 0.08) 0%, rgba(46, 80, 144, 0) 70%);
    z-index: 0;
}

.feature-showcase::before {
    width: 400px;
    height: 400px;
    top: -120px;
    right: -160px;
}

.feature-showcase::after {
    width: 500px;
    height: 500px;
    bottom: -200px;
    left: -150px;
}

.showcase-copy {
    position: relative;
    z-index: 1;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    background: rgba(46, 80, 144, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.showcase-copy h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.showcase-copy p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    max-width: 500px;
    font-size: 1.1rem;
}

.showcase-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
    color: #475569;
}

.showcase-list li {
    display: flex;
    align-items: center;
    font-weight: 500;
    padding: 0.5rem 0;
}

.showcase-list li i {
    color: var(--primary);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.showcase-image-wrapper {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.showcase-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(46, 80, 144, 0.25), transparent 60%);
    filter: blur(40px);
    z-index: -1;
}

.showcase-image {
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: white;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.showcase-image:hover {
    transform: scale(1.02);
}

.lightbox-image {
    cursor: pointer;
}

.lightbox-image:hover {
    opacity: 0.9;
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, background-color 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    max-width: 90%;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.lightbox-close:hover,
.lightbox-close:focus {
    transform: scale(1.2);
    background: rgba(0, 0, 0, 0.8);
}

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }

    .lightbox-caption {
        bottom: 10px;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: 6rem 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 80, 144, 0.1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-main);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

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

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ============================================
   COMPARISON SECTION
   ============================================ */

.comparison-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Asegurar 2 columnas en desktop */
@media (min-width: 992px) {
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
    }
}

.comparison-column {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    min-width: 0;
}

.comparison-column.without {
    background: #fef2f2;
    border-top: 1px solid #fee2e2;
    border-right: 1px solid #fee2e2;
    border-bottom: 1px solid #fee2e2;
    border-left: 3px solid #ef4444;
}

.comparison-column.with {
    background: #f0f9ff;
    border-top: 1px solid #bfdbfe;
    border-right: 1px solid #bfdbfe;
    border-bottom: 1px solid #bfdbfe;
    border-left: 3px solid var(--primary);
}

.comparison-column h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.comparison-column.without h3 {
    color: #dc2626;
}

.comparison-column.with h3 {
    color: var(--primary);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: flex-start;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list li span {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

.comparison-column.without .comparison-list li span {
    color: #7f1d1d;
}

.comparison-column.with .comparison-list li span {
    color: #1e3a8a;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    padding: 6rem 0;
    background: var(--gradient-dark);
    color: white;
}

.pricing .section-title h2,
.pricing .section-title p {
    color: white;
}

.pricing-toggle-container {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.pricing-toggle label {
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pricing-toggle input[type="checkbox"] {
    display: none;
}

.pricing-toggle input[type="checkbox"]:not(:checked)~label:first-of-type,
.pricing-toggle input[type="checkbox"]:checked~label:last-of-type {
    background: white;
    color: var(--primary);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.pricing-card.popular::before {
    content: 'Más Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-main);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pricing-card .price-amount {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card .price-period {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li i {
    color: var(--success);
    flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 6rem 0;
    background: var(--gradient-main);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }

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

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-section .cta-buttons {
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cta-guarantee {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero {
        padding-top: 70px;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .feature-showcase .carousel-inner {
        height: auto;
        min-height: auto;
    }

    .feature-showcase .carousel-item {
        height: auto;
        min-height: auto;
        padding: 2rem 0;
    }

    .feature-showcase .carousel-item .row {
        height: auto;
    }

    .showcase-image-wrapper {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .showcase-image {
        display: block;
        max-width: 100%;
        height: auto;
    }
}

/* Laptops y pantallas medianas */
@media (max-width: 1400px) and (min-width: 993px) {
    .hero h1 {
        font-size: 2.75rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.15rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        margin-bottom: 1.25rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-cards-container {
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .hero-card-main {
        width: 180px;
        padding: 1.5rem;
    }

    .hero-card-secondary {
        width: 140px;
        padding: 1.5rem;
    }

    .hero-card-reports {
        margin-left: -20px;
    }

    .hero-card-sales {
        margin-right: -20px;
    }

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

    .showcase-copy h2 {
        font-size: 2rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    .feature-showcase {
        padding: 4rem 0;
    }

    .feature-showcase .carousel-inner {
        height: auto;
        min-height: 500px;
    }

    .feature-showcase .carousel-item {
        min-height: auto;
        height: auto;
        padding: 1rem 0;
    }

    .feature-showcase .carousel-control-prev,
    .feature-showcase .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .feature-showcase .carousel-control-prev {
        left: 10px;
    }

    .feature-showcase .carousel-control-next {
        right: 10px;
    }

    .feature-showcase .carousel-indicators {
        bottom: 15px;
    }

    .showcase-image-wrapper {
        padding: 1rem;
    }

    .navbar {
        min-height: 70px;
        padding: 0.5rem 0;
    }


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

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}