/* Only apply resets to modern sections */
.products, .products *, .modern-footer, .modern-footer * {
    box-sizing: border-box;
}

/* Scope modern styles to avoid affecting jumbotron */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Products section grows to fill space, pushing footer to bottom */
.products {
    flex: 1;
    padding: 4rem 2rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
}

/* Modern overlay styles work with existing navbar */

/* Products Section */
.products {
    padding: 4rem 2rem;
    background: #f8fafc;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2em;
    margin-bottom: 0.5em;
    color: #1e293b;
}

.section-header p {
    color: #64748b;
    font-size: 1.25em;
    font-weight: 500;
}

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

.product-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.product-header {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wiki-icon { 
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.7), rgba(248, 113, 113, 0.7)); 
}
.graphivac-icon { 
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.7), rgba(110, 231, 183, 0.7)); 
}
.wacnet-icon { 
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.7), rgba(59, 130, 246, 0.7)); 
}
.vigilia-icon { 
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.7), rgba(251, 191, 36, 0.7)); 
}

.product-icon-logo {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.product-title h3 {
    font-size: 1.75em;
    margin-bottom: 0.5em;
    color: #1e293b;
    font-weight: 700;
}

.product-title p {
    color: #64748b;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.4;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #475569;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.check {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.product-link-text {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin-top: auto;
    padding-top: 1rem;
}

.product-card:hover .product-link-text {
    color: #1d4ed8;
}

/* Modern Footer */
.modern-footer {
    background: #1e293b;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.modern-footer a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.3s;
}

.modern-footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-logo {
        max-height: 60px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2em;
    }
}
