/* ============================================================
   DentAI — אתר תדמית · Dark / modern edition
   ============================================================ */

:root {
  /* Brand — luminous teal / emerald (glows on dark) */
  --brand:        #1fe3a8;
  --brand-2:      #19c8e0;   /* cyan side of gradient */
  --brand-3:      #2effc0;
  --brand-deep:   #0e9c88;
  --brand-grad:   linear-gradient(105deg, #16cfe0 0%, #1fe3a8 55%, #2bffbb 100%);
  --glow:         rgba(31,227,168,.55);
  --glow-soft:    rgba(31,227,168,.16);

  /* Dark neutrals — near-black with a cool teal tint */
  --bg:        #060a0d;
  --bg-2:      #0a1014;
  --bg-3:      #0e161b;
  --panel:     rgba(255,255,255,.035);
  --panel-2:   rgba(255,255,255,.05);
  --border:    rgba(255,255,255,.09);
  --border-2:  rgba(255,255,255,.14);

  --ink:       #eef5f3;
  --ink-soft:  #c4d1ce;
  --muted:     #8593a0;
  --muted-2:   #5f6d78;

  /* Category accents */
  --pink:   #ff5fa2;
  --violet: #9b7bff;
  --indigo: #6d8bff;
  --amber:  #ffb74d;

  --radius:    20px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --font: "Heebo", "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4 { line-height: 1.16; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--glow); color: #04130e; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; position: relative; z-index: 2; }
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Global animated backdrop ===== */
#bg-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg-glows { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-glows .g {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  animation: drift 22s ease-in-out infinite;
}
.bg-glows .g1 { width: 46vw; height: 46vw; top: -12%; inset-inline-end: -8%; background: radial-gradient(circle, rgba(31,227,168,.5), transparent 65%); }
.bg-glows .g2 { width: 40vw; height: 40vw; top: 40%; inset-inline-start: -12%; background: radial-gradient(circle, rgba(25,200,224,.4), transparent 65%); animation-delay: -7s; }
.bg-glows .g3 { width: 38vw; height: 38vw; bottom: -14%; inset-inline-end: 18%; background: radial-gradient(circle, rgba(155,123,255,.28), transparent 65%); animation-delay: -13s; }
@keyframes drift { 0%,100%{transform:translate(0,0) scale(1);} 33%{transform:translate(3%,5%) scale(1.08);} 66%{transform:translate(-3%,-3%) scale(.95);} }

.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px; position: relative;
  font-family: var(--font); font-weight: 700; font-size: 1.02rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .28s ease, background .25s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand-grad); color: #04130e; box-shadow: 0 0 0 1px rgba(31,227,168,.4), 0 10px 30px -8px var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(31,227,168,.6), 0 16px 42px -8px var(--glow); }
