/* ===========================================================
   منصة درب — Landing redesign (sovereign Asateel-style portal)
   Uses design tokens from styles.css :root. Green-teal, no blue.
   =========================================================== */
:root{ --dx-topbar-h:40px; --dx-header-h:66px; }
html{ scroll-padding-top: calc(var(--dx-topbar-h) + var(--dx-header-h) + 12px); }
body{ background:#fff; }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Gov top bar ---------- */
.dx-topbar{ position:fixed; inset-block-start:0; inset-inline:0; z-index:120; height:var(--dx-topbar-h);
  background:var(--green-900); color:#eaf4ef; display:flex; align-items:center; font-size:.8rem; }
.dx-topbar-in{ display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.dx-gov{ display:flex; align-items:center; gap:.6rem; min-width:0; }
.dx-emblem{ height:22px; width:auto; display:block; filter:saturate(1.05); }
.dx-gov-name{ font-weight:600; white-space:nowrap; }
.dx-gov-sep{ width:1px; height:16px; background:rgba(255,255,255,.22); }
.dx-gov-min{ color:#bfe0d6; white-space:nowrap; }
.dx-tools{ display:flex; align-items:center; gap:.7rem; }
.dx-fontctl{ display:flex; gap:2px; }
.dx-fontctl button{ background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); color:#eaf4ef;
  width:28px; height:24px; border-radius:6px; cursor:pointer; font-size:.78rem; font-family:"IBM Plex Mono",monospace; }
.dx-fontctl button:hover{ background:rgba(255,255,255,.16); }
.dx-lang{ background:transparent; border:1px solid rgba(255,255,255,.28); color:#fff; cursor:pointer;
  font-family:"IBM Plex Mono",monospace; font-size:.74rem; letter-spacing:.08em; padding:.3rem .8rem; border-radius:7px; }
.dx-lang:hover{ background:rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.dx-header{ position:fixed; inset-block-start:var(--dx-topbar-h); inset-inline:0; z-index:110; height:var(--dx-header-h);
  transition:background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s; }
.dx-header.scrolled{ background:rgba(255,255,255,.94); backdrop-filter:blur(12px);
  box-shadow:0 1px 0 var(--line), 0 14px 34px -28px rgba(6,49,63,.5); }
.dx-nav{ display:flex; align-items:center; justify-content:space-between; height:var(--dx-header-h); gap:1rem; }
.dx-brand{ display:inline-flex; align-items:center; }
.dx-logo{ height:26px; width:auto; display:block; }
.dx-logo-dark{ display:none; }
.dx-header.scrolled .dx-logo-light{ display:none; }
.dx-header.scrolled .dx-logo-dark{ display:block; }
.nav-links{ display:flex; gap:1.5rem; }
.nav-links a{ font-weight:500; font-size:.98rem; color:rgba(255,255,255,.9); padding:.3rem 0; position:relative; transition:color .25s; }
.nav-links a::after{ content:""; position:absolute; inset-block-end:-3px; inset-inline:0; height:2px; background:var(--teal-400);
  transform:scaleX(0); transform-origin:inline-end; transition:transform .3s var(--ease); }
.nav-links a:hover::after{ transform:scaleX(1); }
.dx-header.scrolled .nav-links a{ color:var(--ink-soft); }
.dx-header.scrolled .nav-links a:hover{ color:var(--green-900); }
.dx-actions{ display:flex; align-items:center; gap:.6rem; }
.dx-header:not(.scrolled) .btn-ghost{ border-color:rgba(255,255,255,.55); color:#fff; background:rgba(255,255,255,.14); backdrop-filter:blur(6px); }
.dx-header:not(.scrolled) .btn-ghost:hover{ background:rgba(255,255,255,.24); color:#fff; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:6px; }
.nav-toggle span{ width:24px; height:2px; background:#fff; border-radius:2px; transition:.3s; }
.dx-header.scrolled .nav-toggle span{ background:var(--green-900); }

/* ---------- Hero ---------- */
.dx-hero{ position:relative; min-height:92vh; display:flex; align-items:center; color:#fff; overflow:hidden; }
.dx-hero-bg{ position:absolute; inset:0; background-size:cover; background-position:center 38%; transform:scale(1.04); }
.dx-hero-scrim{ position:absolute; inset:0;
  background:linear-gradient(105deg, rgba(7,42,34,.94) 0%, rgba(8,48,40,.82) 42%, rgba(8,48,40,.30) 78%, rgba(8,48,40,.12) 100%),
             linear-gradient(0deg, rgba(5,33,26,.6), rgba(5,33,26,0) 40%); }
.dx-hero-in{ position:relative; z-index:2; padding-block: calc(var(--dx-topbar-h) + var(--dx-header-h) + 44px) 64px; max-width:780px; margin-inline:auto; text-align:center; }
.dx-kicker{ display:inline-block; font-family:"IBM Plex Mono",monospace; font-size:.78rem; letter-spacing:.28em;
  color:#7fe0b4; border:1px solid rgba(127,224,180,.4); background:rgba(52,192,127,.08); padding:.4rem .9rem; border-radius:7px; margin-block-end:1.4rem; }
.dx-hero-title{ font-size:clamp(2.3rem,5.4vw,4rem); font-weight:700; line-height:1.12; letter-spacing:-.01em; margin:0 0 1rem; color:#fff; }
.dx-hero-sub{ font-size:clamp(1.05rem,2vw,1.3rem); font-weight:500; color:#d7e9e1; max-width:52ch; line-height:1.8; margin:0 auto; }
.dx-hero-cta{ display:flex; flex-wrap:wrap; justify-content:center; gap:.9rem; margin-block-start:2rem; }
.dx-chips{ display:flex; flex-wrap:wrap; justify-content:center; gap:.55rem .8rem; margin-block-start:2.2rem; }
.dx-chips li{ font-size:.86rem; font-weight:500; color:#cfe6dc; display:inline-flex; align-items:center; gap:.45rem;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16); padding:.4rem .85rem; border-radius:999px; }
.dx-chips li::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--teal-400); box-shadow:0 0 0 4px rgba(52,192,127,.2); }

/* ---------- Stat band ---------- */
.dx-stats{ background:var(--green-900); color:#fff; }
.dx-stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; padding-block:2.4rem; }
.dx-stat{ text-align:center; padding:.4rem; border-inline-start:1px solid rgba(255,255,255,.1); }
.dx-stat:first-child{ border:0; }
.dx-stat strong{ display:block; font-size:clamp(1.9rem,4vw,2.7rem); font-weight:700; line-height:1; color:#fff;
  font-family:"IBM Plex Sans Arabic",sans-serif; }
.dx-stat .dx-stat-static{ font-family:"IBM Plex Mono",monospace; letter-spacing:.02em; }
.dx-stat span{ display:block; margin-block-start:.6rem; font-size:.9rem; color:#bfe0d6; }

/* ---------- Sections ---------- */
.dx-section{ padding-block:clamp(60px,8vw,108px); }
.dx-section-tint{ background:var(--bg-tint); }
.dx-section-dark{ background:radial-gradient(120% 120% at 85% 0%, #0e4a3a, var(--green-900) 62%, #05231b); color:#fff; }
.dx-sec-head{ max-width:720px; margin:0 auto 3rem; text-align:center; }
.dx-eyebrow{ display:inline-block; font-family:"IBM Plex Mono",monospace; font-size:.74rem; letter-spacing:.16em; font-weight:600;
  text-transform:uppercase; color:var(--teal-700); background:var(--bg-soft); border:1px solid var(--line);
  padding:.4rem .9rem; border-radius:8px; margin-block-end:1.1rem; }
.dx-eyebrow-light{ color:#7fe0b4; background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.16); }
.dx-sec-head h2{ font-size:clamp(1.6rem,3.4vw,2.4rem); font-weight:700; color:var(--green-900); margin:0; line-height:1.25; }
.dx-section-dark .dx-sec-head h2{ color:#fff; }
.dx-lead{ margin-block-start:1rem; font-size:1.06rem; line-height:1.85; color:var(--ink-soft); }
.dx-section-dark .dx-lead{ color:#d4e3de; }

/* System */
.dx-sys-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:2rem; align-items:center; }
.dx-sys-media{ background:linear-gradient(160deg,#f1f6f3,#e7eeea); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:1.6rem; box-shadow:var(--shadow); }
.dx-sys-media img{ width:100%; height:auto; display:block; border-radius:12px; }
.dx-sys-cards{ display:flex; flex-direction:column; gap:1.1rem; }
.dx-sys-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.4rem 1.5rem; box-shadow:var(--shadow-sm); }
.dx-sys-ico{ width:38px; height:38px; border-radius:10px; background:var(--bg-soft); color:var(--teal-700);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem; font-weight:700; margin-block-end:.8rem; border:1px solid var(--line); }
.dx-sys-card h3{ font-size:1.2rem; color:var(--green-900); margin:0 0 .4rem; }
.dx-sys-card p{ color:var(--ink-soft); font-size:.98rem; line-height:1.8; margin:0; }

/* e-Services grid */
.dx-svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.1rem; }
.dx-svc{ text-align:start; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.5rem;
  cursor:pointer; font-family:inherit; transition:transform .25s var(--ease), box-shadow .25s, border-color .25s; box-shadow:var(--shadow-sm); }
.dx-svc:hover{ transform:translateY(-4px); border-color:var(--teal-400); box-shadow:var(--shadow); }
.dx-svc-ico{ display:inline-flex; width:44px; height:44px; border-radius:12px; align-items:center; justify-content:center;
  background:var(--bg-soft); color:var(--gold); font-size:1.25rem; margin-block-end:.9rem; }
.dx-svc h3{ font-size:1.08rem; color:var(--green-900); margin:0 0 .35rem; }
.dx-svc p{ font-size:.92rem; color:var(--ink-soft); line-height:1.7; margin:0; }

/* Beneficiaries */
.dx-ben-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.1rem; }
.dx-ben{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.5rem; box-shadow:var(--shadow-sm);
  border-top:3px solid var(--teal-400); }
.dx-ben h3{ font-size:1.05rem; color:var(--green-900); margin:0 0 .4rem; }
.dx-ben p{ font-size:.92rem; color:var(--ink-soft); margin:0; line-height:1.7; }

/* Steps */
.dx-steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:1rem; }
.dx-step{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:var(--radius); padding:1.4rem; position:relative; }
.dx-step-n{ display:inline-flex; width:36px; height:36px; border-radius:50%; align-items:center; justify-content:center;
  background:var(--gold); color:#fff; font-weight:700; font-family:"IBM Plex Mono",monospace; margin-block-end:.9rem; }
.dx-step h3{ font-size:1.02rem; color:#fff; margin:0 0 .4rem; }
.dx-step p{ font-size:.88rem; color:#cdded8; margin:0; line-height:1.7; }


/* FAQ (categorized accordion) */
.dx-faq{ max-width:880px; margin-inline:auto; }
.dx-faq-cat{ font-family:"IBM Plex Mono",monospace; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--teal-700); margin:2rem 0 .8rem; padding-block-end:.6rem; border-block-end:1px solid var(--line); }
.dx-faq-cat:first-child{ margin-top:0; }
.faq-item{ border:1px solid var(--line); border-radius:12px; background:#fff; margin-block-end:.7rem; overflow:hidden; }
.faq-q{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem; text-align:start;
  background:none; border:0; cursor:pointer; font-family:inherit; font-size:1rem; font-weight:600; color:var(--green-900); padding:1.05rem 1.2rem; }
.faq-ico{ position:relative; width:14px; height:14px; flex:0 0 14px; }
.faq-ico::before,.faq-ico::after{ content:""; position:absolute; background:var(--teal-700); transition:transform .3s var(--ease); }
.faq-ico::before{ inset-block-start:6px; inset-inline:0; height:2px; }
.faq-ico::after{ inset-inline-start:6px; inset-block:0; width:2px; }
.faq-q[aria-expanded="true"]{ color:var(--teal-700); }
.faq-q[aria-expanded="true"] .faq-ico::after{ transform:scaleY(0); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-q[aria-expanded="true"] + .faq-a{ max-height:340px; }
.faq-a p{ margin:0; padding:0 1.2rem 1.15rem; color:var(--ink-soft); line-height:1.85; font-size:.96rem; }

/* CTA + contact */
.dx-cta{ background:radial-gradient(120% 120% at 80% 0%, #0e4a3a, var(--green-900) 60%, #05231b); color:#fff; padding-block:clamp(60px,8vw,100px); }
.dx-cta-grid{ display:grid; grid-template-columns:1fr 1fr; gap:2.6rem; align-items:center; }
.dx-cta-copy h2{ font-size:clamp(1.7rem,3.2vw,2.4rem); color:#fff; margin:0 0 1.2rem; }
.dx-cta-mail{ font-family:"IBM Plex Mono",monospace; letter-spacing:.06em; font-weight:600; color:#7fe0b4; display:inline-block; margin-block-end:1.4rem; }
.dx-cta-mail:hover{ color:#fff; }
.dx-cta-hq{ display:flex; flex-direction:column; gap:.3rem; color:#cdded8; font-size:.92rem; }
.dx-cta-hq .dx-eyebrow{ margin-block-end:.6rem; }

/* Footer */
.dx-footer{ background:var(--green-900); color:#cdded8; padding-block:3rem 1.4rem; }
.dx-footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:2rem; padding-block-end:2rem; border-block-end:1px solid rgba(255,255,255,.1); }
.dx-footer-logo{ height:30px; width:auto; display:block; margin-block-end:1rem; }
.dx-footer-about p{ font-size:.92rem; line-height:1.8; margin:0 0 1rem; max-width:42ch; }
.dx-footer-gov{ display:flex; align-items:center; gap:.6rem; font-size:.86rem; color:#bfe0d6; }
.dx-footer-gov .dx-emblem{ height:26px; }
.dx-footer-col h4{ color:#fff; font-size:1rem; margin:0 0 .9rem; }
.dx-footer-col ul{ display:flex; flex-direction:column; gap:.55rem; }
.dx-footer-col a{ color:#cdded8; font-size:.92rem; }
.dx-footer-col a:hover{ color:#7fe0b4; }
.dx-footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding-block-start:1.3rem; font-size:.84rem; color:#9fb4ad; }
.dx-footer-url{ font-family:"IBM Plex Mono",monospace; letter-spacing:.05em; }

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .dx-svc-grid{ grid-template-columns:repeat(2,1fr); }
  .dx-ben-grid{ grid-template-columns:repeat(2,1fr); }
  .dx-steps{ grid-template-columns:repeat(2,1fr); }
  .dx-sys-grid,.dx-preview,.dx-cta-grid{ grid-template-columns:1fr; }
  .dx-stats-grid{ grid-template-columns:repeat(2,1fr); gap:1.4rem; }
  .dx-stat:nth-child(3){ border:0; }
}
@media (max-width:760px){
  .nav-links{ position:fixed; inset-block-start:calc(var(--dx-topbar-h) + var(--dx-header-h)); inset-inline:0;
    flex-direction:column; gap:0; background:transparent; padding:0 1.2rem; box-shadow:none; border:0;
    max-height:0; overflow:hidden; visibility:hidden; transition:max-height .35s var(--ease); }
  .nav-links.open{ max-height:60vh; padding-block:1rem; background:#fff; visibility:visible; box-shadow:0 20px 40px -20px rgba(6,49,63,.4); }
  .nav-links a{ color:var(--ink-soft); padding:.8rem 0; border-block-end:1px solid var(--line); }
  .nav-toggle{ display:flex; }
  .dx-actions .btn{ display:none; }
  .dx-gov-min,.dx-gov-sep{ display:none; }
  .dx-svc-grid,.dx-ben-grid,.dx-steps{ grid-template-columns:1fr; }
  .dx-footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ===== Platform preview — live dashboard mockup ===== */
.dx-demo-toggle{ display:flex; justify-content:center; gap:.4rem; margin:0 auto 1.4rem; background:#e2ece7;
  border:1px solid var(--line); border-radius:12px; padding:5px; width:max-content; }
.dx-demo-tab{ border:0; background:none; cursor:pointer; font-family:inherit; font-weight:600; font-size:.92rem;
  color:var(--ink-soft); padding:.55rem 1.2rem; border-radius:9px; transition:.2s; }
.dx-demo-tab.is-active{ background:#fff; color:var(--green-900); box-shadow:0 2px 8px -3px rgba(6,49,63,.25); }
.dx-browser{ display:block; max-width:1080px; margin-inline:auto; border-radius:16px; overflow:hidden;
  border:1px solid #d7e2dc; background:#fff; box-shadow:0 40px 90px -40px rgba(6,49,63,.45); }
.dx-browser-bar{ display:flex; align-items:center; gap:.8rem; height:42px; padding:0 16px; background:#f4f8f6; border-block-end:1px solid #e3ece7; }
.dx-dots{ display:flex; gap:6px; } .dx-dots i{ width:11px; height:11px; border-radius:50%; background:#cdded6; }
.dx-url{ flex:1; text-align:center; font-family:"IBM Plex Mono",monospace; font-size:.78rem; color:#7b948e;
  background:#fff; border:1px solid #e3ece7; border-radius:8px; padding:.25rem 1rem; max-width:420px; margin-inline:auto; }
.dx-browser-spacer{ width:34px; }
.dx-demo{ display:flex; min-height:430px; background:#f1f6f3; font-size:13px; }
/* sidebar */
.dx-demo-side{ width:210px; flex:0 0 210px; background:#073a4a; padding:16px 0; display:flex; flex-direction:column; gap:1px; }
.dx-demo-logo{ display:flex; align-items:center; gap:9px; padding:0 18px 14px; border-block-end:1px solid rgba(255,255,255,.08); margin-block-end:10px; }
.dx-demo-logo img{ height:20px; } .dx-demo-logo span{ font-size:10px; color:rgba(214,234,228,.55); font-family:"IBM Plex Mono",monospace; border-inline-start:1px solid rgba(255,255,255,.16); padding-inline-start:9px; }
.dx-demo-nav{ display:flex; align-items:center; gap:10px; padding:9px 18px; color:rgba(224,238,233,.7); font-size:12.5px; position:relative; }
.dx-demo-nav i{ width:15px; height:15px; border-radius:5px; border:1.5px solid rgba(224,238,233,.32); }
.dx-demo-nav.is-active{ color:#fff; font-weight:600; background:rgba(47,179,126,.16); }
.dx-demo-nav.is-active i{ border-color:#34c07f; background:rgba(52,192,127,.25); }
.dx-demo-nav.is-active::before{ content:""; position:absolute; inset-inline-end:0; inset-block:6px; width:3px; background:#34c07f; border-radius:3px 0 0 3px; }
.dx-demo-badge{ margin-inline-start:auto; background:#d4675f; color:#fff; font-size:10px; border-radius:9px; padding:1px 7px; font-family:"IBM Plex Mono",monospace; font-style:normal; }
/* main */
.dx-demo-main{ flex:1; min-width:0; padding:0; display:flex; flex-direction:column; }
.dx-demo-top{ height:54px; background:#fff; border-block-end:1px solid #e3ece7; display:flex; align-items:center; justify-content:space-between; padding:0 18px; }
.dx-demo-top strong{ font-size:15px; color:#0d2f33; display:block; } .dx-demo-top span{ font-size:10.5px; color:#92a8a2; font-family:"IBM Plex Mono",monospace; }
.dx-demo-search{ font-size:11.5px; color:#92a8a2; background:#eef4f1; border:1px solid #dde8e2; border-radius:8px; padding:.4rem .9rem; }
.dx-demo-kpis{ display:grid; grid-template-columns:repeat(4,1fr); gap:11px; padding:16px 18px 4px; }
.dx-demo-kpi{ background:#fff; border:1px solid #e3ece7; border-radius:11px; padding:12px 14px; }
.dx-demo-kpi span{ font-size:11px; color:#7b948e; } .dx-demo-kpi strong{ display:block; font-size:23px; color:#0d2f33; margin-top:6px; line-height:1; }
.dx-demo-kpi em{ font-size:10.5px; color:#7b948e; font-style:normal; display:block; margin-top:7px; } .dx-demo-kpi em.up{ color:#138a5e; } .dx-demo-kpi em.down{ color:#c25d55; }
.dx-demo-bar{ height:6px; background:#e9f0ec; border-radius:3px; margin-top:9px; } .dx-demo-bar i{ display:block; width:94%; height:100%; background:linear-gradient(90deg,#34c07f,#0a8f86); border-radius:3px; }
.dx-demo-row{ display:flex; gap:11px; padding:11px 18px 16px; }
.dx-demo-ph{ display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:600; color:#0d2f33; padding:11px 13px; border-block-end:1px solid #eaf0ec; }
.dx-live{ width:8px; height:8px; border-radius:50%; background:#d4675f; }
.dx-demo-map{ flex:1.7; background:#fff; border:1px solid #e3ece7; border-radius:11px; overflow:hidden; display:flex; flex-direction:column; }
.dx-demo-mapwrap{ position:relative; flex:1; min-height:150px; background:repeating-linear-gradient(135deg,#e8f0eb 0 14px,#eef5f0 14px 28px); }
.dx-demo-mapwrap svg{ position:absolute; inset:0; width:100%; height:100%; }
.dx-demo-legend{ position:absolute; inset-block-end:9px; inset-inline-start:9px; background:#fff; border:1px solid #e3ece7; border-radius:8px; padding:7px 10px; display:flex; flex-direction:column; gap:5px; font-size:10.5px; color:#5d7a74; }
.dx-demo-legend i{ display:inline-block; width:8px; height:8px; border-radius:50%; margin-inline-end:5px; } .dx-demo-legend i.g{ background:#1f9d6b; } .dx-demo-legend i.r{ background:#d4675f; }
.dx-demo-alerts{ flex:1; background:#fff; border:1px solid #e3ece7; border-radius:11px; overflow:hidden; }
.dx-demo-alert{ display:flex; gap:9px; padding:10px 13px; border-block-end:1px solid #f1f5f2; }
.dx-demo-alert i{ width:27px; height:27px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:13px; font-style:normal; flex:0 0 27px; }
.dx-demo-alert i.r{ background:#f9ebe9; color:#c25d55; } .dx-demo-alert i.a{ background:#f9f0df; color:#b9802f; } .dx-demo-alert i.g{ background:#dff0ea; color:#0a8f86; }
.dx-demo-alert b{ font-size:12px; color:#0d2f33; font-weight:600; display:block; } .dx-demo-alert small{ font-size:11px; color:#92a8a2; }
.dx-demo-tablehead{ display:flex; background:#f4f8f6; border-block-start:1px solid #eaf0ec; padding:11px 18px; font-size:11px; color:#7b948e; font-weight:600; gap:1rem; }
.dx-demo-tablehead span{ flex:1; }
.dx-preview-cta{ text-align:center; margin-block-start:1.8rem; }
@media (max-width:760px){
  .dx-demo{ font-size:11px; min-height:0; }
  .dx-demo-side{ display:none; }
  .dx-demo-kpis{ grid-template-columns:repeat(2,1fr); }
  .dx-demo-row{ flex-direction:column; }
}


/* hero secondary button: glass backdrop for legibility over the photo */
.dx-hero .btn-outline{ background:rgba(8,46,38,.45); backdrop-filter:blur(6px); border-color:rgba(255,255,255,.6); color:#fff; }
.dx-hero .btn-outline:hover{ background:rgba(8,46,38,.62); border-color:#fff; color:#fff; }

/* preview mockup — fidelity upgrades */
.dx-demo-kpi-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:8px; margin-top:6px; }
.dx-demo-kpi-row strong{ margin-top:0; }
.dx-spark{ width:54px; height:22px; flex:0 0 54px; }
.dx-demo-divider{ height:1px; background:rgba(255,255,255,.08); margin:10px 16px; }
.dx-demo-user{ margin-block-start:auto; margin-inline:12px; margin-block-end:2px; display:flex; align-items:center; gap:9px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.09); border-radius:11px; padding:9px 10px; }
.dx-demo-avatar{ width:30px; height:30px; border-radius:50%; background:linear-gradient(135deg,#34c07f,#0a8f86); flex:0 0 30px; }
.dx-demo-user b{ font-size:12px; color:#fff; display:block; } .dx-demo-user small{ font-size:10px; color:rgba(214,234,228,.55); font-family:"IBM Plex Mono",monospace; }
.dx-demo-table{ background:#fff; border:1px solid #e3ece7; border-radius:11px; margin:0 18px 16px; overflow:hidden; }
.dx-demo-trh{ display:flex; background:#f4f8f6; border-block-end:1px solid #eaf0ec; padding:10px 14px; font-size:11px; color:#7b948e; font-weight:600; }
.dx-demo-tr{ display:flex; align-items:center; padding:10px 14px; border-block-end:1px solid #f1f5f2; font-size:12px; color:#5d7a74; }
.dx-demo-tr:last-child{ border-block-end:0; }
.dx-demo-table .c-veh{ flex:1.5; } .dx-demo-table .c-drv{ flex:1.1; } .dx-demo-table .c-st{ flex:1; }
.dx-demo-table .c-sp{ flex:.8; } .dx-demo-table .c-cmp{ flex:1; } .dx-demo-table .c-loc{ flex:1.2; }
.c-veh b{ color:#0d2f33; font-weight:600; display:block; font-size:12.5px; } .c-veh small{ font-size:10.5px; color:#92a8a2; }
.c-st i{ font-style:normal; font-size:10.5px; border-radius:7px; padding:2px 8px; display:inline-block; }
.st-alert{ color:#c25d55; background:#f9ebe9; } .st-move{ color:#0a8f86; background:#dff0ea; }
.st-warn{ color:#b9802f; background:#f9f0df; } .st-idle{ color:#5d7a74; background:#eef4f1; }
.st-red{ color:#c25d55; font-weight:600; }
.bar{ display:block; width:56px; height:6px; background:#e9f0ec; border-radius:3px; } .bar u{ display:block; height:100%; background:#2fb37e; border-radius:3px; }



/* preview: real dashboard screenshot, as-is */
.dx-preview-shot{ display:block; max-width:1080px; margin-inline:auto; border-radius:16px; overflow:hidden;
  border:1px solid #d7e2dc; box-shadow:0 40px 90px -40px rgba(6,49,63,.45); transition:transform .3s var(--ease); }
.dx-preview-shot:hover{ transform:translateY(-4px); }
.dx-preview-shot img{ display:block; width:100%; height:auto; }

/* ============================================================
   Animations — landing-wide motion layer
   ============================================================ */
@keyframes dxRise{ from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }
@keyframes dxZoom{ from{transform:scale(1.05)} to{transform:scale(1.13)} }
@keyframes dxFloat{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes dxSheen{ 0%{background-position:200% 0} 100%{background-position:-200% 0} }
@keyframes dxPulseRing{ 0%{box-shadow:0 0 0 0 rgba(52,192,127,.45)} 70%{box-shadow:0 0 0 12px rgba(52,192,127,0)} 100%{box-shadow:0 0 0 0 rgba(52,192,127,0)} }

/* Hero: slow ken-burns on the photo */
.dx-hero-bg{ animation:dxZoom 22s ease-in-out infinite alternate; }

/* Hero content: staggered entrance on load */
.dx-hero-in > *{ opacity:0; animation:dxRise .95s var(--ease) forwards; }
.dx-hero-in > *:nth-child(1){ animation-delay:.10s }
.dx-hero-in > *:nth-child(2){ animation-delay:.24s }
.dx-hero-in > *:nth-child(3){ animation-delay:.38s }
.dx-hero-in > *:nth-child(4){ animation-delay:.52s }
.dx-hero-in > *:nth-child(5){ animation-delay:.64s }
.dx-chips li{ animation:dxFloat 5s ease-in-out infinite; }
.dx-chips li:nth-child(2){ animation-delay:.6s } .dx-chips li:nth-child(3){ animation-delay:1.2s } .dx-chips li:nth-child(4){ animation-delay:1.8s }

/* Staggered scroll-reveals inside grids */
.dx-stats-grid .reveal:nth-child(2){ transition-delay:.08s }
.dx-stats-grid .reveal:nth-child(3){ transition-delay:.16s }
.dx-stats-grid .reveal:nth-child(4){ transition-delay:.24s }
.dx-svc-grid .reveal:nth-child(2),.dx-ben-grid .reveal:nth-child(2),.dx-steps .reveal:nth-child(2){ transition-delay:.07s }
.dx-svc-grid .reveal:nth-child(3),.dx-ben-grid .reveal:nth-child(3),.dx-steps .reveal:nth-child(3){ transition-delay:.14s }
.dx-svc-grid .reveal:nth-child(4),.dx-ben-grid .reveal:nth-child(4),.dx-steps .reveal:nth-child(4){ transition-delay:.21s }
.dx-svc-grid .reveal:nth-child(5),.dx-steps .reveal:nth-child(5){ transition-delay:.28s }
.dx-svc-grid .reveal:nth-child(6){ transition-delay:.35s }

/* Hover micro-interactions */
.dx-stat,.dx-sys-card,.faq-item{ transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s; }
.dx-stat:hover{ transform:translateY(-4px); }
.dx-sys-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.dx-step{ transition:transform .3s var(--ease), background .3s, border-color .25s; }
.dx-step:hover{ transform:translateY(-5px); background:rgba(255,255,255,.08); border-color:rgba(52,192,127,.5); }
.dx-ben{ transition:transform .3s var(--ease), box-shadow .3s var(--ease); }
.dx-ben:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.faq-item:hover{ border-color:#bfe0d6; }

/* Animated sheen across the national stat band */
.dx-stats{ position:relative; overflow:hidden; }
.dx-stats::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(100deg,transparent 40%,rgba(52,192,127,.10) 50%,transparent 60%);
  background-size:200% 100%; animation:dxSheen 7s linear infinite; }

/* Primary CTAs: gentle pulse ring to draw the eye */
.dx-hero-cta .btn-gold{ animation:dxPulseRing 3.4s var(--ease) infinite; }

/* Live dot already pulses (dpulse); keep nav underline + button lifts from base */

@media (prefers-reduced-motion:reduce){
  .dx-hero-bg,.dx-hero-in > *,.dx-chips li,.dx-stats::after,.dx-hero-cta .btn-gold{ animation:none!important; }
  .dx-hero-in > *{ opacity:1; }
}




