/* Folia product page. Prefix fo- on purpose. */
/* Island product page: lockup, mock desktop with the real interface in a frame (.fo-*), steps, specs. Prefix fo- on purpose. */
.fo-free { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; font: 700 13px var(--font-h); letter-spacing: .08em; text-transform: uppercase; color: #06231a; background: linear-gradient(135deg, #4ade9b, #22d3ee); margin-bottom: 10px; }
html[dir="rtl"] .fo-free { letter-spacing: 0; font-family: Cairo, var(--font-h); }
.fo-trust { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.fo-trust > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font: 600 13.5px var(--font-b, inherit); background: var(--glass); border: 1px solid var(--line); }
.fo-trust svg { width: 16px; height: 16px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fo-steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; } .fo-steps3 > div { padding: 28px; }
.fo-steps3 .n { font: 800 54px/1 var(--font-h); background: linear-gradient(120deg, #9d86ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.fo-steps3 h4,
.fo-steps3 h3:where([data-lv="4"]),
.fo-steps3 h2:where([data-lv="4"]) { font-size: 22px; margin-bottom: 8px; } .fo-steps3 p { color: var(--muted); }
.fo-spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 30px; padding: 10px 28px; }
.fo-spec div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fo-spec b { color: var(--silver); font-weight: 600; flex: none; } .fo-spec span { color: var(--muted); text-align: end; }
.fo-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; } .fo-tools > span { padding: 6px 14px; border-radius: 999px; font: 600 13px var(--font-b, inherit); color: var(--silver); border: 1px solid var(--line); background: var(--glass); }
@media (max-width: 860px) { .fo-steps3 { grid-template-columns: 1fr; } .fo-spec { grid-template-columns: 1fr; } }

/* ---------- mock desktop ---------- */
.fo-ctl { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.fo-ctl button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--silver); font: 600 13.5px inherit; font-family: inherit; cursor: pointer; transition: .18s; }
.fo-ctl button:hover { border-color: rgba(122,92,255,.7); background: rgba(122,92,255,.16); }
.fo-ctl button.on { background: linear-gradient(135deg, #3d7bff, #8f5bff); color: #fff; border-color: transparent; }
.fo-tip { text-align: center; color: var(--muted); font-size: 13.5px; margin: 14px auto 0; max-width: 760px; }

/* ---------- browser-like window around the real app demo ---------- */
.fo-win { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.45); background: #0d111e; direction: ltr; }
.fo-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,.06); border-bottom: 1px solid var(--line); }
.fo-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.22); }
.fo-bar b { margin-inline-start: 10px; flex: 1; text-align: center; font: 600 12.5px var(--font-b, inherit); color: var(--muted); }
.fo-frame { display: block; width: 100%; height: 620px; border: 0; background: #fff; }
.fo-note { text-align: center; color: var(--muted); font-size: 13px; margin: 12px auto 0; max-width: 780px; }
.fo-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; margin-top: 12px; font: 700 13.5px var(--font-h); color: #3a2300; background: linear-gradient(120deg, #ffd166, #ff9f5a); box-shadow: 0 8px 30px rgba(255,159,90,.28); }
html[dir="rtl"] .fo-badge { font-family: Cairo, var(--font-h); }
.fo-offer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; padding: 34px; margin-top: 30px; }
.fo-offer h3:where(:not([data-lv])),
.fo-offer h2:where([data-lv="3"]) { font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; } .fo-offer p { color: var(--muted); }
.fo-offer ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; } .fo-offer li { display: flex; gap: 10px; align-items: flex-start; color: var(--silver); }
.fo-offer li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; stroke: var(--cyan); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fo-upd { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 26px; border-radius: 18px; background: linear-gradient(145deg, rgba(122,92,255,.18), rgba(34,211,238,.10)); border: 1px solid var(--line); }
@media (max-width: 600px) { .fo-frame { height: 680px; } .fo-win { border-radius: 12px; } .fo-bar { padding: 8px 12px; } }
@media (max-width: 860px) { .fo-offer { grid-template-columns: 1fr; padding: 24px; } .fo-frame { height: 560px; } }

/* phones and tablets: do not trap the page scroll inside the demo */
.fo-win { position: relative; }
.fo-shield, .fo-done { display: none; }
.fo-win.touch .fo-frame { pointer-events: none; }
.fo-win.touch.live .fo-frame { pointer-events: auto; }
.fo-win.touch .fo-shield { display: grid; place-items: center; position: absolute; inset: 40px 0 0 0; z-index: 3; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(5,7,28,.05), rgba(5,7,28,.55)); }
.fo-win.touch .fo-shield span { padding: 14px 26px; border-radius: 999px; font: 700 17px var(--font-h); color: #fff; background: linear-gradient(135deg, #3d7bff, #8f5bff); box-shadow: 0 14px 40px rgba(61,123,255,.5); }
html[dir="rtl"] .fo-win.touch .fo-shield span { font-family: Cairo, var(--font-h); }
.fo-win.touch.live .fo-shield { display: none; }
.fo-win.touch.live .fo-done { display: block; position: absolute; top: 4px; right: 10px; z-index: 4; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.12); color: #fff; font: 700 12.5px var(--font-b, inherit); cursor: pointer; }
@media (max-width: 600px) { .fo-frame { height: min(78vh, 640px); } }
