/* =============================================================
   X IT — modern brand system
   Red (X) + Deep Teal (IT), energetic & fresh
   ============================================================= */

:root {
  --red:        #E12D2A;
  --red-600:    #C61F22;
  --red-700:    #A81619;
  --teal:       #2C5F5A;
  --teal-600:   #234b47;
  --teal-700:   #183633;
  --ink:        #14211f;
  --ink-soft:   #3d4d4a;
  --muted:      #6d7c79;
  --line:       #e6ecea;
  --paper:      #ffffff;
  --mist:       #f4f8f7;
  --mist-2:     #eef4f2;
  --amber:      #f5a623;

  --grad:       linear-gradient(120deg, var(--red) 0%, #c73a4e 45%, var(--teal) 100%);
  --grad-soft:  linear-gradient(120deg, rgba(225,45,42,.12), rgba(44,95,90,.12));

  --radius:     18px;
  --radius-lg:  26px;
  --shadow-sm:  0 2px 10px rgba(20,33,31,.06);
  --shadow:     0 14px 40px -18px rgba(20,33,31,.28);
  --shadow-lg:  0 30px 70px -30px rgba(20,33,31,.4);

  --ff-head: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--ink); line-height: 1.12; font-weight: 700; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

.wrap { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.center { text-align: center; }
.text-red { color: var(--red); }
.text-teal { color: var(--teal); }
.mt-0 { margin-top: 0; }

/* gradient text accent */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  background: rgba(225,45,42,.08); padding: .4rem .9rem; border-radius: 100px;
  margin-bottom: 1.1rem;
}
.kicker.teal { color: var(--teal); background: rgba(44,95,90,.09); }
.kicker .ic { width: 15px; height: 15px; }

.section-head { max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head.left { margin-left: 0; text-align: left; }

/* -------------------------------------------------------------
   Buttons
------------------------------------------------------------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 100px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); transition: transform .18s, box-shadow .25s, background .2s;
  box-shadow: 0 10px 24px -12px rgba(225,45,42,.7); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 34px -12px rgba(225,45,42,.75); }
.btn .ic { width: 18px; height: 18px; }
.btn.teal { --bg: var(--teal); box-shadow: 0 10px 24px -12px rgba(44,95,90,.7); }
.btn.teal:hover { box-shadow: 0 16px 34px -12px rgba(44,95,90,.75); }
.btn.grad { background: var(--grad); }
.btn.ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1.5px solid var(--line);
}
.btn.ghost:hover { color: var(--red); border-color: var(--red); background: rgba(225,45,42,.04); }
.btn.light { background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); }
.btn.light:hover { color: var(--red); }
.btn.lg { padding: 1.05rem 2rem; font-size: 1.08rem; }
.btn.block { display: flex; width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--ff-head); font-weight: 600; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* -------------------------------------------------------------
   Navbar
------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); box-shadow: var(--shadow-sm); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: min(1240px, 94%); }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--ff-head); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--ink); }
/* x.webp carries big transparent padding — the visible mark is ~57% of the image height,
   so a 104px image still sits safely inside the 74px bar. clamp() keeps it sane on phones. */
.brand img { height: clamp(64px, 10vw, 104px); width: auto; }
.brand b { color: var(--red); }
.brand span { color: var(--teal); }

.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--ff-head); font-weight: 500; font-size: .98rem; color: var(--ink-soft);
  padding: .55rem .9rem; border-radius: 100px; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); background: rgba(225,45,42,.07); }
.nav-cta { margin-left: .6rem; }

.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: .3rem; }
.nav-toggle .ic { width: 28px; height: 28px; }

@media (max-width: 940px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(255,255,255,.97); backdrop-filter: blur(14px); gap: 0; padding: 1rem 6% 1.5rem;
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .9rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: block; }
}

