/* ============================================================
   APNO — Components, mockups & sections
   ============================================================ */

/* ----------------------------- Nav -------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 25px; letter-spacing: -0.035em; color: var(--ink); line-height: 1; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(145deg, var(--blue) 0%, #1648B8 100%);
  display: grid; place-items: center; box-shadow: var(--shadow-blue);
  position: relative; overflow: hidden;
}
.brand-mark::after { content:""; position:absolute; inset:0; background:linear-gradient(160deg,rgba(255,255,255,.45),transparent 50%); }
.brand-mark svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; font-size: 14.5px; font-weight: 480; color: var(--slate); border-radius: 9px; transition: color .2s, background .2s; }
.nav-link:hover { color: var(--ink); background: rgba(10,15,22,.04); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
/* nav CTA: smaller, cleaner rounded-rect (not a big pill) */
.nav-cta .btn { padding: 9px 18px; font-size: 14px; font-weight: 540; border-radius: 11px; }
.nav-cta .btn svg { width: 14px; height: 14px; }
.nav-signin { font-size: 14.5px; font-weight: 480; color: var(--slate); padding: 8px 6px; transition: color .2s; }
.nav-signin:hover { color: var(--ink); }
@media (max-width: 900px) { .nav-links { display: none; } .nav-signin { display: none; } }

/* ----------------------------- Hero ------------------------------- */
.hero { padding: 120px 0 72px; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(37,99,232,.10), transparent 60%),
    radial-gradient(50% 45% at 12% 30%, rgba(21,176,201,.07), transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.hero-eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { max-width: 480px; margin-bottom: 34px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; margin-left: -9px;
  background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--slate);
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.stars { color: #F5A623; letter-spacing: 1px; font-size: 13px; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero .lede { max-width: 560px; }
}

/* journey strip */
.journey-strip { display: flex; gap: 0; margin-top: 44px; border-top: 1px solid var(--line); padding-top: 22px; }
.journey-step { flex: 1; padding-right: 18px; position: relative; }
.journey-step + .journey-step { padding-left: 18px; border-left: 1px solid var(--line); }
.journey-step .jnum { font-family: var(--mono); font-size: 12px; color: var(--blue); margin-bottom: 7px; }
.journey-step .jlabel { font-size: 13.5px; font-weight: 520; color: var(--ink); letter-spacing: -.01em; }
.journey-step .jsub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 620px){ .journey-strip{ flex-wrap: wrap; gap: 14px;} .journey-step{ flex: 0 0 45%; border-left:none !important; padding-left:0 !important;} }