.btn-ghost { background: var(--panel); color: var(--ink); border-color: var(--border-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--panel-2); transform: translateY(-2px); border-color: var(--brand); color: var(--brand); }
.btn-light { background: #f4fffb; color: #06231a; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); }
.btn-outline { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

/* ===== Navbar ===== */
.nav { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100; padding: 16px 0; transition: padding .3s, background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8,13,16,.72); backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--border); padding: 10px 0; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.45rem; color: var(--ink); }
.brand .mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; filter: drop-shadow(0 0 9px rgba(31,227,168,.3)); }
.brand .mark img { width: 38px; height: 38px; object-fit: contain; display: block; }
.brand .mark svg { width: 22px; height: 22px; }
.brand b span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-weight: 600; font-size: .98rem; color: var(--ink-soft); padding: 8px 14px; border-radius: 10px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--brand); background: var(--glow-soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: 12px; background: var(--panel); cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.lang-toggle { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--panel); color: var(--ink-soft); font-family: var(--font); font-weight: 700; font-size: .92rem; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.lang-toggle:hover { color: var(--brand); border-color: var(--brand); background: var(--glow-soft); }
.lang-toggle .lt-globe { width: 17px; height: 17px; display: grid; place-items: center; }
.lang-toggle .lt-globe svg { width: 17px; height: 17px; }
.lang-toggle b { font-weight: 800; }
.burger span::before, .burger span::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: var(--ink); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* ===== Hero ===== */
.hero { position: relative; padding: 176px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .9rem; color: var(--brand); background: var(--glow-soft); border: 1px solid rgba(31,227,168,.25); padding: 7px 15px; border-radius: 999px; margin-bottom: 24px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px 2px var(--glow); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.35;} }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); font-weight: 900; margin-bottom: 20px; letter-spacing: -.03em; }
.hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--ink-soft); margin-bottom: 12px; font-weight: 600; }
.hero .sub { font-size: 1.06rem; color: var(--muted); margin-bottom: 34px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 36px; margin-top: 46px; flex-wrap: wrap; }
.hero-trust .t b { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1.1; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-trust .t span { font-size: .92rem; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; height: 480px; perspective: 1200px; }
.glass {
  position: absolute; border-radius: 22px; backdrop-filter: blur(16px);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--border-2); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.hv-main { inset-block: 28px; inset-inline: 40px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.hv-head { display: flex; align-items: center; justify-content: space-between; }
.hv-head b { font-size: 1.05rem; }
.hv-pill { font-size: .8rem; font-weight: 700; padding: 5px 13px; border-radius: 999px; background: var(--glow-soft); color: var(--brand); border: 1px solid rgba(31,227,168,.3); display: inline-flex; gap: 7px; align-items: center; }
.hv-pill .pd { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px 1px var(--glow); animation: blink 1.6s infinite; }
.hv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; }
.hv-tile { border-radius: 14px; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); border: 1px solid var(--border); display: grid; place-items: center; position: relative; overflow: hidden; }
.hv-tile .lbl { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; font-size: .7rem; font-weight: 700; color: #06120e; padding: 3px 9px; border-radius: 8px; }
.hv-tile .scan { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(31,227,168,.18), transparent); height: 40%; animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0%{transform:translateY(-120%);} 100%{transform:translateY(320%);} }
.hv-tooth { width: 54%; }
.hv-float { inset-block-start: -8px; inset-inline-end: -6px; width: 176px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.hv-float .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--glow-soft); display: grid; place-items: center; color: var(--brand); flex: none; }
.hv-float .ic svg { width: 22px; height: 22px; }
.hv-float small { color: var(--muted); font-size: .76rem; display: block; }
.hv-float b { font-size: 1.12rem; }
.hv-float2 { inset-block-end: -4px; inset-inline-start: -10px; width: 210px; padding: 15px 17px; }
.hv-float2 .row { display: flex; align-items: center; gap: 9px; font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.hv-float2 .row + .row { margin-top: 10px; }
.hv-float2 .chk { width: 21px; height: 21px; border-radius: 6px; background: var(--brand-grad); display: grid; place-items: center; flex: none; }
.hv-float2 .chk svg { width: 12px; height: 12px; color: #04130e; }

/* ===== Marquee ===== */
.marquee { border-block: 1px solid var(--border); background: rgba(255,255,255,.015); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.marquee-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px 1px var(--glow); }
@keyframes marquee { to { transform: translateX(50%); } }

/* ===== Section primitives ===== */
section { position: relative; }
.sec { padding: 100px 0; }
.sec-head { max-width: 720px; margin-bottom: 54px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; box-shadow: 0 0 10px var(--glow); }
.sec-head.center .kicker { justify-content: center; }
.sec-head.center .kicker::before { display: none; }
.sec h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 16px; font-weight: 800; }
.sec-head p { font-size: 1.12rem; color: var(--muted); }

/* Glass card base + spotlight */
.card {
  position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(31,227,168,.13), transparent 42%);
}
.card:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: 0 24px 60px -30px rgba(0,0,0,.8); }
.card:hover::before { opacity: 1; }

/* ===== Vision / audience ===== */
.aud-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.aud-card { padding: 32px 28px; }
.aud-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--glow-soft); border: 1px solid rgba(31,227,168,.25); display: grid; place-items: center; color: var(--brand); margin-bottom: 18px; }
.aud-ic svg { width: 28px; height: 28px; }
.aud-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.aud-card p { color: var(--muted); font-size: .98rem; }
.mission { margin-top: 40px; display: flex; align-items: flex-start; gap: 14px; background: var(--glow-soft); border: 1px solid rgba(31,227,168,.22); border-radius: var(--radius-sm); padding: 22px 26px; font-size: 1.05rem; color: var(--ink-soft); font-weight: 500; }
.mission svg { width: 24px; height: 24px; flex: none; color: var(--brand); margin-top: 3px; }
.mission b { color: var(--brand); }

