/* ===================== Shalavya public website ===================== */
/* Self-contained styles for app/pages/public/home.php. Colour tokens come from app.css (:root). */
.web { --w-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif; --w-max: 1240px; background: var(--surface); color: var(--ink); font-size: 1rem; }
html:has(.web) { scroll-behavior: smooth; scroll-padding-top: 88px; }
.web h1, .web h2, .web h3, .web h4 { font-family: var(--font-head); color: var(--ink); }
.web a { text-decoration: none; }
.web .site-foot .sf-h { color: #fff; }
.w-wrap { width: 100%; max-width: var(--w-max); margin: 0 auto; padding: 0 24px; }
.w-em { font-family: var(--w-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--brand); position: relative; z-index: 0; white-space: nowrap; }
.w-em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .14em; border-radius: 4px; background: var(--accent); opacity: .85; z-index: -1; }
.w-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.w-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.w-h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin: 14px 0 14px; }
.w-lead { font-size: 1.06rem; color: var(--muted); line-height: 1.7; max-width: 640px; }
.w-head { margin-bottom: 52px; }
.w-head.center { text-align: center; } .w-head.center .w-lead { margin: 0 auto; }
.w-sec { padding: 110px 0; position: relative; }
.w-alt { background: var(--bg); }
.btn-w { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 10px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
.btn-w:hover { transform: translateY(-2px); }
.btn-w-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(242, 107, 29, .8); }
.btn-w-accent:hover { color: #fff; background: var(--accent-600); }
.btn-w-navy { background: var(--navy); color: #fff; }
.btn-w-navy:hover { color: #fff; background: var(--navy-3); }
.btn-w-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-w-line:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-w-light { background: #fff; color: var(--navy); }
.btn-w-light:hover { color: var(--navy); }
.btn-w-sm { height: 42px; padding: 0 18px; font-size: .9rem; border-radius: 8px; }
.btn-w i.bi-whatsapp { color: #25d366; }

/* ---------- Announcement + navigation ---------- */
.w-announce { background: var(--navy); color: rgba(255, 255, 255, .8); font-size: .82rem; }
.w-announce .w-wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; text-align: center; }
.w-announce b { color: #fff; font-weight: 600; }
.w-announce .tag { padding: 2px 8px; border-radius: 4px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.w-announce a { color: #ffb27f; font-weight: 600; }
.w-announce a:hover { color: #fff; }
.w-nav { position: sticky; top: 0; z-index: 1030; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.w-nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(6, 26, 58, .5); }
.w-nav .w-wrap { display: flex; align-items: center; gap: 20px; min-height: 80px; flex-wrap: wrap; }
.w-menu { flex: 1; display: flex; align-items: center; gap: 12px; }
.w-links { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.w-links a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.w-links a:hover { color: var(--ink); background: var(--surface-2); }
.w-actions { display: flex; align-items: center; gap: 10px; }
.w-icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 1.05rem; }
.w-icon-btn:hover { color: var(--ink); border-color: var(--ink-2); }
.w-burger { display: none; margin-left: auto; }

/* ---------- Hero ---------- */
.w-hero { position: relative; overflow: hidden; padding: 70px 0 90px; isolation: isolate; }
.w-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.w-hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 74, 155, .14), transparent 65%); }
.w-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.w-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .82rem; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.w-pill .new { padding: 3px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: .72rem; font-weight: 700; }
.w-pill:hover { color: var(--ink); border-color: var(--brand-100); }
.w-hero h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; margin: 26px 0 22px; }
.w-hero h1 .w-em { font-size: 1.08em; }
.w-hero .w-lead { font-size: 1.14rem; }
.w-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.w-proof { display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); max-width: 560px; }
.w-proof > div { flex: 1; min-width: 120px; padding: 14px 18px; border-left: 1px solid var(--line); }
.w-proof > div:first-child { border-left: 0; }
.w-proof b { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.w-proof span { font-size: .78rem; color: var(--muted); }

/* Hero visual */
.w-visual { position: relative; padding: 30px 10px 40px 30px; }
.w-visual::before { content: ""; position: absolute; right: -10px; top: 0; width: 70%; height: 80%; border-radius: 24px; background: linear-gradient(150deg, var(--brand), var(--navy)); transform: rotate(4deg); }
.w-visual::after { content: ""; position: absolute; left: -6px; bottom: 10px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid var(--accent); opacity: .9; }
.w-app { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 40px 80px -36px rgba(6, 26, 58, .55); overflow: hidden; }
.w-app-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.w-app-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.w-app-bar i:nth-child(1) { background: #ff6159; } .w-app-bar i:nth-child(2) { background: #ffbd2e; } .w-app-bar i:nth-child(3) { background: #28c941; }
.w-app-bar span { margin-left: 12px; flex: 1; height: 22px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-size: .68rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.w-app-body { display: grid; grid-template-columns: 54px 1fr; min-height: 330px; }
.w-app-side { background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; }
.w-app-side img { width: 28px; height: 28px; margin-bottom: 6px; }
.w-app-side i { width: 24px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.w-app-side i.on { background: var(--accent); }
.w-app-main { padding: 18px; display: grid; gap: 12px; background: var(--bg); align-content: start; }
.w-app-title { display: flex; align-items: center; justify-content: space-between; }
.w-app-title b { font-family: var(--font-head); font-size: .95rem; }
.w-app-title span { font-size: .66rem; padding: 3px 8px; border-radius: 999px; background: #dcfce7; color: #15803d; font-weight: 600; }
.w-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.w-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; }
.w-kpi small { display: block; font-size: .64rem; color: var(--muted); }
.w-kpi b { font-family: var(--font-head); font-size: 1.12rem; }
.w-kpi em { display: block; font-style: normal; font-size: .62rem; font-weight: 600; color: #16a34a; }
.w-chart { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 12px; }
.w-chart small { font-size: .66rem; color: var(--muted); }
.w-bars { display: flex; align-items: flex-end; gap: 7px; height: 96px; margin-top: 10px; }
.w-bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--brand-100); transform-origin: bottom; animation: wGrow 1s cubic-bezier(.2, .8, .2, 1) both; }
.w-bars i:nth-child(odd) { animation-delay: .08s; }
.w-bars i.hi { background: linear-gradient(180deg, var(--brand), var(--navy-3)); }
@keyframes wGrow { from { transform: scaleY(0); } }
.w-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 22px 44px -20px rgba(6, 26, 58, .5); animation: wFloat 7s ease-in-out infinite; }
.w-float div { display: flex; flex-direction: column; line-height: 1.25; }
.w-float small { font-size: .68rem; color: var(--muted); }
.w-float b { font-size: .84rem; }
.w-float-ring { left: -18px; top: 52%; }
.w-ring { --p: 94.6; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line-2) 0); }
.w-ring::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); grid-area: 1 / 1; }
.w-ring span { grid-area: 1 / 1; font-size: .62rem; font-weight: 700; }
.w-float-pay { right: -4px; top: 6px; animation-delay: -3s; }
.w-float-pay > i, .w-float-bus > i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; }
.w-float-pay > i { background: #dcfce7; color: #16a34a; }
.w-float-bus { right: 30px; bottom: 6px; animation-delay: -5s; }
.w-float-bus > i { background: var(--brand-50); color: var(--brand); }
@keyframes wFloat { 50% { transform: translateY(-8px); } }

/* ---------- Boards strip ---------- */
.w-boards { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.w-boards .w-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 92px; }
.w-boards p { margin: 0; font-size: .86rem; color: var(--muted); max-width: 260px; line-height: 1.5; }
.w-boards ul { display: flex; flex-wrap: wrap; gap: 12px 40px; list-style: none; margin: 0; padding: 0; }
.w-boards li { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; color: var(--ink-2); opacity: .55; transition: opacity .2s; }
.w-boards li:hover { opacity: 1; }

/* ---------- Replace section ---------- */
.w-replace { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.w-old { display: flex; flex-wrap: wrap; gap: 10px; }
.w-old span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px dashed var(--line); background: var(--surface); color: var(--muted); font-size: .9rem; text-decoration: line-through; text-decoration-color: rgba(220, 38, 38, .6); text-decoration-thickness: 2px; }
.w-old span i { color: #dc2626; text-decoration: none; }
.w-arrow { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.w-arrow::before, .w-arrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.w-new { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 14px; background: var(--navy); color: rgba(255, 255, 255, .75); box-shadow: 0 24px 50px -28px rgba(6, 26, 58, .8); }
.w-new img { height: 44px; width: auto; }
.w-new p { margin: 0; font-size: .9rem; }
.w-new b { color: #fff; }

/* ---------- Bento features ---------- */
.w-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.w-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s; }
.w-tile:hover { border-color: var(--brand-100); box-shadow: 0 26px 50px -30px rgba(6, 26, 58, .45); transform: translateY(-3px); }
.w-tile.span-4 { grid-column: span 4; } .w-tile.span-3 { grid-column: span 3; } .w-tile.span-2 { grid-column: span 2; }
.w-tile.navy { background: linear-gradient(160deg, var(--navy-3), var(--navy)); border-color: transparent; color: rgba(255, 255, 255, .72); }
.w-tile.navy h3 { color: #fff; }
.w-tile-ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-size: 1.2rem; background: var(--brand-50); color: var(--brand); }
.w-tile.navy .w-tile-ic { background: rgba(255, 255, 255, .1); color: #ffb27f; }
.w-tile h3 { font-size: 1.15rem; font-weight: 600; margin: 18px 0 8px; }
.w-tile p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.6; }
.w-tile.navy p { color: rgba(255, 255, 255, .7); }
.w-viz { margin-top: auto; padding-top: 24px; }
.w-feebars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.w-feebars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.w-feebars i { width: 100%; border-radius: 6px 6px 0 0; background: rgba(255, 255, 255, .14); }
.w-feebars div:last-child i { background: var(--accent); }
.w-feebars small { font-size: .64rem; color: rgba(255, 255, 255, .5); }
.w-receipt { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.w-receipt i { color: #4ade80; font-size: 1.1rem; }
.w-receipt b { color: #fff; margin-left: auto; }
.w-devs { display: flex; flex-wrap: wrap; gap: 8px; }
.w-devs span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 500; color: var(--ink-2); }
.w-devs i { color: var(--brand); }
.w-qr { display: flex; align-items: center; gap: 16px; }
.w-qr .code { width: 72px; height: 72px; flex-shrink: 0; border-radius: 8px; padding: 8px; background: var(--surface); border: 1px solid var(--line);
  background-image: radial-gradient(var(--ink) 30%, transparent 32%); background-size: 8px 8px; background-origin: content-box; }
.w-grades { flex: 1; display: grid; gap: 6px; }
.w-grades div { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 6px; background: var(--surface-2); font-size: .8rem; }
.w-grades b { color: var(--brand); }
.w-route { position: relative; height: 70px; }
.w-route svg { width: 100%; height: 100%; overflow: visible; }
.w-route path { fill: none; stroke: var(--brand-100); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 10; }
.w-route .bus { offset-path: path("M10 50 C 80 10, 140 60, 210 30 S 320 10, 380 40"); animation: wBus 6s linear infinite; position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: .8rem; box-shadow: 0 0 0 6px rgba(242, 107, 29, .2); }
@keyframes wBus { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.w-chans { display: flex; flex-wrap: wrap; gap: 8px; }
.w-chans span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.w-chans .sms { background: var(--brand-50); color: var(--brand); } .w-chans .wa { background: #dcfce7; color: #15803d; } .w-chans .mail { background: var(--accent-50); color: var(--accent-600); } .w-chans .inapp { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.w-funnel { display: grid; gap: 7px; }
.w-funnel div { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.w-funnel span { width: 72px; flex-shrink: 0; }
.w-funnel i { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--brand), #3a78c9); }
.w-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; margin-top: 36px; font-size: .92rem; color: var(--muted); }
.w-more span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); }
.w-more i { color: var(--accent); }

/* ---------- Module index ---------- */
.w-index { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.w-index div { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); transition: background .15s; }
.w-index div:hover { background: var(--brand-50); }
.w-index em { font-family: var(--w-serif); font-style: italic; font-size: 1.35rem; color: var(--accent); min-width: 30px; }
.w-index i { color: var(--brand); }
.w-index span { font-weight: 500; font-size: .92rem; }
.w-index a.w-index-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy); color: #fff; font-weight: 600; font-size: .92rem; transition: background .15s; }
.w-index a.w-index-cta:hover { background: var(--accent); color: #fff; }
.w-index a.w-index-cta i { color: #ffb27f; } .w-index a.w-index-cta:hover i { color: #fff; }

/* ---------- Portals (tabs) ---------- */
.w-roles { display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
.w-role-tabs { display: grid; gap: 8px; align-content: start; }
.w-role-tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-align: left; color: var(--ink-2); font-weight: 600; transition: all .15s; }
.w-role-tab i { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-size: 1rem; transition: all .15s; }
.w-role-tab small { display: block; font-weight: 400; font-size: .76rem; color: var(--muted); }
.w-role-tab:hover { border-color: var(--brand-100); color: var(--ink); }
.w-role-tab[aria-selected="true"] { border-color: var(--brand); background: var(--brand-50); color: var(--ink); box-shadow: 0 14px 30px -22px rgba(11, 74, 155, .8); }
.w-role-tab[aria-selected="true"] i { background: var(--brand); color: #fff; }
.w-role-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: 40px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.w-role-panel[hidden] { display: none; }
.w-role-panel h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin: 12px 0 10px; }
.w-role-panel p { color: var(--muted); line-height: 1.7; }
.w-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.w-checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.w-checks i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; background: #dcfce7; color: #15803d; flex-shrink: 0; }
.w-phone { justify-self: center; width: 230px; padding: 10px; border-radius: 34px; background: var(--navy); box-shadow: 0 30px 60px -30px rgba(6, 26, 58, .8); }
.w-phone-screen { border-radius: 26px; background: var(--bg); padding: 22px 14px 18px; min-height: 360px; display: grid; gap: 10px; align-content: start; }
.w-phone-top { display: flex; align-items: center; justify-content: space-between; font-size: .7rem; color: var(--muted); }
.w-phone-top b { font-family: var(--font-head); font-size: .9rem; color: var(--ink); }
.w-phone-card { padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: .74rem; }
.w-phone-card > i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.w-phone-card div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.w-phone-card b { font-size: .78rem; color: var(--ink); }
.w-phone-card small { color: var(--muted); font-size: .68rem; }
.w-phone-card.hl { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .7); }
.w-phone-card.hl b { color: #fff; } .w-phone-card.hl small { color: rgba(255, 255, 255, .6); }
.w-phone-card.hl > i { background: var(--accent); color: #fff; }

/* ---------- AI (dark) ---------- */
.w-dark { background: var(--navy); color: rgba(255, 255, 255, .72); overflow: hidden; }
.w-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 400px at 85% 20%, rgba(11, 74, 155, .55), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(242, 107, 29, .12), transparent 70%); }
.w-dark .w-wrap { position: relative; }
.w-dark h2, .w-dark h3 { color: #fff; }
.w-dark .w-lead { color: rgba(255, 255, 255, .7); }
.w-dark .w-em { color: #9cc2f5; }
.w-ai { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.w-ai-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.w-ai-caps div { padding: 18px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.w-ai-caps i { font-size: 1.25rem; color: #ffb27f; }
.w-ai-caps b { display: block; color: #fff; margin: 10px 0 4px; font-size: .95rem; }
.w-ai-caps span { font-size: .84rem; }
.w-chat { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 22px; backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 12px; }
.w-chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.w-chat-head span:first-child { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #ff9a5c); color: #fff; font-size: 1.1rem; }
.w-chat-head b { color: #fff; display: block; } .w-chat-head small { color: #4ade80; font-size: .74rem; }
.w-msg { max-width: 86%; padding: 12px 15px; border-radius: 14px; font-size: .9rem; line-height: 1.55; }
.w-msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.w-msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); border-bottom-left-radius: 4px; }
.w-msg.bot b { color: #fff; }
.w-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.w-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); animation: wDot 1.2s infinite; }
.w-typing i:nth-child(2) { animation-delay: .2s; } .w-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes wDot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Security & integrations ---------- */
.w-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.w-card { padding: 36px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.w-card h3 { font-size: 1.35rem; font-weight: 700; margin: 12px 0 8px; }
.w-card > p { color: var(--muted); }
.w-sec-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.w-sec-list li { display: flex; gap: 14px; }
.w-sec-list i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand-50); color: var(--brand); }
.w-sec-list b { display: block; font-size: .94rem; }
.w-sec-list span { font-size: .84rem; color: var(--muted); }
.w-integ { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.w-integ div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink-2); transition: all .15s; }
.w-integ div:hover { border-color: var(--brand-100); background: var(--surface); transform: translateY(-2px); }
.w-integ i { font-size: 1.5rem; color: var(--brand); }
.w-integ .wa i { color: #25d366; } .w-integ .pay i { color: var(--accent); }

/* ---------- Process ---------- */
.w-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--line); }
.w-steps li { position: relative; padding: 34px 26px 0 0; }
.w-steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); }
.w-steps li:last-child::before { border-color: var(--accent); background: var(--accent); }
.w-steps em { font-family: var(--w-serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: #8fb0dc; }
[data-bs-theme="dark"] .w-steps em { color: rgba(77, 143, 224, .35); }
.w-steps h3 { font-size: 1.1rem; font-weight: 600; margin: 10px 0 8px; }
.w-steps p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.w-faq-grid { display: grid; grid-template-columns: 380px 1fr; gap: 60px; }
.w-faq details { border-bottom: 1px solid var(--line); }
.w-faq details:first-child { border-top: 1px solid var(--line); }
.w-faq summary { display: flex; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.w-faq summary::-webkit-details-marker { display: none; }
.w-faq summary i { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--brand); transition: transform .2s, background .2s, color .2s; flex-shrink: 0; }
.w-faq details[open] summary i { transform: rotate(45deg); background: var(--brand); color: #fff; border-color: var(--brand); }
.w-faq details p { margin: 0; padding: 0 50px 24px 4px; color: var(--muted); line-height: 1.7; }

/* ---------- Demo ---------- */
.w-demo { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 40px 80px -50px rgba(6, 26, 58, .6); }
.w-demo-side { position: relative; padding: 48px 42px; color: rgba(255, 255, 255, .74); background: linear-gradient(165deg, var(--navy-3), var(--navy) 70%); overflow: hidden; }
.w-demo-side::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(242, 107, 29, .2); }
.w-demo-side > * { position: relative; z-index: 1; }
.w-demo-side h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; margin: 14px 0 12px; }
.w-demo-side .w-em { color: #9cc2f5; }
.w-demo-list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; }
.w-demo-list li { display: flex; align-items: center; gap: 12px; }
.w-demo-list i { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #ffb27f; flex-shrink: 0; }
.w-demo-contact { display: grid; gap: 10px; }
.w-demo-contact a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #fff; font-weight: 500; font-size: .9rem; overflow-wrap: anywhere; }
.w-demo-contact a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.w-demo-contact .bi-whatsapp { color: #4ade80; font-size: 1.15rem; } .w-demo-contact .bi-envelope { color: #ffb27f; font-size: 1.05rem; }
.w-demo-form { padding: 44px 42px; }
.w-demo-form h3 { font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; }
.w-demo-form .form-label { font-weight: 500; font-size: .84rem; }
.w-demo-form .form-control, .w-demo-form .form-select { min-height: 46px; border-radius: 8px; }
.w-demo-form textarea.form-control { min-height: 90px; }
.w-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.w-chips label { cursor: pointer; }
.w-chips input { position: absolute; opacity: 0; pointer-events: none; }
.w-chips span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: .82rem; font-weight: 500; color: var(--ink-2); transition: all .15s; }
.w-chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.w-chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.w-done { text-align: center; padding: 70px 30px; }
.w-done i { width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: #dcfce7; color: #16a34a; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .w-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .w-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .w-reveal { opacity: 1; transform: none; transition: none; }
  .w-float, .w-bars i, .w-route .bus, .w-typing i { animation: none; }
  html:has(.web) { scroll-behavior: auto; }
}

/* ---------- Dark theme tweaks ---------- */
[data-bs-theme="dark"] .w-app-title span, [data-bs-theme="dark"] .w-float-pay > i, [data-bs-theme="dark"] .w-checks i, [data-bs-theme="dark"] .w-chans .wa, [data-bs-theme="dark"] .w-done i { background: rgba(22, 163, 74, .18); color: #86efac; }
[data-bs-theme="dark"] .w-qr .code { background-image: radial-gradient(var(--ink) 30%, transparent 32%); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .w-hero-grid, .w-replace, .w-ai { grid-template-columns: 1fr; }
  .w-visual { max-width: 640px; }
  .w-index { grid-template-columns: repeat(3, 1fr); }
  .w-roles { grid-template-columns: 1fr; }
  .w-role-tabs { grid-template-columns: repeat(5, 1fr); }
  .w-role-tab { flex-direction: column; text-align: center; gap: 8px; padding: 14px 8px; }
  .w-role-tab small { display: none; }
  .w-faq-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 991.98px) {
  .w-burger { display: grid; }
  .w-menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 16px; }
  .w-menu.open { display: flex; }
  .w-links { flex-direction: column; margin: 0; }
  .w-sec { padding: 80px 0; }
  .w-bento { grid-template-columns: 1fr 1fr; }
  .w-tile.span-4, .w-tile.span-3, .w-tile.span-2 { grid-column: span 1; }
  .w-tile.wide-md { grid-column: span 2; }
  .w-role-panel { grid-template-columns: 1fr; padding: 28px; }
  .w-trust, .w-demo { grid-template-columns: 1fr; }
  .w-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 767.98px) {
  .w-index { grid-template-columns: repeat(2, 1fr); }
  .w-role-tabs { grid-template-columns: repeat(3, 1fr); }
  .w-ai-caps, .w-integ { grid-template-columns: 1fr 1fr; }
  .w-demo-side, .w-demo-form, .w-card { padding: 30px 22px; }
  .w-announce .w-wrap { font-size: .76rem; }
}
@media (max-width: 575.98px) {
  .w-wrap { padding: 0 16px; }
  .w-hero { padding: 44px 0 60px; }
  .w-bento { grid-template-columns: 1fr; }
  .w-tile.wide-md { grid-column: span 1; }
  .w-visual { padding: 20px 0 30px 0; }
  .w-float-ring { left: -6px; } .w-float-pay { right: -6px; } .w-float-bus { display: none; }
  .w-kpis { grid-template-columns: 1fr 1fr; } .w-kpi:last-child { display: none; }
  .w-index, .w-steps { grid-template-columns: 1fr; }
  .w-ai-caps { grid-template-columns: 1fr; }
  .w-announce .hide-xs { display: none; }
}