/* -------------------------------------------------------------
   Hero
------------------------------------------------------------- */
.hero { position: relative; padding: calc(var(--nav-h) + 40px) 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.blob.a { width: 520px; height: 520px; background: radial-gradient(circle, rgba(225,45,42,.55), transparent 70%); top: -160px; right: -120px; animation: float 14s ease-in-out infinite; }
.blob.b { width: 480px; height: 480px; background: radial-gradient(circle, rgba(44,95,90,.5), transparent 70%); bottom: -180px; left: -140px; animation: float 18s ease-in-out infinite reverse; }
.hero-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 46px 46px; opacity: .35; -webkit-mask-image: radial-gradient(ellipse at 60% 20%, #000 10%, transparent 65%); mask-image: radial-gradient(ellipse at 60% 20%, #000 10%, transparent 65%); }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-30px); } }

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; min-height: calc(100vh - var(--nav-h) - 80px); }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { max-width: 34ch; font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--ff-head); font-weight: 700; font-size: 2rem; line-height: 1; }
.hero-stats .lbl { font-size: .85rem; color: var(--muted); letter-spacing: .02em; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-logo-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 3rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  width: 100%; max-width: 420px; text-align: center;
}
.hero-logo-card img { margin: 0 auto 1.5rem; max-height: 230px; width: auto; }
.hero-logo-card .tag { font-family: var(--ff-head); font-weight: 500; color: var(--muted); }
.hero-chip {
  position: absolute; background: #fff; border-radius: 14px; padding: .7rem 1rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .6rem; font-family: var(--ff-head); font-weight: 600; font-size: .9rem; border: 1px solid var(--line);
}
.hero-chip .ic { width: 20px; height: 20px; }
.hero-chip.one { top: 6%; left: -6%; color: var(--red); animation: bob 5s ease-in-out infinite; }
.hero-chip.two { bottom: 8%; right: -4%; color: var(--teal); animation: bob 6s ease-in-out infinite .8s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; min-height: 0; padding-top: 1rem; }
  .hero .lead { max-width: none; margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo-card { max-width: 340px; padding: 2rem; }
  .hero-chip.one { left: 0; }
  .hero-chip.two { right: 0; }
}

/* -------------------------------------------------------------
   Cards / grids
------------------------------------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

/* service card */
.svc-card { display: flex; flex-direction: column; height: 100%; }
.svc-card .ic-badge {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--red); margin-bottom: 1.2rem;
}
.svc-card:nth-child(even) .ic-badge { color: var(--teal); }
.svc-card .ic-badge .ic { width: 26px; height: 26px; }
.svc-card h3 { margin-bottom: .5rem; font-size: 1.28rem; }
.svc-card p { color: var(--muted); font-size: .98rem; margin-bottom: 1.2rem; }
.svc-card .link-arrow { margin-top: auto; color: var(--red); }
.svc-card::after {
  content: ""; position: absolute; inset: auto -40% -40% auto; width: 60%; height: 60%;
  background: var(--grad-soft); border-radius: 50%; opacity: 0; transition: opacity .3s; z-index: 0;
}
.svc-card:hover::after { opacity: 1; }
.svc-card > * { position: relative; z-index: 1; }

/* feature tile */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .tick { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(44,95,90,.1); color: var(--teal); }
.feature .tick .ic { width: 18px; height: 18px; }
.feature h4 { margin: .1rem 0 .3rem; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* -------------------------------------------------------------
   Stats band
------------------------------------------------------------- */
.stats-band { background: var(--teal-700); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem,5vw,3.2rem); position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(225,45,42,.4), transparent 45%); }
.stats-band .grid { position: relative; }
.stats-band .stat { text-align: center; }
.stats-band .num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(2.2rem,5vw,3.2rem); line-height: 1; }
.stats-band .lbl { opacity: .8; margin-top: .4rem; font-size: .95rem; }