/* ===== Problem ===== */
.prob-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.prob { padding: 28px 26px; }
.prob .num { font-size: 2.6rem; font-weight: 900; line-height: 1; margin-bottom: 12px; background: linear-gradient(180deg, rgba(31,227,168,.7), rgba(31,227,168,.05)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prob p { color: var(--ink-soft); font-size: 1.01rem; font-weight: 500; }
.prob.accent { background: var(--glow-soft); border-color: rgba(31,227,168,.25); display: flex; align-items: center; }
.prob.accent p { color: var(--brand); font-weight: 700; font-size: 1.08rem; }

/* ===== Solution ===== */
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sol { display: flex; gap: 18px; padding: 28px; }
.sol .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-grad); display: grid; place-items: center; flex: none; box-shadow: 0 0 24px -6px var(--glow); }
.sol .ic svg { width: 26px; height: 26px; color: #04130e; }
.sol .step { font-size: .78rem; font-weight: 800; color: var(--brand); letter-spacing: .08em; }
.sol h3 { font-size: 1.14rem; margin: 3px 0 6px; }
.sol p { color: var(--muted); font-size: .96rem; }

/* ===== Advantages ===== */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; }
.adv { padding: 28px 26px; }
.adv .badge { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #04130e; margin-bottom: 16px; font-size: 1.05rem; }
.adv h3 { font-size: 1.1rem; margin-bottom: 7px; }
.adv p { color: var(--muted); font-size: .94rem; }

/* ===== Security ===== */
.sec-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.sec-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; border: 1px solid var(--border); background: radial-gradient(70% 90% at 50% 40%, rgba(31,227,168,.16), transparent 70%), linear-gradient(160deg, #08110e, #0a1518); display: grid; place-items: center; }
.sec-visual .lock { width: 116px; height: 116px; border-radius: 28px; background: rgba(31,227,168,.1); backdrop-filter: blur(8px); display: grid; place-items: center; border: 1px solid rgba(31,227,168,.35); box-shadow: 0 0 50px -8px var(--glow); z-index: 2; }
.sec-visual .lock svg { width: 56px; height: 56px; color: var(--brand); }
.sec-visual .ring { position: absolute; border: 1px solid rgba(31,227,168,.18); border-radius: 50%; }
.sec-visual .r1 { width: 200px; height: 200px; animation: spin 18s linear infinite; }
.sec-visual .r2 { width: 300px; height: 300px; border-style: dashed; animation: spin 30s linear infinite reverse; }
.sec-visual .r3 { width: 400px; height: 400px; }
@keyframes spin { to { transform: rotate(360deg); } }
.sec-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sec-list li { display: flex; align-items: flex-start; gap: 14px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; transition: transform .2s, border-color .2s; }
.sec-list li:hover { transform: translateX(-5px); border-color: rgba(31,227,168,.35); }
.sec-list .chk { width: 30px; height: 30px; border-radius: 9px; background: var(--glow-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.sec-list .chk svg { width: 17px; height: 17px; }
.sec-list b { display: block; font-size: 1.04rem; color: var(--ink); }
.sec-list span { color: var(--muted); font-size: .93rem; }

/* ===== Trends ===== */
.trend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 18px; }
.trend { padding: 28px; }
.trend .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--glow-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.trend .ic svg { width: 24px; height: 24px; }
.trend p { font-weight: 600; color: var(--ink-soft); font-size: 1.02rem; }

/* ===== Business model ===== */
.biz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 16px; }
.biz { padding: 28px 24px; }
.biz .tag { font-weight: 800; color: var(--brand); font-size: 1.12rem; margin-bottom: 6px; }
.biz p { color: var(--muted); font-size: .92rem; }

/* ===== Roadmap ===== */
.road { position: relative; max-width: 900px; margin-inline: auto; }
.road::before { content: ""; position: absolute; inset-inline-start: 27px; inset-block: 14px; width: 2px; background: var(--border-2); }
.road .progress { position: absolute; inset-inline-start: 27px; inset-block-start: 14px; width: 2px; height: 0; background: var(--brand-grad); box-shadow: 0 0 12px var(--glow); transition: height 1.4s ease; }
.step-row { display: flex; align-items: flex-start; gap: 22px; padding: 13px 0; position: relative; }
.step-row .node { width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--bg-3); border: 1px solid var(--border-2); display: grid; place-items: center; font-weight: 800; color: var(--brand); z-index: 1; font-size: 1.1rem; transition: background .3s, box-shadow .3s, color .3s; }
.step-row.active .node { background: var(--brand-grad); color: #04130e; border-color: transparent; box-shadow: 0 0 26px -4px var(--glow); }
.step-body { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 22px; flex: 1; }
.step-body .phase { font-size: .82rem; font-weight: 800; color: var(--brand); letter-spacing: .04em; }
.step-body p { color: var(--ink-soft); font-weight: 600; margin-top: 2px; }
.step-body .live { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; color: var(--brand); background: var(--glow-soft); padding: 4px 11px; border-radius: 999px; margin-top: 8px; }
.step-body .live .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(31,227,168,.6);} 70%{box-shadow:0 0 0 8px rgba(31,227,168,0);} 100%{box-shadow:0 0 0 0 rgba(31,227,168,0);} }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; }
.member { padding: 26px; text-align: center; }
.member .avatar { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; color: #04130e; background: var(--brand-grad); box-shadow: 0 0 26px -6px var(--glow); }
.member h3 { font-size: 1.12rem; margin-bottom: 4px; }
.member p { color: var(--muted); font-size: .92rem; }

/* ===== CTA ===== */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(31,227,168,.3); background: radial-gradient(80% 130% at 50% 0%, rgba(31,227,168,.18), transparent 60%), linear-gradient(160deg, #0a1614, #0a1118); padding: 70px 48px; text-align: center; }
.cta-band::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--brand-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .35; pointer-events: none; }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: var(--ink-soft); font-size: 1.14rem; max-width: 620px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 60px 0 30px; background: var(--bg-2); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer p { color: var(--muted); font-size: .95rem; max-width: 320px; }
.footer h4 { font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted-2); font-size: .88rem; }
.footer-bottom .app-link { color: var(--brand); font-weight: 700; }

