/*
 * GFunnel — Master Reseller (/master-reseller). Over gf_home.css's tokens,
 * each with its own fallback because the page also renders inside the member
 * shell. Every class inc/gf_master_reseller.inc.php emits has a rule here
 * (tests/gf_master_reseller.php).
 */

.gfmh { --gfmh-ink: var(--gfh-ink, #0F172A); --gfmh-slate: var(--gfh-slate, #475569); --gfmh-line: var(--gfh-line, #E2E8F0);
        --gfmh-card: var(--gfh-card, #fff); --gfmh-bg: var(--gfh-bg, #F8FAFC); --gfmh-or: #F97316; --gfmh-or-d: #EA580C;
        --gfmh-r: 16px; color: var(--gfmh-ink); font-size: 16px; line-height: 1.55; }
.gfmh *, .gfmh *::before, .gfmh *::after { box-sizing: border-box; }
.gfmh-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.gfmh-narrow { max-width: 820px; }
.gfmh-ico { flex: none; vertical-align: -3px; }

/* ---- hero ---------------------------------------------------------------- */
.gfmh-hero { position: relative; overflow: hidden; background: #070716; color: #fff; padding: 88px 0 72px; }
.gfmh-aurora { position: absolute; inset: 0; pointer-events: none; }
.gfmh-aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.gfmh-aurora span:nth-child(1) { width: 520px; height: 520px; left: -120px; top: -160px; background: #4338CA; }
.gfmh-aurora span:nth-child(2) { width: 460px; height: 460px; right: -100px; top: -60px; background: #F97316; opacity: .35; }
.gfmh-aurora span:nth-child(3) { width: 380px; height: 380px; left: 40%; bottom: -220px; background: #7C3AED; opacity: .4; }
.gfmh-hero-in { position: relative; text-align: center; }
.gfmh-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--gfh-font-mono, ui-monospace, monospace); font-size: 12px;
                letter-spacing: .08em; text-transform: uppercase; color: var(--gfmh-or-d); font-weight: 700; }
.gfmh-eyebrow-lt { color: #FDBA74; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 12px; border-radius: 999px; }
.gfmh-h1 { font-family: var(--gfh-font-head, inherit); font-size: clamp(36px, 6vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; margin: 20px 0 0; color: #fff; }
.gfmh-grad { background: linear-gradient(90deg, #FDBA74, #F97316 45%, #C084FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gfmh-lead { font-size: 18px; line-height: 1.6; color: #CBD5E1; max-width: 640px; margin: 18px auto 0; }
.gfmh-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 30px auto 0; background: #fff; border-radius: 14px;
               padding: 6px 6px 6px 16px; box-shadow: 0 20px 50px rgba(0,0,0,.35); color: #64748B; }
.gfmh-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; color: #0F172A; background: transparent; padding: 10px 0; }
.gfmh-search button { border: 0; border-radius: 10px; background: var(--gfmh-or); color: #fff; font: inherit; font-weight: 700; padding: 10px 18px; cursor: pointer; }
.gfmh-search button:hover { background: var(--gfmh-or-d); }
.gfmh-qchips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: #94A3B8; }
.gfmh-qchip { color: #E2E8F0; text-decoration: none; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 4px 12px; }
.gfmh-qchip:hover { border-color: #FDBA74; color: #fff; }
.gfmh-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.gfmh-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: transform .15s, background .15s; }
.gfmh-btn:hover { transform: translateY(-1px); }
.gfmh-btn-pri { background: var(--gfmh-or); color: #fff; }
.gfmh-btn-pri:hover { background: var(--gfmh-or-d); color: #fff; }
.gfmh-btn-glass { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.gfmh-btn-glass:hover { background: rgba(255,255,255,.14); color: #fff; }
.gfmh-stats { display: flex; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.gfmh-stat b { display: block; font-family: var(--gfh-font-head, inherit); font-size: 30px; font-weight: 800; color: #fff; }
.gfmh-stat span { font-size: 13px; color: #94A3B8; }

/* ---- sections ------------------------------------------------------------- */
.gfmh-sec { padding: 72px 0; background: var(--gfmh-card); }
.gfmh-sec-alt { background: var(--gfmh-bg); }
.gfmh-sec-tight { padding: 40px 0 0; }
.gfmh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.gfmh-head-c { justify-content: center; text-align: center; }
.gfmh-head-c > div { max-width: 720px; }
.gfmh-h2 { font-family: var(--gfh-font-head, inherit); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 0; }
.gfmh-h2-lt { color: #fff; }
.gfmh-sub { color: var(--gfmh-slate); font-size: 17px; margin: 14px 0 0; }
.gfmh-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gfmh-or-d); font-weight: 700; text-decoration: none; }
.gfmh-link:hover { text-decoration: underline; }

/* ---- your licences -------------------------------------------------------- */
.gfmh-mines { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.gfmh-mine { flex: none; display: flex; flex-direction: column; gap: 6px; min-width: 200px; padding: 14px 16px; border: 1px solid var(--gfmh-line);
             border-radius: 12px; background: var(--gfmh-card); text-decoration: none; color: var(--gfmh-ink); }
.gfmh-mine:hover { border-color: var(--gfmh-or); }
.gfmh-mine-name { font-weight: 700; }
.gfmh-mine-state { align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 9px; border-radius: 999px; }
.gfmh-mine-on { background: #DCFCE7; color: #166534; }
.gfmh-mine-off { background: #FEE2E2; color: #991B1B; }

/* ---- the directory -------------------------------------------------------- */
.gfmh-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.gfmh-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--gfmh-line);
             background: var(--gfmh-card); color: var(--gfmh-ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.gfmh-chip i { font-style: normal; color: var(--gfmh-slate); font-weight: 500; }
.gfmh-chip:hover { border-color: var(--gfmh-or); }
.gfmh-chip-on { background: var(--gfmh-ink); border-color: var(--gfmh-ink); color: #fff; }
.gfmh-chip-on i { color: #CBD5E1; }
.gfmh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.gfmh-card { display: flex; flex-direction: column; background: var(--gfmh-card); border: 1px solid var(--gfmh-line); border-radius: var(--gfmh-r);
             overflow: hidden; text-decoration: none; color: var(--gfmh-ink); transition: transform .15s, box-shadow .15s; }
.gfmh-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15,23,42,.12); }
.gfmh-card-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #0F172A; }
.gfmh-card-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.gfmh-card-ph { display: flex; align-items: center; justify-content: center; font-family: var(--gfh-font-head, inherit); font-size: 56px; font-weight: 800;
                color: #FDBA74; background: linear-gradient(135deg, #1E1B4B, #0A0A1E); }
.gfmh-pill { position: absolute; left: 12px; top: 12px; background: rgba(15,23,42,.78); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.gfmh-pill-feat { left: auto; right: 12px; background: var(--gfmh-or); }
.gfmh-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.gfmh-card-title { font-family: var(--gfh-font-head, inherit); font-size: 19px; font-weight: 800; line-height: 1.25; }
.gfmh-card-by { font-size: 13px; color: var(--gfmh-slate); }
.gfmh-card-sum { font-size: 15px; color: var(--gfmh-slate); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gfmh-rights { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; font-weight: 600; color: #166534; background: #F0FDF4; border-radius: 10px; padding: 8px 10px; }
.gfmh-card-meta { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; color: var(--gfmh-slate); }
.gfmh-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.gfmh-price { font-weight: 800; color: var(--gfmh-ink); margin-left: auto; }
.gfmh-empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--gfmh-line); border-radius: var(--gfmh-r); background: var(--gfmh-bg); }
.gfmh-empty h3 { font-family: var(--gfh-font-head, inherit); margin: 0 0 8px; }
.gfmh-empty p { margin: 8px 0 0; color: var(--gfmh-slate); }

/* ---- what it is / how it works ------------------------------------------ */
.gfmh-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.gfmh-tile { background: var(--gfmh-card); border: 1px solid var(--gfmh-line); border-radius: var(--gfmh-r); padding: 24px; }
.gfmh-tile .gfmh-ico { width: 28px; height: 28px; color: var(--gfmh-or); }
.gfmh-tile h3 { margin: 12px 0 6px; font-size: 19px; }
.gfmh-tile p { margin: 0; color: var(--gfmh-slate); }
.gfmh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: none; }
.gfmh-steps li { position: relative; padding: 24px; border-radius: var(--gfmh-r); background: var(--gfmh-bg); border: 1px solid var(--gfmh-line); }
.gfmh-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gfmh-ink); color: #fff; font-weight: 800; }
.gfmh-steps h3 { margin: 14px 0 6px; font-size: 18px; }
.gfmh-steps p { margin: 0; color: var(--gfmh-slate); font-size: 15px; }
.gfmh-vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.gfmh-vs-col { background: var(--gfmh-card); border: 1px solid var(--gfmh-line); border-radius: var(--gfmh-r); padding: 26px; }
.gfmh-vs-on { border-color: var(--gfmh-or); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.gfmh-vs-col h3 { margin: 0 0 12px; font-size: 20px; }
.gfmh-vs-col ul { margin: 0 0 14px; padding-left: 20px; color: var(--gfmh-slate); }
.gfmh-vs-col li { margin: 6px 0; }

/* ---- faq ------------------------------------------------------------------ */
.gfmh-faq { display: flex; flex-direction: column; gap: 10px; }
.gfmh-faq-i { border: 1px solid var(--gfmh-line); border-radius: 12px; background: var(--gfmh-card); padding: 0 18px; }
.gfmh-faq-i summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
.gfmh-faq-i summary::-webkit-details-marker { display: none; }
.gfmh-faq-i summary::after { content: '+'; float: right; color: var(--gfmh-or); font-size: 20px; line-height: 1; }
.gfmh-faq-i[open] summary::after { content: '\2212'; }
.gfmh-faq-i p { margin: 0 0 16px; color: var(--gfmh-slate); }

/* ---- close ------------------------------------------------------------------ */
.gfmh-close { background: linear-gradient(135deg, #1E1B4B, #070716 70%); color: #fff; padding: 64px 0; }
.gfmh-close-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gfmh-close .gfmh-lead { margin: 10px 0 0; }
.gfmh-close .gfmh-ctas { margin-top: 0; }

@media (max-width: 640px) {
    .gfmh-hero { padding: 64px 0 52px; }
    .gfmh-sec { padding: 52px 0; }
    .gfmh-stats { gap: 24px; }
    .gfmh-search { flex-wrap: nowrap; }
    .gfmh-close-in { flex-direction: column; align-items: flex-start; }
}
