/* ============================================================
   BranditScan — Free Tools (public SEO pages)
   Shared styles for /free-tools, /free-dmca-template,
   /free-2257-form, /free-model-release-form, /onlyfans-traffic-booster
   ============================================================ */

/* ---------- Breadcrumbs ---------- */
.ft-crumbs { max-width: 1160px; margin: 0 auto; padding: 108px 24px 0; }
.ft-crumbs ul { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.ft-crumbs li { display: flex; align-items: center; gap: 10px; }
.ft-crumbs a { font-family: "Matter Regular", sans-serif; font-size: 14px; color: #666d69; text-decoration: none; transition: color 0.2s; }
.ft-crumbs a:hover { color: #7f42fd; text-decoration: none; }
.ft-crumbs i { color: #999; font-size: 10px; }
.ft-crumbs .current { font-family: "Matter Regular", sans-serif; font-size: 14px; color: #07100c; }

/* ---------- Hero ---------- */
.ft-hero { position: relative; padding: 52px 24px 44px; text-align: center; background: radial-gradient(ellipse at 50% 45%, rgba(127, 66, 253, 0.08) 0%, transparent 60%); overflow: hidden; }
.ft-hero-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }

/* Floating decorative icon chips around the hero.
   Spans (almost) the full viewport so decorations hug the edges — a narrow
   centered cap would park them on top of the centered text column. */
.ft-hero-orbit { position: absolute; inset: 0; max-width: 1720px; margin: 0 auto; pointer-events: none; z-index: 1; }
.ft-hero-deco {
    position: absolute; display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 17px; background: #fff;
    border: 1px solid rgba(7,16,12,0.06);
    box-shadow: 0 12px 28px rgba(7,16,12,0.1), 0 2px 6px rgba(7,16,12,0.05);
    font-size: 21px; --r: -6deg; transform: rotate(var(--r));
    animation: ft-hero-float 6.5s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.ft-hero-deco--sm { width: 44px; height: 44px; border-radius: 13px; font-size: 16px; }
.ft-hero-deco--stamp {
    width: auto; height: auto; padding: 8px 14px; border-radius: 9px;
    background: #dc2626; color: #fff; font-family: "Matter Medium", sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(220,38,38,0.35); gap: 6px;
}
.ft-hero-deco--pill {
    width: auto; height: auto; padding: 8px 14px; border-radius: 100px;
    font-family: "Matter Medium", sans-serif; font-size: 11.5px; gap: 6px; color: #07100c;
}
@keyframes ft-hero-float {
    0%, 100% { transform: translateY(0) rotate(var(--r)); }
    50% { transform: translateY(-11px) rotate(var(--r)); }
}

/* ---------- Hero proof cards (case study + CTR ladder) ----------
   One render mode everywhere: a static, centered, slightly-tilted pair in
   the normal flow right under the hero content. The LP pages render inside
   a fixed-width centered column, so absolute "edge" positioning has no real
   room and ends up on the text — in-flow can never overlap. */
.ft-hero-proofs {
    display: flex; justify-content: center; align-items: stretch;
    gap: 16px; max-width: 540px; margin: 30px auto 0;
    position: relative; z-index: 2;
}
.ft-hero-case, .ft-hero-ctr {
    display: block; flex: 1; min-width: 0; max-width: 240px;
    background: linear-gradient(135deg, #fff 0%, #fdf4ff 100%);
    border: 1px solid rgba(127,66,253,0.16); border-radius: 18px; padding: 15px 16px;
    box-shadow: 0 18px 44px rgba(7,16,12,0.13), 0 3px 10px rgba(7,16,12,0.06);
    text-decoration: none; text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ft-hero-case { transform: rotate(-2.5deg); }
.ft-hero-ctr { transform: rotate(2.5deg); }
.ft-hero-case:hover { transform: rotate(-1deg) translateY(-4px); }
.ft-hero-ctr:hover { transform: rotate(1deg) translateY(-4px); }
.ft-hero-case:hover, .ft-hero-ctr:hover { box-shadow: 0 24px 54px rgba(127,66,253,0.22); text-decoration: none; }

.ft-hero-case__head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.ft-hero-case__avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(127,66,253,0.4); flex-shrink: 0; }
.ft-hero-case__name { font-family: "Matter Medium", sans-serif; font-size: 13px; color: #07100c; display: flex; align-items: center; gap: 4px; line-height: 1.15; }
.ft-hero-case__name svg { width: 13px; height: 13px; flex-shrink: 0; }
.ft-hero-case__tag { font-family: "Matter Regular", sans-serif; font-size: 10px; color: #8a8f8b; text-transform: uppercase; letter-spacing: 0.5px; display: block; }
.ft-hero-case__num { font-family: "Matter Medium", sans-serif; font-size: 27px; font-weight: 700; letter-spacing: -1px; line-height: 1; background: linear-gradient(180deg, #46ce84 0%, #2ea865 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; }
.ft-hero-case__lbl { font-family: "Matter Medium", sans-serif; font-size: 9.5px; font-weight: 700; color: #4b5563; text-transform: uppercase; letter-spacing: 0.6px; margin: 4px 0 9px; display: block; }
.ft-hero-case__chips { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.ft-hero-case__chips span { font-family: "Matter Medium", sans-serif; font-size: 10px; padding: 3px 8px; border-radius: 100px; background: rgba(127,66,253,0.08); color: #6d28d9; }
.ft-hero-case__go { font-family: "Matter Medium", sans-serif; font-size: 12px; color: #7f42fd; display: inline-flex; align-items: center; gap: 5px; }

/* CTR ladder card */
.ft-hero-ctr__tag { display: flex; align-items: center; gap: 6px; font-family: "Matter Medium", sans-serif; font-size: 10.5px; font-weight: 700; color: #4b5563; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.ft-hero-ctr__row { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.ft-hero-ctr__row b { font-family: "Matter Medium", sans-serif; font-size: 11px; color: #6b7280; width: 20px; flex-shrink: 0; }
.ft-hero-ctr__row em { font-family: "Matter Medium", sans-serif; font-style: normal; font-size: 11.5px; color: #07100c; margin-left: auto; flex-shrink: 0; }
.ft-hero-ctr__bar { display: block; height: 9px; border-radius: 100px; width: var(--w, 40%); background: linear-gradient(90deg, #c4b5fd, #7f42fd); }
.ft-hero-ctr__bar.is-top { background: linear-gradient(90deg, #46ce84, #2ea865); }
.ft-hero-ctr__note { display: block; font-family: "Matter Regular", sans-serif; font-size: 10.5px; color: #8a918d; line-height: 1.5; margin-top: 9px; padding-top: 9px; border-top: 1px solid rgba(7,16,12,0.07); }
.ft-hero-ctr__check { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 6px; font-family: "Matter Medium", sans-serif; font-size: 11.5px; color: #07100c; line-height: 1.4; }
.ft-hero-ctr__check i { color: #2ea865; font-size: 10.5px; margin-top: 2px; flex-shrink: 0; }
.ft-hero-ctr__img { display: block; width: 100%; border-radius: 10px; border: 1px solid rgba(7,16,12,0.07); }

/* Hero sparkles (LP sparkle language) */
.ft-hero-spark { position: absolute; color: rgba(127,66,253,0.4); pointer-events: none; z-index: 1; animation: ft-spark-twinkle 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes ft-spark-twinkle {
    0%, 100% { opacity: 0.25; transform: scale(0.75) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.05) rotate(18deg); }
}

@media (max-width: 540px) {
    .ft-hero-proofs { gap: 10px; margin-top: 22px; }
    .ft-hero-case, .ft-hero-ctr { padding: 12px 13px; border-radius: 15px; }
    .ft-hero-case__num { font-size: 22px; }
    .ft-hero-case__chips span { font-size: 9px; padding: 3px 7px; }
    .ft-hero-case__go, .ft-hero-ctr__note { font-size: 10px; }
    .ft-hero-ctr__note { margin-top: 7px; padding-top: 7px; }
}
@media (max-width: 1320px) { .ft-hero-deco--lg-only, .ft-hero-deco--pill, .ft-hero-deco--stamp { display: none; } }
@media (max-width: 1150px) { .ft-hero-orbit { display: none; } }
@media (max-width: 809px) {
    .ft-crumbs { padding: 16px 20px 0; }
    .ft-hero { padding: 26px 20px 34px; }
    .ft-hero-sub { font-size: 15px; }
    .ft-trust { gap: 8px; margin-top: 18px; }
    .ft-trust-chip { font-size: 12px; padding: 6px 11px; }
}
.ft-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; margin-bottom: 18px; background: linear-gradient(180deg, rgba(127,66,253,0.08) 0%, rgba(97,20,255,0.08) 100%); box-shadow: inset 0 1px 0 0 #fff, 0 0 0 1px rgba(127,66,253,0.18); }
.ft-hero-badge i { font-size: 12px; color: #7f42fd; }
.ft-hero-badge span { font-family: "Matter Medium", sans-serif; font-size: 13px; font-weight: 500; background-image: linear-gradient(0deg, rgb(127,66,253) 0%, rgb(97,20,255) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ft-hero h1 { font-family: "Matter Medium", sans-serif; font-size: clamp(34px, 4.6vw, 54px); font-weight: 500; color: #07100c; margin: 0 0 16px; letter-spacing: -0.5px; line-height: 1.12; }
.ft-hero h1 .gradient-text { background: linear-gradient(135deg, #7f42fd, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ft-hero-sub { font-family: "Matter Regular", sans-serif; font-size: 17px; color: #666d69; line-height: 1.65; max-width: 640px; margin: 0 auto; }
.ft-trust { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.ft-trust-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 100px; background: #fff; border: 1px solid rgba(7,16,12,0.08); font-family: "Matter Medium", sans-serif; font-size: 13px; color: #07100c; box-shadow: 0 1px 6px rgba(7,16,12,0.04); }
.ft-trust-chip i { font-size: 12px; color: #46ce84; }
.ft-trust-chip--purple i { color: #7f42fd; }

/* ---------- Generic layout ---------- */
.ft-section { padding: 0 24px; }
.ft-wrap { max-width: 1160px; margin: 0 auto; }
.ft-wrap--narrow { max-width: 800px; margin: 0 auto; }

/* ---------- Tool layout (form + paper preview) ---------- */
.ft-tool { padding: 24px 24px 56px; }
.ft-tool-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 26px; align-items: start; }
.ft-preview-col { position: sticky; top: 96px; }
@media (max-width: 1020px) {
    .ft-tool-grid { grid-template-columns: 1fr; }
    .ft-preview-col { position: static; }
}

/* ---------- Cards / form ---------- */
.ft-card { background: #fff; border-radius: 18px; border: 1px solid rgba(7,16,12,0.06); box-shadow: 0 2px 14px rgba(7,16,12,0.05); padding: 26px; margin-bottom: 18px; }
.ft-card-title { display: flex; align-items: center; gap: 11px; font-family: "Matter Medium", sans-serif; font-size: 17px; font-weight: 500; color: #07100c; margin: 0 0 6px; }
.ft-card-title .ft-step-dot { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #7f42fd 0%, #6114ff 100%); color: #fff; font-size: 12.5px; font-family: "Matter Medium", sans-serif; }
.ft-card-sub { font-family: "Matter Regular", sans-serif; font-size: 13.5px; color: #666d69; line-height: 1.55; margin: 0 0 18px; }

.ft-field { margin-bottom: 16px; }
.ft-field:last-child { margin-bottom: 0; }
.ft-label { display: flex; align-items: center; gap: 6px; font-family: "Matter Medium", sans-serif; font-size: 13.5px; color: #07100c; margin-bottom: 6px; }
.ft-label .ft-req { color: #ef4444; font-size: 13px; }
.ft-label .ft-opt { font-family: "Matter Regular", sans-serif; font-size: 12px; color: #999; }
.ft-input, .ft-textarea, .ft-select {
    width: 100%; box-sizing: border-box; padding: 11px 14px; border-radius: 12px;
    border: 1px solid rgba(7,16,12,0.12); background: #fff; color: #07100c;
    font-family: "Matter Regular", sans-serif; font-size: 14.5px; outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.ft-input:focus, .ft-textarea:focus, .ft-select:focus { border-color: rgba(127,66,253,0.5); box-shadow: 0 0 0 3px rgba(127,66,253,0.1); }
.ft-input::placeholder, .ft-textarea::placeholder { color: #a7aeaa; }
.ft-textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.ft-hint { font-family: "Matter Regular", sans-serif; font-size: 12.5px; color: #8a918d; line-height: 1.55; margin-top: 6px; }
.ft-hint strong { color: #6b7370; font-family: "Matter Medium", sans-serif; font-weight: 500; }
.ft-why { display: block; margin-top: 6px; padding: 8px 12px; border-radius: 10px; background: rgba(127,66,253,0.05); border: 1px solid rgba(127,66,253,0.1); font-family: "Matter Regular", sans-serif; font-size: 12.5px; color: #5b5f6d; line-height: 1.55; }
.ft-why b, .ft-why strong { color: #7f42fd; font-family: "Matter Medium", sans-serif; font-weight: 500; }
.ft-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .ft-grid2 { grid-template-columns: 1fr; } }

/* Repeatable rows */
.ft-rows { display: flex; flex-direction: column; gap: 10px; }
.ft-row-item { display: flex; gap: 8px; align-items: center; }
.ft-row-item .ft-input, .ft-row-item .ft-select { flex: 1; min-width: 0; }
.ft-row-item .ft-select { flex: 0 0 168px; }
.ft-remove-btn { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(7,16,12,0.1); background: #fff; color: #999; cursor: pointer; font-size: 13px; transition: all 0.15s; }
.ft-remove-btn:hover { color: #ef4444; border-color: rgba(239,68,68,0.35); }
.ft-add-btn { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 9px 16px; border-radius: 10px; border: 1px dashed rgba(127,66,253,0.4); background: rgba(127,66,253,0.04); color: #7f42fd; font-family: "Matter Medium", sans-serif; font-size: 13px; cursor: pointer; transition: background 0.15s; }
.ft-add-btn:hover { background: rgba(127,66,253,0.09); }
.ft-count-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 100px; background: rgba(70,206,132,0.1); color: #2e9e64; font-family: "Matter Medium", sans-serif; font-size: 12px; }
.ft-count-chip.is-warn { background: rgba(246,138,34,0.1); color: #d97a16; }

/* Legal statement checkboxes */
.ft-check { display: flex; gap: 12px; padding: 14px; border-radius: 12px; border: 1px solid rgba(7,16,12,0.08); background: #fbfcfb; margin-bottom: 10px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.ft-check:hover { border-color: rgba(127,66,253,0.3); }
.ft-check.is-checked { border-color: rgba(70,206,132,0.5); background: rgba(70,206,132,0.05); }
.ft-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: #7f42fd; flex-shrink: 0; cursor: pointer; }
.ft-check-text { font-family: "Matter Regular", sans-serif; font-size: 13px; color: #4a524d; line-height: 1.6; }
.ft-check-text b { font-family: "Matter Medium", sans-serif; font-weight: 500; color: #07100c; }

/* Toggle pills (typed/drawn signature, content type) */
.ft-pills { display: inline-flex; background: #f0f2f0; border-radius: 12px; padding: 4px; gap: 4px; }
.ft-pill { padding: 8px 18px; border-radius: 9px; border: none; background: transparent; font-family: "Matter Medium", sans-serif; font-size: 13.5px; color: #666d69; cursor: pointer; transition: all 0.15s; }
.ft-pill.active { background: #fff; color: #07100c; box-shadow: 0 1px 5px rgba(7,16,12,0.1); }

/* Signature pad */
.ft-sig-wrap { margin-top: 12px; }
.ft-sig-canvas-box { position: relative; border: 1px dashed rgba(7,16,12,0.2); border-radius: 12px; background: #fff; overflow: hidden; }
.ft-sig-canvas-box canvas { display: block; width: 100%; height: 150px; touch-action: none; }
.ft-sig-clear { position: absolute; top: 8px; right: 8px; padding: 5px 12px; border-radius: 8px; border: 1px solid rgba(7,16,12,0.1); background: #fff; color: #666d69; font-family: "Matter Medium", sans-serif; font-size: 12px; cursor: pointer; }
.ft-sig-clear:hover { color: #ef4444; }
.ft-sig-typed-preview { margin-top: 10px; padding: 14px 18px; border-radius: 12px; background: #fbfcfb; border: 1px solid rgba(7,16,12,0.08); font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive; font-size: 26px; color: #1d2433; min-height: 34px; }

/* Uploads */
.ft-upload { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; border: 1px dashed rgba(7,16,12,0.2); background: #fbfcfb; cursor: pointer; transition: border-color 0.15s; }
.ft-upload:hover { border-color: rgba(127,66,253,0.45); }
.ft-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ft-upload-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(127,66,253,0.08); color: #7f42fd; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.ft-upload-text { font-family: "Matter Medium", sans-serif; font-size: 13.5px; color: #07100c; }
.ft-upload-text small { display: block; font-family: "Matter Regular", sans-serif; font-size: 12px; color: #8a918d; margin-top: 2px; }
.ft-upload-preview { display: none; align-items: center; gap: 10px; margin-top: 10px; }
.ft-upload-preview.has-image { display: flex; }
.ft-upload-preview img { width: 74px; height: 50px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(7,16,12,0.1); }
.ft-upload-preview .ft-upload-remove { padding: 5px 12px; border-radius: 8px; border: 1px solid rgba(7,16,12,0.1); background: #fff; color: #666d69; font-family: "Matter Medium", sans-serif; font-size: 12px; cursor: pointer; }
.ft-upload-preview .ft-upload-remove:hover { color: #ef4444; }

/* Privacy note */
.ft-privacy { display: flex; align-items: flex-start; gap: 10px; padding: 12px 15px; border-radius: 12px; background: rgba(70,206,132,0.07); border: 1px solid rgba(70,206,132,0.25); margin-bottom: 18px; }
.ft-privacy i { color: #2e9e64; font-size: 14px; margin-top: 2px; }
.ft-privacy span { font-family: "Matter Regular", sans-serif; font-size: 13px; color: #2a6547; line-height: 1.55; }
.ft-privacy b { font-family: "Matter Medium", sans-serif; font-weight: 500; }

/* ---------- Buttons ---------- */
.ft-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 14px; border: none; cursor: pointer; text-decoration: none; font-family: "Matter Medium", sans-serif; font-size: 14.5px; font-weight: 500; transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s; }
.ft-btn:hover { text-decoration: none; }
.ft-btn--primary { background: linear-gradient(180deg, #7f42fd 0%, #6114ff 100%); color: #fff; box-shadow: 0 4px 18px rgba(127,66,253,0.3); }
.ft-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(127,66,253,0.4); color: #fff; }
.ft-btn--ghost { background: #fff; color: #07100c; border: 1px solid rgba(7,16,12,0.12); }
.ft-btn--ghost:hover { border-color: rgba(127,66,253,0.4); color: #7f42fd; }
.ft-btn--dark { background: #07100c; color: #fff; }
.ft-btn--dark:hover { background: #1a241f; color: #fff; }
.ft-btn[disabled], .ft-btn.is-disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none; pointer-events: auto; }
.ft-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.ft-actions-note { width: 100%; font-family: "Matter Regular", sans-serif; font-size: 12.5px; color: #d97a16; }

/* ---------- Paper (document preview) ---------- */
.ft-paper-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ft-paper-head-label { display: inline-flex; align-items: center; gap: 8px; font-family: "Matter Medium", sans-serif; font-size: 13px; color: #666d69; text-transform: uppercase; letter-spacing: 0.6px; }
.ft-paper-head-label i { color: #7f42fd; }
.ft-paper { background: #fff; border: 1px solid rgba(7,16,12,0.09); border-radius: 6px; box-shadow: 0 10px 34px rgba(7,16,12,0.1), 0 2px 8px rgba(7,16,12,0.05); padding: clamp(26px, 4.5vw, 54px); font-family: Georgia, "Times New Roman", serif; font-size: 13.8px; color: #16181a; line-height: 1.66; overflow-wrap: break-word; }
.ft-paper h2 { font-size: 17px; text-align: center; margin: 0 0 4px; font-family: Georgia, serif; color: #111; }
.ft-paper .ft-paper-subtitle { text-align: center; font-size: 12px; font-style: italic; color: #555; margin: 0 0 20px; }
.ft-paper h3 { font-size: 14px; margin: 20px 0 8px; padding-bottom: 4px; border-bottom: 1px solid #333; color: #111; }
.ft-paper p { margin: 0 0 10px; }
.ft-paper ul { margin: 0 0 12px; padding-left: 0; list-style: none; }
.ft-paper ul li { padding: 4px 8px; border-bottom: 1px solid #e2e4e2; word-break: break-all; font-size: 13px; }
.ft-paper .ft-paper-field { margin-bottom: 7px; }
.ft-paper .ft-paper-field b { display: inline-block; min-width: 148px; }
.ft-paper .ft-paper-field span { border-bottom: 1px solid #333; padding: 0 6px 1px; }
.ft-paper .ft-paper-empty { color: #999; font-style: italic; }
.ft-paper .ft-paper-sig { margin-top: 28px; padding-top: 14px; border-top: 1px solid #333; }
.ft-paper .ft-paper-sig-script { font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive; font-size: 26px; color: #1d2433; margin: 12px 0 2px; }
.ft-paper .ft-paper-sig img { max-width: 240px; max-height: 76px; display: block; margin: 8px 0 2px; }
.ft-paper .ft-paper-sig-caption { display: block; max-width: 300px; border-top: 1px solid #333; padding-top: 4px; font-size: 11.5px; color: #555; }
.ft-paper .ft-paper-footer { margin-top: 26px; text-align: center; font-size: 10.5px; color: #8a8f8b; }
.ft-paper .ft-paper-idimg { text-align: center; border: 1px solid #bbb; background: #fafafa; padding: 10px; margin: 14px 0; }
.ft-paper .ft-paper-idimg img { max-width: 100%; max-height: 340px; }

/* Print: only the paper */
@media print {
    body.ft-has-paper * { visibility: hidden !important; }
    body.ft-has-paper .ft-paper, body.ft-has-paper .ft-paper * { visibility: visible !important; }
    body.ft-has-paper .ft-paper { position: absolute !important; inset: 0 auto auto 0 !important; width: 100% !important; margin: 0 !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; }
}

/* ---------- Long-form article ---------- */
.ft-article { padding: 48px 24px 30px; }
.ft-article-inner { max-width: 780px; margin: 0 auto; }
.ft-article h2 { font-family: "Matter Medium", sans-serif; font-size: 30px; font-weight: 500; color: #07100c; line-height: 1.2; margin: 46px 0 14px; letter-spacing: -0.2px; }
.ft-article h2:first-child { margin-top: 0; }
.ft-article h3 { font-family: "Matter Medium", sans-serif; font-size: 19px; font-weight: 500; color: #07100c; margin: 30px 0 10px; }
.ft-article p { font-family: "Matter Regular", sans-serif; font-size: 16px; color: #4a524d; line-height: 1.8; margin-bottom: 15px; }
.ft-article ul, .ft-article ol { padding-left: 0; list-style: none; margin-bottom: 18px; }
.ft-article ul li, .ft-article ol li { font-family: "Matter Regular", sans-serif; font-size: 15.5px; color: #4a524d; line-height: 1.7; padding: 5px 0 5px 24px; position: relative; }
.ft-article ul li::before { content: ''; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #7f42fd, #a78bfa); }
.ft-article ol { counter-reset: ftol; }
.ft-article ol li { counter-increment: ftol; padding-left: 32px; }
.ft-article ol li::before { content: counter(ftol); position: absolute; left: 0; top: 6px; width: 21px; height: 21px; border-radius: 7px; background: rgba(127,66,253,0.09); color: #7f42fd; font-family: "Matter Medium", sans-serif; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.ft-article a { color: #7f42fd; text-decoration: none; font-family: "Matter Medium", sans-serif; }
.ft-article a:hover { text-decoration: underline; }
.ft-callout { padding: 18px 20px; border-radius: 14px; background: rgba(127,66,253,0.05); border: 1px solid rgba(127,66,253,0.14); margin: 20px 0; }
.ft-callout p { margin: 0; font-size: 14.5px; }
.ft-callout--warn { background: rgba(246,138,34,0.06); border-color: rgba(246,138,34,0.25); }
.ft-callout--danger { background: rgba(239,68,68,0.05); border-color: rgba(239,68,68,0.2); }
.ft-disclaimer { font-size: 12.5px !important; color: #8a918d !important; }

/* Element cards (the 512(c)(3) checklist etc.) */
.ft-elements { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
@media (max-width: 700px) { .ft-elements { grid-template-columns: 1fr; } }
.ft-element { background: #fff; border: 1px solid rgba(7,16,12,0.07); border-radius: 14px; padding: 18px; }
.ft-element-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(180deg, #7f42fd 0%, #6114ff 100%); color: #fff; font-family: "Matter Medium", sans-serif; font-size: 13px; margin-bottom: 10px; }
.ft-element h4 { font-family: "Matter Medium", sans-serif; font-size: 15px; color: #07100c; margin: 0 0 6px; }
.ft-element p { font-family: "Matter Regular", sans-serif; font-size: 13.5px; color: #666d69; line-height: 1.6; margin: 0; }

/* ---------- FAQ ---------- */
.ft-faq { padding: 10px 24px 40px; }
.ft-faq-inner { max-width: 780px; margin: 0 auto; }
.ft-faq h2 { font-family: "Matter Medium", sans-serif; font-size: 30px; font-weight: 500; color: #07100c; margin: 0 0 20px; }
.ft-faq details { background: #fff; border: 1px solid rgba(7,16,12,0.07); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.ft-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; cursor: pointer; font-family: "Matter Medium", sans-serif; font-size: 15.5px; color: #07100c; list-style: none; }
.ft-faq summary::-webkit-details-marker { display: none; }
.ft-faq summary::after { content: '\2b'; font-size: 18px; color: #7f42fd; flex-shrink: 0; transition: transform 0.2s; }
.ft-faq details[open] summary::after { transform: rotate(45deg); }
.ft-faq details p { padding: 0 20px 17px; margin: 0; font-family: "Matter Regular", sans-serif; font-size: 14.5px; color: #4a524d; line-height: 1.75; }

/* ---------- Conversion panels ---------- */
.ft-cta-panel { border-radius: 20px; padding: 34px; background: linear-gradient(160deg, #0a0514 0%, #1a0d2e 30%, #2d1252 60%, #6114ff 100%); border: 1px solid rgba(127,66,253,0.2); color: #fff; position: relative; overflow: hidden; margin: 28px 0; }
.ft-cta-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(1.5px 1.5px at 15% 20%, rgba(255,255,255,0.6) 50%, transparent 50%), radial-gradient(1px 1px at 40% 12%, rgba(255,255,255,0.45) 50%, transparent 50%), radial-gradient(1.5px 1.5px at 70% 35%, rgba(255,255,255,0.5) 50%, transparent 50%), radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.35) 50%, transparent 50%), radial-gradient(1px 1px at 25% 60%, rgba(255,255,255,0.3) 50%, transparent 50%), radial-gradient(1.5px 1.5px at 55% 70%, rgba(255,255,255,0.5) 50%, transparent 50%), radial-gradient(1px 1px at 90% 75%, rgba(255,255,255,0.4) 50%, transparent 50%), radial-gradient(1px 1px at 8% 82%, rgba(255,255,255,0.3) 50%, transparent 50%); pointer-events: none; }
.ft-cta-panel > * { position: relative; z-index: 1; }
.ft-cta-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: "Matter Medium", sans-serif; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: #c4b5fd; margin-bottom: 12px; }
.ft-cta-panel h3 { font-family: "Matter Medium", sans-serif; font-size: clamp(21px, 2.6vw, 27px); font-weight: 500; margin: 0 0 10px; line-height: 1.25; color: #fff; }
.ft-cta-panel p { font-family: "Matter Regular", sans-serif; font-size: 14.5px; color: rgba(255,255,255,0.72); line-height: 1.7; margin: 0 0 18px; max-width: 640px; }
.ft-cta-panel p b { color: #fff; font-family: "Matter Medium", sans-serif; font-weight: 500; }
.ft-cta-points { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 20px; padding: 0; list-style: none; }
.ft-cta-points li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 100px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); font-family: "Matter Medium", sans-serif; font-size: 12.5px; color: #fff; }
.ft-cta-points li::before { content: '\2713'; color: #46ce84; font-size: 12px; }
/* Beat the generic .ft-article ul li / .ft-article a rules when the panel sits inside an article */
.ft-article .ft-cta-panel .ft-cta-points li { color: #fff; padding: 7px 13px; font-size: 12.5px; line-height: 1.4; }
.ft-article .ft-cta-panel .ft-cta-points li::before { content: '\2713'; position: static; top: auto; left: auto; width: auto; height: auto; border-radius: 0; background: none; color: #46ce84; font-size: 12px; }
.ft-article .ft-cta-panel a.ft-btn, .ft-article .ft-cta-panel a.ft-btn:hover { color: #fff; text-decoration: none; font-family: "Matter Medium", sans-serif; }

/* ---------- Related tools ---------- */
.ft-related { padding: 20px 24px 90px; }
.ft-related-inner { max-width: 1160px; margin: 0 auto; border-top: 1px solid rgba(7,16,12,0.08); padding-top: 44px; }
.ft-related h2 { font-family: "Matter Medium", sans-serif; font-size: 26px; font-weight: 500; color: #07100c; margin: 0 0 6px; }
.ft-related-sub { font-family: "Matter Regular", sans-serif; font-size: 14.5px; color: #666d69; margin-bottom: 22px; }
.ft-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .ft-related-grid { grid-template-columns: 1fr; } }
.ft-related-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid rgba(7,16,12,0.07); border-radius: 16px; padding: 20px; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.ft-related-card:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(7,16,12,0.07); text-decoration: none; }
.ft-related-card i { font-size: 18px; color: #7f42fd; }
.ft-related-card b { font-family: "Matter Medium", sans-serif; font-size: 15px; font-weight: 500; color: #07100c; }
.ft-related-card span { font-family: "Matter Regular", sans-serif; font-size: 13px; color: #666d69; line-height: 1.55; }
.ft-related-card .ft-related-go { font-family: "Matter Medium", sans-serif; font-size: 13px; color: #7f42fd; margin-top: 2px; }

/* ============================================================
   Traffic Booster
   ============================================================ */

/* Scan box */
.ft-scanbox { max-width: 620px; margin: 26px auto 0; }
.ft-scanbox-row { display: flex; gap: 10px; }
.ft-scanbox-input { flex: 1; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid rgba(7,16,12,0.12); border-radius: 100px; padding: 6px 8px 6px 20px; box-shadow: 0 4px 22px rgba(7,16,12,0.07); transition: border-color 0.15s, box-shadow 0.15s; }
.ft-scanbox-input:focus-within { border-color: rgba(127,66,253,0.5); box-shadow: 0 4px 26px rgba(127,66,253,0.16); }
.ft-scanbox-input i { color: #9aa19d; font-size: 15px; }
.ft-scanbox-input input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: "Matter Regular", sans-serif; font-size: 16px; color: #07100c; padding: 10px 0; }
.ft-scanbox-input input::placeholder { color: #a7aeaa; }
.ft-scanbox .ft-btn { border-radius: 100px; white-space: nowrap; }
.ft-scanbox-hint { text-align: center; font-family: "Matter Regular", sans-serif; font-size: 12.5px; color: #8a918d; margin-top: 12px; }
.ft-scan-error { max-width: 620px; margin: 14px auto 0; padding: 12px 16px; border-radius: 12px; background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.25); color: #b91c1c; font-family: "Matter Regular", sans-serif; font-size: 13.5px; display: none; }
.ft-scan-error.is-visible { display: block; }
@media (max-width: 560px) {
    .ft-scanbox-row { flex-direction: column; }
    .ft-scanbox .ft-btn { width: 100%; }
}

/* Scanning animation */
.ft-scanning { max-width: 620px; margin: 26px auto 0; background: #fff; border: 1px solid rgba(7,16,12,0.08); border-radius: 18px; padding: 26px; box-shadow: 0 4px 22px rgba(7,16,12,0.06); }
.ft-scanning-bar { height: 6px; border-radius: 100px; background: #eef0ee; overflow: hidden; margin-bottom: 18px; }
.ft-scanning-bar span { display: block; height: 100%; width: 40%; border-radius: 100px; background: linear-gradient(90deg, #7f42fd, #a78bfa); animation: ft-scan-slide 1.3s ease-in-out infinite; }
@keyframes ft-scan-slide { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
.ft-scanning-line { display: flex; align-items: center; gap: 10px; font-family: "Matter Regular", sans-serif; font-size: 14px; color: #666d69; padding: 6px 0; opacity: 0.35; transition: opacity 0.3s; }
.ft-scanning-line.is-active { opacity: 1; color: #07100c; }
.ft-scanning-line.is-done { opacity: 1; }
.ft-scanning-line i { width: 18px; text-align: center; color: #b9bfbb; }
.ft-scanning-line.is-active i { color: #7f42fd; }
.ft-scanning-line.is-done i { color: #46ce84; }

/* Transparency strip */
.ft-transparency { background: #fff; border: 1px solid rgba(7,16,12,0.08); border-radius: 18px; padding: 22px; box-shadow: 0 4px 22px rgba(7,16,12,0.05); margin-bottom: 20px; }
.ft-transparency-label { display: flex; align-items: center; gap: 8px; font-family: "Matter Medium", sans-serif; font-size: 12px; letter-spacing: 0.8px; text-transform: uppercase; color: #7f42fd; margin-bottom: 12px; }
.ft-googlebar { display: flex; align-items: center; gap: 12px; border: 1px solid rgba(7,16,12,0.12); border-radius: 100px; padding: 11px 18px; background: #fff; box-shadow: 0 1px 6px rgba(32,33,36,0.12); max-width: 560px; }
.ft-googlebar-g { font-family: Arial, sans-serif; font-size: 19px; font-weight: 700; background: linear-gradient(90deg, #4285F4 0%, #EA4335 28%, #FBBC05 52%, #4285F4 68%, #34A853 84%, #EA4335 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; flex-shrink: 0; }
.ft-googlebar-q { font-family: Arial, sans-serif; font-size: 15.5px; color: #202124; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft-googlebar i { color: #4285F4; font-size: 14px; }
.ft-transparency-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ft-meta-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 100px; background: #f4f6f4; font-family: "Matter Regular", sans-serif; font-size: 12.5px; color: #4a524d; }
.ft-meta-chip i { font-size: 11px; color: #7f42fd; }
.ft-transparency-how { margin: 14px 0 0; font-family: "Matter Regular", sans-serif; font-size: 13px; color: #666d69; line-height: 1.65; }
.ft-transparency-how b { color: #07100c; font-family: "Matter Medium", sans-serif; font-weight: 500; }

/* Metric cards */
.ft-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 960px) { .ft-metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .ft-metrics { grid-template-columns: 1fr; } }
.ft-metric { background: #fff; border: 1px solid rgba(7,16,12,0.07); border-radius: 16px; padding: 18px 20px; }
.ft-metric-label { font-family: "Matter Medium", sans-serif; font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: #8a918d; margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.ft-metric-value { font-family: "Matter Medium", sans-serif; font-size: clamp(26px, 3vw, 34px); font-weight: 500; color: #07100c; line-height: 1.05; }
.ft-metric-value.is-danger { color: #dc2626; }
.ft-metric-value.is-green { color: #2e9e64; }
.ft-metric-sub { font-family: "Matter Regular", sans-serif; font-size: 12px; color: #8a918d; margin-top: 6px; }

/* Tabs */
.ft-tabs { display: flex; gap: 2px; border-bottom: 1px solid rgba(7,16,12,0.1); margin-bottom: 4px; }
.ft-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: none; background: transparent; font-family: "Matter Medium", sans-serif; font-size: 14px; color: #666d69; cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1px; transition: color 0.15s; }
.ft-tab:hover { color: #07100c; }
.ft-tab.active { color: #7f42fd; border-bottom-color: #7f42fd; }
.ft-tab .ft-tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 100px; background: rgba(239,68,68,0.1); color: #dc2626; font-size: 11.5px; }

/* SERP list (Google-like) */
.ft-serp { background: #fff; border: 1px solid rgba(7,16,12,0.07); border-radius: 0 0 18px 18px; border-top: none; padding: 8px 0 14px; }
.ft-serp-item { display: block; padding: 15px 22px; border-bottom: 1px solid rgba(7,16,12,0.05); position: relative; }
.ft-serp-item:last-child { border-bottom: none; }
.ft-serp-item.is-pirate { background: linear-gradient(90deg, rgba(239,68,68,0.045) 0%, rgba(239,68,68,0.015) 60%, transparent 100%); box-shadow: inset 3px 0 0 #ef4444; }
.ft-serp-head { display: flex; align-items: center; gap: 11px; margin-bottom: 3px; }
.ft-serp-fav { width: 28px; height: 28px; border-radius: 50%; background: #f1f3f4; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.ft-serp-fav img { width: 18px; height: 18px; }
.ft-serp-source { min-width: 0; flex: 1; }
.ft-serp-site { font-family: Arial, sans-serif; font-size: 13.5px; color: #202124; line-height: 1.3; display: block; }
.ft-serp-crumb { font-family: Arial, sans-serif; font-size: 12px; color: #5f6368; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 480px; }
.ft-serp-title { display: inline-block; font-family: Arial, sans-serif; font-size: 18.5px; color: #1a0dab; line-height: 1.3; margin: 2px 0 3px; text-decoration: none; }
.ft-serp-title:hover { text-decoration: underline; color: #1a0dab; }
.ft-serp-item.is-pirate .ft-serp-title { color: #b91c1c; }
.ft-serp-item.is-pirate .ft-serp-title:hover { color: #b91c1c; }
.ft-serp-snippet { font-family: Arial, sans-serif; font-size: 13.5px; color: #4d5156; line-height: 1.55; margin: 0; max-width: 660px; }
.ft-serp-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.ft-stamp { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 7px; background: #dc2626; color: #fff; font-family: "Matter Medium", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(220,38,38,0.35); }
.ft-stamp i { font-size: 10px; }
.ft-chip-clean { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 7px; background: rgba(70,206,132,0.1); color: #2e9e64; font-family: "Matter Medium", sans-serif; font-size: 11px; letter-spacing: 0.4px; }
.ft-chip-tracked { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 7px; background: rgba(7,16,12,0.05); color: #4a524d; font-family: "Matter Medium", sans-serif; font-size: 11px; }
.ft-chip-tracked i { color: #7f42fd; font-size: 10px; }

/* Inline image pack inside the All tab (Google-style "Images for …" block) */
.ft-imgpack { margin: 8px 22px 12px; border: 1px solid rgba(7,16,12,0.09); border-radius: 14px; padding: 13px 14px 11px; background: #fbfcfb; }
.ft-imgpack-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.ft-imgpack-title { font-family: Arial, sans-serif; font-size: 13.5px; color: #202124; display: inline-flex; align-items: center; gap: 8px; }
.ft-imgpack-title i { color: #4285F4; font-size: 12px; }
.ft-imgpack-title b { font-weight: 400; color: #5f6368; }
.ft-imgpack-more { font-family: Arial, sans-serif; font-size: 12.5px; color: #1a0dab; background: none; border: none; cursor: pointer; padding: 0; white-space: nowrap; }
.ft-imgpack-more:hover { text-decoration: underline; }
.ft-imgpack-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 720px) { .ft-imgpack-row { grid-template-columns: repeat(4, 1fr); } .ft-imgpack-row .ft-imgpack-tile:nth-child(n+5) { display: none; } }
.ft-imgpack-tile { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; cursor: pointer; border: 1px solid rgba(7,16,12,0.08); background: #e8ebe8; }
.ft-imgpack-tile.is-pirate { border-color: rgba(220,38,38,0.45); }
.ft-imgpack-tile img { width: 100%; height: 100%; object-fit: cover; filter: blur(12px) saturate(0.9); transform: scale(1.12); transition: filter 0.25s, transform 0.25s; }
.ft-imgpack-tile.is-revealed img { filter: none; transform: none; }
.ft-imgpack-tile .ft-imgpack-veil { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(7,16,12,0.22); font-size: 13px; text-shadow: 0 1px 4px rgba(0,0,0,0.45); }
.ft-imgpack-tile.is-revealed .ft-imgpack-veil { display: none; }
.ft-imgpack-flag { position: absolute; bottom: 5px; left: 5px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 6px; background: #dc2626; color: #fff; font-size: 9px; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.ft-imgpack-tile .ft-imgpack-open { position: absolute; top: 5px; right: 5px; z-index: 2; display: none; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,0.92); color: #1a0dab; font-size: 9.5px; }
.ft-imgpack-tile.is-revealed:hover .ft-imgpack-open { display: inline-flex; }

/* Images grid */
.ft-imggrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 22px; background: #fff; border: 1px solid rgba(7,16,12,0.07); border-radius: 0 0 18px 18px; border-top: none; }
@media (max-width: 900px) { .ft-imggrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ft-imggrid { grid-template-columns: repeat(2, 1fr); } }
.ft-imgtile { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(7,16,12,0.08); background: #f4f6f4; }
.ft-imgtile.is-pirate { border-color: rgba(220,38,38,0.5); }
.ft-imgtile-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; background: #e8ebe8; }
.ft-imgtile-media img { width: 100%; height: 100%; object-fit: cover; filter: blur(16px) saturate(0.9); transform: scale(1.12); transition: filter 0.25s, transform 0.25s; }
.ft-imgtile.is-revealed .ft-imgtile-media img { filter: none; transform: none; }
.ft-imgtile-veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; background: rgba(7,16,12,0.25); font-family: "Matter Medium", sans-serif; font-size: 11.5px; letter-spacing: 0.4px; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.ft-imgtile-veil i { font-size: 15px; }
.ft-imgtile.is-revealed .ft-imgtile-veil { display: none; }
.ft-imgtile.is-revealed .ft-imgtile-media { cursor: alias; }
.ft-imgtile-openhint { position: absolute; top: 7px; right: 7px; z-index: 2; display: none; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: rgba(255,255,255,0.94); color: #1a0dab; font-family: Arial, sans-serif; font-size: 10.5px; box-shadow: 0 2px 8px rgba(0,0,0,0.18); }
.ft-imgtile.is-revealed .ft-imgtile-media:hover .ft-imgtile-openhint { display: inline-flex; }
.ft-imgtile-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 10px; background: #fff; }
.ft-imgtile-domain { font-family: Arial, sans-serif; font-size: 11.5px; color: #4d5156; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; text-decoration: none; }
a.ft-imgtile-domain:hover { color: #1a0dab; text-decoration: underline; }
.ft-imgtile-flag { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; font-family: "Matter Medium", sans-serif; font-size: 9.5px; letter-spacing: 0.8px; text-transform: uppercase; }
.ft-imgtile-flag.is-pirate { background: #dc2626; color: #fff; }
.ft-imgtile-flag.is-clean { background: rgba(70,206,132,0.12); color: #2e9e64; }

/* Good standing (clean scan) banner */
.ft-goodstanding { display: none; align-items: flex-start; gap: 16px; background: linear-gradient(135deg, #ecfdf3 0%, #dcfce9 60%, #d3f5e6 100%); border: 1px solid rgba(46,168,101,0.3); border-radius: 18px; padding: 22px; margin-bottom: 20px; }
.ft-goodstanding.is-visible { display: flex; }
.ft-goodstanding__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(180deg, #46ce84 0%, #2ea865 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 8px 20px rgba(46,168,101,0.35); }
.ft-goodstanding__body { min-width: 0; }
.ft-goodstanding__title { font-family: "Matter Medium", sans-serif; font-size: 19px; font-weight: 500; color: #14532d; margin: 0 0 6px; }
.ft-goodstanding__text { font-family: "Matter Regular", sans-serif; font-size: 14px; color: #2a6547; line-height: 1.65; margin: 0 0 12px; }
.ft-goodstanding__text b { font-family: "Matter Medium", sans-serif; font-weight: 500; }
.ft-goodstanding__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-goodstanding__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 100px; background: rgba(255,255,255,0.75); border: 1px solid rgba(46,168,101,0.25); font-family: "Matter Medium", sans-serif; font-size: 12px; color: #14532d; }
.ft-goodstanding__chips span i { color: #2ea865; font-size: 11px; }
@media (max-width: 560px) { .ft-goodstanding { flex-direction: column; } }
.ft-tab-count.is-clean { background: rgba(70,206,132,0.14); color: #2ea865; }

/* Growth graph (recovery panel): traffic climbs after cleanup, $ coins float on the rise */
.ft-growth { position: relative; margin: 18px 0 6px; }
.ft-growth svg { display: block; width: 100%; height: 170px; }
.ft-growth-pill { position: absolute; top: 6px; right: 2%; background: linear-gradient(180deg, #46ce84 0%, #2ea865 100%); color: #fff; font-family: "Matter Medium", sans-serif; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 100px; box-shadow: 0 6px 18px rgba(46,168,101,0.35); }
.ft-growth-coin { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(160deg, #fde047 0%, #f59e0b 70%, #d97706 100%); color: #78350f; font-family: "Matter Medium", sans-serif; font-size: 14px; font-weight: 700; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(217,119,6,0.35); animation: ft-coin-float 3.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ft-growth-coin--sm { width: 24px; height: 24px; font-size: 11.5px; }
@keyframes ft-coin-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.ft-growth-axis { display: flex; justify-content: space-between; font-family: "Matter Regular", sans-serif; font-size: 11.5px; color: #8a918d; margin-top: 4px; padding: 0 2%; }
.ft-growth-axis b { font-family: "Matter Medium", sans-serif; color: #4b5563; font-weight: 500; }
.ft-growth-caption { text-align: center; font-family: "Matter Regular", sans-serif; font-size: 12.5px; color: #666d69; margin: 10px 0 0; }
.ft-growth-caption b { color: #2ea865; font-family: "Matter Medium", sans-serif; font-weight: 500; }
.ft-dollar-row { display: inline-flex; gap: 4px; margin-top: 4px; }
.ft-dollar-row i { color: #f59e0b; font-size: 15px; }

/* Recovery panel */
.ft-recovery { background: #fff; border: 1px solid rgba(7,16,12,0.07); border-radius: 18px; padding: 26px; margin-top: 20px; }
.ft-recovery h3 { font-family: "Matter Medium", sans-serif; font-size: 20px; font-weight: 500; color: #07100c; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.ft-recovery h3 i { color: #2e9e64; }
.ft-formula { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; margin: 14px 0 18px; }
.ft-formula-box { flex: 1; min-width: 150px; background: #fbfcfb; border: 1px solid rgba(7,16,12,0.08); border-radius: 14px; padding: 14px 16px; text-align: center; }
.ft-formula-box b { display: block; font-family: "Matter Medium", sans-serif; font-size: 21px; color: #07100c; margin-bottom: 3px; }
.ft-formula-box.is-danger b { color: #dc2626; }
.ft-formula-box.is-green b { color: #2e9e64; }
.ft-formula-box span { font-family: "Matter Regular", sans-serif; font-size: 12px; color: #8a918d; line-height: 1.45; display: block; }
.ft-formula-op { display: flex; align-items: center; justify-content: center; font-family: "Matter Medium", sans-serif; font-size: 20px; color: #b9bfbb; flex: 0 0 auto; }
.ft-recovery-note { font-family: "Matter Regular", sans-serif; font-size: 13px; color: #666d69; line-height: 1.65; margin: 0 0 16px; }

/* Results container */
.ft-results { max-width: 900px; margin: 34px auto 0; display: none; }
.ft-results.is-visible { display: block; }
.ft-results-cached { font-family: "Matter Regular", sans-serif; font-size: 12px; color: #8a918d; }

/* Article images */
.ft-article-img { display: block; width: 100%; border-radius: 16px; border: 1px solid rgba(7,16,12,0.07); box-shadow: 0 4px 20px rgba(7,16,12,0.06); margin: 20px 0 8px; }
.ft-article-caption { display: block; text-align: center; font-family: "Matter Regular", sans-serif; font-size: 12.5px; color: #8a918d; margin: 0 0 22px; }
.ft-article-illu { float: right; width: 280px; max-width: 42%; border-radius: 16px; border: 1px solid rgba(7,16,12,0.07); box-shadow: 0 4px 20px rgba(7,16,12,0.06); margin: 4px 0 14px 20px; }
@media (max-width: 620px) { .ft-article-illu { float: none; width: 100%; max-width: 100%; margin: 4px 0 16px; } }

/* Case-study revenue cards (traffic booster) */
.ft-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 8px; }
@media (max-width: 860px) { .ft-cases { grid-template-columns: 1fr; } }
.ft-case-card { display: flex; flex-direction: column; background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 40%, #ede9fe 100%); border: 1px solid rgba(127,66,253,0.12); border-radius: 18px; padding: 20px; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.ft-case-card:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(127,66,253,0.13); text-decoration: none; }
.ft-case-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.ft-case-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2.5px solid #fff; box-shadow: 0 0 0 2px rgba(127,66,253,0.35), 0 4px 10px rgba(127,66,253,0.2); flex-shrink: 0; }
.ft-case-name { font-family: "Matter Medium", sans-serif; font-size: 14.5px; color: #07100c; display: flex; align-items: center; gap: 5px; line-height: 1.2; }
.ft-case-name svg { width: 15px; height: 15px; flex-shrink: 0; }
.ft-case-since { font-family: "Matter Regular", sans-serif; font-size: 11px; color: #8a8f8b; margin-top: 2px; }
.ft-case-hero { font-family: "Matter Medium", sans-serif; font-size: clamp(30px, 3.4vw, 38px); font-weight: 700; line-height: 1; letter-spacing: -1.5px; background: linear-gradient(180deg, #46ce84 0%, #2ea865 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ft-case-hero-lbl { font-family: "Matter Medium", sans-serif; font-size: 10.5px; font-weight: 700; color: #4b5563; text-transform: uppercase; letter-spacing: 0.6px; margin: 5px 0 14px; }
.ft-case-secondaries { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(7,16,12,0.08); margin-bottom: 14px; }
.ft-case-sec b { display: block; font-family: "Matter Medium", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.5px; color: #07100c; line-height: 1.1; }
.ft-case-sec b.is-green { color: #2ea865; }
.ft-case-sec b.is-purple { color: #7f42fd; }
.ft-case-sec span { font-family: "Matter Regular", sans-serif; font-size: 10px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.4px; font-weight: 600; line-height: 1.3; }
.ft-case-go { margin-top: auto; font-family: "Matter Medium", sans-serif; font-size: 13px; color: #7f42fd; display: inline-flex; align-items: center; gap: 6px; }
/* Beat .ft-article a inside the article scope */
.ft-article a.ft-case-card { text-decoration: none; }
.ft-article a.ft-case-card:hover { text-decoration: none; }

/* Hub cards */
.fth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 860px) { .fth-grid { grid-template-columns: 1fr; } }
.fth-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(7,16,12,0.07); border-radius: 20px; padding: 28px; text-decoration: none; transition: transform 0.18s, box-shadow 0.18s; position: relative; overflow: hidden; }
.fth-card-thumb { position: relative; margin: -28px -28px 18px; height: 190px; overflow: hidden; background: linear-gradient(90deg, rgba(127,66,253,0.04) 25%, rgba(127,66,253,0.08) 50%, rgba(127,66,253,0.04) 75%); }
.fth-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.fth-card:hover .fth-card-thumb img { transform: scale(1.03); }
.fth-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(7,16,12,0.09); text-decoration: none; }
.fth-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.fth-card-icon { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 21px; color: #fff; }
.fth-card-badge { padding: 4px 11px; border-radius: 100px; background: rgba(127,66,253,0.08); color: #7f42fd; font-family: "Matter Medium", sans-serif; font-size: 11px; letter-spacing: 0.6px; text-transform: uppercase; }
.fth-card h2 { font-family: "Matter Medium", sans-serif; font-size: 19px; font-weight: 500; color: #07100c; margin: 0 0 8px; }
.fth-card p { font-family: "Matter Regular", sans-serif; font-size: 14px; color: #666d69; line-height: 1.65; margin: 0 0 16px; flex: 1; }
.fth-card-go { display: inline-flex; align-items: center; gap: 7px; font-family: "Matter Medium", sans-serif; font-size: 14px; color: #7f42fd; }
