/* Products Page Specific Styles */

/* Hero Section — mirrors case-studies-hero */
.products-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 4rem;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/about-hero.jpg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.products-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.products-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.products-hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.8;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.3s forwards;
}

/* Intro Section */
.products-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    text-align: center;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.intro-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.highlight-text {
    color: var(--text);
    font-weight: 600;
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Products Grid — mirrors case-studies grid */
.products-section {
    padding: 0 2rem 6rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

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

/* Product Card — reuses case-study-card pattern */
.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

/* Card Content */
.product-card .card-header {
    margin-bottom: 1.5rem;
}

.product-card .card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.product-card .card-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-weight: 500;
}

.product-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.product-card .card-description {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.product-card .card-description p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
}

.product-card .card-cta {
    margin-top: auto;
}

.visit-site-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: gap 0.3s ease, color 0.3s ease;
}

.visit-site-btn:hover {
    gap: 0.8rem;
    color: #a78bfa;
}

.visit-site-btn span {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .products-hero {
        min-height: 40vh;
        padding: 8rem 1.5rem 3rem;
    }

    .products-hero h1 {
        font-size: 2.5rem;
    }

    .products-hero p {
        font-size: 1.1rem;
    }

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

    .products-section {
        padding: 0 1.5rem 4rem;
    }
}

@media (max-width: 480px) {
    .products-hero h1 {
        font-size: 2rem;
    }
}
