/* ==========================================================
   Doctori portal — دكتوري
   Brand: teal #0E7C86 / deep teal #0B5F67 / coral #FF7A59
   ========================================================== */
:root {
  --teal: #0E7C86;
  --teal-d: #0B5F67;
  --teal-50: #E6F4F5;
  --teal-100: #CDEBEC;
  --mint: #5FE3D0;
  --coral: #FF7A59;
  --coral-50: #FFEDE7;
  --gold: #FFB400;
  --violet: #6D5DF6;
  --violet-50: #EEECFE;
  --red: #E5484D;
  --red-50: #FDECEC;
  --green: #1E9E63;
  --green-50: #E5F6EE;
  --night: #041A1F;
  --night-2: #072A31;
  --ink: #102A2E;
  --muted: #5B7479;
  --line: #DFEAEC;
  --bg: #F5F9FA;
  --card: #FFFFFF;
  --radius: 22px;
  --shadow-sm: 0 2px 10px rgba(4, 26, 31, .06);
  --shadow: 0 18px 50px -18px rgba(4, 26, 31, .25);
  --shadow-lg: 0 40px 80px -30px rgba(4, 26, 31, .45);
  --font-ar: "IBM Plex Sans Arabic", "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-head-ar: "Cairo", "IBM Plex Sans Arabic", sans-serif;
  --font-en: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --nav-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.7; }
h1, h2, h3, h4 { font-family: var(--font-head-ar); line-height: 1.35; margin: 0 0 .5em; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4 { font-family: var(--font-en); letter-spacing: -.025em; }
p { margin: 0 0 1em; }
img, video { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

/* language switching: every text has an Arabic and an English twin */
html[lang="ar"] body [lang="en"],
html[lang="en"] body [lang="ar"] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .container { padding-inline: 28px; } }

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.flip-rtl { transform: scaleX(1); }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* scroll progress */
.progress { position: fixed; inset-inline-start: 0; top: 0; height: 3px; width: 0; z-index: 90;
  background: linear-gradient(90deg, var(--mint), var(--teal), var(--coral)); }

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 80; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.scrolled { background: rgba(4, 26, 31, .78); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); }
.nav .container { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head-ar); font-weight: 800; font-size: 1.35rem; }
.brand img { width: 38px; height: 38px; }
.brand small { font-family: var(--font-en); font-weight: 600; font-size: .8rem; opacity: .65; letter-spacing: .04em; }
.nav-links { display: none; gap: 4px; margin-inline-start: auto; }
.nav-links a { color: rgba(255,255,255,.78); font-size: .92rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.nav-links + .nav-actions { margin-inline-start: 8px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-weight: 700; font-size: .9rem;
}
.lang-btn:hover { background: rgba(255,255,255,.18); }
.menu-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; font-size: 22px; }
@media (min-width: 1100px) { .nav-links { display: flex; } .menu-btn { display: none; } }

