:root {
    --primary-purple: #8b5cf6;
    --dark-purple: #7c3aed;
    --light-purple: #a78bfa;
    --accent-purple: #c084fc;
    --bg-light: #fafbff;
    --bg-section: #f8faff;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(139, 92, 246, 0.2);
    --success-green: #10b981;
    --warning-orange: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(139, 92, 246, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple) !important;
}

.btn-demo-nav {
    background: linear-gradient(135deg,
            var(--primary-purple),
            var(--accent-purple)) !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 0.6rem 1.5rem !important;
    font-weight: 600 !important;
    margin-left: 1rem;
    transition: all 0.3s ease !important;
}

.btn-demo-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    color: white !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg,
            #ffffff 0%,
            #f8faff 50%,
            #eef2ff 100%);
}

.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 1000 1000"><polygon fill="%23C084FC" fill-opacity="0.05" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg,
            var(--text-dark) 0%,
            var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 400;
}

.hero .highlight {
    color: var(--primary-purple);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary-large {
    background: linear-gradient(135deg,
            var(--primary-purple) 0%,
            var(--accent-purple) 100%);
    border: none;
    padding: 10px 2rem;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.3);
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(139, 92, 246, 0.5);
    color: white;
}

.btn-secondary-large {
    background: white;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    padding: 10px 2rem;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-large:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.3);
}

.stats-hero {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item-hero {
    text-align: center;
}

.stat-number-hero {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.stat-label-hero {
    color: var(--text-gray);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--bg-section);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 3rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
    height: 100%;
}

.features-section .col-lg-4,
.features-section .col-md-6 {
    padding-bottom: 2rem !important;
    margin-bottom: 1.5rem !important;
}

.feature-card {
    margin: 1rem !important;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg,
            var(--primary-purple),
            var(--accent-purple));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Planes y Precios Section */
.pricing-section {
    padding: 5rem 0;
    background: white;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg,
            var(--text-dark) 0%,
            var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Styles */
.pricing-popup {
    font-family: "Inter", sans-serif !important;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.pricing-tab {
    background: transparent;
    border: 2px solid #e2e8f0;
    padding: 13px 24px;
    margin: 0 5px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #64748b;
}

.pricing-tab.active {
    background: var(--primary-purple);
    color: white;
    border: 2px solid var(--primary-purple);
    border-bottom: 2px solid var(--primary-purple);
}

.pricing-tab:hover:not(.active) {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.pricing-tab i {
    margin-right: 8px;
}

.pricing-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.pricing-content.active {
    display: block;
}

/* PRICING CONTAINER - LAYOUT UNIFICADO */
.pricing-container {
    padding: 30px;
    display: grid;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* LAYOUT ESPECIAL PARA PÁGINA DE PRECIOS - SECCIÓN LICENCIAS */
#licencias-bloqueo .pricing-container {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
}

#licencias-bloqueo .pricing-card:first-child {
    grid-row: 1 / 3;
}

#licencias-bloqueo .pricing-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

#licencias-bloqueo .pricing-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

#licencias-bloqueo .pricing-card:nth-child(4) {
    grid-column: 3;
    grid-row: 1;
}

#licencias-bloqueo .pricing-card:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

#licencias-bloqueo .pricing-slider {
    grid-column: 4;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

#licencias-bloqueo .pricing-slider img {
    width: 100%;
    height: calc(50% - 5px);
    object-fit: contain;
    border-radius: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#licencias-bloqueo .pricing-slider img:hover {
    transform: scale(1.02);
}

/* LAYOUT NORMAL PARA TODAS LAS DEMÁS SECCIONES */
#gestion-creditos .pricing-container,
#planes-app-content .pricing-container,
#licencias-content .pricing-container {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 13px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    min-width: 280px;
    max-width: 320px;
    margin: 0 auto;
    height: fit-content;
}

.pricing-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-purple);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.plan-badge,
.plan-badge-2 {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: white;
    padding: 4px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.plan-badge-2 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.plan-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
    margin: 16px 0 8px 0;
}

.plan-description {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.plan-price {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-purple);
    margin: 16px 0;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    text-align: left;
}

.plan-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.4;
}

.plan-button {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 16px;
}

.plan-button:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
}

.btn-buy-licenses,
.btn-start-trial {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 16px;
}