/* ===== Interactive media (real images) ===== */
.hero-visual { position: relative; height: auto; min-height: 0; display: grid; place-items: center; }
.media-stage, .media-3d { position: relative; width: 100%; perspective: 1100px; }
.media-tilt { position: relative; z-index: 1; transform-style: preserve-3d; transition: transform .18s ease-out; will-change: transform; }
.hero-img, .sol-img, .shield-img {
  width: 100%; height: auto; display: block; border-radius: 18px;
  -webkit-mask-image: radial-gradient(125% 125% at 50% 46%, #000 60%, transparent 97%);
  mask-image: radial-gradient(125% 125% at 50% 46%, #000 60%, transparent 97%);
}
.media-glow {
  position: absolute; inset: 2% 4%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(31,227,168,.28), transparent 62%);
  filter: blur(38px); animation: glowpulse 4.5s ease-in-out infinite; pointer-events: none;
}
.media-glow.big { inset: -6% -2%; background: radial-gradient(circle at 50% 48%, rgba(31,227,168,.34), rgba(25,200,224,.12) 45%, transparent 68%); }
@keyframes glowpulse { 0%,100%{opacity:.55; transform:scale(1);} 50%{opacity:1; transform:scale(1.07);} }
.float-y { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-13px);} }
.media-hint { display: block; text-align: center; margin-top: 14px; font-size: .82rem; color: var(--muted-2); letter-spacing: .02em; }

