/*
  Bled Web Premium Homepage
  Static, responsive, multilingual and theme-aware landing page.
*/
:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --bg-soft: #eef6f3;
  --surface: rgba(255,255,255,.78);
  --surface-solid: #ffffff;
  --surface-invert: #071116;
  --ink: #071116;
  --ink-soft: #43515c;
  --muted: #6c7780;
  --line: rgba(7,17,22,.12);
  --line-strong: rgba(7,17,22,.2);
  --accent: #12b981;
  --accent-2: #1477ff;
  --accent-3: #a8f3d5;
  --danger: #e25d5d;
  --success: #12b981;
  --shadow: 0 24px 90px rgba(17, 36, 50, .13);
  --shadow-strong: 0 32px 120px rgba(17, 36, 50, .24);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-xl: 48px;
  --container: min(1160px, calc(100% - 32px));
  --header-h: 76px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #020609;
  --bg-soft: #061712;
  --surface: rgba(11, 19, 25, .74);
  --surface-solid: #0a1218;
  --surface-invert: #f7f5ef;
  --ink: #f7fbfa;
  --ink-soft: #c4d0d8;
  --muted: #82909b;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.2);
  --accent: #20d392;
  --accent-2: #6aa7ff;
  --accent-3: #113d30;
  --shadow: 0 28px 90px rgba(0,0,0,.4);
  --shadow-strong: 0 36px 140px rgba(0,0,0,.65);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Cairo', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 15% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 28rem),
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 30rem),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(127,127,127,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(127,127,127,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 70%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: clamp(72px, 12vw, 150px) 0; position: relative; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 10px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 0 16px;
  transition: transform .25s ease;
}
.header-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
  box-shadow: 0 16px 60px rgba(0,0,0,.08);
  backdrop-filter: blur(18px);
}
.site-header.is-scrolled .header-shell { box-shadow: var(--shadow); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 54px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(7,17,22,.08);
  box-shadow: 0 12px 34px rgba(18,185,129,.16);
}
.brand-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  background: #fff;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-weight: 900; letter-spacing: -.04em; font-size: 18px; }
.brand-copy small { color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.main-nav { display: none; }
.nav-link { color: var(--ink-soft); font-size: 14px; font-weight: 700; padding: 10px 12px; border-radius: 999px; transition: .2s ease; }
.nav-link:hover, .nav-link:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 7px; min-width: 0; }
.select-wrap { position: relative; }
.mini-select {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 80%, transparent);
  color: var(--ink);
  padding: 9px 24px 9px 11px;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  max-width: 74px;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 10px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  rotate: 45deg;
  pointer-events: none;
}
html[dir="rtl"] .select-wrap::after { right: auto; left: 10px; }
.theme-select { max-width: 88px; }
.menu-toggle {
  width: 44px; height: 44px; display: grid; place-content: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; background: currentColor; border-radius: 99px; transition: .2s ease; }
