/*
 * products.css — Shared styles for all product pages.
 *
 * Each product page sets the following CSS custom properties in its own <style> block:
 *   --product-start   : gradient start color (hex)
 *   --product-end     : gradient end color (hex)
 *   --product-accent  : accent color used for icon color and hover border
 *   --product-rgb     : RGB triplet (no alpha) matching the primary brand color,
 *                       used in rgba() for backgrounds and shadows
 *                       e.g.  --product-rgb: 67, 97, 238;
 *
 * These four variables are the only per-page values; everything else is shared here.
 */

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.product-hero {
    background: linear-gradient(135deg, var(--product-start) 0%, var(--product-end) 100%);
    color: white;
    padding: 2.5rem 0;
}

.product-hero .lead,
.product-hero p {
    color: white;
}

/* ── First section after hero ────────────────────────────────────────────── */

.product-hero + section {
    padding-top: 2rem;
}

/* ── Feature icon ─────────────────────────────────────────────────────────── */

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--product-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--product-accent);
    font-size: 1.75rem;
}

/* ── Benefit card ─────────────────────────────────────────────────────────── */

.benefit-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    height: 100%;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--product-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(var(--product-rgb), 0.15);
}

/* ── Stat badge ───────────────────────────────────────────────────────────── */

.stat-badge {
    background: rgba(0, 0, 0, 0.25);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ── Screenshot container (arc-twin) ─────────────────────────────────────── */

.screenshot-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    margin: 2rem 0;
}

.screenshot-container img {
    width: 100%;
    height: auto;
    display: block;
}
