/* iotBind website — design layer on top of Bootstrap 5.3 (no inline styles: CSP style-src 'self') */

/* ---------- fonts (SIL OFL 1.1, self-hosted) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-cyrillic-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-greek-wght-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-vietnamese-wght-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-display: swap; font-weight: 400; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-display: swap; font-weight: 600; src: url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-display: swap; font-weight: 700; src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- tokens ---------- */
:root {
  --brand-1: #ff7a18;
  --brand-2: #f43f5e;
  --brand-3: #db2777;
  --brand: #e11d48;
  --brand-strong: #be123c;
  --brand-text: #be123c;
  --accent: #149dcc;
  --brand-gradient: linear-gradient(120deg, var(--brand-1) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
  --ink: #0f172a;
  --muted: #5b6475;
  --surface: #ffffff;
  --surface-alt: #f7f8fb;
  --line: #e7e9f0;
  --radius: 1rem;
  --radius-sm: .65rem;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .3);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Inter", system-ui, "Segoe UI", Tahoma, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --bs-primary: #e11d48;
  --bs-primary-rgb: 225, 29, 72;
  --bs-link-color: #c8143f;
  --bs-link-color-rgb: 200, 20, 63;
  --bs-link-hover-color: #9f1239;
  --bs-link-hover-color-rgb: 159, 18, 57;
  --bs-body-font-family: var(--font);
  --bs-body-color: #1f2937;
  --bs-border-radius: .6rem;
  --bs-focus-ring-color: rgba(244, 63, 94, .35);
}
[data-bs-theme="dark"] {
  --ink: #f1f5f9;
  --muted: #a3acbd;
  --surface: #111827;
  --surface-alt: #0b1220;
  --line: #243044;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --brand: #fb7185;
  --brand-strong: #fda4af;
  --brand-text: #fb7185;
  --bs-body-bg: #0b1120;
  --bs-body-color: #dbe2ec;
  --bs-link-color: #fb7185;
  --bs-link-color-rgb: 251, 113, 133;
  --bs-link-hover-color: #fda4af;
  --bs-link-hover-color-rgb: 253, 164, 175;
  --bs-border-color: #243044;
  --bs-secondary-bg: #131c2e;
  --bs-tertiary-bg: #0f1828;
}
html[lang="ar"] { --bs-body-font-family: var(--font-ar); }
html[lang="ar"] body { line-height: 1.75; }
html[lang="th"] body, html[lang="hi"] body, html[lang="bn"] body { line-height: 1.7; }

