/* PulseRook — shared header, footer, nav, and product-card styles.
   Linked from every page; page-specific styles stay inline per page. */

/* ===== Shared header ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a1a1a;
}
.brand-logo {
    height: 40px;
    width: 40px;
    display: block;
    border-radius: 8px;
}
.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: #0052CC;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.site-nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
}
.site-nav a:hover { color: #0052CC; }

.nav-toggle-checkbox { display: none; }
.nav-toggle-label {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
}
.nav-toggle-label span {
    display: block;
    height: 2px;
    width: 100%;
    background: #1a1a1a;
    border-radius: 2px;
}

@media (max-width: 720px) {
    .nav-toggle-label { display: flex; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid #e0e0e0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .site-nav a {
        padding: 14px 20px;
        border-top: 1px solid #f0f0f0;
    }
    .nav-toggle-checkbox:checked ~ .site-nav {
        max-height: 320px;
    }
}

/* ===== Shared footer ===== */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}
.site-footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 18px;
}
.footer-brand .footer-logo { height: 32px; width: 32px; border-radius: 6px; display: block; }
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    margin-bottom: 16px;
}
.site-footer a { color: #4C9AFF; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-copyright { font-size: 12px; color: #999; }

/* ===== Shared buttons (used by product cards and product pages) ===== */
.btn { padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; cursor: pointer; border: none; display: inline-block; transition: all 0.3s; }
.btn-primary { background: #0052CC; color: #fff; }
.btn-primary:hover { background: #0747a6; }
.btn-secondary { background: transparent; color: #0052CC; border: 2px solid #0052CC; }
.btn-secondary:hover { background: rgba(0,82,204,0.08); }

/* ===== Product cards (homepage "Our Products") ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0, 82, 204, 0.06);
}
.product-card .product-logo { height: 48px; width: 48px; border-radius: 10px; margin-bottom: 16px; }
.product-card h3 { font-size: 20px; margin-bottom: 8px; color: #1a1a1a; }
.product-card p { font-size: 14px; color: #666; margin-bottom: 20px; flex-grow: 1; }
.product-card .product-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.product-card.coming-soon {
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #999;
    border-style: dashed;
    background: #fafafa;
    box-shadow: none;
}
.product-card.coming-soon .coming-soon-icon { font-size: 36px; margin-bottom: 12px; }

@media (max-width: 480px) {
    .product-card .product-actions { flex-direction: column; width: 100%; }
    .product-card .product-actions .btn { width: 100%; text-align: center; }
}