.menu-toggle em { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.nav-open .main-nav {
  display: grid;
  position: absolute;
  top: calc(100% + 10px);
  left: 16px; right: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.btn {
  --btn-bg: transparent;
  --btn-color: var(--ink);
  --btn-border: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 900;
  letter-spacing: -.02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(18,185,129,.22); }
.btn-primary { --btn-bg: linear-gradient(135deg, #10a66d, #15d18c 55%, #1477ff); --btn-color: #fff; --btn-border: transparent; }
.btn-ghost { --btn-bg: color-mix(in srgb, var(--surface-solid) 62%, transparent); }
.btn-light { --btn-bg: #fff; --btn-color: #071116; --btn-border: rgba(255,255,255,.25); }
.btn-large { min-height: 56px; padding: 15px 24px; }
.btn-small { min-height: 40px; padding: 10px 14px; font-size: 13px; }
.header-cta { display: none; }

.hero { padding-top: calc(var(--header-h) + 48px); min-height: 92vh; display: grid; align-items: center; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.eyebrow, .section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
}
.eyebrow span { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 16%, transparent); }
.hero-title {
  margin: 0;
  max-width: 840px;
  font-size: clamp(2.55rem, 7.4vw, 6.35rem);
  line-height: 1.02;
  letter-spacing: -.058em;
  font-weight: 900;
  text-wrap: balance;
}
.hero-subtitle { margin: 24px 0 0; max-width: 700px; color: var(--ink-soft); font-size: clamp(1.03rem, 1.75vw, 1.22rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.trust-row span { border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; color: var(--muted); background: color-mix(in srgb, var(--surface-solid) 55%, transparent); font-weight: 800; font-size: 13px; }
.hero-visual { position: relative; min-height: 620px; display: grid; place-items: center; perspective: 1100px; }
.orb { position: absolute; border-radius: 999px; filter: blur(30px); opacity: .75; pointer-events: none; }
.orb-one { width: 260px; height: 260px; background: var(--accent); top: 6%; right: 12%; }
.orb-two { width: 220px; height: 220px; background: var(--accent-2); bottom: 13%; left: 6%; opacity: .38; }
.phone-mockup {
  width: min(360px, 82vw);
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(150deg, rgba(255,255,255,.35), rgba(255,255,255,.02)), #0b1117;
  box-shadow: var(--shadow-strong), inset 0 0 0 1px rgba(255,255,255,.16);
  transform: rotateX(5deg) rotateY(-9deg) rotateZ(1deg);
  position: relative;
  z-index: 2;
}
.phone-top { height: 22px; display: grid; place-items: center; }
.phone-top span { width: 70px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.18); }
.phone-screen { border-radius: 34px; padding: 18px; min-height: 520px; background: linear-gradient(180deg, #f5fff9, #eaf2ff); color: #071116; overflow: hidden; position: relative; }
.phone-screen::before { content: ""; position: absolute; inset: -90px -70px auto auto; width: 230px; height: 230px; border-radius: 999px; background: radial-gradient(circle, rgba(18,185,129,.28), transparent 65%); }
.screen-brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.screen-brand img { width: 64px; height: 64px; object-fit: contain; border-radius: 18px; background: #fff; }
.screen-brand strong { display: block; font-weight: 900; font-size: 17px; letter-spacing: -.04em; }
.screen-brand small { color: #60707c; font-weight: 700; font-size: 12px; }
.status-card { margin-top: 22px; display: flex; align-items: center; gap: 12px; background: #071116; color: white; border-radius: 24px; padding: 14px; position: relative; z-index: 1; }
.status-card strong { display: block; font-size: 14px; }
.status-card small { color: rgba(255,255,255,.62); font-size: 12px; }
.pulse { width: 12px; height: 12px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 0 rgba(18,185,129,.7); animation: pulse 1.8s infinite; }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.quick-actions button, .demo-actions span, .demo-phone button { border: 0; border-radius: 18px; background: #fff; color: #071116; padding: 12px; font-weight: 900; box-shadow: 0 10px 30px rgba(12,33,42,.08); }
.screen-row { display: grid; grid-template-columns: 122px 1fr; gap: 12px; align-items: center; margin-top: 18px; position: relative; }
.qr-card-wrap { position: relative; }
.qr-card { background: #fff; padding: 10px; border-radius: 22px; position: relative; z-index: 1; }
.qr-real-chip {
  position: absolute;
  left: -12px;
  top: -16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(7,17,22,.08);
  box-shadow: 0 14px 38px rgba(7,17,22,.12);
  color: #071116;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.qr-real-chip span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #13b981;
  font-size: 10px;
}
.mini-stats { background: rgba(255,255,255,.62); border: 1px solid rgba(7,17,22,.08); border-radius: 22px; padding: 16px; }
.mini-stats strong { display: block; font-size: 24px; font-weight: 900; letter-spacing: -.06em; }
.mini-stats span { color: #60707c; font-weight: 700; font-size: 12px; }
.floating-chip, .floating-card {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.floating-chip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-weight: 900; }
.floating-chip span { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: 12px; }
.chip-two { right: 0; top: 34%; }
.chip-three, .brand-float { display: none !important; }
.brand-float { left: 50%; bottom: 2%; transform: translateX(-50%); border-radius: 26px; padding: 12px; width: min(340px, 84vw); }
.brand-float img { border-radius: 18px; mix-blend-mode: multiply; }
html[data-theme="dark"] .brand-float img { mix-blend-mode: screen; }

.marquee-section { overflow: hidden; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface-solid) 55%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 24px; padding: 20px 12px; }
.marquee-group span { font-size: clamp(1.3rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.06em; font-weight: 900; white-space: nowrap; color: var(--ink); }
.marquee-group i { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); }

.section-heading { max-width: 760px; }
.section-heading.center { margin: 0 auto 48px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(2.25rem, 6vw, 5.6rem); line-height: .95; letter-spacing: -.075em; font-weight: 900; text-wrap: balance; }
.section-heading p:not(.section-kicker) { color: var(--ink-soft); font-size: clamp(1.02rem, 1.8vw, 1.22rem); margin: 20px 0 0; }
.split-layout { display: grid; gap: 36px; }
.sticky-heading { top: 120px; }
.problem-stack { display: grid; gap: 16px; }
.glass-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.problem-card { padding: clamp(22px, 4vw, 34px); position: relative; overflow: hidden; }
.problem-card::after { content: ""; position: absolute; inset: auto -30% -55% auto; width: 260px; height: 260px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.problem-card.negative::after { background: color-mix(in srgb, var(--danger) 12%, transparent); }
.card-index { color: var(--muted); font-weight: 900; font-size: 12px; letter-spacing: .2em; }
.problem-card h3 { margin: 14px 0; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.05em; }
ul { padding-inline-start: 20px; margin: 0; color: var(--ink-soft); }
li { margin: 10px 0; }

.feature-showcase { display: grid; gap: 24px; align-items: stretch; }
.showcase-media { border-radius: var(--radius-xl); overflow: hidden; min-height: 320px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; background: var(--surface-solid); }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.scan-line { position: absolute; inset-inline: 8%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 24px var(--accent); animation: scan 3.2s ease-in-out infinite; }
.service-grid { display: grid; gap: 14px; }
.service-card { padding: 24px; border: 1px solid var(--line); border-radius: 26px; background: color-mix(in srgb, var(--surface-solid) 68%, transparent); box-shadow: 0 18px 60px rgba(0,0,0,.06); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.service-card span { color: var(--accent); font-weight: 900; font-size: 12px; letter-spacing: .16em; }
.service-card h3 { margin: 8px 0 8px; font-size: 1.3rem; letter-spacing: -.04em; }
.service-card p { margin: 0; color: var(--ink-soft); }

.medicassist { background: #020608; color: #f8fbfa; overflow: hidden; isolation: isolate; }
.medicassist::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 650px; height: 650px; border-radius: 999px; background: radial-gradient(circle, rgba(29,211,146,.22), transparent 64%); z-index: -1; }
.medicassist-grid { display: grid; gap: 42px; align-items: center; }
.section-heading.light .section-kicker { color: #21d494; }
.section-heading.light p:not(.section-kicker) { color: rgba(248,251,250,.75); }
.medicassist-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.glow-logo { width: min(520px, 90vw); border-radius: 36px; background: #fff; padding: clamp(12px, 2vw, 20px); filter: drop-shadow(0 24px 80px rgba(18,185,129,.28)); }
.assistant-panel { position: absolute; width: min(360px, 86vw); bottom: 0; right: 0; display: grid; gap: 10px; }
html[dir="rtl"] .assistant-panel { right: auto; left: 0; }
.assistant-message { padding: 12px 14px; border-radius: 18px; font-weight: 800; font-size: 13px; box-shadow: 0 18px 60px rgba(0,0,0,.28); }
.assistant-message.incoming { justify-self: start; background: rgba(255,255,255,.92); color: #071116; border-bottom-left-radius: 4px; }
.assistant-message.outgoing { justify-self: end; background: #13b77c; color: white; border-bottom-right-radius: 4px; }
.benefit-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.benefit-list span { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 10px 14px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.86); font-weight: 900; }

.demo-board { display: grid; gap: 22px; align-items: center; }
.demo-phone { width: min(370px, 100%); margin-inline: auto; border: 1px solid var(--line); background: var(--surface-solid); border-radius: 38px; padding: 16px; box-shadow: var(--shadow); text-align: center; }
.profile-cover { height: 120px; border-radius: 26px; background: radial-gradient(circle at 25% 30%, rgba(18,185,129,.55), transparent 35%), linear-gradient(135deg, #071116, #0d684b 55%, #1477ff); }
.profile-logo { width: 96px; height: 96px; object-fit: contain; border-radius: 28px; margin: -48px auto 12px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.demo-phone h3 { margin: 0; font-size: 1.5rem; letter-spacing: -.05em; }
.demo-phone p { color: var(--muted); margin: 4px 0 14px; }
.demo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.demo-actions span { border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 76%, var(--surface-solid)); }
.demo-qr { width: 132px; margin: 18px auto; border-radius: 22px; }
.demo-phone button { width: 100%; background: var(--ink); color: var(--bg); }
.demo-notes { display: grid; gap: 14px; }
.demo-notes article { border: 1px solid var(--line); background: var(--surface); border-radius: 28px; padding: 24px; box-shadow: 0 16px 55px rgba(0,0,0,.06); }
.demo-notes strong { display: block; font-size: 1.35rem; font-weight: 900; letter-spacing: -.05em; }
.demo-notes p { color: var(--ink-soft); margin: 10px 0 0; }

.timeline { display: grid; gap: 14px; margin-top: 38px; }
.timeline article { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 30px; background: color-mix(in srgb, var(--surface-solid) 68%, transparent); transition: transform .25s ease, background .25s ease; }
.timeline article:hover { transform: translateX(6px); background: color-mix(in srgb, var(--accent) 10%, var(--surface-solid)); }
html[dir="rtl"] .timeline article:hover { transform: translateX(-6px); }
.timeline span { color: var(--accent); font-size: .8rem; font-weight: 900; letter-spacing: .18em; }
.timeline h3 { margin: 8px 0; font-size: 1.35rem; letter-spacing: -.04em; }
.timeline p { margin: 0; color: var(--ink-soft); }

.case-grid, .benefit-cards, .metrics-grid, .example-grid { display: grid; gap: 14px; }
.case-grid article { min-height: 132px; display: flex; align-items: end; padding: 20px; border-radius: 28px; background: linear-gradient(145deg, color-mix(in srgb, var(--surface-solid) 78%, transparent), color-mix(in srgb, var(--accent) 10%, transparent)); border: 1px solid var(--line); font-size: 1.24rem; font-weight: 900; letter-spacing: -.04em; transition: transform .25s ease; }
.case-grid article:hover { transform: translateY(-5px); }
.benefit-layout { display: grid; gap: 34px; align-items: start; }
.benefit-cards article { padding: 24px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); }
.benefit-cards h3 { margin: 0 0 8px; font-size: 1.35rem; letter-spacing: -.04em; }
.benefit-cards p { margin: 0; color: var(--ink-soft); }
.proof-card { border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(135deg, color-mix(in srgb, var(--surface-solid) 82%, transparent), color-mix(in srgb, var(--accent) 8%, transparent)); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); }
.metrics-grid { margin-top: 28px; }
.metrics-grid article { border-radius: 28px; background: color-mix(in srgb, var(--surface-solid) 70%, transparent); border: 1px solid var(--line); padding: 24px; }
.metrics-grid strong { display: block; font-size: clamp(2.7rem, 7vw, 5rem); line-height: .9; letter-spacing: -.08em; }
.metrics-grid span { display: block; font-weight: 900; margin-top: 12px; }
.metrics-grid small { color: var(--muted); font-weight: 800; }
.example-card { overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: var(--surface-solid); box-shadow: var(--shadow); }
.example-card img { height: 230px; width: 100%; object-fit: contain; background: #fff; padding: 18px; }
.example-card.qr-example img { object-fit: contain; padding: 42px; }
.example-card h3 { margin: 22px 22px 6px; font-size: 1.4rem; letter-spacing: -.04em; }
.example-card p { margin: 0 22px 24px; color: var(--ink-soft); }

.lead { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 9%, transparent)); }
.lead-grid { display: grid; gap: 34px; align-items: start; }
.lead-copy h2 { margin: 0; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: .94; letter-spacing: -.075em; }
.lead-copy p:not(.section-kicker) { color: var(--ink-soft); font-size: 1.15rem; }
.lead-brand-card { margin-top: 28px; display: grid; grid-template-columns: 1fr 110px; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 32px; padding: 12px; background: color-mix(in srgb, var(--surface-solid) 70%, transparent); box-shadow: var(--shadow); }
.lead-brand-card img:first-child { border-radius: 24px; background: #fff; padding: 10px; object-fit: contain; }
.lead-brand-card img:last-child { border-radius: 22px; background: white; padding: 8px; }
.lead-form { display: grid; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(20px, 4vw, 34px); background: var(--surface-solid); box-shadow: var(--shadow); }
.lead-form label { display: grid; gap: 7px; font-weight: 900; color: var(--ink); }
.lead-form input { width: 100%; border: 1px solid var(--line); border-radius: 18px; min-height: 54px; padding: 0 16px; background: color-mix(in srgb, var(--bg) 70%, var(--surface-solid)); color: var(--ink); outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.lead-form input:focus { border-color: color-mix(in srgb, var(--accent) 70%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.form-submit { width: 100%; margin-top: 8px; }
.form-status { min-height: 24px; margin: 0; font-weight: 900; color: var(--accent); }
.form-status.error { color: var(--danger); }
.form-note { margin: 0; color: var(--muted); font-size: 12px; }

.final-cta { padding: 40px 0 96px; }
.final-card { display: grid; gap: 24px; align-items: center; border-radius: var(--radius-xl); padding: clamp(24px, 5vw, 48px); color: #fff; background: radial-gradient(circle at 20% 20%, rgba(32,211,146,.3), transparent 30%), linear-gradient(135deg, #050b0f, #0d352a 52%, #061f42); box-shadow: var(--shadow-strong); overflow: hidden; }
.final-card h2 { margin: 0; font-size: clamp(2.2rem, 5.5vw, 5rem); line-height: .95; letter-spacing: -.075em; }
.final-card p:not(.section-kicker) { color: rgba(255,255,255,.72); }
.final-logo { max-width: 220px; border-radius: 22px; background: white; padding: 10px; }

.site-footer { padding: 60px 0 30px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface-solid) 48%, transparent); }
.footer-grid { display: grid; gap: 28px; }
.footer-grid h3 { margin: 0 0 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.footer-grid a, .footer-grid span { display: block; color: var(--ink-soft); font-weight: 800; margin: 9px 0; }
.footer-grid p { color: var(--ink-soft); max-width: 340px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 800; font-size: 13px; }

[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
[data-animate="fade-right"] { transform: translateX(-34px); }
[data-animate="zoom-in"] { transform: scale(.96) translateY(20px); }
[data-animate].is-visible { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(18,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(18,185,129,0); } }
@keyframes scan { 0%,100% { transform: translateY(20px); opacity: 0; } 20%,80% { opacity: 1; } 50% { transform: translateY(310px); } }

html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] ul { padding-inline-start: 0; padding-inline-end: 20px; }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
html[dir="rtl"] .hero-title, html[dir="rtl"] .section-heading h2, html[dir="rtl"] .lead-copy h2, html[dir="rtl"] .final-card h2 { letter-spacing: -.045em; }
html[dir="rtl"] .phone-mockup { transform: rotateX(5deg) rotateY(9deg) rotateZ(-1deg); }

@media (max-width: 480px) {
  :root { --container: min(100% - 22px, 1160px); }
  .header-shell { grid-template-columns: auto auto 1fr; padding: 8px; }
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: 16px; }
  .brand-mark { width: 46px; height: 38px; }
  .mini-select { max-width: 58px; padding-inline: 9px 20px; font-size: 11px; }
  .theme-select { max-width: 70px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 560px; }
  .floating-chip { font-size: 12px; }
  .chip-two { top: 29%; right: -4%; }
}

@media (min-width: 760px) {
  .header-shell { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: none; }
  .main-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
  .header-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); }
  .split-layout { grid-template-columns: .9fr 1.1fr; }
  .sticky-heading { position: sticky; }
  .feature-showcase { grid-template-columns: .95fr 1.05fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .medicassist-grid { grid-template-columns: .95fr 1.05fr; }
  .demo-board { grid-template-columns: .9fr 1.1fr; }
  .demo-notes { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(5, 1fr); align-items: stretch; }
  .timeline article { min-height: 270px; }
  .case-grid { grid-template-columns: repeat(4, 1fr); }
  .benefit-layout { grid-template-columns: .9fr 1.1fr; }
  .benefit-cards { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: repeat(4, 1fr); }
  .example-grid { grid-template-columns: repeat(3, 1fr); }
  .lead-grid { grid-template-columns: .9fr 1.1fr; }
  .lead-form { grid-template-columns: 1fr 1fr; }
  .form-submit, .form-status, .form-note { grid-column: 1 / -1; }
  .final-card { grid-template-columns: 220px 1fr auto; }
  .footer-grid { grid-template-columns: 1.4fr .8fr .8fr .9fr; }
}

@media (min-width: 1080px) {
  .hero-visual { min-height: 720px; }
  .phone-mockup { width: 390px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  [data-animate] { opacity: 1; transform: none; }
}


/* User requested refinements */
@media (min-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); }
}
@media (min-width: 1080px) {
  .hero-title { font-size: clamp(4rem, 6.8vw, 6.35rem); }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.35rem, 13vw, 4.2rem); line-height: 1.04; }
  .qr-real-chip { left: -8px; top: -14px; transform: scale(.9); transform-origin: left top; }
}


/* Readability and image refinements - update 2026-06-06 */
.hero-title {
  font-size: clamp(2.35rem, 5.2vw, 4.85rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
  font-weight: 800 !important;
  max-width: 760px !important;
}
.section-heading h2,
.lead-copy h2,
.final-card h2 {
  font-size: clamp(2rem, 4.4vw, 4.35rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
  font-weight: 800 !important;
}
.marquee-group span {
  font-size: clamp(1.1rem, 2.35vw, 2.25rem) !important;
  letter-spacing: -.035em !important;
  font-weight: 800 !important;
}
.example-card img {
  height: 230px !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  background: #f8fbfa !important;
}
.example-card h3 {
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
}
@media (min-width: 1080px) {
  .hero-title { font-size: clamp(3.2rem, 5.1vw, 4.85rem) !important; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.05rem, 10.5vw, 3.35rem) !important; line-height: 1.12 !important; }
  .section-heading h2, .lead-copy h2, .final-card h2 { font-size: clamp(1.9rem, 9vw, 3rem) !important; line-height: 1.12 !important; }
  .example-card img { height: 210px !important; }
}


.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-submit[disabled] {
  cursor: wait;
  opacity: .72;
}
