/* U R Free Now - static site styles.
   Look and feel inspired by the /25/ design: near-black base, teal accent,
   Inter, rounded cards, pill labels, gradient sections.
   Logical properties are used throughout so the Arabic (RTL) build mirrors itself. */

:root {
  --bg: #111111;
  --bg-2: #12121c;
  --bg-3: #0b0b12;
  --ink: #ffffff;
  --muted: #c7c7c7;
  --soft: #9fa6ad;
  --primary: #207c99;
  --primary-hi: #2a97b9;
  --link: #6fd0ec;
  --line: rgba(255, 255, 255, 0.13);
  --card: rgba(255, 255, 255, 0.045);
  --card-hi: rgba(255, 255, 255, 0.075);
  --radius: 10px;
  --radius-btn: 6px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif; }
body {
  margin: 0; background: var(--bg); color: var(--muted);
  font-family: var(--font); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .55em; font-weight: 600; letter-spacing: -0.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.15rem, 4.6vw + .6rem, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 2.6vw + .8rem, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-inline-start: 1.25em; margin: 0 0 1.2em; }
li { margin-bottom: .45em; }
strong { color: #fff; font-weight: 600; }
:focus-visible { outline: 3px solid #6fd0ec; outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 820px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: #fff; color: #000; padding: 10px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { top: 10px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17, 17, 17, .86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a {
  color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 9px 12px; border-radius: 6px; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--card-hi); color: #fff; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--primary-hi); border-radius: 6px 6px 0 0; }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; margin-inline-start: 6px; }
.lang a { padding: 5px 9px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-decoration: none; border-radius: 5px; }
.lang a[aria-current="true"] { background: var(--primary); color: #fff; }
.lang a:hover { color: #fff; background: var(--card-hi); }
.menu-btn { display: none; margin-inline-start: auto; background: transparent; border: 1px solid var(--line); color: #fff; width: 46px; height: 42px; border-radius: 8px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: #fff; margin: auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }

/* ---------- buttons, pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--primary); color: #fff; text-decoration: none; cursor: pointer;
  font: 600 1rem/1 var(--font); padding: 15px 24px; border-radius: var(--radius-btn);
  border: 1px solid var(--primary); transition: background .18s, transform .18s, border-color .18s;
}
.btn:hover { background: var(--primary-hi); border-color: var(--primary-hi); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .5); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn.small { padding: 11px 16px; font-size: .92rem; }
.pill {
  display: inline-block; background: #fff; color: #0c2a33; border-radius: 999px;
  padding: 6px 15px; font-size: .8rem; font-weight: 600; margin-bottom: 20px;
}
.pill.dark { background: rgba(32, 124, 153, .22); color: #9fe0f3; border: 1px solid rgba(111, 208, 236, .35); }
.arrow::after { content: "\2192"; margin-inline-start: .45em; display: inline-block; }
[dir="rtl"] .arrow::after { content: "\2190"; }

/* ---------- sections ---------- */
.section { padding: clamp(60px, 8vw, 104px) 0; position: relative; }
.sec-base { background: var(--bg); }
.sec-teal { background: linear-gradient(135deg, #295364 0%, #184044 11%, #123a4d 51%, #1e1b1b 100%); }
.sec-deep { background: linear-gradient(135deg, #12121c 0%, #000015 100%); }
.sec-dusk { background: linear-gradient(180deg, #001e1a 0%, #303030 100%); }
.sec-night { background: linear-gradient(180deg, #011514 0%, #0d0505 57%, #102a2d 100%); }
.head { max-width: 760px; margin-bottom: 44px; }
.head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.2rem; color: #dcdcdc; }
.center { text-align: center; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden;
  background: radial-gradient(1000px 520px at 80% 15%, rgba(32, 124, 153, .38), transparent 60%),
              radial-gradient(700px 400px at 5% 90%, rgba(41, 83, 100, .35), transparent 65%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { max-width: 640px; margin-bottom: 1.5em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: #dcdcdc; font-size: .93rem; }
.trust li { margin: 0; display: flex; gap: 8px; align-items: center; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary-hi); flex: none; }
.portrait { position: relative; justify-self: center; width: min(100%, 440px); }
.portrait::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(111, 208, 236, .4); border-radius: 16px; }
[dir="rtl"] .portrait::before { inset: 14px 14px -14px -14px; }
.portrait img { position: relative; border-radius: 14px; box-shadow: var(--shadow); width: 100%; }
.page-hero { padding: clamp(46px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(900px 420px at 85% 0%, rgba(32, 124, 153, .32), transparent 62%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 920px; font-size: clamp(2rem, 3.6vw + .6rem, 3.1rem); }
.page-hero .lead { max-width: 760px; margin: 0; }
.crumbs { font-size: .85rem; color: var(--soft); margin-bottom: 22px; }
.crumbs a { color: var(--soft); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { margin-inline: 8px; opacity: .6; }

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: background .2s, transform .2s, border-color .2s; display: flex; flex-direction: column;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { background: var(--card-hi); border-color: rgba(111, 208, 236, .5); transform: translateY(-3px); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; padding-top: 16px; color: var(--link); font-weight: 600; font-size: .95rem; }
.num { font-size: .85rem; font-weight: 700; color: #7bd4ee; letter-spacing: .08em; margin-bottom: 14px; }
.icon { width: 46px; height: 46px; border-radius: 10px; background: rgba(32, 124, 153, .25); border: 1px solid rgba(111, 208, 236, .35); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; stroke: #9fe0f3; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; }
.figure figcaption { font-size: .85rem; color: var(--soft); margin-top: 10px; }
.check { list-style: none; padding: 0; }
.check li { position: relative; padding-inline-start: 30px; }
.check li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 16px; height: 9px; border-inline-start: 2.5px solid #7bd4ee; border-bottom: 2.5px solid #7bd4ee; transform: rotate(-45deg); }
[dir="rtl"] .check li::before { transform: rotate(45deg) scaleX(-1); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 0; }
.chips li { margin: 0; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: #fff; font-size: .95rem; }
.region h3 { font-size: 1.05rem; color: #9fe0f3; text-transform: uppercase; letter-spacing: .08em; margin: 26px 0 12px; }
html[lang="ar"] .region h3 { text-transform: none; letter-spacing: 0; }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); padding: 0; list-style: none; }
.steps li { counter-increment: s; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 700; color: #7bd4ee; letter-spacing: .06em; margin-bottom: 12px; }
.steps h3 { font-size: 1.12rem; }
.steps p { margin: 0; font-size: .96rem; }

/* ---------- FAQ / accordion ---------- */
.acc { display: grid; gap: 12px; }
.acc details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.acc details[open] { background: var(--card-hi); border-color: rgba(111, 208, 236, .4); }
.acc summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; color: #fff; font-weight: 600; font-size: 1.06rem; position: relative; }
[dir="rtl"] .acc summary { padding: 20px 24px 20px 56px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: #7bd4ee; line-height: 1; font-weight: 400; }
.acc details[open] summary::after { content: "\2212"; }
.acc .body { padding: 0 24px 22px; }
.acc .body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 16px; padding: clamp(34px, 5vw, 60px); text-align: center; background: linear-gradient(135deg, #1a5568 0%, #123a4d 55%, #0d2230 100%); border: 1px solid rgba(111, 208, 236, .3); box-shadow: var(--shadow); }
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { max-width: 640px; margin-inline: auto; font-size: 1.1rem; color: #e2eef2; }
.cta-band .cta-row { justify-content: center; margin-top: 26px; }

/* ---------- video ---------- */
.video { display: block; position: relative; aspect-ratio: 16/9; background: #000 center/cover no-repeat; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: pointer; padding: 0; width: 100%; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.6)); }
.video .play { position: absolute; inset: 0; margin: auto; z-index: 2; width: 66px; height: 66px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.5); transition: transform .2s, background .2s; }
.video:hover .play { transform: scale(1.08); background: var(--primary-hi); }
.video .play::before { content: ""; border-inline-start: 20px solid #fff; border-block: 12px solid transparent; margin-inline-start: 5px; }
[dir="rtl"] .video .play::before { border-inline-start: 0; border-inline-end: 20px solid #fff; margin-inline-start: 0; margin-inline-end: 5px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.vcap { margin: 12px 4px 0; color: #fff; font-weight: 500; font-size: .98rem; line-height: 1.4; }

/* ---------- long text ---------- */
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-inline-start: 3px solid var(--primary-hi); color: #fff; font-size: 1.15rem; }
.prose .meta { color: var(--soft); font-size: .9rem; margin-bottom: 26px; }
.byline { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; color: var(--soft); font-size: .93rem; }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top; }

/* ---------- contact form ---------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; color: #fff; font-weight: 500; font-size: .95rem; }
.form input, .form textarea, .form select {
  width: 100%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px;
  color: #fff; font: 400 1rem/1.5 var(--font); padding: 13px 14px;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: #6fd0ec; outline: none; box-shadow: 0 0 0 3px rgba(111, 208, 236, .25); }
.form .hp { position: absolute; inset-inline-start: -9999px; height: 0; width: 0; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 8px; display: none; font-weight: 500; }
.form-msg.ok { display: block; background: rgba(60, 170, 110, .18); border: 1px solid rgba(60, 170, 110, .6); color: #cff5df; }
.form-msg.err { display: block; background: rgba(210, 70, 70, .18); border: 1px solid rgba(210, 70, 70, .6); color: #ffd6d6; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list small { display: block; color: var(--soft); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
html[lang="ar"] .contact-list small { letter-spacing: 0; text-transform: none; }
.contact-list a { color: #fff; font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--link); }
.bidi { unicode-bidi: isolate; direction: ltr; display: inline-block; }

/* ---------- footer ---------- */
.site-footer { background: #0a0a0f; border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .95rem; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.f-grid h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
html[lang="ar"] .f-grid h4 { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.f-grid ul { list-style: none; padding: 0; margin: 0; }
.f-grid li { margin-bottom: 9px; }
.f-grid a { color: var(--muted); text-decoration: none; }
.f-grid a:hover { color: #fff; text-decoration: underline; }
.f-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.f-brand p { max-width: 340px; font-size: .93rem; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.socials a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: .82rem; }
.legal { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--soft); font-size: .85rem; }
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #111; border-bottom: 1px solid var(--line); padding: 10px 20px 22px; display: none; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; background: transparent; color: #7bd4ee; }
  .nav .btn { margin-top: 16px; text-align: center; }
  .lang { margin: 16px 0 0; align-self: flex-start; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .portrait { width: min(72%, 340px); }
  .g3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .g2, .g3, .g4, .steps, .f-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .brand img { height: 32px; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .wa-float, .cta-band { display: none; } body { background: #fff; color: #000; } h1, h2, h3 { color: #000; } }
