/*
 * Sections added for the SEO/marketing pass: awards, free start, games,
 * stories, AI & reports, audiences, store, FAQ, keyword landing pages.
 * Same palette and type as style-v2.css (teal #288F87, Tajawal); logical
 * properties so one rule serves RTL and LTR.
 */
:root {
    --fz-teal: #288F87;
    --fz-teal-dark: #1f6f69;
    --fz-teal-soft: #e8f5f4;
    --fz-ink: #1d2b2a;
    --fz-muted: #606161;
    --fz-card: #ffffff;
    --fz-line: #e4ecec;
    --fz-gold: #f4b740;
    --fz-radius: 20px;
    --fz-shadow: 0 10px 30px rgba(22, 74, 70, 0.08);
}

.fz-section {
    padding: 70px 40px;
    max-width: 1280px;
    margin: 0 auto;
}
.fz-section.fz-tinted {
    max-width: none;
    background: var(--fz-teal-soft);
}
.fz-section.fz-tinted > * {
    max-width: 1200px;
    margin-inline: auto;
}

.fz-caption {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}
.fz-eyebrow {
    color: var(--fz-teal);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: .2px;
}
.fz-caption h2 {
    font-size: 35px;
    font-weight: 800;
    color: var(--fz-ink);
    line-height: 1.35;
    margin: 0 0 12px;
}
.fz-lead {
    font-size: 17px;
    font-weight: 500;
    color: var(--fz-muted);
    line-height: 1.7;
    margin: 0;
}