/* New hero composition: headline on top, big cutout, animated captions */
.hero { padding: 120px 0 64px; }
.hero .wrap.hero-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-top { text-align: center; max-width: 860px; }
.hero-top .eyebrow { margin-bottom: 20px; }
.hero-top .lead { font-size: clamp(1.05rem, 1.6vw, 1.26rem); color: var(--ink-soft); font-weight: 600; max-width: 700px; margin: 0 auto 14px; }
.hero-viewer { font-size: clamp(1rem, 1.45vw, 1.16rem); color: var(--muted); font-weight: 600; max-width: 660px; margin: 0 auto 26px; }
.hero-viewer b { color: var(--brand); font-weight: 800; }
.hero-top .hero-actions { justify-content: center; }
.hero .hero-trust { justify-content: center; margin-top: 6px; gap: 40px; }
/* Hero diagram: laptop + scroll-drawn glowing connector lines */
.hero-diagram { position: relative; width: 100%; max-width: 1080px; aspect-ratio: 1000 / 560; margin-top: -6px; }
.hd-laptop { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 56%; height: auto; z-index: 2; filter: drop-shadow(0 26px 50px rgba(0,0,0,.6)); animation: floatyc 7s ease-in-out infinite; }
@keyframes floatyc { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(-50%, calc(-50% - 12px)); } }
.hd-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.hd-line { stroke: url(#hdGrad); stroke-width: 1.7; stroke-linecap: round; fill: none; filter: drop-shadow(0 0 3px rgba(31,227,168,.9)); }
.hd-dot { fill: #2bffbb; filter: drop-shadow(0 0 4px rgba(31,227,168,1)); }
.hd-dot.end { opacity: 0; }
.hd-callouts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hd-callout { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%,-50%); width: clamp(140px, 15.5vw, 196px); opacity: 0; }
.hd-card { background: rgba(8,20,23,.72); border: 1px solid rgba(31,227,168,.34); border-radius: 18px; padding: 15px 17px; backdrop-filter: blur(9px); box-shadow: 0 0 32px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.06); }
.hd-card .hd-h { display: flex; align-items: center; gap: 12px; }
.hd-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--glow-soft); color: var(--brand); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px rgba(31,227,168,.22); }
.hd-ic svg { width: 21px; height: 21px; }
.hd-card .t { font-weight: 800; font-size: clamp(12px, 1.2vw, 15px); color: #eafdf6; line-height: 1.25; }
.hd-card .s { font-size: clamp(9.5px, .98vw, 12px); color: var(--muted); margin-top: 1px; }
.hd-card .ttl { letter-spacing: .04em; margin-bottom: 8px; }
.hd-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.hd-card li { display: flex; align-items: center; gap: 8px; font-size: clamp(9px, .98vw, 11.5px); font-weight: 600; color: var(--ink-soft); }
.hd-card li::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--brand); box-shadow: 0 0 6px var(--glow); flex: none; }
.hd-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.hd-hint .arrow { display: inline-block; width: 16px; height: 16px; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(4px);} }

@media (max-width: 900px) {
  .hero-diagram { aspect-ratio: auto; display: flex; flex-direction: column; gap: 16px; max-width: 560px; margin-top: 0; }
  .hd-laptop { position: static; transform: none !important; width: 100%; animation: none !important; }
  .hd-lines { display: none; }
  .hd-callouts { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hd-callout { position: static; transform: none !important; opacity: 1 !important; width: auto; }
  .hd-card { backdrop-filter: none; }
  .hd-hint { display: none; }
}
@media (max-width: 420px) {
  .hd-callouts { grid-template-columns: 1fr; }
}

/* Solution two-column layout */
.sol-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: center; }
.sol-visual { position: relative; }
.sol-content .sol-grid { grid-template-columns: 1fr; gap: 14px; }
.sol-content .sec-head { margin-bottom: 26px; }

/* Security visual: let the image float free (drop the old framed panel) */
.sec-visual:has(.media-3d) { background: none; border: none; min-height: 0; box-shadow: none; }

@media (max-width: 980px) {
  .sol-layout { grid-template-columns: 1fr; gap: 30px; }
  .sol-visual { order: 2; max-width: 480px; margin-inline: auto; }
  .sol-content { order: 1; }
}

/* ===== Built for clinics ===== */
.clinic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.clinic-card { padding: 32px 30px; }
.cl-num { display: block; font-size: 3.2rem; font-weight: 900; line-height: 1; margin-bottom: 8px; -webkit-text-stroke: 1.5px rgba(31,227,168,.30); color: transparent; background: linear-gradient(180deg, rgba(31,227,168,.16), transparent); -webkit-background-clip: text; background-clip: text; }
.clinic-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.clinic-card p { color: var(--muted); font-size: 1rem; }

