﻿/* Hero */
.products-hero {
    background: linear-gradient(145deg, var(--primary-light) 0%, var(--background-color) 100%);
    padding: 120px 80px 70px 40px;
    /*margin-top: 70px;*/
    text-align: center;
    /*border-bottom: 1px solid rgba(0,0,0,0.03);*/
}

.products-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.text-highlight-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 300;
}

/* Product Grid */
.products-grid {
    padding: 60px 0;
    /*background: var(--white);*/
}

.products {
    display: grid;
    /*grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    /*margin-top: 3rem;*/
    position: relative;
}

.product-card {
    position: relative;
    background: var(--white);
    border-radius: 40px 40px 40px 8px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-12px);
        box-shadow: var(--shadow-lg);
    }

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 10px rgba(134,166,240,0.3);
    z-index: 2;
    text-transform: uppercase;
}

.product-badge.popular {
    background: var(--primary-dark);
}

.product-badge.new {
    background: #ff7e56;
}

.product-badge.free {
    background: #28a745;
}

.product-name {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 600;
    /*margin-bottom: 1.5rem;*/
    color: var(--text-color);
    flex-wrap: wrap;
}
.product-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 20px 20px 20px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-dark);
    /*margin-bottom: 1.5rem;*/
    /*box-shadow: inset 0 2px 6px rgba(0,0,0,0.02);*/
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;

    margin-right: 1rem;
}
.product-icon img {
    width: 75%;
}

.case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.product-tagline {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.product-description {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    margin: 1rem 0 1.2rem;
    padding: 0;
    gap: 0.5rem 1rem;
    border-top: 1px dashed rgba(134,166,240,0.6);
    padding-top: 1rem;
}

.feature-list li {
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0.5rem 0 1.5rem;
    font-size: 0.85rem;
    color: var(--gray);
    border-top: 1px dashed rgba(134,166,240,0.6);
    padding-top: 1rem;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-meta i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.product-card a {
    display: none;
}
.product-card:hover a {
    display: block;
}

/*.product-card .btn {
    align-self: flex-start;
    padding: 10px 25px;
    font-size: 0.9rem;
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 40px;
    transition: all 0.2s;
    text-decoration: none;
} 

.product-card .btn:hover {
    background: var(--primary-color);
    color: white;
}*/

/* Responsive */
@media (max-width: 1024px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: 1fr 
    }
}

@media (max-width: 768px) {
    .products-hero {
        padding: 120px 0 50px;
        /*margin-top: 60px;*/
    }
    .products-title {
        font-size: 2.2rem;
    }
    .products-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .products-cta .cta-content {
        padding: 40px 20px;
    }
    .products-cta .cta-content h3 {
        font-size: 1.8rem;
    }
}