/* ===================================
   PRODUCTOS PAGE - MODERN DESIGN 2025
   =================================== */

/* Hero Section */
.products-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e1e5f 0%, #2d2d7a 50%, #4141A1 100%);
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(65, 65, 161, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(155, 155, 205, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin: 0 0 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, #9B9BCD 0%, #4141A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: blob 7s ease-in-out infinite;
}

.hero-blob.blob-1 {
    width: 400px;
    height: 400px;
    background: #4141A1;
    top: -200px;
    left: -100px;
}

.hero-blob.blob-2 {
    width: 350px;
    height: 350px;
    background: #9B9BCD;
    bottom: -150px;
    right: -100px;
    animation-delay: 2s;
}

.hero-blob.blob-3 {
    width: 300px;
    height: 300px;
    background: #2d2d7a;
    top: 50%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Bento Grid Section */
.products-bento {
    padding: 80px 0;
    background: #f8fafc;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Bento Card Base */
.bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
    transform: translateY(-8px);
}

.bento-card:hover .card-glow {
    opacity: 1;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.02);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(65, 65, 161, 0.1), rgba(155, 155, 205, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Large Card - Heaven ERP */
.bento-large {
    grid-column: span 8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px;
    min-height: 600px;
}

.bento-large[data-product="erp"] {
    background: linear-gradient(135deg, rgba(30, 30, 95, 0.05) 0%, rgba(65, 65, 161, 0.05) 100%);
}

/* Medium Cards */
.bento-medium {
    grid-column: span 4;
    padding: 40px;
    min-height: 400px;
}

.bento-medium[data-product="commerce"] {
    background: linear-gradient(135deg, rgba(155, 155, 205, 0.05) 0%, rgba(65, 65, 161, 0.05) 100%);
}

.bento-medium[data-product="web"] {
    background: linear-gradient(135deg, rgba(65, 65, 161, 0.05) 0%, rgba(45, 45, 122, 0.05) 100%);
}

.bento-medium[data-product="b2b"] {
    background: linear-gradient(135deg, rgba(30, 30, 95, 0.05) 0%, rgba(65, 65, 161, 0.05) 100%);
}

.bento-medium[data-product="offline"] {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.05) 0%, rgba(30, 41, 59, 0.05) 100%);
}

.bento-medium[data-product="meli"] {
    background: linear-gradient(135deg, rgba(255, 230, 0, 0.05) 0%, rgba(65, 65, 161, 0.05) 100%);
}

/* Stats Card */
.bento-stats {
    grid-column: span 6;
    padding: 40px;
    background: linear-gradient(135deg, rgba(30, 30, 95, 0.05) 0%, rgba(155, 155, 205, 0.05) 100%);
}

.stats-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, #2d2d7a 0%, #4141A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: #64748b;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
}

/* Feature Highlight Card */
.bento-feature {
    grid-column: span 6;
    padding: 40px;
    background: linear-gradient(135deg, rgba(65, 65, 161, 0.05) 0%, rgba(155, 155, 205, 0.05) 100%);
}

.feature-content {
    text-align: center;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #2d2d7a 0%, #4141A1 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 32px rgba(45, 45, 122, 0.3);
}

.feature-icon-large svg {
    width: 40px;
    height: 40px;
}

.feature-content h4 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.feature-content p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Image Use Case Cards */
.bento-image {
    grid-column: span 4;
    padding: 0;
    overflow: hidden;
    min-height: 350px;
}

.bento-image-large {
    grid-column: span 8;
    padding: 0;
    overflow: hidden;
    min-height: 350px;
}

.image-card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px 40px 48px 40px;
    min-height: 350px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(2, 67, 131, 0.3) 0%, 
        rgba(2, 67, 131, 0.7) 100%);
    z-index: 1;
}

.image-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-bottom: 8px;
    margin-bottom: 30px;
}

.image-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.image-content h4 {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.image-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 8px;
    max-width: 300px;
}

/* Product Card Content */
.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.product-icon svg {
    width: 32px;
    height: 32px;
}

