/* Intellismi public site: few words, big type, round buttons, one moving picture per section. */
:root { --ink: #0B1B2E; --muted: #6b7f95; --line: #e6ebf1; --bg: #ffffff; --soft: #f5f8fb; --accent: #1170D6; --accent-2: #2CBCD7; --ok: #16a34a; --dark: #0B1B2E; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[dir="rtl"] body { font-family: "IBM Plex Sans Arabic", "Inter", -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Poppins", "Inter", sans-serif; letter-spacing: -.03em; line-height: 1.08; margin: 0; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; font-family: "IBM Plex Sans Arabic", sans-serif; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.spacer { flex: 1; } .center { text-align: center; } .muted { color: var(--muted); } .small { font-size: 13.5px; } .mono { font-family: ui-monospace, Menlo, monospace; font-size: 12px; }

/* ---- header */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); transition: box-shadow .25s; }
header.top.scrolled { box-shadow: 0 1px 0 var(--line); background: rgba(255,255,255,.9); }
header.top .wrap { display: flex; align-items: center; gap: 26px; height: 72px; }
header.top .logo-svg { height: 40px; width: auto; display: block; }
nav.links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; color: #3d4f63; }
nav.links a { padding: 4px 0; transition: color .2s; } nav.links a:hover { color: var(--accent); }
.lang { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: .2s; }
.lang:hover { border-color: var(--accent); color: var(--accent); }
.burger { display: none; border: 0; background: none; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---- buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11, 27, 46, .1); border-color: #cfd8e3; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(17, 112, 214, .28); }
.btn.primary:hover { background: #0d5fb8; box-shadow: 0 16px 34px rgba(17, 112, 214, .36); }
.btn.ghost { border-color: transparent; background: transparent; } .btn.ghost:hover { background: var(--soft); box-shadow: none; }
.btn.light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; } .btn.light:hover { background: rgba(255,255,255,.2); }
.btn.big { padding: 16px 30px; font-size: 17px; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn .spin { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---- hero */
.hero { position: relative; padding: 88px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
h1 { font-size: 66px; font-weight: 700; margin: 0 0 22px; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 21px; color: #3d4f63; margin: 0 0 30px; max-width: 520px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; } .cta.center { justify-content: center; }
.note { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }

/* the moving picture: a rounded stage with tiles that slide in and float */
.stage { position: relative; height: 480px; border-radius: 36px; background: linear-gradient(160deg, #eaf3ff 0%, #f3fbfd 55%, #ffffff 100%); border: 1px solid var(--line); overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .7; animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
.orb.o1 { width: 320px; height: 320px; background: #bfdcff; top: -120px; right: -80px; } .orb.o2 { width: 260px; height: 260px; background: #c8f1f7; bottom: -110px; left: -60px; animation-delay: -6s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, 24px) scale(1.1); } }
.tile { position: absolute; background: #fff; border-radius: 22px; padding: 16px 18px; box-shadow: 0 24px 50px rgba(11, 27, 46, .12); display: flex; gap: 12px; align-items: center; opacity: 0; transform: translateX(60px); animation: slidein .8s cubic-bezier(.2,.8,.2,1) forwards, floaty 6s ease-in-out infinite; z-index: 2; }
.tile.t1 { left: 32px; top: 40px; right: 32px; display: block; animation-delay: .2s, 1s; }
.tile.t2 { left: 40px; bottom: 120px; animation-delay: .7s, 1.5s; }
.tile.t3 { right: 30px; bottom: 56px; animation-delay: 1.1s, 2s; }
.tile.t4 { right: 60px; top: 220px; animation-delay: 1.5s, 2.5s; }
@keyframes slidein { to { opacity: 1; transform: translateX(0); } }
@keyframes floaty { 0%, 100% { margin-top: 0; } 50% { margin-top: -8px; } }
.tile-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(22,163,74,.45); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.wave { display: flex; gap: 5px; align-items: center; height: 42px; margin: 14px 0 10px; }
.wave i { width: 6px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); height: 12px; animation: bar 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s } .wave i:nth-child(3) { animation-delay: .2s } .wave i:nth-child(4) { animation-delay: .3s } .wave i:nth-child(5) { animation-delay: .4s } .wave i:nth-child(6) { animation-delay: .5s } .wave i:nth-child(7) { animation-delay: .6s } .wave i:nth-child(8) { animation-delay: .5s } .wave i:nth-child(9) { animation-delay: .4s } .wave i:nth-child(10) { animation-delay: .3s } .wave i:nth-child(11) { animation-delay: .2s } .wave i:nth-child(12) { animation-delay: .1s }
@keyframes bar { 0%, 100% { height: 10px; } 50% { height: 40px; } }
.tile-line { font-size: 16px; font-weight: 500; } .tile-line.rtl { direction: rtl; text-align: right; }
.tile-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font-size: 20px; flex: none; }
.tile b { display: block; font-size: 15px; } .tile .small { color: var(--muted); }

/* ---- statements */
.section { padding: 110px 0; } .section.soft { background: var(--soft); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
h2 { font-size: 46px; font-weight: 700; margin-bottom: 16px; }
.statement p { font-size: 20px; color: #3d4f63; margin: 0 0 26px; max-width: 480px; }
.section-head { max-width: 640px; margin-bottom: 44px; } .section-head.center { margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.agent-row { display: grid; gap: 14px; }
.agent-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px 20px; box-shadow: 0 10px 30px rgba(11,27,46,.06); transition: transform .3s, box-shadow .3s; }
.agent-card:hover { transform: translateX(8px); box-shadow: 0 20px 44px rgba(11,27,46,.12); }
.agent-card .avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; font-size: 22px; }
.agent-card b { font-family: "Poppins", sans-serif; font-size: 18px; } .agent-card .small { color: var(--muted); margin-left: auto; }
.inbox-mock { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 12px; box-shadow: 0 30px 60px rgba(11,27,46,.1); }
.row-mock { display: flex; gap: 14px; align-items: center; padding: 14px 12px; border-radius: 16px; transition: background .2s; } .row-mock:hover { background: var(--soft); }
.row-mock .k { width: 42px; height: 42px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font-size: 20px; flex: none; }
.row-mock b { display: block; font-size: 15.5px; } .row-mock small { color: var(--muted); font-size: 13px; }
.row-mock em { font-style: normal; font-weight: 600; color: #b45309; } .row-mock em.ok { color: var(--accent); } .row-mock em.done { color: var(--ok); }
.channels { display: flex; gap: 18px; justify-content: center; }
.channels span { width: 92px; height: 92px; border-radius: 28px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 40px; box-shadow: 0 16px 36px rgba(11,27,46,.08); animation: floaty 5s ease-in-out infinite; }
.channels span:nth-child(2) { animation-delay: -1s } .channels span:nth-child(3) { animation-delay: -2s } .channels span:nth-child(4) { animation-delay: -3s }

/* ---- how */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 44px 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11,27,46,.1); }
.step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step b { display: block; font-family: "Poppins", sans-serif; font-size: 19px; margin-bottom: 6px; } .step p { margin: 0; color: var(--muted); }
.phone-wrap { max-width: 520px; margin: 0 auto; }
.phone { background: var(--dark); color: #e2e8f0; border-radius: 30px; padding: 22px; box-shadow: 0 40px 80px rgba(11, 27, 46, .25); min-height: 300px; }
.phone .bar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #94a3b8; margin-bottom: 14px; }
.phone .dot.live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22,163,74,.2); }
.bubble { padding: 10px 14px; border-radius: 16px; margin: 8px 0; max-width: 86%; line-height: 1.45; animation: pop .45s cubic-bezier(.2,.8,.2,1); font-size: 15px; }
.bubble.agent { background: #1b2b44; border-bottom-left-radius: 5px; }
.bubble.caller { background: var(--accent); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; }
.bubble .who { display: block; font-size: 11px; color: #94a3b8; margin-bottom: 3px; } .bubble.caller .who { color: #cfe4ff; }
.bubble.rtl { direction: rtl; text-align: right; }
.bubble.sys { background: transparent; color: #86efac; font-size: 12.5px; text-align: center; max-width: 100%; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; } .typing i { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; animation: blink 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .2s } .typing i:nth-child(3) { animation-delay: .4s }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---- pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; position: relative; transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11, 27, 46, .1); }
.plan.hot { border: 2px solid var(--accent); box-shadow: 0 20px 50px rgba(17, 112, 214, .15); }
.plan.dark { background: var(--dark); color: #e2e8f0; border-color: var(--dark); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
html[dir="rtl"] .plan .badge { left: auto; right: 24px; }
.plan h3 { font-size: 22px; margin-bottom: 4px; } .plan .desc { color: var(--muted); font-size: 14.5px; min-height: 42px; margin: 0 0 12px; }
.plan .price { font-family: "Poppins", sans-serif; font-size: 44px; font-weight: 700; letter-spacing: -.03em; } .plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; font-size: 14.5px; flex: 1; }
.plan li { padding-left: 26px; position: relative; } .plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
html[dir="rtl"] .plan li { padding-left: 0; padding-right: 26px; } html[dir="rtl"] .plan li::before { left: auto; right: 0; }
.plan.dark li::before { color: #86efac; }
.plan.hire { grid-column: span 2; }
.hire-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper .step { border: 0; background: var(--soft); width: 36px; height: 34px; font-size: 18px; cursor: pointer; font-family: inherit; padding: 0; border-radius: 0; transition: none; transform: none; box-shadow: none; }
.stepper .step:hover { background: #e2e8f0; transform: none; box-shadow: none; } .stepper span { min-width: 40px; text-align: center; font-weight: 700; }
@media (max-width: 980px) { .plan.hire { grid-column: span 1; } }

/* ---- forms */
.card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 28px; }
.form label { display: block; margin-bottom: 12px; } .form label span, .modal-card label span { display: block; font-size: 13px; font-weight: 600; color: #3d4f63; margin-bottom: 5px; }
input, select, textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(17, 112, 214, .15); }
textarea { resize: vertical; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.msg { font-size: 13.5px; color: var(--muted); } .msg .ok { color: var(--ok); } .msg .err { color: #b91c1c; }
.form h3 { font-size: 24px; margin-bottom: 12px; }
.check { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; font-size: 17px; }
.check li { padding-left: 32px; position: relative; color: #3d4f63; }
.check li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #e3f0ff; color: var(--accent); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
html[dir="rtl"] .check li { padding-left: 0; padding-right: 32px; } html[dir="rtl"] .check li::before { left: auto; right: 0; }

/* ---- band + footer */
.band { background: linear-gradient(135deg, #0B1B2E, #1170D6 70%, #2CBCD7); color: #fff; padding: 96px 0; }
.band h2 { color: #fff; margin-bottom: 28px; }
footer { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; } footer .legal { width: 100%; margin: 12px 0 0; }
footer .logo-svg { height: 32px; }

/* ---- modal */
.modal { position: fixed; inset: 0; background: rgba(11, 27, 46, .55); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 50; overflow: auto; }
.modal.open { display: flex; }
.modal-card { width: 100%; max-width: 560px; position: relative; animation: pop .35s cubic-bezier(.2,.8,.2,1); }
.modal-card .x { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--muted); }
html[dir="rtl"] .modal-card .x { right: auto; left: 16px; }
.modal-card h3 { font-size: 24px; margin: 14px 0 4px; } .modal-card label { display: block; margin-bottom: 12px; } .modal-card .logo-svg { height: 32px; }

/* ---- motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; } .reveal.delay-2 { transition-delay: .15s; }
.stagger > .reveal:nth-child(2) { transition-delay: .08s; } .stagger > .reveal:nth-child(3) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .tile, .orb, .channels span, .wave i { animation: none; opacity: 1; transform: none; } }

/* ---- rtl */
html[dir="rtl"] .bubble.caller { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .agent-card .small { margin-left: 0; margin-right: auto; }

/* ---- responsive */
.hero .wrap > *, .two > *, .plans > * { min-width: 0; }
@media (max-width: 980px) {
  .hero .wrap, .two, .steps3 { grid-template-columns: 1fr; } .two.flip > :first-child { order: 2; }
  .hero { padding: 56px 0 40px; } h1 { font-size: 46px; } h2 { font-size: 34px; }
  .stage { height: 420px; } .tile.t4 { top: 170px; }
  nav.links { display: none; } .burger { display: flex; }
  body.menu-open nav.links { display: flex; position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px 24px; gap: 14px; box-shadow: 0 20px 40px rgba(11,27,46,.1); }
  .section { padding: 72px 0; } .channels span { width: 72px; height: 72px; font-size: 32px; border-radius: 22px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  header.top .wrap { gap: 10px; height: 64px; } header.top .btn.ghost { display: none; } header.top .btn { padding: 8px 14px; font-size: 14px; } header.top .logo-svg { height: 32px; }
  h1 { font-size: 38px; } h2 { font-size: 30px; } .lead { font-size: 18px; } .statement p { font-size: 17px; }
  .cta .btn { width: 100%; } .row2 { grid-template-columns: 1fr; }
  .stage { height: 380px; border-radius: 28px; } .tile { padding: 12px 14px; } .tile.t1 { left: 14px; right: 14px; top: 20px; } .tile.t2 { left: 14px; bottom: 90px; } .tile.t3 { right: 12px; bottom: 30px; } .tile.t4 { right: 20px; top: 160px; }
  .phone { min-height: 0; padding: 16px; } .plan .price { font-size: 36px; } .section-head { margin-bottom: 28px; }
}
