/* vartalaap.si/bfsi — page-specific additions on top of /styles.css */

/* ---------- hero: copy on the left, a looping "live call" card on the right ---------- */
#top.page { min-height: 0; display: flex; padding: calc(var(--nav-h) + 64px) 22px 40px; }
#top .wrap { width: min(1180px, 100%); }
.rs-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.rs-hero { display: grid; gap: 18px; max-width: 640px; }
.rs-hero h1 { font-size: clamp(36px, 4.4vw, 64px); }
.rs-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.rs-strip { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 10px; font-size: 13px; color: var(--text-lo); }
.rs-strip span { display: inline-flex; align-items: baseline; gap: 8px; }
.rs-strip b { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--text-hi); }
.rs-strip b.accent { color: var(--gold); }

.call-wrap { position: relative; justify-self: end; width: min(440px, 100%); }
.call-wrap::before { content: ""; position: absolute; inset: -8% -6%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(45% 45% at 50% 50%, rgba(34,196,114,.28), rgba(34,196,114,0) 70%); filter: blur(28px); animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { from { transform: translate3d(-4%, 2%, 0) scale(.95); opacity: .7; } to { transform: translate3d(4%, -3%, 0) scale(1.05); opacity: 1; } }
.call { padding: 20px 20px 18px; display: grid; gap: 14px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.call-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-mid); }
.call-top b { color: var(--text-hi); font-weight: 700; }
.call-top .ldot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(111,227,164,.6); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(111,227,164,.6); } 70% { box-shadow: 0 0 0 9px rgba(111,227,164,0); } 100% { box-shadow: 0 0 0 0 rgba(111,227,164,0); } }
.call-top .clock { margin-left: auto; font-family: var(--mono); color: var(--text-lo); font-size: 12px; }
.call-lines { display: grid; gap: 9px; min-height: 250px; align-content: end; }
.ln { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(10px); animation: lnin .45s cubic-bezier(.2,.8,.2,1) forwards; }
.ln.guest { justify-self: end; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); border-bottom-right-radius: 6px; }
.ln.host { justify-self: start; background: rgba(23,163,92,.16); border: 1px solid rgba(111,227,164,.32); border-bottom-left-radius: 6px; }
.ln.host::before { content: "AgentBox"; display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--mint); margin-bottom: 3px; }
.ln.typing { padding: 12px 16px; display: flex; gap: 5px; align-items: center; }
.ln.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: dot 1s ease-in-out infinite; }
.ln.typing i:nth-child(2) { animation-delay: .15s; } .ln.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.ln.ticket { justify-self: center; max-width: 100%; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  color: var(--gold-ink); background: linear-gradient(135deg, var(--gold-light), var(--gold)); border: 0; box-shadow: 0 10px 26px rgba(232,185,74,.3); }
.ln.ticket svg { width: 16px; height: 16px; }
@keyframes lnin { to { opacity: 1; transform: none; } }
.ln.out { animation: lnout .4s ease forwards; }
@keyframes lnout { to { opacity: 0; transform: translateY(-8px); } }
.call-foot { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-lo); }
.eq { display: flex; align-items: center; gap: 3px; height: 18px; }
.eq i { width: 3px; height: 4px; border-radius: 2px; background: var(--gold); transition: height .3s; }
.call.speaking .eq i { animation: eq .9s ease-in-out infinite; }
.call.speaking .eq i:nth-child(2) { animation-delay: .12s; } .call.speaking .eq i:nth-child(3) { animation-delay: .24s; } .call.speaking .eq i:nth-child(4) { animation-delay: .36s; } .call.speaking .eq i:nth-child(5) { animation-delay: .48s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.call.listening .eq i { height: 6px; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.call-foot .mic { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-ink); background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 8px 20px rgba(232,185,74,.4); }
.call-foot .mic svg { width: 16px; height: 16px; }
@media (max-width: 1100px) { .rs-grid { grid-template-columns: 1fr; gap: 32px; } .rs-hero { max-width: 720px; } .call-wrap { justify-self: start; width: min(520px, 100%); } }
@media (prefers-reduced-motion: reduce) { .call, .call-wrap::before, .call-top .ldot, .eq i, .ln.typing i { animation: none !important; } .ln { opacity: 1; transform: none; } }

/* ---------- the demo frame: the live agent will be embedded here; until then, an honest placeholder ---------- */
.live { display: grid; grid-template-columns: 1fr 1.7fr; gap: 20px; margin-top: 34px; align-items: stretch; }
.live-card { padding: 28px; display: grid; gap: 14px; align-content: start; }
.live-card .tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-lo); }
.live-card .tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.live-card p { margin: 0; color: var(--text-mid); font-size: 14.5px; }
.live-card .link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-family: var(--mono); font-size: 13.5px; word-break: break-all; }
.live-card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--text-lo); font-family: var(--deva); }
.live-card ul li::before { content: "·"; color: var(--gold); margin-right: 8px; }
.live-card .qr { width: 150px; height: 150px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); margin-top: 6px; }
.live-card .qr img { width: 100%; height: 100%; }
.live-card .qr-k { font-size: 12px; color: var(--text-lo); margin-top: -6px; }
.live-frame { padding: 10px; display: grid; min-height: 560px; }
.live-frame .scr { position: relative; border-radius: 18px; overflow: hidden; background: #04140E url("/assets/patterns/board-1800x900.jpg") center / cover; display: grid; min-height: 100%; }
.live-frame iframe { width: 100%; height: 100%; min-height: 540px; border: 0; display: none; background: #04140E; }
.live-frame.on iframe { display: block; }
.live-cover { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 28px; background: linear-gradient(180deg, rgba(4,20,14,.3), rgba(4,20,14,.86)); }
.live-cover .in { display: grid; gap: 14px; justify-items: center; max-width: 460px; }
.live-cover .k { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.live-cover h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; }
.live-cover p { margin: 0; color: var(--text-mid); font-size: 14.5px; }
.live-cover small { font-size: 12px; color: var(--text-lo); }
.live-cover .wave { display: flex; align-items: center; gap: 4px; height: 54px; }
.live-cover .wave i { width: 5px; border-radius: 3px; background: rgba(255,255,255,.75); animation: lw 1.3s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.11s); }
.live-cover .wave i:nth-child(5) { background: var(--gold); }
@keyframes lw { from { height: 8px; } to { height: var(--h, 40px); } }
.live-frame.on .live-cover { display: none; }
.live-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 8px 2px; font-size: 12.5px; color: var(--text-lo); }
.live-bar a { color: var(--gold); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1000px) { .live { grid-template-columns: 1fr; } .live-frame { min-height: 480px; } }
@media (max-width: 640px) { .live-card .qr, .live-card .qr-k { display: none; } .live-frame { min-height: 0; } .live-frame .scr { min-height: 0; } .live-cover { position: relative; padding: 36px 20px; } }

