/* Products Listing Page Styles */

/* Professional Font Stack */
.products-container,
.product-card,
.product-name,
.product-description,
.products-title,
.products-subtitle,
.nav-title,
.product-category,
.feature-tag {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.product-description,
.products-subtitle {
    font-weight: 400;
    line-height: 1.6;
}

.product-name,
.products-title {
    font-weight: 600;
    letter-spacing: -0.025em;
}

.nav-title {
    font-weight: 500;
}

/* Navigation Header */
.nav-header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-back {
    color: var(--text-accent);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.nav-back:hover {
    color: var(--text-color);
}

.nav-arrow {
    font-size: 1.2rem;
}

.nav-title {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0;
}

/* Products Container */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Products Hero */
.products-hero {
    text-align: center;
    padding: 2rem 0 4rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.products-title {
    color: var(--text-color);
    font-size: 3rem;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, var(--text-accent), var(--text-success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card.coming-soon {
    opacity: 0.7;
    pointer-events: none;
}

.product-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.product-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--text-accent), var(--text-success));
    border-radius: 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-logo {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: contain;
    background: white;
    padding: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

.product-category {
    color: var(--text-secondary);
    font-size: 0.8rem;
    background-color: var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background-color: var(--text-accent);
    color: var(--bg-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-link {
    color: var(--text-accent);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-link {
    color: var(--text-color);
}

.link-arrow {
    transition: transform 0.3s ease;
}

.product-card:hover .link-arrow {
    transform: translateX(3px);
}

/* Products CTA */
.products-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(56, 166, 255, 0.1), rgba(35, 134, 54, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.products-cta h2 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.products-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--text-accent), var(--text-success));
    color: var(--bg-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 166, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-header {
        padding: 0.75rem 1rem;
    }

    .nav-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .nav-title {
        font-size: 1.2rem;
    }

    .products-container {
        padding: 5rem 1rem 2rem;
    }

    .products-hero {
        padding: 1rem 0 3rem;
    }

    .products-title {
        font-size: 2.5rem;
    }

    .products-subtitle {
        font-size: 1.1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-name {
        font-size: 1.3rem;
    }

    .products-cta {
        padding: 2rem 1rem;
    }

    .products-cta h2 {
        font-size: 1.8rem;
    }
}

/* Fade-in animations */
.product-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}