.btn-buy-licenses:hover,
.btn-start-trial:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-purple);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.custom-plan {
    text-align: center;
    margin-top: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.licenses-form-popup,
.purchase-details-popup,
.confirmation-popup {
    font-family: "Inter", sans-serif !important;
}

/* Footer */
.footer {
    background: var(--text-dark);
    padding: 2rem 0 1rem;
    color: white;
    text-align: center;
}

.footer a {
    color: var(--accent-purple);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-purple);
    transform: translateY(-3px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

.hero-image {
    margin-left: 30px;
    height: 250px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-image:hover {
    transform: translateY(-4px) translateX(6px) scale(1.02);
    border-radius: 5px;
}

.dashboard-slide-img {
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 10px 15px;
}

.carousel-indicators button {
    background-color: var(--primary-purple);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-purple);
    font-size: 15px;
    border-radius: 50%;
    padding: 20px;
}

.webapp-item {
    cursor: pointer;
    padding: 10px;
    margin: 5px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.webapp-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid var(--primary-purple);
}

.webapp-item.active {
    background: rgba(139, 92, 246, 0.2);
    border-left: 3px solid var(--primary-purple);
    font-weight: 600;
}

/* Locations Section */
.locations-section {
    padding: 5rem 0;
    background: white;
}

.locations-image {
    text-align: center;
    padding: 2rem;
}

.locations-image img {
    max-width: 60%;
    height: auto;
}

.locations-list {
    padding: 2rem 1rem;
}

.location-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateX(5px);
}

.location-icon {
    margin-right: 10px;
    flex-shrink: 0;
}

.location-icon i {
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.location-text {
    flex: 1;
}

.location-text h5 {
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.2;
}

.stores-section {
    background: #2D3748;
    padding: 3rem 0;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 10px;
}

.store-item {
    text-align: center;
    color: white;
    margin-bottom: 1.5rem;
}

.store-info h5 {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.store-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.store-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Estilos para el formulario de compra integrado */
.form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
    padding: 2.5rem;
    margin-top: 3rem;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 2rem;
    position: relative;
}

.step {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: calc(100% + 0.5rem);
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.step.completed:not(:last-child)::after {
    background: var(--success-green);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.step-number.active {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.step-number.completed {
    background: var(--success-green);
    color: white;
    border-color: var(--success-green);
}

.step-text {
    font-weight: 500;
    color: #6b7280;
    font-size: 14px;
    white-space: nowrap;
}

.step-text.active {
    color: var(--primary-purple);
    font-weight: 600;
}

.step-text.completed {
    color: var(--success-green);
    font-weight: 600;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.form-control-custom {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: "Inter", sans-serif;
    background: white;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-control-custom:hover {
    border-color: var(--light-purple);
}

.total-display {
    padding: 1rem;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-purple);
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discount-btn {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-weight: 500;
}

.discount-btn:hover {
    background: var(--dark-purple);
    transform: translateY(-1px);
}

.discount-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.info-box {
    background: var(--bg-section);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-purple);
}

.info-box h6 {
    color: var(--primary-purple);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-box ul {
    margin: 0;
    padding-left: 1rem;
    font-size: 13px;
    color: #4b5563;
}

.info-box p {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}

/* Botones del formulario */
.btn-form-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Radio buttons personalizados */
.radio-group {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-item input[type="radio"] {
    margin-right: 8px;
    accent-color: var(--primary-purple);
}

.radio-item:hover {
    color: var(--primary-purple);
}

/* Responsive */
@media (max-width: 768px) {
    /* Navigation mobile */
    .btn-demo-nav {
        background: none !important;
        color: var(--primary-purple) !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0.5rem 0.5rem !important;
        font-weight: 500 !important;
        margin: 0 0.5rem !important;
        transition: all 0.3s ease !important;
        box-shadow: none !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        font-size: inherit !important;
        display: inline-block !important;
    }

    .btn-demo-nav:hover {
        background: none !important;
        color: var(--dark-purple) !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        max-width: 280px;
        padding: 13px 1.5rem;
        font-size: 13px;
    }

    /* Hero stats - 3 en una fila compacta */
    .stats-hero {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
        text-align: center;
    }

    .stat-item-hero {
        min-width: 0;
    }

    .stat-number-hero {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }

    .stat-label-hero {
        font-size: 13px;
        line-height: 1.2;
    }

    /* Hero image responsive */
    .hero-image {
        max-width: 100%;
        height: auto;
        margin: 20px 0 0 0;
        transform: none !important;
    }

    .hero-image:hover {
        transform: none !important;
    }

    /* Features section - 2 cards por fila */
    .features-section .row {
        margin: 0 -10px;
    }

    .features-section .col-lg-4,
    .features-section .col-md-6 {
        width: 50% !important;
        padding: 0 10px !important;
        margin-bottom: 1rem !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .feature-card {
        padding: 1.5rem 1rem !important;
        margin: 0.5rem 0 !important;
        font-size: 13px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .feature-card p {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Dashboard carousel images */
    .dashboard-slide-img {
        height: 250px;
        object-fit: contain;
        border-radius: 10px;
        width: 100%;
    }

    .carousel-inner {
        border-radius: 10px;
        overflow: hidden;
    }

    /* Webapp list mobile */
    .webapp-list {
        font-size: 13px;
    }

    .webapp-item {
        padding: 8px;
        margin: 3px 0;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* Pricing container mobile - TODAS las secciones van a una columna */
    .pricing-container,
    #licencias-bloqueo .pricing-container,
    #gestion-creditos .pricing-container,
    #planes-app-content .pricing-container,
    #licencias-content .pricing-container {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 20px;
        padding: 15px;
        max-width: 100%;
    }

    /* Resetear todas las reglas especiales en móvil */
    #licencias-bloqueo .pricing-card:nth-child(n),
    #licencias-bloqueo .pricing-slider {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    #licencias-bloqueo .pricing-slider {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: -100px;
        margin-bottom: -100px;
    }
    
    #licencias-bloqueo .pricing-slider img {
        height: 350px;
        width: calc(50% - 7.5px);
    }

    /* Ajustes específicos para la tarjeta de gestión de licencias en móvil */
    #licencias-bloqueo .pricing-card:first-child {
        padding: 15px !important;
    }

    #licencias-bloqueo .pricing-card:first-child .plan-title {
        font-size: 16px !important;
        margin: 10px 0 !important;
    }

    #licencias-bloqueo .pricing-card:first-child .plan-description {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin-bottom: 13px !important;
    }

    #licencias-bloqueo .pricing-card:first-child .plan-price {
        font-size: 28px !important;
        margin: 13px 0 !important;
    }

    #licencias-bloqueo .pricing-card:first-child .plan-features {
        margin: 10px 0 !important;
    }

    #licencias-bloqueo .pricing-card:first-child .plan-features li {
        padding: 4px 0 !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    #licencias-bloqueo .pricing-card:first-child .plan-button {
        padding: 10px 16px !important;
        font-size: 13px !important;
        margin-top: 13px !important;
    }

    /* Hacer todas las pricing cards más compactas en móvil */
    .pricing-card {
        max-width: 100%;
        margin: 0 auto;
        padding: 15px !important;
        min-width: auto !important;
    }

    .plan-title {
        font-size: 16px !important;
        margin: 8px 0 !important;
    }

    .plan-features li {
        padding: 3px 0 !important;
        font-size: 13px !important;
    }

    /* Locations responsive */
    .locations-image {
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .locations-list {
        padding: 1rem 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        column-gap: 20px;
    }
    
    .location-item {
        margin-bottom: 0;
    }

    .store-item {
        margin-bottom: 2rem;
    }
    
    .store-info h5 {
        font-size: 1rem;
    }

    /* Formulario responsive */
    .form-container {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .step-indicator {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .step-text {
        display: none;
    }

    .step-number {
        margin-right: 0;
    }

    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-form-container {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        max-width: 300px;
    }
}

/* Responsive extra small devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .stats-hero {
        gap: 0.5rem;
    }

    .stat-number-hero {
        font-size: 1.5rem;
    }

    .stat-label-hero {
        font-size: 13px;
    }

    .feature-card {
        padding: 1.2rem 0.8rem !important;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 13px;
    }

    .dashboard-slide-img {
        height: 200px;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .btn-demo-nav {
        font-size: inherit !important;
        padding: 0.5rem 0.5rem !important;
        margin: 0 0.5rem !important;
    }

    .pricing-tabs {
        flex-direction: column;
        gap: 5px;
    }

    .pricing-tab {
        margin: 2px 0;
        padding: 10px 16px;
        border-radius: 8px;
        font-size: 14px;
    }

    .locations-list {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        column-gap: 15px;
    }

    .location-text h5 {
        font-size: 1rem;
    }

    .location-icon i {
        font-size: 1rem;
    }

    .form-container {
        padding: 1rem;
    }

    .step-indicator {
        gap: 0.5rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}