/* ===== WatuFlex home page ===== */
/* -- hero: a solution slider with live-looking app screens -- */
.hhero { background:
   radial-gradient(900px 480px at 88% 10%, rgba(4,159,156,.22), transparent 60%),
   radial-gradient(700px 420px at 5% 110%, rgba(41,92,170,.35), transparent 60%),
   linear-gradient(180deg, #0D1A33 0%, #102445 100%);
  color: #fff; padding: 56px 0 0; overflow: hidden; }
.hslides { position: relative; min-height: 470px; }
.hslide { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding-bottom: 40px; }
.hslide[hidden] { display: none; }
.hslide.on .hs-copy > *, .hslide.on .win { animation: hsIn .6s cubic-bezier(.2,.7,.2,1) both; }
.hslide.on .hs-copy > :nth-child(2) { animation-delay: .05s; } .hslide.on .hs-copy > :nth-child(3) { animation-delay: .1s; } .hslide.on .hs-copy > :nth-child(4) { animation-delay: .15s; }
.hslide.on .win { animation-name: winIn; animation-duration: .7s; }
@keyframes hsIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes winIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.hs-tag { margin: 0 0 12px; color: #7fe3e0; font-weight: 600; font-size: 15px; }
.hs-h { margin: 0 0 18px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -1.2px; max-width: 15ch; }
.hs-p { margin: 0 0 28px; color: #c5d1e6; font-size: 18px; line-height: 1.6; max-width: 54ch; }
.hhero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hhero .btn.on-dark { background: #049F9C; border-color: #049F9C; color: #fff; }
/* the app window */
.win { background: #fff; color: #16223a; border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f8; border-bottom: 1px solid #dfe6f1; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd8e6; } .win-bar i:first-child { background: #f08a7e; } .win-bar i:nth-child(2) { background: #f3c66b; } .win-bar i:nth-child(3) { background: #7fd19a; }
.win-bar span { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: #5b6b86; }
.win-body { padding: 18px 20px 16px; font-size: 13.5px; }
.scr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.scr-top b { font-size: 15.5px; } .scr-top span { color: #5b6b86; font-size: 12.5px; }
.pill { padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: 12px !important; }
.pill.ok { background: #e3f6ec; color: #17784a !important; } .pill.off { background: #fff1de; color: #a5600d !important; }
.kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.kpis div { background: #f5f8fc; border: 1px solid #e3e9f2; border-radius: 10px; padding: 10px 12px; }
.kpis small { display: block; color: #5b6b86; font-size: 11.5px; } .kpis b { font-size: 19px; letter-spacing: -.3px; }
.kpis i { font-style: normal; font-size: 11.5px; margin-left: 6px; color: #b4661c; } .kpis i.up { color: #17845a; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; padding: 0 2px 6px; border-bottom: 1px solid #e3e9f2; margin-bottom: 10px; }
.bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #19396E, #2c5aa0); }
.bars span:last-child { background: linear-gradient(180deg, #049F9C, #0bbab6); }
.posts { width: 100%; border-collapse: collapse; }
.posts td, .posts th { padding: 7px 4px; border-bottom: 1px solid #eef2f7; text-align: left; }
.posts th { font-size: 11.5px; color: #5b6b86; font-weight: 600; }
.posts td:last-child, .posts th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.posts td:nth-child(2) { color: #5b6b86; font-size: 12.5px; }
.posts .d { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.d.hrm { background: #19396E; } .d.pos { background: #049F9C; } .d.flt { background: #e8933a; } .d.crm { background: #7a63d6; }
.scr-foot { margin-top: 10px; font-size: 11.5px; color: #5b6b86; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.checks span { background: #e9f7f6; color: #0b6f6c; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.fee { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.fee div { background: #f5f8fc; border: 1px solid #e3e9f2; border-radius: 10px; padding: 10px 12px; } .fee small { display: block; color: #5b6b86; font-size: 11.5px; } .fee b { font-size: 19px; } .fee b.due { color: #b4661c; }
.instal { margin-bottom: 10px; } .instal small { color: #5b6b86; font-size: 12px; } .instal div { display: grid; grid-template-columns: repeat(6,1fr); gap: 5px; margin-top: 6px; }
.instal span { height: 9px; border-radius: 5px; background: #e3e9f2; } .instal span.p { background: #049F9C; }
.till { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.till .items { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; align-content: start; }
.till .items span { background: #eef3fb; border: 1px solid #dbe4f2; border-radius: 9px; padding: 14px 8px; text-align: center; font-weight: 600; font-size: 12.5px; color: #19396E; }
.basket div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #eef2f7; font-size: 12.5px; }
.basket .tot { border-bottom: 0; font-size: 15px; padding-top: 10px; } .basket .tot b { color: #19396E; }
.basket .pay { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border: 0; padding-top: 8px; }
.basket .pay span { text-align: center; border-radius: 9px; padding: 10px 6px; background: #19396E; color: #fff; font-weight: 600; }
.basket .pay span.mm { background: #049F9C; }
/* slide tabs, with a progress line for the auto-advance */
.htabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.htab { position: relative; text-align: left; background: none; border: 0; color: #9fb0cf; padding: 18px 18px 20px 0; cursor: pointer; font: inherit; }
.htab b { display: block; color: #dfe7f5; font-size: 16px; } .htab span { font-size: 13.5px; }
.htab .prog { position: absolute; left: 0; right: 16px; top: -1px; height: 2px; background: transparent; }
.htab.on b { color: #fff; } .htab.on .prog { background: rgba(255,255,255,.18); }
.htab.on .prog::after { content: ''; position: absolute; inset: 0; background: #049F9C; transform-origin: left; animation: prog var(--dur, 7s) linear forwards; }
.hhero.paused .htab.on .prog::after { animation-play-state: paused; }
.hhero.still .htab.on .prog::after { animation: none; transform: none; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.htab:focus-visible { outline: 2px solid #7fe3e0; outline-offset: -2px; }
/* -- app wall -- */
.wall { padding: 70px 0 56px; }
.wall-head { max-width: 760px; margin-bottom: 22px; } .wall-head h2 { font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.6px; line-height: 1.15; margin: 0 0 10px; } .wall-head p { color: var(--muted); font-size: 17px; margin: 0; }
.wtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.wtab { border: 1px solid var(--line); background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 999px; font: 600 14px Inter, Arial, sans-serif; cursor: pointer; }
.wtab.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.awall { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.atile { display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.atile:hover, .atile:focus-visible { border-color: transparent; box-shadow: 0 10px 24px rgba(19,44,85,.12), 0 0 0 1.5px var(--tc); }
.atile[hidden] { display: none; }
.atile b { font-size: 15.5px; margin-top: 8px; } .atile > span:last-child { font-size: 13px; color: var(--muted); line-height: 1.4; }
.ati { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--tc); }
.ati .wi { width: 25px; height: 25px; stroke: #fff; } .ati .wi .a { fill: #fff; fill-opacity: .22; stroke: #fff; } .ati .wi .af { fill: #fff; }
.c-money { --tc: #0b8a87; } .c-sales { --tc: #2f6fd0; } .c-people { --tc: #19396E; } .c-ops { --tc: #c9782a; } .c-school { --tc: #2f9e5b; } .c-members { --tc: #7a55c7; }
.wall-more { margin: 22px 0 0; }
/* -- why -- */
.whyband { background: #f2f6fb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 50px 0; }
.whys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why h3 { font-size: 17px; margin: 12px 0 6px; } .why p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.why-ic .wi { width: 30px; height: 30px; }
/* -- industries carousel -- */
.inds { padding: 66px 0; }
.inds-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.inds-head h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.5px; } .inds-head p { margin: 0; color: var(--muted); }
.car-nav { display: flex; gap: 8px; } .car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.car-btn:hover { border-color: var(--teal); color: var(--teal); } .car-btn:disabled { opacity: .35; cursor: default; }
.indtrack { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: thin; }
.indtrack:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.ind { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; }
.ind-ic { width: 48px; height: 48px; border-radius: 13px; background: #eef3fb; display: flex; align-items: center; justify-content: center; } .ind-ic .wi { width: 26px; height: 26px; }
.ind h3 { margin: 14px 0 6px; font-size: 18px; } .ind p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.ind-apps { display: flex; flex-wrap: wrap; gap: 6px; } .ind-apps a { font-size: 12.5px; font-weight: 600; color: var(--navy); background: #f0f4fa; border-radius: 999px; padding: 5px 10px; text-decoration: none; }
.ind-apps a:hover { background: var(--navy); color: #fff; }
/* -- WatuERP flow -- */
.erpband { background: linear-gradient(180deg, #fff, #f4f8fb); padding: 60px 0; border-top: 1px solid var(--line); }
.erpgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.erpgrid h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.5px; margin: 0 0 12px; } .erpgrid p { color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.erpgrid .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; }
.flow li span { font-weight: 700; color: var(--navy); } .flow li em { font-style: normal; color: var(--muted); font-size: 13.5px; }
.flow li.sink { grid-column: 1 / -1; background: linear-gradient(135deg, #19396E, #132C55); border-color: #132C55; text-align: center; padding: 18px; position: relative; margin-top: 18px; }
.flow li.sink::before { content: ''; position: absolute; left: 50%; top: -20px; height: 18px; border-left: 2px dashed #9ccfcb; }
.flow li.sink span { color: #fff; font-size: 18px; } .flow li.sink em { color: #9fe5e2; }
/* -- paths -- */
.paths { padding: 56px 0 20px; } .paths h2 { margin: 0 0 18px; }
@media (max-width: 960px) {
  .hslide { grid-template-columns: 1fr; gap: 28px; } .hslides { min-height: 0; } .win { transform: none; }
  .htabs { grid-template-columns: repeat(2, 1fr); } .whys { grid-template-columns: 1fr 1fr; } .erpgrid { grid-template-columns: 1fr; }
  .indtrack { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 600px) {
  .hhero { padding-top: 34px; } .hs-p { font-size: 16.5px; } .whys { grid-template-columns: 1fr; } .indtrack { grid-auto-columns: 86%; }
  .till { grid-template-columns: 1fr; } .kpis b { font-size: 16px; } .awall { grid-template-columns: repeat(2, 1fr); }
  .inds-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .hslide.on .hs-copy > *, .hslide.on .win { animation: none; } .indtrack { scroll-behavior: auto; } }
.posts td { vertical-align: middle; }
.grades td:nth-child(2) { color: var(--ink); font-size: 13.5px; text-align: center; } .grades th:nth-child(2) { text-align: center; }
@media (min-width: 961px) { .hslides { min-height: 540px; } .hslide { min-height: 540px; } }
.hslide > * { min-width: 0; }
@media (max-width: 960px) { .hslide { grid-template-columns: minmax(0,1fr); } .hhero { overflow: hidden; } .kpis { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 420px) { .kpis { gap: 6px; } .kpis > div { padding: 8px; } .posts td:nth-child(2) { display: none; } }
