/*
 * Dawri public site — design system.
 * Self-hosted fonts only (IBM Plex Sans Arabic, Inter — SIL OFL, see /fonts/OFL-*.txt).
 * Logical properties throughout so the same rules serve RTL (ar) and LTR (fr, en).
 */

@font-face { font-family: "Plex Arabic"; src: url("../fonts/IBMPlexSansArabic-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/IBMPlexSansArabic-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/IBMPlexSansArabic-Bold.ttf") format("truetype"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
    --brand-950: #042f2c;
    --brand-900: #134e4a;
    --brand-800: #115e59;
    --brand: #0f766e;
    --brand-600: #0d9488;
    --brand-200: #99f6e4;
    --brand-100: #ccfbf1;
    --brand-50: #f0fdfa;
    --accent: #fbbf24;
    --accent-soft: #fef3c7;
    --accent-ink: #78350f;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #556274;
    --line: #e3e8ee;
    --bg: #ffffff;
    --bg-soft: #f5f8f7;
    --danger: #b91c1c;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow: 0 4px 6px -2px rgba(15, 23, 42, .05), 0 12px 24px -6px rgba(15, 23, 42, .12);
    --shadow-lg: 0 24px 48px -12px rgba(4, 47, 44, .28);

    --font-latin: "Inter", "Plex Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-arabic: "Plex Arabic", "Inter", system-ui, "Segoe UI", Tahoma, sans-serif;

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(64px, 9vw, 112px);
    --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    font-family: var(--font-latin);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg-soft);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--font-arabic); line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }
:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--accent); }
.icon { flex: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 750; }
html:not([lang="ar"]) h1, html:not([lang="ar"]) h2 { letter-spacing: -.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.4; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem); }
h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand); margin-bottom: 12px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--accent); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn, button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    border: 1px solid transparent; border-radius: 12px;
    background: var(--brand); color: #fff;
    font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; text-align: center;
    cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:hover, button:hover { background: var(--brand-800); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.alt { background: #fff; color: var(--brand-800); border-color: #b7d9d5; }
.btn.alt:hover { border-color: var(--brand); background: var(--brand-50); color: var(--brand-800); }
.btn.accent { background: var(--accent); color: #1c1305; }
.btn.accent:hover { background: #f59e0b; color: #1c1305; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn.lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; border-radius: 14px; }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; border-radius: 10px; }
.btn .icon { width: 20px; height: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(3px); }

/* ---------- Header ---------- */
.skip-link { position: absolute; inset-inline-start: 12px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, .07);
}
.site-header .bar { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.main-nav { display: none; margin-inline-start: 24px; gap: 4px; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { color: var(--brand-800); background: var(--brand-50); }
.header-end { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.header-end .btn { display: none; }
.langs { display: flex; gap: 2px; padding: 3px; background: #eef2f1; border-radius: 10px; }
.langs form { margin: 0; }
.langs button {
    min-height: 34px; padding: 4px 10px; margin: 0;
    background: transparent; color: var(--ink-2); border: 0; border-radius: 8px;
    font-size: .85rem; font-weight: 600;
}
.langs button:hover { background: #fff; color: var(--ink); }
.langs button[aria-current] { background: #fff; color: var(--brand-800); box-shadow: var(--shadow-sm); }
.langs .full { display: none; }
@media (min-width: 640px) { .langs .full { display: inline; } .langs .short { display: none; } }
@media (min-width: 980px) { .main-nav { display: flex; } .header-end .btn { display: inline-flex; } }

/* ---------- Generic page (legal, guide, auth, provider) ---------- */
main.page { display: block; max-width: 760px; margin-inline: auto; padding: clamp(32px, 6vw, 64px) var(--gutter) 80px; }
main.page.wide { max-width: var(--container); }
main.page.home { max-width: none; padding: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.page .card > h1:first-child { margin-top: 0; }
.page:not(.home) h2 { margin-top: 1.6em; }
.page:not(.home) .card h2:first-child, .page:not(.home) h2.flush { margin-top: 0; }
.page-head { margin-bottom: 28px; }
.page-head p { margin: 0; }
label { display: block; font-weight: 600; margin: 16px 0 6px; }
input, select, textarea {
    width: 100%; min-height: 48px; padding: 10px 14px;
    border: 1px solid #cbd5e1; border-radius: var(--radius-sm); background: #fff;
    font: inherit; color: var(--ink);
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--brand-200); outline-offset: 0; border-color: var(--brand); }
.page form button[type="submit"] { margin-top: 24px; }
.error { color: var(--danger); font-size: .9rem; margin: 6px 0 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--brand-100); color: var(--brand-900); }
.badge.soon { background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-950); color: #c6d6d3; font-size: .95rem; }
.site-footer a { color: #e6f2f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 40px 32px; padding-block: 64px 40px; grid-template-columns: 1fr; }
.footer-brand .brand { color: #fff; }
.footer-brand p { max-width: 340px; margin: 16px 0 0; color: #a9c2be; }
html .site-footer h2 { color: #fff; font-size: .95rem; margin: 0 0 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #93aca8; font-size: .875rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* =================================================================
   Home page
   ================================================================= */
.home { background: var(--bg); }

/* Hero */
.hero { position: relative; padding-block: clamp(40px, 7vw, 88px) clamp(72px, 9vw, 120px); background:
        radial-gradient(900px 480px at 85% 0%, rgba(13, 148, 136, .10), transparent 70%),
        radial-gradient(700px 420px at 0% 100%, rgba(251, 191, 36, .10), transparent 70%),
        linear-gradient(180deg, var(--brand-50) 0%, #fff 100%); }
[dir="rtl"] .hero { background:
        radial-gradient(900px 480px at 15% 0%, rgba(13, 148, 136, .10), transparent 70%),
        radial-gradient(700px 420px at 100% 100%, rgba(251, 191, 36, .10), transparent 70%),
        linear-gradient(180deg, var(--brand-50) 0%, #fff 100%); }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero-copy .pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px;
    background: #fff; border: 1px solid #cfe7e3; border-radius: 999px; box-shadow: var(--shadow-sm);
    color: var(--brand-900); font-weight: 650; font-size: .9rem; margin-bottom: 20px;
}
[dir="rtl"] .hero-copy .pill { padding: 6px 8px 6px 14px; }
.hero-copy .pill .dot { width: 24px; height: 24px; border-radius: 999px; background: var(--brand-100); color: var(--brand); display: grid; place-items: center; }
.hero-copy .pill .dot .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.08; margin-bottom: 20px; }
html[lang="ar"] .hero h1 { line-height: 1.3; font-size: clamp(2rem, 1.35rem + 3vw, 3.3rem); }
.hero h1 .hl { color: var(--brand); }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.cta-note .icon { width: 18px; height: 18px; color: var(--brand); }

.hero-media { position: relative; margin-inline: 8px; isolation: isolate; }
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; background: var(--brand-100); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
/* The people sit right of centre: mirror the photo in RTL so the ticket card never covers them. */
[dir="rtl"] .hero-photo img { transform: scaleX(-1); }
.hero-media::before {
    content: ""; position: absolute; inset: -14px; inset-inline-start: 14px; inset-block-end: 14px; z-index: -1;
    border-radius: 32px; background: linear-gradient(135deg, var(--brand-100), rgba(251, 191, 36, .25));
}
.float { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid rgba(15, 23, 42, .06); }
.ticket-card { inset-inline-start: -8px; bottom: -36px; width: min(250px, 70%); padding: 16px 18px; }
.tc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 6px; color: #047857; font-weight: 700; font-size: .78rem; background: #ecfdf5; padding: 2px 8px; border-radius: 999px; }
.live i { width: 7px; height: 7px; border-radius: 99px; background: #10b981; }
.tc-number { font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--brand); margin: 6px 0 2px; font-variant-numeric: tabular-nums; font-family: var(--font-latin); }
.tc-service { font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.tc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.tc-meta small { display: block; color: var(--muted); font-size: .72rem; }
.tc-meta b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.tc-progress { height: 6px; border-radius: 99px; background: var(--brand-50); margin-top: 12px; overflow: hidden; }
.tc-progress span { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-600), var(--brand)); }
.notify-card { inset-inline-end: -8px; top: 22px; display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; max-width: 270px; }
[dir="rtl"] .notify-card { padding: 12px 12px 12px 16px; }
.notify-card .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: #b45309; display: grid; place-items: center; flex: none; }
.notify-card .ic .icon { width: 22px; height: 22px; }
.notify-card b { display: block; font-size: .92rem; }
.notify-card span { display: block; font-size: .82rem; color: var(--muted); }
@media (min-width: 980px) {
    .hero-grid { grid-template-columns: 1.05fr .95fr; }
    .hero-photo { aspect-ratio: 1 / 1; }
    .hero-media { margin-inline: 0 16px; }
    .ticket-card { inset-inline-start: -44px; }
    .notify-card { inset-inline-end: -28px; }
}
@media (max-width: 979px) {
    .hero-photo { aspect-ratio: 4 / 3; }
    .ticket-card { width: 200px; padding: 12px 14px; bottom: -44px; border-radius: 14px; }
    .tc-head, .tc-meta small { white-space: nowrap; }
    .tc-head { font-size: .76rem; }
    .live { font-size: .7rem; padding: 1px 7px; }
    .tc-meta small { font-size: .68rem; }
    .tc-number { font-size: 2.2rem; }
    .tc-meta { margin-top: 8px; padding-top: 8px; }
    .tc-meta b { font-size: .95rem; }
    .tc-progress { margin-top: 8px; }
    .notify-card { top: 12px; max-width: 224px; padding: 8px 12px 8px 8px; border-radius: 14px; }
    [dir="rtl"] .notify-card { padding: 8px 8px 8px 12px; }
    .notify-card .ic { width: 34px; height: 34px; border-radius: 10px; }
    .hero { padding-bottom: 100px; }
    .trust { margin-top: -20px; }
}

/* Trust strip */
.trust { position: relative; z-index: 2; margin-top: clamp(-64px, -6vw, -40px); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 22px 22px; }
.trust-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.trust-item h3 { font-size: 1rem; margin: 0 0 2px; }
.trust-item p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* How it works */
.how-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.how-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.6; box-shadow: var(--shadow); }
.how-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: step; }
.steps-list li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 18px 0; }
.steps-list li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 27px; top: 74px; bottom: -10px; width: 2px; background: linear-gradient(var(--brand-200), transparent); }
.step-num { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 118, 110, .7); position: relative; }
.step-num .icon { width: 26px; height: 26px; }
.step-num small { position: absolute; top: -8px; inset-inline-end: -8px; width: 24px; height: 24px; border-radius: 99px; background: var(--accent); color: #1c1305; font-size: .78rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; font-family: var(--font-latin); }
.steps-list h3 { font-size: 1.25rem; margin: 4px 0 4px; }
.steps-list p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .how-grid { grid-template-columns: .95fr 1.05fr; } }

/* Sectors */
.sectors { background: var(--bg-soft); }
.sector-tiles { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 200px; background: var(--brand-900); isolation: isolate; }
.tile:first-child { grid-column: 1 / -1; min-height: 260px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 47, 44, 0) 45%, rgba(4, 47, 44, .5) 68%, rgba(4, 47, 44, .9) 100%); }
.tile .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 18px 20px; color: #fff; }
.tile .cap .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); margin-bottom: 10px; border: 1px solid rgba(255, 255, 255, .25); }
.tile .cap .ic .icon { width: 20px; height: 20px; }
.tile h3 { color: #fff; margin: 0; font-size: 1.15rem; }
.tile p { margin: 2px 0 0; font-size: .88rem; color: #dbeae7; }
.tile:hover img { transform: scale(1.04); }
@media (min-width: 760px) {
    .sector-tiles { grid-auto-rows: 240px; }
    .tile, .tile:first-child { min-height: 0; }
    .tile:first-child { grid-row: span 1; }
}
@media (min-width: 1100px) {
    .sector-tiles { grid-template-columns: 1.5fr 1fr 1fr; grid-auto-rows: 250px; }
    .tile:first-child { grid-column: auto; grid-row: span 2; }
}
@media (max-width: 559px) {
    .tile { min-height: 180px; }
    .tile .cap { padding: 14px; }
    .tile:not(:first-child) h3 { font-size: 1rem; }
    .tile:not(:first-child) p { display: none; }
    .tile .cap .ic { width: 32px; height: 32px; margin-bottom: 8px; }
    .how-photo, .pros-photo .frame { aspect-ratio: 16 / 11; }
}
.others { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.others > span { font-weight: 700; color: var(--ink-2); margin-inline-end: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.chip .icon { width: 18px; height: 18px; color: var(--brand); }
.chip .badge { padding: 2px 8px; font-size: .72rem; }

/* For professionals */
.pros-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.pros-photo { position: relative; }
.pros-photo .frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow); }
.pros-photo img { width: 100%; height: 100%; object-fit: cover; }
.pros-photo .trial { position: absolute; bottom: 20px; inset-inline-start: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); font-weight: 700; color: var(--ink); }
.pros-photo .trial .icon { color: #b45309; background: var(--accent-soft); border-radius: 10px; padding: 6px; width: 34px; height: 34px; }
.features { display: grid; gap: 14px; margin: 28px 0 32px; }
.feature { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
.feature:hover { border-color: #b7d9d5; box-shadow: var(--shadow-sm); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.feature h3 { font-size: 1.02rem; margin: 0 0 4px; }
.feature p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .pros-grid { grid-template-columns: .9fr 1.1fr; } }

/* TV highlight */
.tv-section { background: radial-gradient(800px 500px at 90% 10%, rgba(13, 148, 136, .35), transparent 70%), var(--brand-950); color: #d3e4e1; }
[dir="rtl"] .tv-section { background: radial-gradient(800px 500px at 10% 10%, rgba(13, 148, 136, .35), transparent 70%), var(--brand-950); }
.tv-section h2 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
.tv-section .eyebrow { color: var(--brand-200); }
.tv-section p { color: #c3d6d2; }
.tv-grid { display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; }
.tv-points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.tv-points li { display: flex; gap: 12px; align-items: center; color: #e8f2f0; font-weight: 550; }
.tv-points .icon { width: 26px; height: 26px; padding: 5px; border-radius: 99px; background: rgba(153, 246, 228, .14); color: var(--brand-200); stroke-width: 2.6; }
.tv-visual { position: relative; padding-bottom: 40px; }
.tv-visual .photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; opacity: .9; }
.tv-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.tv-screen {
    position: absolute; inset-inline-end: 0; bottom: 0; width: min(380px, 82%);
    background: #0b1514; border-radius: 16px; padding: 10px; box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .08);
}
.tv-screen .panel { border-radius: 9px; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; background: #0f2624; }
.tv-screen .now { background: linear-gradient(135deg, var(--brand), var(--brand-800)); color: #fff; padding: 16px 18px; }
.tv-screen .now small { display: flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .9; }
.tv-screen .now small .icon { width: 16px; height: 16px; }
.tv-screen .now b { display: block; font-size: 3.4rem; line-height: 1; margin: 6px 0 4px; font-family: var(--font-latin); font-variant-numeric: tabular-nums; }
.tv-screen .now span { font-weight: 700; color: var(--accent); }
.tv-screen .next { padding: 14px; color: #a8c4c0; font-size: .78rem; }
.tv-screen .next ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.tv-screen .next li { background: rgba(255, 255, 255, .06); border-radius: 6px; padding: 5px 10px; color: #fff; font-weight: 700; font-family: var(--font-latin); }
.tv-screen .stand { width: 90px; height: 8px; margin: 10px auto -2px; border-radius: 0 0 8px 8px; background: #1b2b29; }
.waves { display: inline-flex; gap: 2px; align-items: center; height: 12px; }
.waves i { width: 2px; height: 100%; background: currentColor; border-radius: 2px; }
.waves i:nth-child(2) { height: 60%; } .waves i:nth-child(3) { height: 85%; }
@media (min-width: 980px) { .tv-grid { grid-template-columns: 1fr 1.05fr; } .tv-screen { inset-inline-end: -28px; } }

/* Downloads */
.downloads { background: var(--bg-soft); }
.dl-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.dl-card { display: flex; flex-direction: column; gap: 16px; }
.dl-top { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; }
.dl-card .app-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.dl-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.dl-card .desc { color: var(--ink-2); margin: 0; font-size: .95rem; }
.dl-card .meta { display: inline-block; margin-top: 10px; font-size: .82rem; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.dl-card .qr { line-height: 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.dl-card .qr svg { width: 112px; height: 112px; }
.dl-card .btn { align-self: flex-start; }
.dl-card .steps { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.dl-card .steps ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; }
.dl-card .link { direction: ltr; unicode-bidi: isolate; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 520px) { .dl-top { grid-template-columns: 1fr; } .dl-card .qr { display: none; } }

/* FAQ */
.faq-grid { display: grid; gap: 32px 64px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.faq-list details[open] { border-color: #b7d9d5; box-shadow: var(--shadow-sm); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 20px; height: 20px; color: var(--brand); transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }

/* Final call to action */
.final { padding-block: 0 var(--section); }
.final-box {
    position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 72px);
    background: radial-gradient(600px 320px at 100% 0%, rgba(255, 255, 255, .14), transparent 70%), linear-gradient(135deg, var(--brand) 0%, var(--brand-900) 100%);
    color: #e6f4f1; display: grid; gap: 28px; align-items: center;
}
.final-box h2 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); margin-bottom: 10px; }
.final-box p { margin: 0; max-width: 560px; font-size: 1.08rem; color: #d3ebe7; }
.final-box .ctas { justify-content: flex-start; }
@media (min-width: 900px) { .final-box { grid-template-columns: 1.3fr auto; } }

@media (max-width: 559px) {
    .ctas .btn { width: 100%; }
}

/* Motion — subtle, and only for people who have not asked for less */
@media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
    .reveal.d1 { animation-delay: .12s; } .reveal.d2 { animation-delay: .24s; } .reveal.d3 { animation-delay: .36s; }
    .live i { animation: pulse 1.8s ease-in-out infinite; }
    .waves i { animation: wave 1.1s ease-in-out infinite; }
    .waves i:nth-child(2) { animation-delay: .15s; } .waves i:nth-child(3) { animation-delay: .3s; }
    @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); } 50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); } }
    @keyframes wave { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