/* ===== Preview / pricing ===== */
.preview-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 50px; align-items: center; }
.price-card { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06); }
.price-card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: var(--brand-grad); }
.price-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .78rem; letter-spacing: .08em; color: var(--brand); background: var(--glow-soft); border: 1px solid rgba(31,227,168,.3); padding: 6px 13px; border-radius: 999px; }
.price-badge .pd { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px 1px var(--glow); }
.price { display: flex; align-items: flex-start; justify-content: center; gap: 4px; margin: 24px 0 6px; }
.price .amt { font-size: 5rem; font-weight: 900; line-height: .9; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price .cur { font-size: 1.9rem; font-weight: 800; color: var(--brand); margin-top: 8px; }
.price-sub { text-align: center; color: var(--muted); font-size: .95rem; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 26px 0; padding-top: 24px; border-top: 1px solid var(--border); }
.price-list li { display: flex; align-items: center; gap: 11px; font-weight: 600; color: var(--ink-soft); font-size: 1.02rem; }
.price-list .pc { width: 22px; height: 22px; border-radius: 50%; background: var(--glow-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.price-list .pc svg { width: 13px; height: 13px; }
.price-cta { width: 100%; justify-content: center; }
.preview-copy .eyebrow { margin-bottom: 18px; }
.preview-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 16px; line-height: 1.14; }
.preview-copy > p { color: var(--muted); font-size: 1.12rem; margin-bottom: 28px; }
.preview-checks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.preview-checks li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; color: var(--ink-soft); }
.preview-checks .chk { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-grad); color: #04130e; display: grid; place-items: center; flex: none; box-shadow: 0 0 16px -4px var(--glow); }
.preview-checks .chk svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .clinic-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; gap: 32px; }
  .preview-copy { order: 1; }
  .price-card { order: 2; max-width: 460px; margin-inline: auto; width: 100%; }
}

/* ===== Mobile capabilities (replaces scroll-scrub on small screens) ===== */
.caps-mobile { display: none; }
.caps-shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-2); box-shadow: 0 24px 60px -30px rgba(0,0,0,.8); margin-bottom: 26px; position: relative; }
.caps-shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 60px -10px rgba(31,227,168,.25); pointer-events: none; }
.caps-shot img { width: 100%; height: auto; display: block; }
.caps-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.caps-item { display: flex; align-items: center; gap: 13px; padding: 16px 16px; }
.caps-item .ci-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--glow-soft); color: var(--brand); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px rgba(31,227,168,.22); }
.caps-item .ci-ic svg { width: 22px; height: 22px; }
.caps-item b { display: block; font-size: 1.02rem; color: var(--ink); line-height: 1.25; }
.caps-item span { font-size: .9rem; color: var(--muted); }

@media (max-width: 760px) {
  .caps-mobile { display: block; }
}
@media (max-width: 460px) {
  .caps-list { grid-template-columns: 1fr; }
}

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.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} .reveal.d5{transition-delay:.4s}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .sec-grid, .sol-grid { grid-template-columns: 1fr; }
  .aud-grid, .prob-grid { grid-template-columns: 1fr 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; inset-block-start: 64px; inset-inline: 14px; background: rgba(10,16,20,.96); backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 18px; padding: 12px; }
  .nav-links.open a { padding: 12px 14px; }
  .burger { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .nav .wrap { gap: 10px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-primary { padding: 10px 16px; font-size: .92rem; }
  .cap { display: none; }
  .hero { padding-top: 116px; }
  .aud-grid, .prob-grid { grid-template-columns: 1fr; }
  .sec { padding: 70px 0; }
  .wrap { padding-inline: 20px; }
  .cta-band { padding: 48px 24px; }
  .footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .brand { font-size: 1.2rem; }
  .brand .mark { width: 34px; height: 34px; }
  .brand .mark img { width: 34px; height: 34px; }
  .nav-cta .btn-primary { padding: 9px 14px; }
  .hero h1, .hero-top h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-top .lead { font-size: 1.02rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .hero-trust { gap: 22px; }
  .sec h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-glows .g, .hv-tile .scan, .sec-visual .ring, .eyebrow .dot, .hv-pill .pd,
  .float-y, .media-glow { animation: none !important; }
  .cap { animation: none !important; opacity: 1; transform: translate(-50%,-50%); }
  .hd-laptop { animation: none !important; }
}