/* ---------- what it does ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.feat { padding: 26px; display: grid; gap: 12px; align-content: start; }
.feat .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 22px; }
.feat p { margin: 0; color: var(--text-mid); font-size: 14.5px; line-height: 1.55; }
.feat q { display: block; margin-top: 2px; font-family: var(--deva); font-size: 16px; color: var(--gold); quotes: "“" "”"; }
.feat .anchor { position: absolute; top: -90px; }
@media (max-width: 1000px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feats { grid-template-columns: 1fr; } .feat { padding: 22px; } }

/* ---------- compliance ---------- */
.comp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.comp-card { padding: 26px; display: grid; gap: 10px; align-content: start; }
.comp-card h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.comp-card h3 svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.comp-card p { margin: 0; color: var(--text-mid); font-size: 14.5px; line-height: 1.55; }
.comp-card ul { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: var(--text-lo); }
.comp-card ul li { padding-left: 16px; position: relative; }
.comp-card ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (max-width: 860px) { .comp { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.step { padding: 26px; display: grid; gap: 12px; align-content: start; }
.step .n { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--gold); }
.step h3 { font-size: 22px; }
.step p { margin: 0; color: var(--text-mid); font-size: 14.5px; line-height: 1.55; }
.step .pos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.step .pos span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-lo); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); }
.step .pos span.soon { color: var(--gold); border-color: rgba(232,185,74,.3); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- phones ---------- */
#top { overflow-x: clip; }
@media (max-width: 640px) {
  #top.page { padding-top: calc(var(--nav-h) + 40px); }
  .rs-ctas { display: grid; grid-template-columns: 1fr; } .rs-ctas .btn { justify-content: center; }
  .rs-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .rs-strip span { display: grid; gap: 0; line-height: 1.3; } .rs-strip b { font-size: 19px; }
  .call { padding: 16px; } .call-lines { min-height: 200px; } .ln { font-size: 13.5px; max-width: 92%; }
  .contact .facts { gap: 8px; } .fact b { font-size: 22px; }
}
@media (max-width: 360px) { .rs-hero h1 { font-size: 36px; } .rs-strip b { font-size: 17px; } }