/* -------------------------------------------------------------
   Clients marquee
------------------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: scroll 40s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 46px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------
   Free tools
------------------------------------------------------------- */
.tool-card { display: flex; flex-direction: column; gap: 1.1rem; padding: 2rem; }
.tool-card .top { display: flex; align-items: center; gap: 1rem; }
.tool-card .ic-badge { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.tool-card:nth-child(odd) .ic-badge { background: var(--grad); }
.tool-card:nth-child(even) .ic-badge { background: linear-gradient(120deg, var(--teal), #3a8078); }
.tool-card .ic-badge .ic { width: 30px; height: 30px; }
.tool-card .badge { font-family: var(--ff-head); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); background: rgba(44,95,90,.1); padding: .3rem .7rem; border-radius: 100px; }
.tool-card ul { list-style: none; padding: 0; margin: .3rem 0 1rem; display: grid; gap: .6rem; }
.tool-card li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-soft); font-size: .97rem; }
.tool-card li .ic { flex: 0 0 auto; width: 18px; height: 18px; color: var(--red); margin-top: .2rem; }
.tool-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; }
.tool-meta span { font-size: .78rem; font-family: var(--ff-head); font-weight: 500; color: var(--muted); background: var(--mist); padding: .3rem .7rem; border-radius: 100px; }

/* -------------------------------------------------------------
   CTA band
------------------------------------------------------------- */
.cta { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--grad); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 120%, rgba(255,255,255,.25), transparent 40%); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 52ch; margin-inline: auto; }
.cta > .btn { margin-top: 1.6rem; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 1.8rem; }
.cta-actions .btn { margin-top: 0; }

/* -------------------------------------------------------------
   Page header (interior pages)
------------------------------------------------------------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 60px) 0 60px; background: var(--mist); overflow: hidden; }
.page-hero .blob { opacity: .35; }
.page-hero .breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; font-family: var(--ff-head); }
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb a:hover { color: var(--red); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero .ic-badge { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 1.5rem; }
.page-hero .ic-badge .ic { width: 32px; height: 32px; }

/* demo showcase */
.demo-item { overflow: hidden; }
.demo-item a { display: block; color: inherit; }
.demo-thumb { aspect-ratio: 4/3; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.demo-thumb img { width: 78%; height: auto; transition: transform .35s; }
.demo-item:hover .demo-thumb img { transform: scale(1.06); }
.demo-item .body { padding: 1.1rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.demo-item .body h4 { margin: 0; font-size: 1.02rem; }
.demo-item .body .ic { width: 18px; height: 18px; color: var(--red); flex: 0 0 auto; }

/* -------------------------------------------------------------
   Contact
------------------------------------------------------------- */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--ff-head); font-weight: 500; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(44,95,90,.12); }
/* Firefox renders the open dropdown as a native OS popup and garbles webfonts there —
   force a system font on select/option so the list is always readable. */
select, option { font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-item .ic-badge { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--red); flex: 0 0 auto; }
.contact-info-item .ic-badge .ic { width: 22px; height: 22px; }
.contact-info-item h4 { margin: 0 0 .1rem; }
.contact-info-item a, .contact-info-item p { color: var(--ink-soft); margin: 0; }
.form-note { padding: .9rem 1rem; border-radius: 12px; font-size: .95rem; margin-bottom: 1rem; display: none; }
.form-note.ok { display: block; background: rgba(44,95,90,.1); color: var(--teal-700); }
.form-note.err { display: block; background: rgba(225,45,42,.1); color: var(--red-700); }

/* -------------------------------------------------------------
   FAQ / accordion
------------------------------------------------------------- */
.acc-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; overflow: hidden; background: #fff; }
.acc-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.2rem 1.4rem; font-family: var(--ff-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.acc-q .ic { width: 22px; height: 22px; color: var(--red); transition: transform .25s; flex: 0 0 auto; }
.acc-item.open .acc-q .ic { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); }

