/**
 * Shared layout for About, Terms, Policies, and similar info pages.
 * Works with products.css (Cairo, --primary tokens).
 */
.static-page {
    background: var(--bg-light, #f8f8f8);
    min-height: 60vh;
    padding-bottom: 2rem;
}

.static-hero {
    position: relative;
    margin: 0 auto 2rem;
    max-width: 1280px;
    padding: 3.5rem 1.5rem 3rem;
    border-radius: 0 0 1.25rem 1.25rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 45%, #3d0a14 100%);
    color: #fff;
    overflow: hidden;
}

.static-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(195, 0, 47, 0.35), transparent 55%),
        radial-gradient(circle at 85% 20%, rgba(195, 0, 47, 0.2), transparent 40%);
    pointer-events: none;
}

.static-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.static-hero__icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.static-hero__icon i,
.static-hero__icon svg {
    width: 2rem;
    height: 2rem;
}

.static-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.static-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.9;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.static-hero__accent {
    width: 4rem;
    height: 3px;
    margin: 1.25rem auto 0;
    background: var(--primary, #c3002f);
    border-radius: 2px;
}

.static-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem 1rem;
}

.static-prose {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 2.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color, #e2e2e2);
}

.static-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary, #c3002f);
    display: inline-block;
}

.static-prose p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary, #666);
    margin-bottom: 1rem;
}

.static-prose p:last-child {
    margin-bottom: 0;
}

.static-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.static-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem;
    border: 1px solid var(--border-color, #e2e2e2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.static-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(195, 0, 47, 0.12);
    border-color: rgba(195, 0, 47, 0.25);
}

.static-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary, #c3002f), var(--primary-dark, #a10026));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.static-card__icon i,
.static-card__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.static-card h2,
.static-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.static-card p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-secondary, #666);
    flex: 1;
}

.static-card ul {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
}

.static-card ul li {
    position: relative;
    padding-inline-start: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary, #666);
}

.static-card ul li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary, #c3002f);
}

.static-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.static-feature {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color, #e2e2e2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.static-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(195, 0, 47, 0.1);
}

.static-feature__icon {
    color: var(--primary, #c3002f);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.static-feature__icon i,
.static-feature__icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.static-feature h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #1a1a1a);
}

.static-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
    line-height: 1.6;
}

.static-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.static-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--border-color, #e2e2e2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.static-row:hover {
    border-color: rgba(195, 0, 47, 0.2);
    box-shadow: 0 8px 20px rgba(195, 0, 47, 0.08);
}

.static-row__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.65rem;
    background: rgba(195, 0, 47, 0.1);
    color: var(--primary, #c3002f);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.static-row__icon i,
.static-row__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.static-row h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-primary, #1a1a1a);
}

.static-row p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary, #666);
    margin: 0;
}

.static-cta {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--primary, #c3002f), var(--primary-dark, #a10026));
    border-radius: 1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.static-cta h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.static-cta p {
    opacity: 0.92;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.static-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    background: #fff;
    color: var(--primary, #c3002f);
    font-weight: 700;
    border-radius: 9999px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.static-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .static-hero {
        padding: 2.5rem 1rem 2rem;
        border-radius: 0 0 1rem 1rem;
    }

    .static-prose {
        padding: 1.5rem 1.25rem;
    }

    .static-grid {
        grid-template-columns: 1fr;
    }

    .static-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
