/* ===== TUS ESTILOS EXISTENTES DEL CRM ===== */
/* Estilos para las cards */
.card-purple {
    background-color: #fff;
}
.card-purple:not(.card-outline) > .card-header {
    background-color: #6f42c1;
}
.card-purple .btn-tool {
    color: rgba(255, 255, 255, 0.8);
}
.card-purple .btn-tool:hover {
    color: #fff;
}
/* Estilos para las tablas */
.table-responsive {
    overflow-x: auto;
}
.table-responsive table {
    width: 100%;
    margin-bottom: 0;
}
/* Anchos fijos para columnas comunes */
.table-responsive table th.col-id,
.table-responsive table td.col-id {
    width: 60px;
    min-width: 60px;
}
.table-responsive table th.col-orden,
.table-responsive table td.col-orden {
    width: 100px;
    min-width: 100px;
}
.table-responsive table th.col-fecha,
.table-responsive table td.col-fecha {
    width: 120px;
    min-width: 120px;
}
.table-responsive table th.col-estado,
.table-responsive table td.col-estado {
    width: 100px;
    min-width: 100px;
}
.table-responsive table th.col-acciones,
.table-responsive table td.col-acciones {
    width: 120px;
    min-width: 120px;
}
/* Manejo de contenido en celdas */
.table-responsive table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Estilos para badges */
.badge {
    padding: 0.5em 0.8em;
    font-size: 0.75em;
    font-weight: 600;
}
/* Colores personalizados */
.bg-purple {
    background-color: #6f42c1 !important;
    color: #fff;
}
.text-purple {
    color: #6f42c1 !important;
}
/* Estilos para la barra de desplazamiento */
.table-responsive::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: #6f42c1;
    border-radius: 3px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #5a32a3;
}
/* Estilos para los botones de acción */
.btn-group .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}
.btn-group .btn i {
    font-size: 0.875rem;
}
/* Estilos para tooltips */
[data-bs-toggle="tooltip"] {
    cursor: help;
}
/* Estilos para estados específicos */
.badge.bg-success { background-color: #28a745 !important; }
.badge.bg-warning { background-color: #ffc107 !important; color: #212529; }
.badge.bg-danger { background-color: #dc3545 !important; }
.badge.bg-info { background-color: #17a2b8 !important; }
.badge.bg-secondary { background-color: #6c757d !important; }

/* ===== NUEVOS ESTILOS PARA LA LANDING PAGE ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Variables CSS para consistencia */
:root {
    --primary-purple: #6f42c1;
    --secondary-purple: #8a63d2;
    --light-purple: #e8d8ff;
    --accent-gold: #C5A572;
    --text-dark: #2D2D2D;
    --text-gray: #6B7280;
    --light-bg: #FEFEFE;
    --section-bg: #F8F6FA;
    --white: #FFFFFF;
}

/* Reset solo para la landing page */
.landing-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.landing-page {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-bg);
}

/* Navigation */
.landing-navigation {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(111, 66, 193, 0.1);
    transition: all 0.3s ease;
}

.landing-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.landing-logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-purple);
    text-decoration: none;
}

.landing-nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.landing-nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.landing-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

.landing-nav-menu a:hover::after {
    width: 100%;
}

.landing-nav-menu a:hover {
    color: var(--primary-purple);
}

.landing-crm-access-btn {
    background: var(--primary-purple);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.landing-crm-access-btn:hover {
    background: var(--secondary-purple);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* Hero Section */
.landing-hero {
    margin-top: 70px;
    padding: 60px 0 80px;
    background: var(--white);
}

.landing-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.landing-hero-content {
    padding-right: 40px;
}

.landing-hero-subtitle {
    color: var(--accent-gold);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.landing-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.landing-hero-quote {
    font-size: 24px;
    color: var(--accent-gold);
    font-style: italic;
    margin-bottom: 40px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
}

.landing-hero-description {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.landing-hero-button {
    background: var(--primary-purple);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.landing-hero-button:hover {
    background: var(--secondary-purple);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.landing-hero-image {
    position: relative;
}

.landing-hero-img {
    width: 100%;
    height: 500px;
    background: var(--section-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-gray);
    position: relative;
    overflow: hidden;
}

.landing-hero-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.1), rgba(197, 165, 114, 0.1));
}

/* Stats Section */
.landing-stats-section {
    background: var(--section-bg);
    padding: 60px 0;
}

.landing-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.landing-stat-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.landing-stat-card:hover {
    transform: translateY(-5px);
}

.landing-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.landing-stat-label {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 500;
}

/* About Section */
.landing-about-section {
    padding: 80px 0;
    background: var(--white);
}

.landing-about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}

.landing-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 60px;
}

.landing-about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.landing-about-card {
    text-align: left;
    padding: 40px;
    background: var(--section-bg);
    border-radius: 8px;
}

.landing-about-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.landing-about-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Products Section */
.landing-products-section {
    padding: 80px 0;
    background: var(--section-bg);
}

.landing-products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.landing-products-header {
    text-align: center;
    margin-bottom: 60px;
}

.landing-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.landing-product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.landing-product-card:hover {
    transform: translateY(-5px);
}

.landing-product-image {
    height: 220px;
    background: linear-gradient(135deg, var(--light-purple), var(--secondary-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    position: relative;
    overflow: hidden;
}

.landing-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-product-content {
    padding: 30px;
}

.landing-product-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.landing-product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.landing-product-price .original {
    font-size: 16px;
    color: var(--text-gray);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 10px;
}

.landing-product-description {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.landing-product-btn {
    background: var(--primary-purple);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.landing-product-btn:hover {
    background: var(--secondary-purple);
}

/* Registration Section */
.landing-registration-section {
    padding: 80px 0;
    background: var(--white);
}

.landing-registration-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.landing-registration-header {
    text-align: center;
    margin-bottom: 50px;
}

.landing-registration-form {
    background: var(--section-bg);
    padding: 50px;
    border-radius: 8px;
}

.landing-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.landing-form-group {
    margin-bottom: 25px;
}

.landing-form-label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.landing-form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.landing-form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.landing-form-submit {
    background: var(--primary-purple);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.landing-form-submit:hover {
    background: var(--secondary-purple);
}

/* Testimonials Section */
.landing-testimonials-section {
    padding: 80px 0;
    background: var(--section-bg);
}

.landing-testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

.landing-testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.landing-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.landing-testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.landing-testimonial-quote {
    font-size: 80px;
    color: var(--light-purple);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
}

.landing-testimonial-text {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.landing-testimonial-author {
    font-weight: 600;
    color: var(--primary-purple);
}

/* Footer */
.landing-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.landing-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}

.landing-footer-content {
    margin-bottom: 40px;
}

.landing-footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.landing-footer-description {
    color: #9CA3AF;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.landing-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.landing-social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.landing-social-link:hover {
    background: var(--secondary-purple);
    color: white;
    text-decoration: none;
}

.landing-footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    color: #9CA3AF;
    font-size: 14px;
}

/* Alerts para la landing page */
.landing-alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    font-weight: 500;
}

.landing-alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.landing-alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .landing-hero-content {
        padding-right: 0;
        text-align: center;
    }

    .landing-hero-title {
        font-size: 36px;
    }

    .landing-hero-quote {
        font-size: 20px;
    }

    .landing-nav-menu {
        display: none;
    }

    .landing-form-row {
        grid-template-columns: 1fr;
    }

    .landing-registration-form {
        padding: 30px;
    }

    .landing-section-title {
        font-size: 28px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.landing-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.landing-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}