/* ---------- Buttons ---------- */
.fz-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    border: 2px solid var(--fz-teal);
}
.fz-btn-primary { background: var(--fz-teal); color: #fff; }
.fz-btn-primary:hover { background: var(--fz-teal-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--fz-shadow); }
.fz-btn-ghost { background: transparent; color: var(--fz-teal); }
.fz-btn-ghost:hover { background: var(--fz-teal-soft); color: var(--fz-teal-dark); }
.fz-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- Awards ---------- */
.fz-awards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.fz-award-card {
    position: relative;
    background: var(--fz-card);
    border: 1px solid var(--fz-line);
    border-radius: var(--fz-radius);
    box-shadow: var(--fz-shadow);
    padding: 28px 24px 26px;
    text-align: center;
    transition: transform .2s ease;
}
.fz-award-card:hover { transform: translateY(-4px); }
.fz-award-card::before {
    content: "";
    position: absolute;
    inset-inline: 24px;
    top: 0;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--fz-gold), var(--fz-teal));
}
.fz-award-media {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.fz-award-media img { width: auto; height: auto; max-height: 130px; max-width: 100%; object-fit: contain; }
.fz-award-year {
    display: inline-block;
    background: #fff6e0;
    color: #8a5f00; /* 4.5:1 on #fff6e0 at 13px */
    font-weight: 800;
    font-size: 13px;
    border-radius: 999px;
    padding: 3px 12px;
    margin-bottom: 10px;
}
.fz-award-card h3 { font-size: 20px; font-weight: 800; color: var(--fz-ink); margin: 0 0 6px; }
.fz-award-card p { color: var(--fz-teal); font-weight: 700; margin: 0; }
.fz-awards-note {
    max-width: 820px;
    margin: 30px auto 0;
    text-align: center;
    color: var(--fz-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* ---------- Generic card grid (features, audiences, AI, store) ---------- */
.fz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}
.fz-card {
    background: var(--fz-card);
    border: 1px solid var(--fz-line);
    border-radius: var(--fz-radius);
    padding: 26px 24px;
    box-shadow: var(--fz-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fz-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--fz-teal-soft);
    color: var(--fz-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.fz-card h3 { font-size: 19px; font-weight: 800; color: var(--fz-ink); margin: 6px 0 0; }
.fz-card p { color: var(--fz-muted); line-height: 1.7; margin: 0; font-size: 15.5px; }
.fz-card a.fz-more {
    margin-top: auto;
    padding-top: 8px;
    color: var(--fz-teal);
    font-weight: 700;
    text-decoration: none;
}
.fz-card a.fz-more:hover { text-decoration: underline; }

/* ---------- Free start band ---------- */
.fz-free {
    /* Dark end of the brand teal: white body text on #36b3a8 was 2.6:1 and on
       --fz-teal 3.9:1 (WCAG AA needs 4.5:1 for this size). Now ≥ 5.4:1. */
    background: linear-gradient(135deg, var(--fz-teal-dark) 0%, #23756f 100%);
    color: #fff;
    border-radius: 28px;
    padding: 46px 40px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
    align-items: center;
    overflow: hidden;
}
.fz-free h2 { font-size: 32px; font-weight: 800; margin: 0 0 12px; color: #fff; }
.fz-free > div > p { font-size: 17px; line-height: 1.7; opacity: .95; margin: 0; }
.fz-free ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.fz-free li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.fz-free li i { margin-top: 4px; color: #fff3c4; }
.fz-free .fz-actions { justify-content: flex-start; }
.fz-free .fz-btn-primary { background: #fff; color: var(--fz-teal); border-color: #fff; }
.fz-free .fz-btn-primary:hover { background: #fff6e0; color: var(--fz-teal-dark); }
.fz-free .fz-btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.fz-free .fz-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.fz-free-art { text-align: center; }
.fz-free-art img { max-width: 280px; width: 100%; height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.18)); }

/* ---------- Games ---------- */
.fz-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
}
.fz-game {
    background: var(--fz-card);
    border-radius: var(--fz-radius);
    border: 1px solid var(--fz-line);
    overflow: hidden;
    box-shadow: var(--fz-shadow);
    transition: transform .2s ease;
}
.fz-game:hover { transform: translateY(-4px) rotate(-.4deg); }
.fz-game-cover {
    aspect-ratio: 4 / 3;
    background: var(--fz-teal-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fz-game-cover img { width: 100%; height: 100%; object-fit: cover; }
.fz-game-cover i { font-size: 46px; color: var(--fz-teal); }
.fz-game-body { padding: 14px 16px 18px; }
.fz-game-body h3 { font-size: 17px; font-weight: 800; margin: 0 0 4px; color: var(--fz-ink); }
.fz-game-body p { font-size: 14px; color: var(--fz-muted); margin: 0; line-height: 1.6; }

/* ---------- Split (text + visual) ---------- */
.fz-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}
.fz-split .fz-caption { text-align: start; margin: 0 0 18px; max-width: none; }
.fz-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fz-checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.65; color: var(--fz-ink); }
.fz-checks li i { color: var(--fz-teal); margin-top: 5px; }
.fz-visual {
    background: var(--fz-teal-soft);
    border-radius: 28px;
    padding: 30px;
    text-align: center;
}
.fz-visual img { max-width: 100%; height: auto; }

/* ---------- FAQ ---------- */
.fz-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.fz-faq details {
    background: var(--fz-card);
    border: 1px solid var(--fz-line);
    border-radius: 16px;
    padding: 0 22px;
    box-shadow: 0 4px 14px rgba(22, 74, 70, 0.05);
}
.fz-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-weight: 700;
    font-size: 17px;
    color: var(--fz-ink);
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.fz-faq summary::-webkit-details-marker { display: none; }
.fz-faq summary::after { content: "+"; color: var(--fz-teal); font-size: 24px; line-height: 1; }
.fz-faq details[open] summary::after { content: "–"; }
.fz-faq details p { color: var(--fz-muted); line-height: 1.8; margin: 0 0 18px; }

/* ---------- Explore links (internal linking) ---------- */
.fz-explore { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.fz-explore a {
    border: 1px solid var(--fz-line);
    background: var(--fz-card);
    color: var(--fz-ink);
    border-radius: 999px;
    padding: 9px 18px;
    text-decoration: none;
    font-weight: 600;
}
.fz-explore a:hover { border-color: var(--fz-teal); color: var(--fz-teal); }

/* ---------- Keyword landing page hero ---------- */
.fz-page-hero {
    padding: 140px 40px 60px;
    background: radial-gradient(circle at 15% 20%, #d9f1ef 0%, transparent 45%), linear-gradient(180deg, #f3fbfa 0%, #fff 100%);
}
.fz-page-hero .fz-split { max-width: 1200px; margin: 0 auto; }
.fz-page-hero h1 { font-size: 40px; font-weight: 800; line-height: 1.35; color: var(--fz-ink); margin: 0 0 16px; }
.fz-page-hero .fz-lead { font-size: 18px; }
.fz-page-hero .fz-actions { justify-content: flex-start; }
.fz-breadcrumb { font-size: 14px; color: var(--fz-muted); margin-bottom: 14px; }
.fz-breadcrumb a { color: var(--fz-teal); text-decoration: none; }
.fz-cta-band { text-align: center; }
.fz-cta-band h2 { font-size: 30px; font-weight: 800; margin: 0 0 10px; }

@media (max-width: 992px) {
    .fz-section { padding: 56px 20px; }
    .fz-awards-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .fz-free, .fz-split { grid-template-columns: 1fr; }
    .fz-free { padding: 34px 24px; }
    .fz-page-hero { padding: 120px 20px 40px; }
    .fz-page-hero h1 { font-size: 32px; }
}
@media (max-width: 576px) {
    .fz-caption h2 { font-size: 27px; }
    .fz-free h2 { font-size: 26px; }
    .fz-page-hero h1 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
    .fz-award-card, .fz-game, .fz-btn { transition: none; }
}

/* ---------- Small helpers used by the section views ---------- */
.fz-mt { margin-top: 48px; }
.fz-m0 { margin: 0; }
.fz-actions.fz-start { justify-content: flex-start; }
.fz-subtitle { font-size: 24px; font-weight: 800; color: var(--fz-ink); margin: 0 0 10px; }
.fz-hero-icon { font-size: 110px; color: var(--fz-teal); }
.fz-platform {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--fz-teal-dark);
    background: var(--fz-teal-soft);
    border-radius: 999px;
    padding: 2px 10px;
}
.fz-explore-section { padding-top: 20px; }
.fz-explore-section .fz-caption { margin-bottom: 22px; }
.fz-explore-section h2 { font-size: 26px; }
.fz-explore a i { color: var(--fz-teal); margin-inline-end: 6px; }

.fz-card h2.fz-card-title { font-size: 19px; font-weight: 800; color: var(--fz-ink); margin: 6px 0 0; }
.fz-visual-soft { background: linear-gradient(160deg, #eef8f7 0%, #fff7e6 100%); }
.fz-visual-caption { margin: 14px 0 0; font-weight: 800; color: var(--fz-teal-dark); }

/* ---------- Live plan cards (inside the existing .pricing styles) ---------- */
.pricing .pricing-card .fz-plan-monthly { font-size: 14px; font-weight: 600; color: var(--fz-muted); margin-top: -6px; }
.pricing .fz-plan-note { text-align: center; color: var(--fz-muted); font-size: 14px; margin: 18px auto 0; max-width: 720px; }

/* Hero: a compact <h1> above the admin slogan, which keeps the big type. */
.hero .content h1.fz-hero-h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--fz-teal);
    line-height: 1.6;
    margin: 0 0 12px;
}
.hero .content .fz-hero-h1 + p {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 10px;
}
.hero .content .fz-hero-h1 + p + p {
    font-size: 20px;
    font-weight: 400;
}
@media (max-width: 576px) {
    .hero .content h1.fz-hero-h1 {
        font-size: 16px;
    }
    .hero .content .fz-hero-h1 + p {
        font-size: 27px;
    }
}

/* Cookie-consent card (layout/consent.blade.php + js/consent.js).
 * Phones: full width with 16px gutters; ≥576px: a 420px card pinned to the
 * reading-start bottom corner. Above the floating WhatsApp button and a Tawk
 * widget (z-index ~1e9) but below nothing else that matters. */
.fz-consent {
    position: fixed;
    inset-block-end: 16px;
    inset-inline: 16px;
    z-index: 2000000100;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 16px;
    background: var(--fz-card);
    color: var(--fz-ink);
    border: 1px solid var(--fz-line);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(22, 74, 70, 0.18);
    font-family: 'Tajawal', sans-serif;
    text-align: start;
}
.fz-consent[hidden],
.fz-consent [hidden] {
    display: none !important;
}
@media (min-width: 576px) {
    .fz-consent {
        inset-inline-end: auto;
        width: 420px;
    }
}
.fz-consent__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-block-end: 8px;
}
.fz-consent__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--fz-teal-soft);
    color: var(--fz-teal);
    font-size: 15px;
    flex: none;
}
.fz-consent__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--fz-ink);
}
.fz-consent__desc {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--fz-muted);
}
.fz-consent__desc a {
    color: var(--fz-teal);
    font-weight: 700;
    text-decoration: underline;
}
.fz-consent__options {
    display: grid;
    gap: 10px;
    margin-block-end: 12px;
}
.fz-consent__option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}
.fz-consent__option span {
    display: grid;
    gap: 2px;
    font-size: 13px;
}
.fz-consent__option small {
    font-size: 12px;
    line-height: 1.6;
    color: var(--fz-muted);
}
.fz-consent__option input {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: none;
    width: 36px;
    height: 20px;
    margin: 2px 0 0;
    border-radius: 999px;
    background: var(--fz-line);
    cursor: pointer;
    transition: background 0.2s;
}
.fz-consent__option input::after {
    content: '';
    position: absolute;
    inset-block-start: 2px;
    inset-inline-start: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}