.drawer { position: fixed; inset: 0; z-index: 95; background: rgba(4,26,31,.6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(320px, 86vw); background: var(--night); padding: 24px 20px; display: flex; flex-direction: column; gap: 4px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
html[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a { color: #fff; font-weight: 600; padding: 12px 14px; border-radius: 12px; }
.drawer-panel a:hover { background: rgba(255,255,255,.08); }
.drawer-close { align-self: flex-end; background: none; border: 0; color: #fff; font-size: 26px; width: 44px; height: 44px; }

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 16px; font-weight: 700; font-size: 1rem; border: 0; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn .icon { font-size: 1.2em; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--coral), #FF5E7E); box-shadow: 0 14px 30px -10px rgba(255, 94, 126, .6); }
.btn-glass { color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.btn-teal { color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-d)); box-shadow: 0 14px 30px -12px rgba(14,124,134,.7); }
.btn-ghost { color: var(--teal-d); background: var(--teal-50); }

/* ---------------- HERO ---------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 80% 0%, #0C4A52 0%, var(--night-2) 45%, var(--night) 100%);
  padding: calc(var(--nav-h) + 40px) 0 90px;
}
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(70px); opacity: .9; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; background: #0E7C86; top: 0; inset-inline-start: 4%; }
.aurora span:nth-child(2) { width: 36vw; height: 36vw; background: #FF7A59; top: 30%; inset-inline-end: 0; opacity: .55; animation-duration: 22s; }
.aurora span:nth-child(3) { width: 30vw; height: 30vw; background: #6D5DF6; bottom: 0; inset-inline-start: 30%; opacity: .45; animation-duration: 26s; }
.aurora span:nth-child(4) { width: 22vw; height: 22vw; background: #5FE3D0; top: 8%; inset-inline-end: 30%; opacity: .5; animation-duration: 15s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 4vh) scale(1.12); }
  100% { transform: translate(-4vw, -3vh) scale(.95); }
}
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px);
}
html[dir="rtl"] .pill { padding: 6px 6px 6px 14px; }
.pill b { background: var(--coral); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: .78rem; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); font-weight: 900; margin: 22px 0 18px; line-height: 1.2; }
.grad-text { background: linear-gradient(100deg, #7FF5E3 0%, #fff 40%, #FFB59E 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.8); max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.7); font-size: .92rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .icon { color: var(--mint); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; perspective: 1400px; }
.hero-visual .glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: conic-gradient(from 0deg, var(--teal), var(--mint), var(--coral), var(--violet), var(--teal)); filter: blur(60px); opacity: .55; animation: spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit { position: absolute; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit.o1 { width: 470px; height: 470px; }
.orbit.o2 { width: 600px; height: 600px; animation-direction: reverse; animation-duration: 60s; }
.orbit i { position: absolute; top: -5px; inset-inline-start: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 18px var(--mint); }
.orbit.o2 i { background: var(--coral); box-shadow: 0 0 18px var(--coral); top: 50%; inset-inline-start: -5px; }

/* phone mockup */
.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 19.6; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #2a3a3d, #0b1214 40%, #1d2a2d);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), var(--shadow-lg);
}
.phone::before { content: ""; position: absolute; top: 20px; inset-inline-start: 50%; width: 84px; height: 24px; margin-inline-start: -42px; background: #05090a; border-radius: 20px; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; background: #fff; }
.phone.sm { width: 220px; border-radius: 38px; padding: 9px; }
.phone.sm img { border-radius: 30px; }
.phone.sm::before { top: 16px; width: 66px; height: 19px; margin-inline-start: -33px; }
.hero .phone { transform-style: preserve-3d; transition: transform .2s ease-out; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -14px; } }

.chip-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: rgba(6, 34, 40, .72); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff; font-size: .86rem; font-weight: 600; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.chip-float .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; }
.chip-float small { display: block; font-weight: 500; opacity: .7; font-size: .74rem; line-height: 1.3; }
.chip-float div { line-height: 1.35; }
.cf1 { top: 10%; inset-inline-start: -2%; animation-delay: -1s; }
.cf1 .ic { background: var(--red); }
.cf2 { top: 38%; inset-inline-end: -6%; animation-delay: -3s; }
.cf2 .ic { background: var(--teal); }
.cf3 { bottom: 16%; inset-inline-start: -6%; animation-delay: -2s; }
.cf3 .ic { background: var(--coral); }
.cf4 { bottom: 4%; inset-inline-end: 4%; animation-delay: -4s; }
.cf4 .ic { background: var(--violet); }
@media (max-width: 560px) {
  .hero-visual { min-height: 520px; }
  .orbit.o2 { display: none; }
  .orbit.o1 { width: 340px; height: 340px; }
  .chip-float { font-size: .76rem; padding: 8px 10px; }
  .chip-float .ic { width: 28px; height: 28px; font-size: 15px; }
  .cf1 { inset-inline-start: 0; top: 4%; } .cf4 { inset-inline-end: 0; bottom: 2%; } .cf2, .cf3 { display: none; }
}

.hero-wave { position: absolute; bottom: -1px; inset-inline: 0; height: 80px; color: var(--bg); }
.hero-wave svg { width: 100%; height: 100%; display: block; }

/* ---------------- SECTIONS ---------------- */
section { position: relative; padding: 96px 0; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-50); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 900; color: var(--ink); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.dark { background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.dark .section-head h2 { color: #fff; }
.dark .section-head p { color: rgba(255,255,255,.7); }
.dark .eyebrow { color: var(--mint); background: rgba(95,227,208,.1); }

/* stats */
.stats { margin-top: -50px; padding: 0; z-index: 5; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line);
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .stats-grid { grid-template-columns: repeat(6, 1fr); } }
.stat { background: #fff; padding: 26px 18px; text-align: center; }
.stat b { display: block; direction: ltr; unicode-bidi: isolate; font-family: var(--font-en); font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; color: var(--teal-d); line-height: 1.1; }
.stat b em { font-style: normal; color: var(--coral); }
.stat > span { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* how it works */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px;
  transition: transform .3s, box-shadow .3s; overflow: hidden;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::after { counter-increment: step; content: "0" counter(step); position: absolute; top: 10px; inset-inline-end: 18px; font-family: var(--font-en); font-size: 4rem; font-weight: 800; color: var(--teal-50); line-height: 1; }
.step .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; color: #fff; margin-bottom: 18px; position: relative; z-index: 1; }
.step h3 { font-size: 1.25rem; position: relative; z-index: 1; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; position: relative; z-index: 1; }
.g-teal { background: linear-gradient(135deg, #12A3AE, var(--teal-d)); }
.g-coral { background: linear-gradient(135deg, #FF9A7A, #F2557A); }
.g-violet { background: linear-gradient(135deg, #8F84FF, #5B49E8); }
.g-gold { background: linear-gradient(135deg, #FFC94D, #F08A00); }
.g-green { background: linear-gradient(135deg, #3CC98A, #128352); }
.g-red { background: linear-gradient(135deg, #FF7B7B, #D12F45); }
.g-sky { background: linear-gradient(135deg, #5CC8FF, #2671E0); }

/* ---------------- SMART SEARCH ---------------- */
.smart-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .smart-grid { grid-template-columns: 1fr 1fr; } }
.demo {
  position: relative; border-radius: 28px; padding: 26px; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.demo::before { content: ""; position: absolute; inset: -1px; border-radius: 28px; padding: 1px; background: linear-gradient(135deg, var(--mint), transparent 40%, var(--coral)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.demo-title { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.demo-title .ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; }
.demo textarea {
  width: 100%; min-height: 104px; resize: vertical; border-radius: 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(4,26,31,.55);
  color: #fff; font: inherit; font-size: 1.05rem; padding: 14px 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.demo textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(95,227,208,.15); }
.demo textarea::placeholder { color: rgba(255,255,255,.45); }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.examples button { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: rgba(255,255,255,.88); padding: 6px 13px; border-radius: 999px; font-size: .86rem; transition: background .2s, border-color .2s; }
.examples button:hover { background: rgba(95,227,208,.15); border-color: var(--mint); }
.demo .btn { width: 100%; }
.result { margin-top: 18px; display: grid; gap: 10px; }
.result:empty { display: none; }
.emergency {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #FF4D5E, #C81E3A);
  box-shadow: 0 16px 40px -14px rgba(255, 60, 80, .8); animation: pulse-red 1.6s ease-in-out infinite;
}
.emergency .icon { font-size: 26px; margin-top: 2px; }
.emergency b { display: block; font-size: 1.05rem; }
.emergency a { color: #fff; text-decoration: underline; font-weight: 800; }
@keyframes pulse-red { 50% { box-shadow: 0 16px 60px -8px rgba(255, 60, 80, 1); } }
.sp-row { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); animation: rise .5s both; }
.sp-row .top { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.sp-row .top span:last-child { font-family: var(--font-en); color: var(--mint); }
.bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--mint), var(--teal)); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.sp-row.second .bar i { background: linear-gradient(90deg, #FFB59E, var(--coral)); }
.disclaimer { display: flex; gap: 10px; align-items: center; font-size: .84rem; color: rgba(255,255,255,.65); padding: 10px 14px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.2); }
.no-match { color: rgba(255,255,255,.7); font-size: .95rem; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.layers { display: grid; gap: 14px; }
.layer { display: flex; gap: 16px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s; }
.layer:hover { background: rgba(255,255,255,.09); transform: translateX(-4px); }
html[dir="ltr"] .layer:hover { transform: translateX(4px); }
.layer .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; flex: none; color: #fff; }
.layer h4 { font-size: 1.08rem; margin-bottom: 4px; }
.layer p { margin: 0; color: rgba(255,255,255,.7); font-size: .95rem; }
.questions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.questions span { font-size: .84rem; padding: 4px 12px; border-radius: 999px; background: rgba(95,227,208,.12); color: var(--mint); border: 1px solid rgba(95,227,208,.25); }

.phones-row { display: flex; justify-content: center; gap: 22px; margin-top: 64px; flex-wrap: wrap; }
.phones-row .phone { width: 230px; }
.phones-row figure { margin: 0; text-align: center; }
.phones-row figcaption { margin-top: 14px; color: rgba(255,255,255,.75); font-size: .92rem; font-weight: 600; }
.phones-row figure:nth-child(2) { transform: translateY(-26px); }
@media (max-width: 760px) {
  .phones-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 12px; scrollbar-width: none; }
  .phones-row::-webkit-scrollbar { display: none; }
  .phones-row figure { scroll-snap-align: center; flex: none; }
  .phones-row figure:nth-child(2) { transform: none; }
  .phones-row .phone { width: 210px; }
}

/* ---------------- PLACE ---------------- */
.place-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .place-grid { grid-template-columns: repeat(3, 1fr); } }
.place-card { position: relative; border-radius: 26px; padding: 28px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.place-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.place-card h3 { font-size: 1.3rem; margin-top: 18px; }
.place-card p, .place-card li { color: var(--muted); font-size: .96rem; }
.place-card ul { padding-inline-start: 18px; margin: 0; }
.radar { position: relative; height: 180px; border-radius: 20px; background: radial-gradient(circle at center, #0F5960 0%, var(--night) 75%); overflow: hidden; }
.radar::before, .radar::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(95,227,208,.25); transform: translate(-50%, -50%); }
.radar::before { width: 110px; height: 110px; }
.radar::after { width: 220px; height: 220px; }
.radar .sweep { position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(95,227,208,.45), transparent 25%); animation: spin 3.2s linear infinite; }
.radar .me { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 6px rgba(95,227,208,.25), 0 0 24px var(--mint); }
.radar .dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 14px var(--coral); animation: blink 3.2s infinite; }
.radar .dot b { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-family: var(--font-en); font-size: .7rem; color: #fff; background: rgba(0,0,0,.5); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
@keyframes blink { 0%, 100% { opacity: .35; } 20% { opacity: 1; } }
.gov-flow { height: 180px; border-radius: 20px; background: linear-gradient(160deg, var(--teal-50), #fff); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.gov-flow .sel { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 14px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-sm); }
.gov-flow .sel small { color: var(--muted); font-weight: 600; }
.gov-flow .sel.on { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,124,134,.15); }
.gov-flow .arrow { text-align: center; color: var(--teal); line-height: 1; font-size: 18px; }
.egypt { height: 180px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(160deg, #FFF4EF, #fff); border: 1px solid var(--line); position: relative; overflow: hidden; }
.egypt .big { font-family: var(--font-en); font-size: 4.4rem; font-weight: 800; background: linear-gradient(135deg, var(--coral), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.egypt .cap { font-weight: 800; color: var(--ink); text-align: center; }
.egypt .floaters span { position: absolute; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--muted); box-shadow: var(--shadow-sm); animation: floaty 5s ease-in-out infinite; }
.place-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; justify-content: center; }
.place-tags span { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--muted); }
.place-tags span b { color: var(--teal-d); }

/* ---------------- ROLES ---------------- */
.tabs { display: flex; gap: 6px; padding: 6px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); width: fit-content; max-width: 100%; margin: 0 auto 40px; overflow-x: auto; scrollbar-width: none; position: relative; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 11px 20px; border-radius: 15px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: color .25s; }
.tab .icon { font-size: 1.15em; }
.tab.active { color: #fff; }
.tab-ind { position: absolute; z-index: 0; top: 6px; bottom: 6px; border-radius: 15px; background: linear-gradient(135deg, var(--teal), var(--teal-d)); box-shadow: 0 10px 24px -10px rgba(14,124,134,.8); transition: all .4s cubic-bezier(.2,.8,.2,1); }
.role-panel { display: none; }
.role-panel.active { display: grid; gap: 30px; animation: rise .5s both; }
@media (min-width: 1000px) { .role-panel.active { grid-template-columns: 300px 1fr; align-items: start; } }
.role-intro { position: sticky; top: calc(var(--nav-h) + 20px); border-radius: 26px; padding: 28px; color: #fff; overflow: hidden; }
.role-intro .phone { width: 190px; margin: 24px auto 0; }
.role-intro h3 { font-size: 1.6rem; }
.role-intro p { color: rgba(255,255,255,.85); margin: 0; }
@media (max-width: 999px) { .role-intro { position: relative; top: 0; } .role-intro .phone { display: none; } }
.feat-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
.feat {
  display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.feat .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; flex: none; }
.feat h4 { font-size: 1.02rem; margin: 0 0 4px; }
.feat p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.ic-teal { background: var(--teal-50); color: var(--teal); }
.ic-coral { background: var(--coral-50); color: #E8543A; }
.ic-violet { background: var(--violet-50); color: var(--violet); }
.ic-gold { background: #FFF5DD; color: #C77A00; }
.ic-green { background: var(--green-50); color: var(--green); }
.ic-red { background: var(--red-50); color: var(--red); }
.ic-sky { background: #E5F2FF; color: #2671E0; }

/* ---------------- LEVELS ---------------- */
.levels { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 980px) { .levels { grid-template-columns: 1fr auto 1fr auto 1fr; } }
.level { border-radius: 26px; padding: 26px; background: #fff; border: 1px solid var(--line); position: relative; }
.level .tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .85rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.level h3 { font-size: 1.3rem; }
.level ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.level li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.level li .icon { margin-top: 6px; color: var(--green); }
.level li.no .icon { color: var(--red); }
.level.activated { background: linear-gradient(160deg, var(--teal), var(--teal-d)); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.level.activated li { color: rgba(255,255,255,.9); }
.level.activated li .icon { color: var(--mint); }
.level-arrow { display: grid; place-items: center; color: var(--teal); text-align: center; font-weight: 800; font-size: .85rem; gap: 6px; padding: 6px; }
.level-arrow .circle { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px dashed var(--teal); font-size: 22px; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: scale(1.1); } }
@media (max-width: 979px) { .level-arrow .circle { transform: rotate(90deg); animation: none; } }
html[dir="rtl"] .level-arrow .circle .icon { transform: scaleX(-1); }

/* ---------------- EHR ---------------- */
.ehr-top { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .ehr-top { grid-template-columns: .85fr 1.15fr; } }
.minute { display: grid; gap: 12px; margin: 24px 0; }
.minute-step { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); cursor: pointer; transition: all .3s; }
.minute-step .n { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-en); font-weight: 800; background: var(--teal-50); color: var(--teal); flex: none; transition: all .3s; }
.minute-step b { display: block; font-size: 1rem; }
.minute-step small { color: var(--muted); font-size: .87rem; }
.minute-step.on { border-color: var(--teal); box-shadow: 0 14px 30px -18px rgba(14,124,134,.7), inset 4px 0 0 var(--teal); }
html[dir="rtl"] .minute-step.on { box-shadow: 0 14px 30px -18px rgba(14,124,134,.7), inset -4px 0 0 var(--teal); }
.minute-step.on .n { background: var(--teal); color: #fff; }
.timer { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--coral); background: var(--coral-50); padding: 8px 16px; border-radius: 999px; }
.timer .icon { font-size: 1.2em; }

.browser { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #EEF3F4; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.browser-bar i:nth-child(2) { background: #FEBC2E; }
.browser-bar i:nth-child(3) { background: #28C840; }
.browser-bar span { margin-inline-start: 10px; flex: 1; background: #fff; border-radius: 8px; font-family: var(--font-en); font-size: .76rem; color: var(--muted); padding: 3px 12px; direction: ltr; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-view { position: relative; aspect-ratio: 1400 / 1000; background: #fff; }
.browser-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s; }
.browser-view img.on { opacity: 1; }

.ehr-cards { display: grid; gap: 16px; margin-top: 64px; }
@media (min-width: 700px) { .ehr-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ehr-cards { grid-template-columns: repeat(4, 1fr); } }

.voice {
  margin-top: 56px; display: grid; gap: 30px; align-items: center; border-radius: 30px; padding: 36px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #6D5DF6 0%, #3B2DB8 45%, #1B1464 100%); position: relative; overflow: hidden;
}
@media (min-width: 900px) { .voice { grid-template-columns: 1.2fr .8fr; } }
.voice h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.voice p { color: rgba(255,255,255,.82); }
.voice .fields { display: flex; flex-wrap: wrap; gap: 8px; }
.voice .fields span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); padding: 5px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.wave-box { display: grid; place-items: center; gap: 18px; }
.mic { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; background: #fff; color: var(--violet); position: relative; }
.mic::before, .mic::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); animation: ring 2s ease-out infinite; }
.mic::after { animation-delay: 1s; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.wave { display: flex; align-items: center; gap: 5px; height: 60px; }
.wave i { width: 6px; border-radius: 6px; background: linear-gradient(#fff, #B9B1FF); animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 12px; } 50% { height: 56px; } }
.typed { min-height: 56px; background: rgba(0,0,0,.22); border-radius: 16px; padding: 12px 16px; font-size: .98rem; width: 100%; max-width: 380px; }
.typed .cursor { display: inline-block; width: 2px; height: 1.1em; background: #fff; vertical-align: middle; animation: blinkc 1s steps(1) infinite; margin-inline-start: 2px; }
@keyframes blinkc { 50% { opacity: 0; } }

/* ---------------- SCENARIOS ---------------- */
.scen { display: grid; gap: 28px; }
@media (min-width: 1000px) { .scen { grid-template-columns: 330px 1fr; align-items: start; } }
.scen-list { display: grid; gap: 8px; }
@media (max-width: 999px) { .scen-list { display: flex; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; } .scen-btn { flex: 0 0 auto; max-width: 250px; } }
.scen-group { font-size: .78rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); margin: 10px 4px 2px; text-transform: uppercase; }
@media (max-width: 999px) { .scen-group { display: none; } }
.scen-btn { display: flex; align-items: center; gap: 12px; text-align: start; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .95rem; transition: all .25s; }
.scen-btn .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; flex: none; }
.scen-btn:hover { border-color: var(--teal-100); transform: translateX(-3px); }
html[dir="ltr"] .scen-btn:hover { transform: translateX(3px); }
.scen-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow); }
.scen-panel { border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.scen-head { padding: 28px 30px; color: #fff; position: relative; overflow: hidden; }
.scen-head .who { display: inline-flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 800; background: rgba(255,255,255,.18); padding: 4px 12px; border-radius: 999px; }
.scen-head h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 12px 0 6px; }
.scen-head p { margin: 0; color: rgba(255,255,255,.85); }
.scen-head .bg-ic { position: absolute; inset-inline-end: -20px; bottom: -40px; font-size: 180px; opacity: .12; }
.scen-body { display: grid; gap: 26px; padding: 30px; }
@media (min-width: 780px) { .scen-body.has-shot { grid-template-columns: 1fr 210px; } }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 17px; width: 2px; background: linear-gradient(var(--teal), var(--coral)); border-radius: 2px; }
.timeline li { position: relative; padding-inline-start: 54px; padding-bottom: 18px; animation: rise .5s both; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .n { position: absolute; inset-inline-start: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); color: var(--teal-d); display: grid; place-items: center; font-family: var(--font-en); font-weight: 800; font-size: .9rem; }
.timeline b { display: block; font-size: 1rem; }
.timeline span.d { color: var(--muted); font-size: .93rem; }
.outcome { display: flex; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--green-50); color: #0F5C39; margin-top: 22px; }
.outcome .icon { font-size: 22px; margin-top: 3px; color: var(--green); }
.scen-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.scen-shot .phone { width: 210px; margin-inline: auto; }

/* ---------------- VIDEOS ---------------- */
.videos-grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .videos-grid { grid-template-columns: repeat(3, 1fr); } }
.vcard { position: relative; border-radius: 22px; overflow: hidden; background: #0B2328; border: 1px solid rgba(255,255,255,.1); cursor: pointer; text-align: start; padding: 0; color: #fff; transition: transform .3s, box-shadow .3s; }
.vcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(95,227,208,.5); }
.vcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s; }
.vcard:hover img { transform: scale(1.05); }
.vcard .play { position: absolute; top: 0; inset-inline: 0; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.vcard .play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; font-size: 24px; transition: transform .3s, background .3s; }
.vcard:hover .play span { transform: scale(1.12); background: var(--coral); }
.vcard .meta { padding: 16px 18px; }
.vcard .meta b { display: block; font-size: 1.02rem; }
.vcard .meta small { color: rgba(255,255,255,.6); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.vcard .badge { font-size: .72rem; font-weight: 800; padding: 1px 9px; border-radius: 999px; background: rgba(95,227,208,.16); color: var(--mint); }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(2,12,14,.86); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { width: min(1100px, 100%); position: relative; }
.modal video { width: 100%; border-radius: 18px; background: #000; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: -52px; inset-inline-end: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; display: grid; place-items: center; }

/* ---------------- SECURITY ---------------- */
.sec-grid { display: grid; gap: 16px; }
@media (min-width: 680px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .sec-grid { grid-template-columns: repeat(3, 1fr); } }
.sec { padding: 24px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s; }
.sec:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.sec .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; color: #fff; margin-bottom: 14px; }
.sec h4 { font-size: 1.08rem; }
.sec p { margin: 0; color: rgba(255,255,255,.7); font-size: .94rem; }
.access { margin-top: 40px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.access table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.access th, .access td { padding: 14px 16px; text-align: start; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; }
.access th { background: rgba(255,255,255,.06); color: var(--mint); font-weight: 800; }
.access td:first-child { font-weight: 800; white-space: nowrap; }
.access td { color: rgba(255,255,255,.82); }
.access tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* ---------------- GALLERY ---------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 20px 0 40px; }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.marquee figure { margin: 0; text-align: center; }
.marquee .phone { width: 200px; }
.marquee figcaption { margin-top: 12px; font-weight: 700; font-size: .9rem; color: var(--muted); }

/* ---------------- PLATFORMS ---------------- */
.plat-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .plat-grid { grid-template-columns: repeat(3, 1fr); } }
.plat { border-radius: 26px; padding: 28px; background: #fff; border: 1px solid var(--line); }
.plat .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; color: #fff; margin-bottom: 16px; }
.plat h3 { font-size: 1.25rem; }
.plat p { color: var(--muted); font-size: .95rem; }
.plat .status { display: inline-flex; gap: 6px; align-items: center; font-size: .82rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.tech { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.tech span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-family: var(--font-en); font-weight: 700; font-size: .88rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.tech span i { width: 9px; height: 9px; border-radius: 50%; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 4px 22px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--teal-100); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 800; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s; color: var(--teal); font-size: 1.3em; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; margin: 0; }

/* ---------------- DOWNLOAD ---------------- */
.cta {
  position: relative; border-radius: 36px; padding: clamp(32px, 6vw, 70px); color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(100% 140% at 100% 0%, #FF7A59 0%, #C6436B 30%, #0B5F67 70%, #041A1F 100%);
  display: grid; gap: 36px; align-items: center;
}
@media (min-width: 960px) { .cta { grid-template-columns: 1.2fr .8fr; } }
.cta h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 900; }
.cta p { color: rgba(255,255,255,.85); font-size: 1.08rem; }
.cta .grid-bg { -webkit-mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, #000 20%, transparent 70%); }
.dl-list { display: grid; gap: 12px; }
.dl {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); transition: background .2s, transform .2s;
}
.dl:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.dl .icon { font-size: 26px; }
.dl b { display: block; }
.dl small { opacity: .75; }
.dl.soon { opacity: .7; pointer-events: none; }

footer { background: var(--night); color: rgba(255,255,255,.65); padding: 50px 0 34px; margin-top: 96px; font-size: .92rem; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: rgba(255,255,255,.75); }
.foot-links a:hover { color: #fff; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