/* -------------------------------------------------------------
   Team
------------------------------------------------------------- */
.team-card { text-align: center; padding: 1.6rem 1rem; }
.team-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 3px solid var(--mist); }
.team-card h4 { margin: 0 0 .2rem; font-size: 1.05rem; }
.team-card .role { color: var(--red); font-size: .88rem; font-family: var(--ff-head); font-weight: 500; }

/* -------------------------------------------------------------
   Footer
------------------------------------------------------------- */
.footer { background: var(--teal-700); color: rgba(255,255,255,.72); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer .brand img { filter: brightness(0) invert(1); }
.footer h5 { color: #fff; font-family: var(--ff-head); font-size: 1rem; margin: 0 0 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .95rem; }
.footer .socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer .socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: background .2s, transform .2s; }
.footer .socials a:hover { background: var(--red); transform: translateY(-3px); }
.footer .socials .ic { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .88rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   Reveal on scroll
------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .hero-chip, .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* floating chat buttons */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: .5rem; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; padding: .85rem 1.3rem; border-radius: 100px; box-shadow: 0 14px 40px -14px rgba(18,140,126,.65); font-family: var(--ff-head); font-weight: 600; transition: transform .2s; }
.fab:hover { transform: translateY(-3px) scale(1.03); color: #fff; }
.fab .ic { width: 20px; height: 20px; }
.bubble-messenger { position: fixed; right: 20px; bottom: 84px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #00B2FF, #006AFF); color: #fff; box-shadow: 0 14px 40px -14px rgba(0,106,255,.65); transition: transform .2s; }
.bubble-messenger:hover { transform: translateY(-3px) scale(1.06); color: #fff; }
.bubble-messenger .ic { width: 26px; height: 26px; }
@media (max-width: 520px) { .fab span { display: none; } .fab { padding: .9rem; } .bubble-messenger { bottom: 80px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.rounded-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

/* product cards (service pages) */
.product-card { padding: 0; display: flex; flex-direction: column; }
.product-card .demo-thumb { aspect-ratio: 4/3; }
.product-card .pc-body { padding: 1.2rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.12rem; margin-bottom: .7rem; }
.pc-prices { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .45rem; }
.pc-prices li { display: flex; justify-content: space-between; gap: .8rem; font-size: .88rem; color: var(--muted); border-bottom: 1px dashed var(--line); padding-bottom: .45rem; }
.pc-prices li strong { color: var(--teal-700); white-space: nowrap; }
.pc-prices li.more { border: 0; color: var(--red); font-family: var(--ff-head); font-weight: 600; font-size: .8rem; }
.pc-actions { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; }
.pc-actions .btn { padding: .65rem 1.15rem; font-size: .92rem; }

/* payment method picker (order form) */
.pm-options { display: grid; gap: .6rem; }
.pm-option { display: flex; align-items: flex-start; gap: .7rem; border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem 1rem; cursor: pointer; transition: border-color .2s, background .2s; }
.pm-option:hover { border-color: var(--teal); }
.pm-option:has(input:checked) { border-color: var(--red); background: rgba(225,45,42,.04); }
.pm-option input { width: auto; margin-top: .25rem; accent-color: var(--red); }
.pm-option span { font-size: .95rem; font-weight: 500; color: var(--ink); }
.pm-option em { display: block; font-style: normal; font-size: .8rem; color: var(--teal-700); font-family: var(--ff-head); font-weight: 600; margin-top: .15rem; }

/* payment method cards (order page) */
.pay-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 1rem; }
.pay-card .pay-head { display: flex; align-items: center; gap: .7rem; padding: .85rem 1.2rem; color: #fff; }
.pay-card.bkash .pay-head { background: linear-gradient(120deg, #E2136E, #a50d50); }
.pay-card.bank  .pay-head { background: linear-gradient(120deg, var(--teal), var(--teal-700)); }
.pay-card .pay-head h4 { margin: 0; color: #fff; font-size: 1.02rem; }
.pay-badge { font-family: var(--ff-head); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.22); padding: .25rem .6rem; border-radius: 100px; }
.pay-card .pay-body { padding: 1rem 1.2rem; }
.pay-row { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.pay-row:last-child { border-bottom: 0; }
.pay-row span { color: var(--muted); }
.pay-row strong { color: var(--ink); text-align: right; }
.pay-number { font-family: var(--ff-head); font-size: 1.15rem; color: #E2136E !important; letter-spacing: .04em; }
.pay-warn { display: flex; gap: .5rem; align-items: center; background: rgba(226,19,110,.08); color: #a50d50; border-radius: 10px; padding: .6rem .8rem; font-size: .87rem; margin-top: .6rem; }
.pay-warn .ic { width: 16px; height: 16px; flex: 0 0 auto; }

/* order page pricing table */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { text-align: right; white-space: nowrap; }
.price-table small { color: var(--muted); }
.price-table .price { font-family: var(--ff-head); font-weight: 700; color: var(--teal-700); }
.price-note { display: flex; gap: .55rem; align-items: flex-start; background: rgba(245,166,35,.12); color: #7a5b00; border-radius: 12px; padding: .85rem 1rem; font-size: .93rem; margin-top: 1rem; }
.price-note .ic { width: 18px; height: 18px; flex: 0 0 auto; margin-top: .15rem; }

/* charge offers */
.price-strike { text-decoration: line-through; color: var(--muted) !important; font-weight: 500 !important; }
.offer-badge { display: inline-flex; align-items: center; gap: .35rem; background: rgba(44,95,90,.12); color: var(--teal-700); font-family: var(--ff-head); font-weight: 700; font-size: .82rem; padding: .3rem .7rem; border-radius: 100px; margin-top: .3rem; white-space: normal; }
.offer-badge .ic { width: 14px; height: 14px; color: var(--red); flex: 0 0 auto; }
.offer-mini { color: var(--teal-700); font-family: var(--ff-head); font-weight: 700; font-size: .78rem; background: rgba(44,95,90,.12); padding: .12rem .5rem; border-radius: 100px; white-space: nowrap; }

/* order page feature list */
.feature-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; }
.feature-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.feature-list li .ic { width: 17px; height: 17px; color: var(--teal); flex: 0 0 auto; margin-top: .18rem; }
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }

/* blog quick search */
.blog-search { display: flex; align-items: center; gap: .5rem; background: #fff; border: 1.5px solid var(--line); border-radius: 100px; padding: .35rem .5rem .35rem 1rem; flex: 1 1 320px; max-width: 440px; transition: border-color .2s, box-shadow .2s; }
.blog-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(44,95,90,.12); }
.blog-search .ic { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; }
.blog-search input { flex: 1; border: 0; outline: 0; font: inherit; color: var(--ink); background: transparent; min-width: 0; }

/* -------------------------------------------------------------
   Coder scene — animated "developer at work" illustration
------------------------------------------------------------- */
.coder-scene { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: radial-gradient(circle at 75% 15%, #23504b 0%, var(--teal-700) 55%, #0e211f 100%); aspect-ratio: 10/9; min-height: 340px; }
.cs-glow { position: absolute; left: 50%; top: 42%; transform: translate(-50%,-50%); width: 75%; height: 55%; background: radial-gradient(ellipse, rgba(96,220,200,.28), rgba(225,45,42,.08) 55%, transparent 75%); filter: blur(18px); animation: cs-glow 5s ease-in-out infinite; }
@keyframes cs-glow { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

.cs-window { position: absolute; left: 50%; top: 10%; transform: translateX(-50%); width: 74%; height: 56%; background: #101c1a; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; box-shadow: 0 24px 60px -18px rgba(0,0,0,.7), 0 0 40px -8px rgba(96,220,200,.25); overflow: hidden; display: flex; flex-direction: column; }
.cs-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.08); flex: 0 0 auto; }
.cs-bar span { width: 10px; height: 10px; border-radius: 50%; }
.cs-bar span:nth-child(1) { background: #ff5f57; } .cs-bar span:nth-child(2) { background: #febc2e; } .cs-bar span:nth-child(3) { background: #28c840; }
.cs-bar em { font-style: normal; font-family: var(--ff-head); font-size: .68rem; color: rgba(255,255,255,.55); margin-left: 8px; letter-spacing: .04em; }
.cs-code { flex: 1; margin: 0; padding: 12px 14px; font-family: 'Consolas','Menlo',monospace; font-size: clamp(.62rem, 1.35vw, .82rem); line-height: 1.75; color: #c9d8d5; white-space: pre; overflow: hidden; text-align: left; }
.cs-code .ln  { display: inline-block; width: 1.6em; color: rgba(255,255,255,.25); user-select: none; }
.cs-code .kw  { color: #ff7a76; }        /* keyword — brand red tint */
.cs-code .fn  { color: #7ee8d8; }        /* function — teal tint */
.cs-code .str { color: #f5c26b; }        /* string — amber */
.cs-code .cm  { color: rgba(255,255,255,.32); font-style: italic; }
.cs-code .caret { display: inline-block; width: .55em; height: 1.05em; background: #7ee8d8; vertical-align: text-bottom; animation: cs-blink 1s steps(1) infinite; }
@keyframes cs-blink { 50% { opacity: 0; } }

/* monitor stand + desk */
.cs-stand { position: absolute; left: 50%; top: 66%; transform: translateX(-50%); width: 7%; height: 6%; background: linear-gradient(#16302c, #0d1f1c); }
.cs-stand::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 340%; height: 8px; border-radius: 6px; background: #16302c; }
.cs-desk { position: absolute; left: 0; right: 0; top: 74%; height: 5%; background: linear-gradient(90deg, #1c3a35, #234a44 50%, #1c3a35); box-shadow: 0 -6px 22px rgba(0,0,0,.4); }

/* the coder, from behind */
.cs-person { position: absolute; left: 50%; bottom: -4%; transform: translateX(-50%); width: 46%; aspect-ratio: 5/4; z-index: 3; }
.cs-head { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 34%; aspect-ratio: 1; border-radius: 46% 46% 42% 42%; background: linear-gradient(180deg, #1a2c29, #101d1b); box-shadow: inset 0 10px 18px -6px rgba(126,232,216,.28), inset 0 -6px 12px rgba(0,0,0,.5); animation: cs-nod 6s ease-in-out infinite; }
.cs-body { position: absolute; left: 0; right: 0; bottom: 0; height: 72%; border-radius: 48% 48% 12px 12px / 85% 85% 12px 12px; background: linear-gradient(180deg, #24413c, #142623); box-shadow: inset 0 14px 24px -8px rgba(126,232,216,.22), inset 0 -10px 20px rgba(0,0,0,.45); }
.cs-body::before, .cs-body::after { content: ""; position: absolute; top: 30%; width: 16%; height: 62%; border-radius: 40px; background: linear-gradient(180deg, #20393577, #13232077); }
.cs-body::before { left: -6%; transform: rotate(14deg); }
.cs-body::after  { right: -6%; transform: rotate(-14deg); }
@keyframes cs-nod { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(3px); } }

/* floating badges over the scene */
.cs-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.94); border-radius: 12px; padding: .5rem .8rem; font-family: var(--ff-head); font-weight: 600; font-size: .78rem; color: var(--teal-700); box-shadow: var(--shadow); }
.cs-chip .ic { width: 16px; height: 16px; }
.cs-chip.a { top: 8%; left: 6%; color: var(--red); animation: bob 5.5s ease-in-out infinite; }
.cs-chip.b { bottom: 12%; right: 6%; animation: bob 6.5s ease-in-out infinite 1s; }