.fz-consent__option input:checked {
    background: var(--fz-teal);
}
.fz-consent__option input:checked::after {
    transform: translateX(16px);
}
[dir=rtl] .fz-consent__option input:checked::after {
    transform: translateX(-16px);
}
.fz-consent__option input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.fz-consent__option input:focus-visible,
.fz-consent__btn:focus-visible,
.fz-consent__link:focus-visible,
.fz-consent__desc a:focus-visible {
    outline: 2px solid var(--fz-teal-dark);
    outline-offset: 2px;
}
.fz-consent__actions {
    display: flex;
    gap: 8px;
}
.fz-consent__btn {
    flex: 1 1 0;
    min-height: 38px;
    padding: 6px 12px;
    border: 1px solid var(--fz-line);
    border-radius: 999px;
    background: var(--fz-card);
    color: var(--fz-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.fz-consent__btn:hover {
    background: var(--fz-teal-soft);
}
.fz-consent__btn--primary {
    border-color: var(--fz-teal);
    background: var(--fz-teal);
    color: #fff;
}
.fz-consent__btn--primary:hover {
    border-color: var(--fz-teal-dark);
    background: var(--fz-teal-dark);
}
.fz-consent__link {
    display: block;
    width: 100%;
    margin-block-start: 6px;
    padding: 6px;
    border: 0;
    background: none;
    color: var(--fz-muted);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.fz-consent__link:hover {
    color: var(--fz-teal);
}
.fz-footer-consent {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    opacity: 0.85;
}
.fz-footer-consent:hover {
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .fz-consent__option input,
    .fz-consent__option input::after {
        transition: none;
    }
}

/* The plan slider (shown instead of the grid below 992px, see style-v2.css)
   is built by Swiper after load; reserve its height to avoid a layout shift. */
@media (max-width: 992px) {
    .pricing .swiper-pricing { min-height: 560px; }
}

/* Approximate price in the visitor's currency (display only, see ExchangeRates). */
.pricing .pricing-card .fz-plan-fx-note { font-size: 12px; font-weight: 400; color: var(--fz-muted); margin-top: -10px; opacity: .85; }

/* ---- Blog post sign-up prompts (blogPosts/cta.blade.php) ---- */
.fz-post-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 32px 0;
    padding: 24px;
    border: 1px solid var(--fz-line);
    border-radius: var(--fz-radius);
    background: var(--fz-teal-soft);
}
.fz-post-cta-art { flex: 0 0 auto; width: 96px; height: 96px; }
.fz-post-cta-body { flex: 1 1 auto; min-width: 0; }
.fz-post-cta .fz-post-cta-title { margin: 0 0 6px; font-size: 1.25rem; font-weight: 800; color: var(--fz-ink); }
.fz-post-cta .fz-post-cta-text { margin: 0; color: var(--fz-muted); line-height: 1.7; }
.fz-post-cta .fz-actions { justify-content: flex-start; margin-top: 16px; }
@media (max-width: 575.98px) {
    .fz-post-cta { flex-direction: column; text-align: center; padding: 20px 16px; }
    .fz-post-cta-art { width: 72px; height: 72px; }
    .fz-post-cta .fz-actions { justify-content: center; }
}

/* Mobile sticky bar; below the consent banner (z-index 2000000100). */
.fz-post-sticky {
    position: fixed;
    inset-inline: 12px;
    bottom: 12px;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(22, 74, 70, 0.18);
}
.fz-post-sticky[hidden] { display: none; }
.fz-post-sticky p { flex: 1 1 auto; margin: 0; font-weight: 700; color: var(--fz-ink); font-size: 0.95rem; }
.fz-post-sticky .fz-btn { flex: 0 0 auto; padding: 10px 16px; }
.fz-post-sticky-close {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--fz-muted);
    font-size: 1.4rem;
    line-height: 1;
}
@media (min-width: 768px) {
    .fz-post-sticky { display: none !important; }
}
