/* Home page hero (all sizes) and the phone layout (max-width 767.98px). Phones also show the four "Why DAXORA" reasons as compact rows under the flow.
   The phone home page keeps: the hero (headline, tiles, Insight demonstration), the
   "data source -> 5 minutes -> dashboard ready" picture moved up directly under the hero, and the three product
   cards reduced to picture + one-line tagline + "Show demo". The longer sections stay in the HTML (for search engines
   and desktop) and are hidden on phones. "Show demo" buttons (.pp-demo) exist only in this layout. */
.pp-demo { display: none; }
/* ---------- Home hero, all screen sizes (HeroSection.razor): badge, headline, lead, three tiles, two buttons ---------- */
.home-pro .lh { position: relative; overflow: hidden; background: linear-gradient(180deg, #F3F9FF 0%, #EAF4FD 100%); }
.home-pro .lh::before { content: ""; position: absolute; inset: auto; top: -120px; inset-inline-end: -140px; width: 520px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 189, 248, .45), rgba(56, 189, 248, .14) 60%, transparent); transform: rotate(-18deg); pointer-events: none; }
.home-pro .lh::after { content: ""; position: absolute; inset: auto; top: 60px; inset-inline-end: -60px; width: 360px; height: 160px; border-radius: 50%; border-top: 2px solid rgba(2, 132, 199, .22); transform: rotate(-24deg); pointer-events: none; }
.home-pro .lh-inner { position: relative; z-index: 1; }
.lh-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px; background: #E0F2FE; border: 1px solid #BAE6FD; color: #0369A1; font: 800 .8rem/1 var(--font-heading); letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .lh-badge, html[lang="zh-Hans"] .lh-badge, html[lang="ru"] .lh-badge { letter-spacing: 0; }
.lh-badge svg { width: 16px; height: 16px; color: #0284C7; }
.home-pro .lh-title { max-width: 21ch; }
.home-pro .lh-title .lh-accent { color: #0284C7; }
.home-pro .lh-lead { max-width: 46ch; color: #334155; }
.lh-tiles { list-style: none; margin: 28px auto 0; padding: 0; max-width: 600px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lh-tiles li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 16px; background: #fff; border: 1px solid #DCE8F4; border-radius: 16px; box-shadow: 0 6px 16px -12px rgba(11, 20, 38, .35); font-weight: 700; font-size: 1rem; color: #0B1426; text-align: center; line-height: 1.2; }
.lh-tiles svg { width: 30px; height: 30px; color: #0284C7; stroke: #0284C7; }
.lh-mcta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
.home-pro .lh-mbtn { padding: 15px 26px; border-radius: 10px; font-size: 1rem; font-weight: 700; white-space: nowrap; }
.home-pro .lh-mbtn-primary { background: #0369A1; border-color: #0369A1; color: #fff; } /* 5.9:1 with white; #0284C7 was 4.1:1 */
.home-pro .lh-mbtn-primary:hover { background: #075985; border-color: #075985; }
.home-pro .lh-mbtn-ghost { background: #fff; border: 1.5px solid #0284C7; color: #0B3B5C; }
.home-pro .lh-mbtn-ghost:hover { background: #F0F9FF; }
.lh-play { display: inline-block; width: 0; height: 0; border-block: 6px solid transparent; border-inline-start: 9px solid currentColor; }
/* Quiet tertiary link under the two hero buttons: replays the demonstration below. */
.lh-watch { margin: 14px 0 0; text-align: center; font-size: .95rem; }
.lh-watch a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; color: #0369A1; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lh-watch a:hover { color: #0B3B5C; }

@media (max-width: 767.98px) {
  .home-pro { display: flex; flex-direction: column; }
  .home-pro > .lh { order: 1; }
  .home-pro > .why { order: 2; }
  .home-pro > .pp { order: 3; }

  /* Phone hero: left-aligned, compact, buttons side by side */
  .home-pro .lh { padding: 22px 0 28px; }
  .home-pro .lh::before { top: -70px; inset-inline-end: -90px; width: 260px; height: 220px; }
  .home-pro .lh::after { top: 40px; inset-inline-end: -40px; width: 180px; height: 90px; }
  .home-pro .lh-inner { text-align: start; }
  .lh-badge { margin-bottom: 16px; padding: 7px 14px; font-size: .74rem; }
  .lh-badge svg { width: 15px; height: 15px; }
  .home-pro .lh-title { font-size: clamp(2.3rem, 10.5vw, 2.9rem); line-height: 1.08; max-width: 11ch; margin: 0; text-wrap: balance; }
  .home-pro .lh-lead { margin: 14px 0 0; max-width: 34ch; font-size: 1.05rem; line-height: 1.5; }
  .lh-tiles { margin: 20px 0 0; max-width: none; gap: 10px; }
  .lh-tiles li { gap: 8px; padding: 14px 6px 12px; border-radius: 14px; font-size: .84rem; }
  .lh-tiles svg { width: 26px; height: 26px; }
  .lh-mcta { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; margin-top: 18px; }
  .home-pro .lh-mbtn { padding: 14px 10px; font-size: .95rem; white-space: normal; text-align: center; justify-content: center; line-height: 1.25; }
  .lh-watch { text-align: start; margin-top: 6px; }
  .home-pro .lh-demo { margin-top: 22px; }

  /* Long sections hidden on phones */
  .home-pro > #product-details,
  .home-pro > .lh-walk,
  .home-pro > #journey,
  .home-pro > #integrations,
  .home-pro > .integ,
  .home-pro > #enterprise,
  .home-pro .why-head p,
  .home-pro .pp-head p { display: none; }

  /* Why DAXORA: one compact row, data source -> 5 minutes -> dashboard */
  .home-pro .why { padding: 28px 0 8px; border-top: 0; }
  /* The four reasons (Faster Time to Insight, AI-First Workflow, ...) under the flow: compact rows, icon + title + one line */
  .home-pro .why-grid { margin-top: 16px; grid-template-columns: 1fr; gap: 10px; }
  .home-pro .why-grid li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 14px 14px; border-radius: 14px; background: #fff; }
  .home-pro .why-grid li:hover { transform: none; }
  .home-pro .why-ico { grid-row: span 2; width: 40px; height: 40px; margin: 0; border-radius: 10px; }
  .home-pro .why-ico svg { width: 20px; height: 20px; }
  .home-pro .why-grid h3 { font-size: 1rem; margin: 1px 0 3px; }
  .home-pro .why-grid p { font-size: .88rem; line-height: 1.45; }
  .home-pro .why-head { margin-bottom: 14px; }
  .home-pro .why-head h2 { font-size: 1.5rem; }
  .home-pro .why-flow { grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr); padding: 18px 10px 14px; row-gap: 14px; margin-bottom: 0; border-radius: 18px; }
  .home-pro .wf-stage { padding: 0; min-width: 0; }
  .home-pro .wf-art { overflow: visible; }
  .home-pro .wf-step { width: 20px; height: 20px; font-size: .68rem; line-height: 20px; inset-inline-start: 0; z-index: 2; }
  .home-pro .wf-art { height: 70px; margin-bottom: 8px; }
  .home-pro .wf-art > * { scale: .52; }
  .home-pro .wf-art > .wf-ring, .home-pro .wf-art > .wf-min { scale: .56; }
  .home-pro .wf-art > .wf-check { scale: .6; top: -6px; inset-inline-end: -4px; }
  .home-pro .wf-stage h3 { font-size: .9rem; line-height: 1.2; }
  .home-pro .wf-stage p { font-size: .74rem; line-height: 1.3; }
  .home-pro .wf-link { height: 70px; align-items: center; }
  .home-pro .wf-link span { width: 100%; height: 3px; background: repeating-linear-gradient(90deg, #38BDF8 0 6px, transparent 6px 10px); }
  .home-pro .wf-link span::after { inset-inline-end: -4px; left: auto; top: -5px; bottom: auto; border: 6px solid transparent; border-inline-start: 8px solid #38BDF8; border-inline-end: 0; border-top-color: transparent; }
  [dir="rtl"] .home-pro .wf-link span::after { left: -4px; right: auto; }
  .home-pro .wf-no { gap: 8px; padding-top: 12px; }
  .home-pro .wf-no-item { font-size: .85rem; padding: 6px 12px; }

  /* Product cards: picture, one line, Show demo */
  /* Products: its own clearly separated section (tinted band, divider, accent bar, large heading) */
  .home-pro .pp { margin-top: 36px; padding: 40px 0 32px; background: linear-gradient(180deg, #EEF6FD 0%, #F8FBFE 100%); border-top: 1px solid #D6E6F4; }
  .home-pro .pp-head { margin-bottom: 24px; }
  .home-pro .pp-head::before { content: ""; display: block; width: 56px; height: 5px; margin: 0 auto 18px; border-radius: 3px; background: linear-gradient(90deg, #21C6E8, #0284C7); }
  .home-pro .pp-head h2 { font-size: clamp(1.95rem, 8.6vw, 2.35rem); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
  .home-pro .pp-grid { gap: 16px; }
  .home-pro .pp-visual { padding: 14px 12px; }
  .home-pro .pp-body { padding: 16px 18px 18px; }
  .home-pro .pp-label { font-size: 1.2rem; margin: 0; }
  .home-pro .pp-tag { font-size: 1rem; margin-top: 4px; }
  .home-pro .pp-text,
  .home-pro .pp-link-cta { display: none; }
  .home-pro .pp-card:has(.pp-stretch) { cursor: default; }
  .home-pro .pp-demo { display: inline-flex; align-self: stretch; justify-content: center; margin-top: 14px; background: var(--pc-dk); border-color: var(--pc-dk); color: #fff; position: relative; z-index: 6; }
  .home-pro .pp-demo.is-disabled { background: #F1F5F9; border-color: #CBD5E1; color: #64748B; cursor: not-allowed; gap: 8px; }
}