.icon-erp {
    background: linear-gradient(135deg, #2d2d7a 0%, #4141A1 100%);
}

.icon-commerce {
    background: linear-gradient(135deg, #4141A1 0%, #9B9BCD 100%);
}

.icon-web {
    background: linear-gradient(135deg, #9B9BCD 0%, #4141A1 100%);
}

.icon-b2b {
    background: linear-gradient(135deg, #4141A1 0%, #2d2d7a 100%);
}

.icon-offline {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.icon-meli {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
}

.product-badge {
    padding: 6px 16px;
    background: rgba(45, 45, 122, 0.1);
    border: 1px solid rgba(45, 45, 122, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #2d2d7a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px;
    letter-spacing: -1px;
}

.bento-medium .product-title {
    font-size: 28px;
}

.product-tagline {
    font-size: 18px;
    color: #2d2d7a;
    font-weight: 600;
    margin: 0 0 16px;
}

.product-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 24px;
}

/* Product Features List */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(8px);
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #4141A1;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

/* Product Highlights */
.product-highlights {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.highlight-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #2d2d7a 0%, #4141A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

/* Product CTA */
.product-cta {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

/* Card Image/Mockup */
.card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.mockup-window {
    width: 90%;
    height: 90%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 12px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca42; }

.mockup-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px;
}

.mockup-content .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(2, 67, 131, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mockup-content .feature-item:hover {
    background: rgba(2, 67, 131, 0.1);
    transform: translateX(4px);
}

.mockup-content .feature-icon {
    width: 20px;
    height: 20px;
    color: #4141A1;
    flex-shrink: 0;
}

.mockup-content .feature-item span {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    line-height: 1.4;
}

/* Detailed Features Section */
.products-features {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 20px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

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

.feature-card {
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.icon-gradient-1 { background: linear-gradient(135deg, #2d2d7a 0%, #4141A1 100%); }
.icon-gradient-2 { background: linear-gradient(135deg, #4141A1 0%, #9B9BCD 100%); }
.icon-gradient-3 { background: linear-gradient(135deg, #9B9BCD 0%, #c7c7e2 100%); }
.icon-gradient-4 { background: linear-gradient(135deg, #2d2d7a 0%, #4141A1 100%); }
.icon-gradient-5 { background: linear-gradient(135deg, #4141A1 0%, #9B9BCD 100%); }
.icon-gradient-6 { background: linear-gradient(135deg, #9B9BCD 0%, #2d2d7a 100%); }

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.feature-card p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Comparison Section */
.products-comparison {
    padding: 100px 0;
    background: #f8fafc;
}

.comparison-grid {
    position: relative;
    border-radius: 24px;
    padding: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-table {
    position: relative;
    z-index: 2;
}

.table-header {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
}

.header-cell {
    font-weight: 700;
    color: #1e293b;
}

.header-cell.feature-col {
    font-size: 18px;
}

.header-cell.product-col {
    text-align: center;
}

.product-name {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #2d2d7a 0%, #4141A1 100%);
    color: white;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.table-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.table-row {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding-left: 16px;
    padding-right: 16px;
}

.cell {
    display: flex;
    align-items: center;
}

.cell.feature-col {
    font-size: 16px;
    color: #334155;
    font-weight: 500;
}

.cell.product-col {
    justify-content: center;
}

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4141A1 0%, #2d2d7a 100%);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

.minus {
    font-size: 24px;
    color: #cbd5e1;
}

/* CTA Section */
.products-cta {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #1e1e5f 0%, #4141A1 100%);
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 64px;
    border-radius: 24px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-text h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin: 0 0 12px;
}

.cta-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 16px;
}

.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.cta-blob.blob-1 {
    width: 500px;
    height: 500px;
    background: #4141A1;
    top: -250px;
    left: -100px;
    animation: blob 8s ease-in-out infinite;
}

.cta-blob.blob-2 {
    width: 400px;
    height: 400px;
    background: #9B9BCD;
    bottom: -200px;
    right: -100px;
    animation: blob 8s ease-in-out infinite;
    animation-delay: 3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #4141A1 0%, #2d2d7a 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(65, 65, 161, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(65, 65, 161, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.7);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .bento-large {
        grid-column: span 12;
        grid-template-columns: 1fr;
    }
    
    .bento-medium {
        grid-column: span 6;
    }
    
    .bento-stats,
    .bento-feature,
    .bento-image,
    .bento-image-large {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .bento-grid {
        gap: 16px;
    }
    
    .bento-large,
    .bento-medium,
    .bento-stats,
    .bento-feature,
    .bento-image,
    .bento-image-large {
        grid-column: span 12;
        padding: 32px;
    }
    
    .bento-image,
    .bento-image-large {
        padding: 0;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Tabla comparativa responsive - scroll horizontal */
    .comparison-grid {
        padding: 24px;
        overflow-x: auto;
    }
    
    .table-header,
    .table-row {
        min-width: 900px;
    }
    
    .product-name {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .cell.feature-col {
        font-size: 14px;
    }
    
    .cta-content {
        flex-direction: column;
        gap: 32px;
        padding: 40px 32px;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .table-header {
        display: none;
    }
    
    .table-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 12px;
    }
    
    .cell.product-col::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 8px;
    }

   
}