/* ---------- base ---------- */
body { color: var(--bs-body-color); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -.015em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; }
a { text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--bs-focus-ring-color); outline-offset: 2px; }
.bi { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex-shrink: 0; }
main { display: block; }
main:focus { outline: none; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: .75rem; z-index: 1100; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: .5rem; }
.container.narrow, .narrow { max-width: 860px; }
.text-brand { color: var(--brand-text) !important; }
.text-gradient { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.link-brand { color: var(--brand-text); text-decoration: none; }
.link-brand:hover { color: var(--brand-strong); text-decoration: underline; }
::selection { background: rgba(244, 63, 94, .2); }
code { color: var(--brand-strong); }
[data-bs-theme="dark"] code { color: #fda4af; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn { font-weight: 600; border-radius: .7rem; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1.02rem; }
.btn-brand { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; background: var(--brand-gradient); border: 0; box-shadow: 0 8px 20px -8px rgba(244, 63, 94, .6); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn-brand:hover, .btn-brand:focus-visible { filter: saturate(1.1) brightness(1.04); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(244, 63, 94, .7); color: #fff; }
.btn-brand:active { transform: translateY(0); }
.btn-outline-brand { --bs-btn-color: var(--brand); --bs-btn-border-color: rgba(225, 29, 72, .45); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand-strong); --bs-btn-active-color: #fff; }
[data-bs-theme="dark"] .btn-outline-brand { --bs-btn-color: #fb7185; --bs-btn-border-color: rgba(251, 113, 133, .5); }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; min-width: 2.5rem; height: 2.5rem; padding: 0 .6rem; border: 1px solid transparent; color: var(--ink); background: transparent; border-radius: .7rem; }
.btn-icon:hover { background: var(--surface-alt); border-color: var(--line); color: var(--ink); }
.btn-icon.btn-sm { min-width: 2rem; height: 2rem; }

[data-bs-theme="dark"] .btn-outline-secondary { --bs-btn-color: #cbd5e1; --bs-btn-border-color: #475569; --bs-btn-hover-bg: #334155; --bs-btn-hover-border-color: #64748b; --bs-btn-hover-color: #fff; }

/* ---------- header ---------- */
.site-header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
[data-bs-theme="dark"] .site-header { background: rgba(11, 17, 32, .82); }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .navbar { padding-block: .7rem; }
.navbar-brand img { height: 38px; width: auto; }
[data-bs-theme="dark"] .navbar-brand img, [data-bs-theme="dark"] .footer-brand img { filter: brightness(0) invert(1); opacity: .95; }
.navbar-toggler { border: 0; color: var(--ink); padding: .25rem .5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); }
.navbar-nav .nav-link { color: var(--muted); font-weight: 600; padding: .5rem .85rem !important; border-radius: .6rem; }
.navbar-nav .nav-link:hover { color: var(--ink); background: var(--surface-alt); }
.navbar-nav .nav-link.active { color: var(--brand-text); }
.header-actions { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.nav-login { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-login:hover { color: var(--brand); }
.lang-menu { max-height: 70vh; overflow-y: auto; min-width: 12rem; }
.lang-menu .dropdown-item.active { background: var(--brand); }
.theme-icon-light { display: none; }
[data-bs-theme="dark"] .theme-icon-light { display: inline-block; }
[data-bs-theme="dark"] .theme-icon-dark { display: none; }
@media (max-width: 991.98px) {
  .navbar-collapse { padding-block: 1rem; }
  .header-actions { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: .5rem; }
  .header-actions .btn-brand { flex: 1 1 100%; }
}

/* ---------- sections ---------- */
.section { padding-block: 5.5rem; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: radial-gradient(1200px 500px at 10% 0%, rgba(244, 63, 94, .22), transparent 60%), radial-gradient(900px 500px at 100% 100%, rgba(20, 157, 204, .22), transparent 60%), #0b1120; color: #cbd5e1; }
.section-dark .section-title { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-title { font-size: clamp(1.7rem, 2.6vw + .8rem, 2.6rem); font-weight: 800; margin-bottom: .9rem; }
.section-lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-text); background: rgba(244, 63, 94, .09); padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1rem; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.eyebrow-light { color: #fecdd3; background: rgba(255, 255, 255, .1); }
.page-hero { padding-block: 4.5rem 3.5rem; background: radial-gradient(800px 320px at 50% -10%, rgba(244, 63, 94, .12), transparent 70%); }
.page-title { font-size: clamp(2rem, 3.4vw + 1rem, 3.2rem); font-weight: 800; margin-bottom: 1rem; }
.page-lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 5rem 5.5rem; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 380px at 85% 10%, rgba(244, 63, 94, .18), transparent 65%), radial-gradient(600px 400px at 5% 90%, rgba(20, 157, 204, .14), transparent 65%), linear-gradient(180deg, var(--surface-alt), transparent 70%); }
.hero-title { font-size: clamp(2.3rem, 4.2vw + 1rem, 3.9rem); font-weight: 850; line-height: 1.08; margin-bottom: 1.25rem; }
html[lang="ar"] .hero-title { line-height: 1.3; }
.hero-lead { font-size: 1.18rem; color: var(--muted); max-width: 36rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .95rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust .bi { color: #16a34a; }

/* dashboard picture */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .5s ease; max-width: 560px; margin-inline: auto; }
[dir="rtl"] .mock { transform: perspective(1400px) rotateY(6deg) rotateX(3deg); }
.mock:hover { transform: none; }
.mock-bar { display: flex; align-items: center; gap: .35rem; padding: .6rem .9rem; background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.mock-dot { width: .6rem; height: .6rem; border-radius: 50%; background: #f87171; }
.mock-dot:nth-child(2) { background: #fbbf24; }
.mock-dot:nth-child(3) { background: #34d399; }
.mock-url { margin-inline-start: .75rem; font-size: .75rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: .1rem .7rem; border-radius: 999px; direction: ltr; }
.mock-body { padding: 1.25rem; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.mock-kicker { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mock-title { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.mock-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: #166534; background: rgba(22, 163, 74, .1); padding: .3rem .65rem; border-radius: 999px; }
[data-bs-theme="dark"] .mock-badge { color: #4ade80; background: rgba(74, 222, 128, .12); }
.pulse { width: .5rem; height: .5rem; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .5rem rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.mock-tile { border: 1px solid var(--line); border-radius: .9rem; padding: .85rem; background: var(--surface); }
.mock-tile-top { display: flex; justify-content: space-between; align-items: center; color: var(--brand); font-size: 1.15rem; margin-bottom: .5rem; }
.mock-label { font-size: .8rem; color: var(--muted); }
.mock-value { font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.mock-chip { font-size: .7rem; font-weight: 700; color: var(--muted); background: var(--surface-alt); padding: .1rem .45rem; border-radius: .4rem; }
.mock-chip.live { color: #fff; background: #be123c; }
.mock-switch { position: relative; width: 2.2rem; height: 1.25rem; border-radius: 999px; background: #cbd5e1; }
.mock-switch::after { content: ""; position: absolute; top: .15rem; inset-inline-start: .15rem; width: .95rem; height: .95rem; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; }
.mock-switch.on { background: var(--brand-gradient); }
.mock-switch.on::after { inset-inline-start: 1.1rem; }
.mock-switch.small { margin-inline-start: auto; }
.mock-spark { width: 100%; height: 26px; color: var(--accent); margin-top: .25rem; }
.mock-map { width: 100%; height: 40px; color: var(--brand-2); margin-top: .25rem; }
.mock-progress { height: .5rem; background: var(--surface-alt); border-radius: 999px; margin-top: .6rem; overflow: hidden; }
.mock-progress span { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, #38bdf8, var(--accent)); border-radius: inherit; }
.mock-alert { display: flex; align-items: center; gap: .6rem; margin-top: .75rem; padding: .7rem .9rem; border-radius: .9rem; background: rgba(244, 63, 94, .07); color: var(--ink); font-weight: 600; font-size: .9rem; }
.mock-alert .bi { color: var(--brand); }

/* boards strip */
.boards { padding-block: 2rem; border-block: 1px solid var(--line); background: var(--surface); }
.boards-title { text-align: center; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.boards-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.75rem; }
.boards-list li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--ink); opacity: .78; }
.boards-list .bi { color: var(--brand); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: none; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem 1.6rem; box-shadow: var(--shadow-sm); }
.section-alt .step { background: var(--surface); }
.step-num { position: absolute; top: 1.2rem; inset-inline-end: 1.3rem; font-size: 2.6rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(244, 63, 94, .35); }
.step-icon { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: .9rem; background: var(--brand-gradient); color: #fff; font-size: 1.35rem; margin-bottom: 1rem; box-shadow: 0 10px 20px -10px rgba(244, 63, 94, .8); }
.step-title { font-size: 1.15rem; font-weight: 750; }
.step-text { color: var(--muted); margin: 0; }

/* cards */
.card-feature, .card-plain, .solution-card, .mission-card, .download-card, .form-card, .contact-aside, .plan-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card-feature { height: 100%; padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-feature:hover, .card-plain:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(244, 63, 94, .25); }
.card-plain { height: 100%; padding: 1.5rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-icon { display: inline-flex; width: 3.1rem; height: 3.1rem; align-items: center; justify-content: center; border-radius: .9rem; font-size: 1.45rem; color: var(--brand); background: linear-gradient(135deg, rgba(255, 122, 24, .14), rgba(219, 39, 119, .14)); margin-bottom: 1rem; }
.feature-icon.sm { width: 2.6rem; height: 2.6rem; font-size: 1.2rem; }
.feature-title { font-size: 1.08rem; font-weight: 750; margin-bottom: .45rem; }
.feature-text { color: var(--muted); margin-bottom: .75rem; }
.mini-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.mini-list li, .tag-list li, .tag-cloud li { font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--surface-alt); border: 1px solid var(--line); padding: .2rem .6rem; border-radius: 999px; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .bi { color: #16a34a; margin-top: .3rem; }
.check-list.light li { color: #e2e8f0; }
.check-list.light .bi { color: #4ade80; }

/* feature page */
.chip-nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.75rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip .bi { color: var(--brand); }
.feature-visual { position: relative; min-height: 300px; border-radius: 1.5rem; padding: 2.5rem; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; background: radial-gradient(420px 220px at 20% 15%, rgba(255, 122, 24, .22), transparent 70%), radial-gradient(420px 260px at 85% 90%, rgba(20, 157, 204, .2), transparent 70%), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature-visual-icon { display: inline-flex; width: 6rem; height: 6rem; align-items: center; justify-content: center; border-radius: 1.6rem; background: var(--brand-gradient); color: #fff; font-size: 2.8rem; box-shadow: 0 24px 40px -18px rgba(244, 63, 94, .8); }
.tag-cloud { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; max-width: 26rem; }
.tag-cloud li { font-size: .88rem; padding: .35rem .85rem; background: var(--surface); box-shadow: var(--shadow-sm); }
.tag-list { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }

/* solutions */
.solution-card { height: 100%; padding: 1.75rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); scroll-margin-top: 6rem; }
.solution-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.solution-head .feature-icon { margin: 0; }
.solution-title { font-size: 1.3rem; font-weight: 800; margin: 0; }
.solution-body dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-text); font-weight: 700; }
html[lang="ar"] .solution-body dt { letter-spacing: 0; font-size: .9rem; }
.solution-body dd { color: var(--muted); margin-bottom: 1rem; }
.solution-foot { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); }

/* code */
.code-card { background: #0d1324; border: 1px solid #1e293b; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-lg); text-align: left; }
.code-card.light { background: #0f172a; box-shadow: none; margin-bottom: 1rem; }
.code-head { display: flex; align-items: center; gap: .25rem; padding: .5rem .75rem; border-bottom: 1px solid #1e293b; background: rgba(255, 255, 255, .03); }
.code-tab { border: 0; background: transparent; color: #94a3b8; font-size: .82rem; font-weight: 600; padding: .35rem .7rem; border-radius: .5rem; }
.code-tab.active, .code-tab:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.code-label { color: #cbd5e1; font-size: .82rem; font-weight: 600; }
.btn-copy { margin-left: auto; color: #cbd5e1; border: 1px solid #334155; font-size: .78rem; padding: .2rem .6rem; }
.btn-copy:hover { color: #fff; border-color: #64748b; }
.btn-copy.copied { color: #4ade80; border-color: #4ade80; }
.code { margin: 0; padding: 1.1rem 1.25rem; color: #e2e8f0; font-family: var(--font-mono); font-size: .84rem; line-height: 1.7; white-space: pre-wrap; word-break: break-all; }
.code code { color: inherit; }
.code.reply { border-top: 1px solid #1e293b; color: #a5f3fc; }
.code-reply { padding: .55rem 1.25rem; border-top: 1px solid #1e293b; color: #94a3b8; font-size: .82rem; }
.code-reply code { color: #4ade80; }
.c-com { color: #8fa0b8; }
.c-var { color: #fbbf24; }
.c-num { color: #f472b6; }
.c-str { color: #86efac; }
.c-kw { color: #93c5fd; }

/* developers reference */
.ref-nav { top: 6rem; display: flex; flex-direction: column; gap: .15rem; }
.ref-nav a { display: flex; align-items: center; padding: .45rem .7rem; border-radius: .55rem; color: var(--muted); text-decoration: none; font-weight: 600; }
.ref-nav a:hover { background: var(--surface-alt); color: var(--ink); }
.ref-block { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: 6rem; }
.ref-block:last-child { border-bottom: 0; }
.ref-title { font-size: 1.5rem; font-weight: 800; margin-bottom: .75rem; display: flex; align-items: center; }
.endpoint { display: inline-flex; flex-wrap: wrap; gap: .5rem; align-items: center; background: var(--surface-alt); border: 1px solid var(--line); border-radius: .6rem; padding: .45rem .8rem; margin-bottom: 1rem; }
.endpoint .verb { font-size: .72rem; font-weight: 800; color: #fff; background: #0e7490; border-radius: .35rem; padding: .15rem .45rem; }
.ref-table { font-size: .93rem; }
.ref-table td:first-child { white-space: nowrap; width: 1%; }
.ref-steps li { margin-bottom: .4rem; }

/* pricing */
.period-toggle { display: inline-flex; gap: .25rem; margin-top: 1.75rem; padding: .3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.period-toggle button { border: 0; background: transparent; padding: .5rem 1.15rem; border-radius: 999px; font-weight: 700; color: var(--muted); }
.period-toggle button.active { background: var(--ink); color: var(--surface); }
.period-toggle .save { font-size: .72rem; color: #15803d; margin-inline-start: .2rem; }
.period-toggle button.active .save { color: #86efac; }
.plan-card { position: relative; height: 100%; padding: 1.75rem 1.5rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan-card.featured { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--brand-gradient) border-box; box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -.8rem; inset-inline-start: 50%; transform: translateX(-50%); background: var(--brand-gradient); color: #fff; font-size: .75rem; font-weight: 800; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
[dir="rtl"] .plan-flag { transform: translateX(50%); }
.plan-name { font-size: 1.25rem; font-weight: 800; margin-bottom: .25rem; }
.plan-desc { color: var(--muted); font-size: .92rem; min-height: 2.8em; }
.plan-price { margin: .5rem 0 1.25rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem; }
.plan-price .amount { font-size: 2.3rem; font-weight: 850; color: var(--ink); line-height: 1.1; }
.plan-price .per { color: var(--muted); font-weight: 600; }
.plan-price .billed { flex-basis: 100%; font-size: .8rem; color: var(--muted); }
.plan-features { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; font-size: .93rem; }
.plan-features li { display: flex; align-items: flex-start; gap: .55rem; }
.plan-features .ok { color: #16a34a; margin-top: .25rem; }
.plan-features .no { color: #94a3b8; margin-top: .25rem; }
.plan-features li.off { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(148, 163, 184, .6); }
.compare-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.compare-table { margin: 0; --bs-table-bg: transparent; }
.compare-table th, .compare-table td { padding: 1rem; border-color: var(--line); }
.compare-table thead th { font-weight: 800; color: var(--ink); background: var(--surface-alt); position: sticky; top: 0; }
.compare-table tbody th { font-weight: 400; min-width: 15rem; }

/* faq */
.faq { --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); --bs-accordion-active-bg: rgba(244, 63, 94, .06); --bs-accordion-active-color: var(--ink); --bs-accordion-border-radius: var(--radius); --bs-accordion-inner-border-radius: var(--radius); }
.faq .accordion-button { font-weight: 700; }
.faq .accordion-body { color: var(--muted); }

/* stats */
.stats-section { padding-block: 3.5rem; }
.stat { padding: 1.25rem; }
.stat-value { display: block; font-size: clamp(2rem, 3vw + 1rem, 3rem); font-weight: 900; color: var(--ink); line-height: 1.1; }
.stat-label { color: var(--muted); font-weight: 600; }

/* call to action */
.section-cta { padding-block: 1rem 5.5rem; }
.cta-card { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; padding: 3rem; border-radius: 1.5rem; background: var(--brand-gradient); color: #fff; box-shadow: 0 30px 60px -25px rgba(244, 63, 94, .8); position: relative; overflow: hidden; }
.cta-card::after { content: ""; position: absolute; width: 22rem; height: 22rem; border-radius: 50%; inset-inline-end: -6rem; top: -10rem; background: rgba(255, 255, 255, .12); }
.cta-title { color: #fff; font-weight: 850; font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); margin-bottom: .4rem; }
.cta-text { margin: 0; color: rgba(255, 255, 255, .9); font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }
.cta-actions .btn-light { color: var(--brand-strong); }

/* forms */
.auth-section { padding-block: 4rem 5rem; background: radial-gradient(700px 300px at 50% 0%, rgba(244, 63, 94, .08), transparent 70%); }
.form-card { padding: 2rem; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }
.form-section { margin-bottom: 1.75rem; border: 0; padding: 0; }
.form-section-title { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: .9rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); width: 100%; }
.form-label { font-weight: 600; color: var(--ink); }
.form-control, .form-select { border-radius: .65rem; padding-block: .65rem; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: rgba(244, 63, 94, .55); box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); border-color: var(--brand); }
.optional { font-weight: 400; color: var(--muted); font-size: .85em; }
.trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.pw-meter { height: .35rem; background: var(--surface-alt); border-radius: 999px; margin-top: .5rem; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .25s ease, background-color .25s ease; }
.pw-meter span.s1 { width: 25%; background: #ef4444; }
.pw-meter span.s2 { width: 50%; background: #f59e0b; }
.pw-meter span.s3 { width: 75%; background: #22c55e; }
.pw-meter span.s4 { width: 100%; background: #15803d; }
.auth-aside { padding-top: .5rem; }
.auth-aside .check-list { margin-bottom: 1.25rem; }
@media (min-width: 992px) { .auth-aside { position: sticky; top: 6.5rem; } }
.result-card { padding-block: 3rem; }
.result-icon { display: inline-flex; width: 4.5rem; height: 4.5rem; align-items: center; justify-content: center; border-radius: 1.3rem; font-size: 2rem; color: #fff; background: var(--brand-gradient); margin-bottom: 1.25rem; box-shadow: 0 18px 30px -16px rgba(244, 63, 94, .8); }
.result-icon.state-done { background: linear-gradient(135deg, #22c55e, #15803d); }
.result-icon.state-expired, .result-icon.state-throttled { background: linear-gradient(135deg, #f59e0b, #d97706); }
.result-icon.state-invalid, .result-icon.state-unavailable { background: linear-gradient(135deg, #64748b, #334155); }
.result-tips { max-width: 30rem; margin: 0 auto 1.5rem; }
.error-code { font-size: clamp(4rem, 10vw, 7rem); font-weight: 900; line-height: 1; margin-bottom: .5rem; }

/* captcha (Adelk Captcha through Site\Security\AdelkCaptchaDriver) */
.captcha { border: 0; padding: 0; margin: 0; }
.captcha legend { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; float: none; }
.captcha-box { width: 300px; max-width: 100%; border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; background: var(--surface); }
.captcha.is-invalid .captcha-box { border-color: var(--bs-form-invalid-border-color); }
.captcha-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .6rem .5rem .8rem; background: var(--surface-alt); border-bottom: 1px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--ink); }
.captcha-picture { position: relative; line-height: 0; cursor: crosshair; user-select: none; -webkit-user-select: none; touch-action: manipulation; background: #f4f4f4; }
.captcha-picture img { width: 100%; height: auto; display: block; }
.captcha-marker { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-2); border: 2px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px rgba(0, 0, 0, .25); pointer-events: none; }
.captcha-picture.loading { opacity: .5; }

/* contact, download */
.contact-aside { padding: 1.5rem; display: grid; gap: 1.25rem; }
.aside-item { display: flex; gap: .9rem; }
.aside-item > .bi { font-size: 1.4rem; color: var(--brand); margin-top: .15rem; }
.aside-item p { color: var(--muted); margin: 0; font-size: .93rem; }
.download-card, .mission-card { padding: 2rem; box-shadow: var(--shadow-sm); }
.store-badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.store-badges img { height: 48px; width: auto; }
.file-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.file-item { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .8rem; flex-wrap: wrap; }
.file-item.match { border-color: rgba(244, 63, 94, .5); background: rgba(244, 63, 94, .04); }
.file-os { font-size: 1.5rem; color: var(--ink); }
.file-meta { display: flex; flex-direction: column; flex: 1 1 12rem; }
.file-badge { font-size: .72rem; font-weight: 700; color: var(--brand-text); background: rgba(244, 63, 94, .1); padding: .15rem .55rem; border-radius: 999px; }

/* legal */
.legal-hero { padding-bottom: 2.5rem; }
.toc { top: 6rem; }
.toc ol { padding-inline-start: 1.1rem; display: grid; gap: .35rem; font-size: .93rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--brand); }
.legal-body { max-width: 760px; }
.legal-body section { scroll-margin-top: 6rem; margin-bottom: 2.25rem; }
.legal-body h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: .75rem; }
.legal-body p, .legal-body li { color: var(--bs-body-color); }
.legal-body ul { padding-inline-start: 1.25rem; }
.legal-body li { margin-bottom: .4rem; }
.legal-table { font-size: .92rem; }
.legal-table th { background: var(--surface-alt); }

/* footer */
.site-footer { background: var(--surface-alt); border-top: 1px solid var(--line); padding-block: 4rem 2rem; font-size: .94rem; }
.footer-brand img { height: 36px; width: auto; }
.footer-tagline { color: var(--muted); margin: 1rem 0 1.25rem; max-width: 22rem; }
.footer-title { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 1rem; }
html[lang="ar"] .footer-title { letter-spacing: 0; font-size: .95rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a, .footer-link-btn { color: var(--muted); text-decoration: none; padding: 0; border: 0; font-size: inherit; font-weight: 400; text-align: start; }
.footer-links a:hover, .footer-link-btn:hover { color: var(--brand); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }
.footer-note { font-size: .8rem; }

/* consent */
.consent-banner { position: fixed; inset-inline: 0; bottom: 0; z-index: 1080; padding: 1rem 0; pointer-events: none; }
.consent-card { pointer-events: auto; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1.1rem 1.25rem; box-shadow: var(--shadow-lg); }
.consent-text { flex: 1 1 28rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-option { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.consent-option:last-of-type { border-bottom: 0; }

/* reveal on scroll (only when motion is allowed and JavaScript runs) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .mock, [dir="rtl"] .mock { transform: none; }
}

/* RTL details */
[dir="rtl"] .btn-copy { margin-left: 0; margin-right: auto; }
[dir="rtl"] .code-card .btn-copy { margin-left: auto; margin-right: 0; }

@media (max-width: 575.98px) {
  .section { padding-block: 4rem; }
  .cta-card { padding: 2rem 1.5rem; }
  .mock { transform: none; }
  [dir="rtl"] .mock { transform: none; }
}

@media print {
  .site-header, .site-footer, .consent-banner, .section-cta { display: none !important; }
}