/* ----------------------------- Phone mockup ----------------------- */
.phone {
  width: 320px; margin: 0 auto; position: relative;
  border-radius: 42px; padding: 11px;
  background: linear-gradient(160deg, #161C25, #0A0E14);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone-screen {
  border-radius: 33px; background: #F7F9FC; overflow: hidden; position: relative;
  height: 642px; display: flex; flex-direction: column;
}
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #0A0E14; border-radius: 14px; z-index: 6; }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 15px 24px 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.phone-status .mono { font-size: 13px; }
.app-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 22px 14px; }
.app-head .brand { font-size: 16px; }
.app-head .brand-mark { width: 22px; height: 22px; border-radius: 6px; }
.app-head .brand-mark svg { width: 12px; height: 12px; }
.app-bell { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--slate); position: relative; }
.app-bell::after { content:""; position:absolute; top:8px; right:9px; width:7px; height:7px; border-radius:50%; background:var(--red); border:2px solid #fff; }

.app-body { flex: 1; padding: 4px 22px 22px; overflow: hidden; }

/* token card */
.token-card {
  background: linear-gradient(155deg, #2563E8 0%, #1A45A6 100%);
  border-radius: 22px; padding: 22px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-blue);
}
.token-card::after { content:""; position:absolute; right:-30px; top:-30px; width:140px; height:140px; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.token-card .tc-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.token-card .tc-label { font-size: 12px; opacity: .8; font-weight: 500; letter-spacing: .02em; }
.token-card .tc-num { font-family: var(--mono); font-size: 52px; font-weight: 500; letter-spacing: -.02em; line-height: 1; margin-top: 6px; }
.token-card .tc-hosp { font-size: 13px; opacity: .9; margin-top: 12px; display:flex; align-items:center; gap:7px; }
.token-card .tc-qr { width: 52px; height: 52px; border-radius: 12px; background: #fff; padding: 6px; }
.token-card .tc-qr svg { width: 100%; height: 100%; }

/* queue position progress */
.qpos { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.qpos-top { display: flex; justify-content: space-between; align-items: baseline; }
.qpos-top .lab { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.qpos-top .val { font-family: var(--mono); font-size: 13px; color: var(--blue); font-weight: 600; }
.qpos-rank { font-size: 30px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); margin: 6px 0 14px; }
.qpos-rank b { color: var(--blue); }
.qdots { display: flex; gap: 6px; align-items: center; }
.qdot { height: 8px; border-radius: 4px; flex: 1; background: var(--line); transition: background .5s; }
.qdot.done { background: var(--blue); }
.qdot.you { background: var(--green); flex: 1.6; box-shadow: 0 0 0 3px var(--green-tint); }
.qmeta { display: flex; justify-content: space-between; margin-top: 14px; }
.qmeta .qm { }
.qmeta .qm .k { font-size: 11px; color: var(--muted); }
.qmeta .qm .v { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.qmeta .qm .v.green { color: var(--green); }

/* notification toast */
.toast {
  position: absolute; left: 16px; right: 16px; top: 64px; z-index: 8;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px;
  display: flex; gap: 11px; align-items: center; box-shadow: var(--shadow-lg);
  transform: translateY(-130%); transition: transform .7s var(--ease-out);
}
.toast.show { transform: translateY(0); }
.toast .ti { width: 36px; height: 36px; border-radius: 10px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; flex: none; }
.toast .tt { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.toast .ts { font-size: 12px; color: var(--muted); margin-top: 1px; }

.app-tabbar { display: flex; justify-content: space-around; padding: 12px 22px 18px; border-top: 1px solid var(--line); background: #fff; }
.app-tabbar .tab { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted-2); font-size: 10px; font-weight: 500; }
.app-tabbar .tab.active { color: var(--blue); }
.app-tabbar .tab svg { width: 20px; height: 20px; }

/* floating cards around phone */
.hero-visual { position: relative; }
.float-card {
  position: absolute; z-index: 5; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 13px 15px; box-shadow: var(--shadow-lg);
}
.float-card .fc-row { display: flex; align-items: center; gap: 10px; }
.float-card .fc-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .fc-k { font-size: 11px; color: var(--muted); }
.float-card .fc-v { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.float-eta { top: 96px; left: -42px; }
.float-saved { bottom: 120px; right: -36px; }
@media (max-width: 1180px){ .float-eta{ left: -14px;} .float-saved{ right:-10px;} }
@media (max-width: 460px){ .phone{ width: 300px;} .float-card{ display:none;} }

/* ----------------------------- Generic dashboard panel ------------ */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.panel-bar .dots { display: flex; gap: 7px; }
.panel-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
.panel-bar .title { font-size: 13px; font-weight: 540; color: var(--slate); margin-left: 6px; }
.panel-bar .title .mono { color: var(--muted); font-weight: 400; }
.panel-bar .live { margin-left: auto; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--green); font-family: var(--mono); }
.live-pill::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(22,163,74,.4);} 50%{ box-shadow: 0 0 0 6px rgba(22,163,74,0);} }

/* ----------------------------- Queue board (centerpiece) --------- */
.qboard { display: grid; grid-template-columns: 1.35fr 1fr; }
@media (max-width: 760px){ .qboard{ grid-template-columns: 1fr; } }
.qboard-main { padding: 24px; border-right: 1px solid var(--line); }
@media (max-width: 760px){ .qboard-main{ border-right:none; border-bottom:1px solid var(--line);} }
.qboard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.qboard-head .dept { font-size: 13px; color: var(--muted); }
.qboard-head .doc { font-size: 16px; font-weight: 580; color: var(--ink); letter-spacing: -.02em; }

.now-serving {
  background: var(--ink); border-radius: 18px; padding: 22px; color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
}
.now-serving .ns-bg { position:absolute; inset:0; background: radial-gradient(60% 120% at 90% 0%, rgba(37,99,232,.4), transparent 60%); }
.now-serving .ns-l { position: relative; z-index: 1; }
.now-serving .ns-lab { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; font-family: var(--mono); }
.now-serving .ns-num { font-family: var(--mono); font-size: 46px; font-weight: 500; letter-spacing: -.02em; line-height: 1; margin-top: 6px; }
.now-serving .ns-room { font-size: 13px; opacity: .8; margin-top: 8px; }
.now-serving .ns-r { position: relative; z-index: 1; text-align: right; }
.ring { width: 86px; height: 86px; }

.queue-list { margin-top: 8px; }
.queue-list .ql-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 14px 4px 8px; font-family: var(--mono); }
.qrow {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 12px 4px; border-top: 1px solid var(--line-2); transition: opacity .5s, transform .5s;
}
.qrow .qtok { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--ink); width: 56px; }
.qrow .qpt { font-size: 13.5px; color: var(--slate); }
.qrow .qpt small { display: block; color: var(--muted-2); font-size: 11.5px; }
.qrow .qeta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.qrow.next .qtok { color: var(--blue); }
.qrow.next { background: var(--blue-tint-2); border-radius: 10px; }

.qboard-side { padding: 24px; background: var(--surface); }
.qstat { margin-bottom: 18px; }
.qstat:last-child { margin-bottom: 0; }
.qstat .qs-k { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.qstat .qs-v { font-size: 30px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); margin-top: 4px; }
.qstat .qs-v .mono { font-family: var(--mono); }
.qstat .qs-v small { font-size: 15px; color: var(--muted); font-weight: 500; }
.qstat .qs-trend { font-size: 12px; font-weight: 600; }
.qstat .down { color: var(--green); }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-top: 10px; }
.spark i { flex: 1; background: var(--blue-300); border-radius: 3px 3px 0 0; opacity: .55; transition: height .6s var(--ease-out); }
.spark i.hot { background: var(--blue); opacity: 1; }

/* ----------------------------- Stat / metric grid ---------------- */
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 760px){ .metric-grid{ grid-template-columns: 1fr; } }
.metric .mnum { font-size: clamp(46px, 5.5vw, 76px); font-weight: 580; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.metric .mnum .unit { color: var(--blue); }
.metric .mlab { font-size: 15px; color: var(--slate); margin-top: 12px; max-width: 240px; }
.metric .mrule { width: 40px; height: 3px; background: var(--blue); border-radius: 2px; margin-bottom: 22px; }

/* ----------------------------- Feature split --------------------- */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
/* text always starts on the left (consistent left-to-right reading on every section) */
.split2.rev .split2-text { order: 0; }
.split2-text { order: 0; }
.split2-visual { order: 1; }
@media (max-width: 920px){ .split2{ grid-template-columns: 1fr; gap: 40px; } .split2-text{ order: 0; } .split2-visual{ order: 1; } }
.feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.fitem { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.fitem .fi-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.fitem .fi-ic svg { width: 19px; height: 19px; }
.fitem .fi-t { font-size: 16px; font-weight: 560; color: var(--ink); letter-spacing: -.01em; }
.fitem .fi-d { font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* ----------------------------- Section header -------------------- */
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head h2 { margin-bottom: 18px; }

/* ----------------------------- Benefit cards --------------------- */
.bgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 880px){ .bgrid{ grid-template-columns: 1fr; } }
.bcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s; }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bcard .bic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.bcard .bic svg { width: 22px; height: 22px; }
.bcard h4 { font-size: 17px; font-weight: 560; letter-spacing: -.02em; margin-bottom: 8px; }
.bcard p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ----------------------------- Doctor dashboard ------------------ */
.doc-dash { padding: 22px; }
.doc-dash .dd-top { display: flex; gap: 16px; margin-bottom: 18px; }
.dd-kpi { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.dd-kpi .k { font-size: 11.5px; color: var(--muted); }
.dd-kpi .v { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.dd-kpi .v .mono { font-family: var(--mono); }
.dd-sched { display: flex; flex-direction: column; }
.dd-slot { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.dd-slot .time { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.dd-slot .pt { font-size: 14px; font-weight: 520; color: var(--ink); }
.dd-slot .pt small { display:block; color: var(--muted-2); font-size: 11.5px; font-weight: 400; }
.dd-slot.now { background: var(--blue-tint-2); margin: 0 -10px; padding: 12px 10px; border-radius: 12px; border-top-color: transparent; }
.dd-bar { height: 6px; border-radius: 3px; background: var(--blue); width: 60%; }

/* ----------------------------- Analytics chart ------------------- */
.an-dash { padding: 24px; }
.an-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 22px; }
@media (max-width:560px){ .an-kpis{ grid-template-columns: repeat(2,1fr);} }
.an-kpi .k { font-size: 11.5px; color: var(--muted); }
.an-kpi .v { font-size: 26px; font-weight: 600; letter-spacing: -.03em; margin-top: 3px; }
.an-kpi .t { font-size: 11.5px; font-weight: 600; margin-top: 2px; }
.an-kpi .t.up { color: var(--green); }
.an-kpi .t.down { color: var(--green); }
.chart { height: 180px; position: relative; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .area { fill: url(#agrad); }
.chart .line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; }
.chart-x { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 8px; }

/* ----------------------------- Security -------------------------- */
.sec-badges { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 14px; }
@media (max-width: 720px){ .sec-badges{ grid-template-columns: repeat(2,1fr);} }
.sbadge { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; text-align: center; transition: transform .4s var(--ease-out), box-shadow .4s; }
.sbadge:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sbadge .si { width: 46px; height: 46px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; margin: 0 auto 14px; color: var(--blue); }
.sbadge .st { font-size: 14px; font-weight: 580; letter-spacing: -.01em; }
.sbadge .sd { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ----------------------------- Testimonials ---------------------- */
.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 880px){ .tgrid{ grid-template-columns: 1fr; } }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.tcard.feat { background: var(--ink); color: #fff; border-color: var(--ink); }
.tcard .quote { font-size: 17px; line-height: 1.5; letter-spacing: -.015em; color: var(--ink); font-weight: 460; flex: 1; }
.tcard.feat .quote { color: #fff; font-size: 19px; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.tcard .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--slate); flex: none; }
.tcard.feat .who .av { background: rgba(255,255,255,.12); color: #fff; }
.tcard .who .nm { font-size: 14px; font-weight: 580; }
.tcard .who .rl { font-size: 12.5px; color: var(--muted); }
.tcard.feat .who .rl { color: rgba(255,255,255,.6); }

/* ----------------------------- FAQ ------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; }
.faq-q .qt { font-size: 18px; font-weight: 520; letter-spacing: -.02em; color: var(--ink); }
.faq-q .qi { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--slate); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq-item.open .qi { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.faq-a-inner { padding: 0 4px 26px; font-size: 15.5px; line-height: 1.6; color: var(--slate); max-width: 680px; }

/* ----------------------------- Final CTA ------------------------- */
.cta {
  position: relative; overflow: hidden; border-radius: 34px; padding: 92px 56px; text-align: center;
  background: linear-gradient(155deg, #2A6BE0 0%, #1A4BBE 48%, #103A9E 100%);
  color: #fff;
}
.cta-bg { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(55% 75% at 50% 0%, rgba(255,255,255,.22), transparent 62%),
              radial-gradient(45% 60% at 88% 105%, rgba(21,200,224,.38), transparent 60%),
              radial-gradient(40% 55% at 8% 100%, rgba(99,102,241,.30), transparent 60%); }
.cta-grid { position:absolute; inset:0; opacity:.18;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 75%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 20px; }
.cta p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 520px; margin: 0 auto 34px; }
.cta .hero-cta { justify-content: center; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,255,255,.18); }
.btn-glass { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.btn-glass:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* ----------------------------- Footer ---------------------------- */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
@media (max-width: 820px){ .footer-top{ grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 280px; line-height: 1.6; }
.fcol h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); font-family: var(--mono); margin-bottom: 16px; font-weight: 500; }
.fcol a { display: block; font-size: 14.5px; color: var(--slate); padding: 6px 0; transition: color .2s; }
.fcol a:hover { color: var(--blue); }
.footer-bot { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-bot .small { color: var(--muted-2); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--slate); transition: all .2s; }
.footer-social a:hover { color: var(--blue); border-color: var(--blue); }
@media (max-width:560px){ .footer-bot{ flex-direction: column; gap: 16px; } }

/* logos bar */
.logos { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; opacity: .62; }
.logos .lg { font-size: 19px; font-weight: 620; letter-spacing: -.03em; color: var(--slate); display: flex; align-items: center; gap: 8px; }
.logos .lg svg { width: 22px; height: 22px; }
.logos-label { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 30px; font-family: var(--mono); letter-spacing: .04em; }
