/* ==========================================================
   Digital Pumpy — Front-end styles
   ========================================================== */
:root {
  --bg: #ffffff;
  --soft: #f4f7f3;
  --ink: #0a0d14;
  --text: #3b4252;
  --muted: #6b7280;
  --line: #e6e9e4;
  --brand: #22c55e;
  --brand-d: #16a34a;
  --brand-l: #4ade80;
  --lime: #bef264;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --dark: #06080d;
  --dark-2: #0d1119;
  --dark-3: #151b26;
  --dark-line: rgba(255, 255, 255, .08);
  --grad: linear-gradient(100deg, #4ade80 0%, #22d3ee 50%, #818cf8 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 13, 20, .04), 0 8px 24px -8px rgba(10, 13, 20, .08);
  --shadow-lg: 0 30px 60px -20px rgba(10, 13, 20, .25);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.center-row { justify-content: center; }
.mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; } .mb-32 { margin-bottom: 32px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl { position: relative; white-space: nowrap; color: var(--ink); z-index: 0; }
.hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .38em; background: var(--lime); z-index: -1; border-radius: 4px; transform: skewX(-8deg); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-head); white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .bi { transition: transform .25s var(--ease); }
.btn:hover .bi-arrow-right, .btn:hover .bi-arrow-up-right { transform: translateX(3px); }
.btn-sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --bh: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand-l); color: #052e14; box-shadow: 0 8px 24px -8px rgba(74, 222, 128, .7), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn-primary:hover { background: var(--lime); box-shadow: 0 14px 30px -10px rgba(190, 242, 100, .8); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2333; }
.btn-glass { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .12); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--font-head); color: var(--ink); }
.link-arrow .bi { transition: transform .25s var(--ease); }
.link-arrow:hover .bi { transform: translateX(4px); }

/* ---------- Eyebrow / pills ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font-head);
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-d); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: var(--brand-l); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: #d1fae5; font: 500 13px var(--font-body); backdrop-filter: blur(8px); margin-bottom: 24px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-l); box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #ecfdf3; color: var(--brand-d); font: 600 12px var(--font-head); }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside the header box */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: transparent; transition: background .3s; pointer-events: none; }
.site-header.scrolled::before { background: rgba(6, 8, 13, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.site-header.scrolled { border-color: var(--dark-line); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img, .logo-img { height: 44px; width: auto; display: block; }
.logo-mark svg { display: block; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.brand-footer .logo-img { height: 48px; }
.lt-a { color: var(--brand-l); }
.lt-b { color: #fff; }

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, .78); font: 500 15px var(--font-head); transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-link .caret { font-size: 11px; transition: transform .25s; }
.submenu-toggle { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-phone { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .16); transition: background .2s; }
.nav-phone:hover { background: rgba(255, 255, 255, .1); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.nav-mobile-foot { display: none; }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 10px);
  width: min(980px, 92vw); display: grid; grid-template-columns: 1.25fr 1fr .95fr; gap: 8px;
  background: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .04);
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-mega:hover .caret { transform: rotate(180deg); }
.mega-col { padding: 10px; }
.mega-label { display: flex; align-items: center; gap: 8px; font: 700 11px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 4px 10px 10px; }
.mega-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 14px; transition: background .2s; }
.mega-item:hover { background: var(--soft); }
.mega-item b { display: block; font: 600 14.5px/1.3 var(--font-head); color: var(--ink); }
.mega-item small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.mega-item.compact { align-items: center; padding: 8px 10px; }
.mi-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: #ecfdf3; color: var(--brand-d); font-size: 17px; transition: background .2s, color .2s; }
.mega-item:hover .mi-icon { background: var(--ink); color: var(--brand-l); }
.mega-item.compact .mi-icon { width: 30px; height: 30px; font-size: 14px; border-radius: 8px; }
.mega-cta { border-radius: 16px; padding: 24px; background: var(--dark-2) radial-gradient(circle at 100% 0, rgba(74, 222, 128, .25), transparent 60%); color: #cbd5e1; display: flex; flex-direction: column; align-items: flex-start; }
.mega-cta h4 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.mega-cta p { font-size: 14px; line-height: 1.55; margin-bottom: 20px; }
.mega-cta .eyebrow { color: var(--brand-l); margin-bottom: 10px; }
.mega-cta .btn { margin-top: auto; }

/* ==========================================================
   HERO
   ========================================================== */
.hero, .page-hero, .post-hero {
  position: relative; background: var(--dark); color: #cbd5e1; overflow: hidden; isolation: isolate;
}
.hero { padding: calc(var(--header-h) + 64px) 0 0; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.b1 { width: 520px; height: 520px; background: #16a34a; top: -180px; left: -120px; opacity: .35; animation: drift 18s ease-in-out infinite; }
.b2 { width: 460px; height: 460px; background: #4f46e5; top: 10%; right: -140px; opacity: .35; animation: drift 22s ease-in-out infinite reverse; }
.b3 { width: 360px; height: 360px; background: #06b6d4; bottom: -120px; left: 40%; opacity: .2; animation: drift 26s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(40px, 30px) scale(1.08); } }

.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-bottom: 80px; }
.hero-title { color: #fff; margin-bottom: 24px; font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.hero-title .grad-text { display: block; }
.hero-sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #9aa4b5; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.hero-trust small { color: #9aa4b5; font-size: 13.5px; }
.hero-trust b { color: #fff; }
.avatars { display: flex; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--font-head); color: #052e14; border: 2px solid var(--dark); margin-left: -10px; }
.av:first-child { margin-left: 0; }
.a1 { background: #4ade80; } .a2 { background: #a5b4fc; } .a3 { background: #67e8f9; } .a4 { background: #fde68a; }
.stars { color: #facc15; font-size: 13px; letter-spacing: 2px; }

/* Dashboard mock */
.hero-visual { position: relative; perspective: 1400px; }
.dash {
  position: relative; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(20px); overflow: hidden; transform: rotateY(-8deg) rotateX(4deg); transition: transform .6s var(--ease);
}
.hero-visual:hover .dash { transform: rotateY(0) rotateX(0); }
.dash-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--dark-line); }
.dash-top span { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.dash-top span:nth-child(2) { background: #f59e0b; } .dash-top span:nth-child(3) { background: #22c55e; }
.dash-top em { margin-left: 12px; font: 400 12px var(--font-body); color: #64748b; font-style: normal; background: rgba(255, 255, 255, .05); padding: 3px 12px; border-radius: 6px; }
.dash-body { display: flex; }
.dash-side { display: flex; flex-direction: column; gap: 18px; padding: 18px 14px; border-right: 1px solid var(--dark-line); color: #64748b; font-size: 17px; }
.dash-side .on { color: var(--brand-l); }
.dash-main { flex: 1; padding: 18px; min-width: 0; }
.dash-head { display: flex; align-items: center; justify-content: space-between; color: #fff; font: 600 14px var(--font-head); margin-bottom: 14px; }
.tag { font-size: 11px; padding: 3px 10px; border-radius: 999px; background: rgba(74, 222, 128, .15); color: var(--brand-l); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dash-kpis div { background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); border-radius: 12px; padding: 10px 12px; }
.dash-kpis small { display: block; font-size: 11px; color: #64748b; }
.dash-kpis b { display: block; color: #fff; font: 700 17px var(--font-head); }
.dash-kpis em { font-style: normal; font-size: 11px; }
.up { color: var(--brand-l); }
.dash-chart { height: 120px; display: flex; align-items: flex-end; gap: 6px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--dark-line); }
.dash-chart span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--brand-l), rgba(74, 222, 128, .15)); transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
.dash-chart span:nth-child(odd) { background: linear-gradient(180deg, #818cf8, rgba(129, 140, 248, .12)); }
@keyframes grow { from { transform: scaleY(0); } }
.dash-rows { margin-top: 12px; display: grid; gap: 8px; }
.dash-rows div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #cbd5e1; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
.dash-rows i { color: var(--brand-l); }
.dash-rows em { margin-left: auto; color: #64748b; font-style: normal; font-size: 11px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); animation: float 6s ease-in-out infinite;
}
.float-card i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #ecfdf3; color: var(--brand-d); font-size: 18px; }
.float-card small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.float-card b { font: 800 16px var(--font-head); }
.fc1 { left: -34px; bottom: 40px; }
.fc2 { right: -18px; top: -22px; animation-delay: -2s; }
.fc2 i { background: #eef2ff; color: var(--indigo); }
.fc3 { right: 24px; bottom: -26px; animation-delay: -4s; }
.fc3 i { background: #ecfeff; color: #0891b2; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Marquee */
.marquee { border-top: 1px solid var(--dark-line); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 10px; font: 600 17px var(--font-head); color: rgba(255, 255, 255, .6); white-space: nowrap; transition: color .3s; }
.mq-item:hover { color: #fff; }
.mq-item .bi { color: var(--brand-l); }
.mq-item.tech { font-weight: 500; color: rgba(255, 255, 255, .35); }
.mq-item img { width: 22px; height: 22px; filter: invert(1); opacity: .6; transition: opacity .3s; }
.mq-item:hover img { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Page hero (inner pages) */
.page-hero { padding: calc(var(--header-h) + 64px) 0 80px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 900px; }
.page-hero .hero-sub { margin-bottom: 0; max-width: 680px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: #7c8798; margin-bottom: 26px; }
.crumbs a { color: #aab3c2; display: inline-flex; gap: 6px; transition: color .2s; }
.crumbs a:hover { color: var(--brand-l); }
.crumbs .bi-chevron-right { font-size: 10px; }
.crumbs span { color: #fff; }
.notfound { min-height: 82vh; display: flex; align-items: center; }
.notfound .hero-sub { margin: 0 auto 32px; }
.notfound h1 { margin-left: auto; margin-right: auto; }
.big-404 { font: 800 clamp(7rem, 20vw, 13rem)/1 var(--font-head); letter-spacing: -.06em; }
.ty-check { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 28px; background: var(--brand-l); color: #052e14; font-size: 44px; box-shadow: 0 0 0 12px rgba(74, 222, 128, .15), 0 0 0 24px rgba(74, 222, 128, .06); }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding: 110px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: #9aa4b5; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head.split > div { max-width: 640px; }
.sec-head h2 { margin-bottom: 14px; }
.lead { font-size: 1.12rem; }

/* Pillars */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar {
  position: relative; overflow: hidden; border-radius: 28px; padding: 44px; min-height: 480px;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-dev { background: var(--dark-2); color: #9aa4b5; }
.pillar-dev h3 { color: #fff; }
.pillar-mkt { background: linear-gradient(160deg, #ecfdf3, #d9f99d 120%); }
.pillar h3 { font-size: 1.9rem; margin-bottom: 12px; }
.pillar > p { font-size: 1.05rem; max-width: 420px; }
.pillar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.pillar-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; background: var(--brand-l); color: #052e14; }
.pillar-mkt .pillar-icon { background: var(--ink); color: var(--brand-l); }
.pillar-num { font: 800 64px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .18); }
.pillar-mkt .pillar-num { -webkit-text-stroke-color: rgba(10, 13, 20, .15); }
.ticks { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; position: relative; z-index: 1; }
.ticks a { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: 15px; transition: color .2s; }
.pillar-dev .ticks a { color: #e2e8f0; }
.pillar-dev .ticks a:hover { color: var(--brand-l); }
.ticks .bi { color: var(--brand-d); font-size: 18px; }
.pillar-dev .ticks .bi { color: var(--brand-l); }
.pillar .link-arrow { margin-top: auto; position: relative; z-index: 1; }
.pillar-dev .link-arrow { color: var(--brand-l); }
.pillar-code { position: absolute; right: -10px; bottom: -6px; font: 500 15px/1.7 ui-monospace, Consolas, monospace; color: rgba(74, 222, 128, .18); text-align: right; pointer-events: none; }
.pillar-graph { position: absolute; right: 0; bottom: 0; width: 60%; height: 140px; color: rgba(22, 163, 74, .25); pointer-events: none; }
.pillar-graph svg { width: 100%; height: 100%; }

/* Tabs */
.tabs { display: inline-flex; padding: 6px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.tab { border: 0; background: transparent; padding: 11px 22px; border-radius: 999px; font: 600 15px var(--font-head); color: var(--muted); display: inline-flex; gap: 8px; align-items: center; transition: background .25s, color .25s; }
.tab.is-active { background: var(--ink); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.svc-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(74, 222, 128, .22), transparent 70%); opacity: 0; transition: opacity .4s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::after { opacity: 1; }
.svc-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 15px; flex: 1; }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: #ecfdf3; color: var(--brand-d); margin-bottom: 26px; transition: transform .35s var(--ease), background .35s, color .35s; }
.svc-card:hover .svc-icon { transform: rotate(-8deg) scale(1.06); background: var(--ink); color: var(--brand-l); }
.svc-more { display: inline-flex; gap: 6px; align-items: center; font: 600 14.5px var(--font-head); color: var(--ink); margin-top: 8px; }
.svc-card.featured { background: var(--ink); border-color: var(--ink); }
.svc-card.featured h3 { color: #fff; }
.svc-card.featured p { color: #9aa4b5; }
.svc-card.featured .svc-icon { background: var(--brand-l); color: #052e14; }
.svc-card.featured .svc-more { color: var(--brand-l); }

/* ERP spotlight */
.erp-spot::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(74, 222, 128, .14), transparent 60%); }
.erp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.erp-points { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.erp-points li { display: flex; gap: 12px; color: #d4dae3; }
.erp-points .bi { color: var(--brand-l); font-size: 19px; margin-top: 2px; }
.erp-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.erp-mod {
  aspect-ratio: 1; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); color: #e2e8f0; font: 600 14.5px var(--font-head); text-align: center; padding: 10px;
  transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.erp-mod .bi { font-size: 28px; color: var(--brand-l); }
.erp-mod:hover { background: rgba(74, 222, 128, .1); border-color: rgba(74, 222, 128, .4); transform: translateY(-4px); }
.erp-mod:nth-child(5) { background: var(--brand-l); color: #052e14; border-color: transparent; }
.erp-mod:nth-child(5) .bi { color: #052e14; }

/* Stats */
.stats-strip { background: var(--brand-l); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; color: #14532d; }
.stat b { display: block; font: 800 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--font-head); color: #052e14; letter-spacing: -.04em; margin-bottom: 8px; }
.stat span { font-weight: 500; }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; top: 58px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num { font: 700 12px var(--font-head); color: var(--muted); letter-spacing: .1em; display: block; margin-bottom: 12px; }
.step-icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 22px; font-size: 28px; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow); position: relative; transition: transform .35s var(--ease), background .35s, color .35s; }
.step:hover .step-icon { transform: translateY(-6px); background: var(--ink); color: var(--brand-l); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }
.process-dark::before { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 8px, transparent 8px 16px); }
.process-dark .step-icon { background: var(--dark-3); border-color: var(--dark-line); color: var(--brand-l); box-shadow: none; }
.process-dark .step:hover .step-icon { background: var(--brand-l); color: #052e14; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: 20px; }
.bento-item { border-radius: 24px; padding: 34px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento-item p { color: var(--muted); margin: 0; }
.b-wide { grid-column: span 2; background: linear-gradient(135deg, #fff 40%, #ecfdf3); }
.b-accent { background: var(--brand-l); border-color: transparent; }
.b-accent p { color: #14532d; }
.b-accent .b-icon { background: var(--ink); color: var(--brand-l); }
.b-dark { background: var(--ink); border-color: var(--ink); }
.b-dark h3 { color: #fff; } .b-dark p { color: #9aa4b5; }
.b-dark .b-icon { background: rgba(255, 255, 255, .08); color: var(--brand-l); }
.b-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; background: #ecfdf3; color: var(--brand-d); margin-bottom: 22px; flex-shrink: 0; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-wrap { display: contents; }
.work-wrap.hide { display: none; }
.work-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-visit { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 18px; transform: scale(.8); opacity: 0; transition: .3s var(--ease); }
.work-card:hover .work-visit { transform: scale(1); opacity: 1; }
.work-body { padding: 24px; }
.work-body h3 { margin: 12px 0 8px; }
.work-body p { color: var(--muted); font-size: 15px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tags span { font-size: 12px; padding: 4px 10px; border-radius: 6px; background: var(--soft); color: var(--text); }

/* Placeholder gradients */
.thumb-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255, 255, 255, .92); font-size: 40px; }
.thumb-ph em { font: 600 13px var(--font-head); font-style: normal; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.grad-0 { background: linear-gradient(135deg, #0f172a, #16a34a); }
.grad-1 { background: linear-gradient(135deg, #312e81, #06b6d4); }
.grad-2 { background: linear-gradient(135deg, #14532d, #84cc16); }
.grad-3 { background: linear-gradient(135deg, #1e1b4b, #8b5cf6); }
.grad-4 { background: linear-gradient(135deg, #0c4a6e, #22c55e); }
.grad-5 { background: linear-gradient(135deg, #111827, #6366f1); }

/* Tech grid */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tech-item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 12px; border-radius: 18px; border: 1px solid var(--line); background: #fff; font: 600 14px var(--font-head); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.tech-item img { opacity: .85; transition: opacity .3s; }
.tech-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tech-item:hover img { opacity: 1; }

/* Testimonials */
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.testi-track.single { grid-auto-columns: minmax(0, 820px); justify-content: center; }
.testi { scroll-snap-align: start; margin: 0; padding: 40px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.testi::before { content: "“"; position: absolute; top: -6px; right: 28px; font: 800 140px/1 var(--font-head); color: #ecfdf3; }
.testi blockquote { margin: 18px 0 28px; font-size: 1.12rem; line-height: 1.75; color: var(--ink); position: relative; flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 14px; }
.testi figcaption img, .t-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.t-av { display: grid; place-items: center; background: var(--ink); color: var(--brand-l); font: 800 20px var(--font-head); }
.testi b { display: block; color: var(--ink); font-family: var(--font-head); }
.testi small { color: var(--muted); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.18rem; line-height: 1.35; margin: 12px 0 10px; }
.post-body h3 a:hover { color: var(--brand-d); }
.post-body p { color: var(--muted); font-size: 15px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta.light { color: #9aa4b5; font-size: 14px; }

/* FAQ */
.faq-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font: 600 16px/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); flex-shrink: 0; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq[open] .faq-ic { transform: rotate(45deg); background: var(--ink); color: var(--brand-l); }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; }

/* ==========================================================
   FORM
   ========================================================== */
.quote-form { background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.qf-head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.qf-head p { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.qf-head .bi { color: var(--brand-d); }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 24px 16px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: #fbfcfa;
  font: 400 15px var(--font-body); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; appearance: none;
}
.field select { padding-top: 24px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M1.6 5.1 8 11.5l6.4-6.4-1-1L8 9.5 2.6 4.1z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transition: .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(34, 197, 94, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.static { top: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--brand-d); }
.field.has-error input, .field.has-error textarea { border-color: #ef4444; }
.field .err { display: block; color: #dc2626; font-size: 12.5px; margin-top: 4px; }
.chip-label { display: block; font: 600 13px var(--font-head); color: var(--ink); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field label.chip { position: relative; top: auto; left: auto; font-size: inherit; color: inherit; pointer-events: auto; transition: none; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; cursor: pointer; transition: .2s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.qf-foot { margin-top: 20px; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.btn-loading { display: none; align-items: center; gap: 10px; }
.is-loading .btn-label { display: none; }
.is-loading .btn-loading { display: inline-flex; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(5, 46, 20, .25); border-top-color: #052e14; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-msg { margin-top: 14px; font-size: 14.5px; border-radius: 12px; }
.form-msg.ok { padding: 12px 16px; background: #ecfdf3; color: #166534; }
.form-msg.bad { padding: 12px 16px; background: #fef2f2; color: #b91c1c; }

/* ==========================================================
   SERVICE PAGE
   ========================================================== */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: start; }
.svc-figure { margin: 0 0 40px; border-radius: 24px; overflow: hidden; background: var(--soft); }
.svc-aside .sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.svc-aside .quote-form { padding: 28px; }
.svc-aside .qf-grid { grid-template-columns: 1fr; }
.aside-card { border-radius: 20px; padding: 24px; background: var(--ink); color: #cbd5e1; }
.aside-card h4 { color: #fff; display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.aside-link { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: #e2e8f0; border-top: 1px solid var(--dark-line); transition: color .2s; }
.aside-link:hover { color: var(--brand-l); }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feat { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.feat:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-num { display: inline-block; font: 800 14px var(--font-head); color: var(--brand-d); background: #ecfdf3; padding: 6px 10px; border-radius: 8px; margin-bottom: 16px; }
.feat h3 { font-size: 1.12rem; }
.feat p { color: var(--muted); font-size: 15px; margin: 0; }

/* Prose */
.prose { font-size: 1.06rem; line-height: 1.85; color: var(--text); }
.prose h2 { font-size: 1.8rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.35rem; margin: 1.6em 0 .6em; }
.prose a { color: var(--brand-d); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose ul li::marker { color: var(--brand); }
.prose ol li::marker { color: var(--brand-d); font-weight: 700; }
.prose img { border-radius: 16px; margin: 1.5em 0; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 14px 14px 0; font-style: italic; }
.prose > *:first-child { margin-top: 0; }

/* ==========================================================
   ABOUT
   ========================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-card { border-radius: 24px; padding: 32px; }
.ac-main { grid-column: span 2; background: var(--ink); color: #9aa4b5; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; background-image: radial-gradient(circle at 90% 10%, rgba(74, 222, 128, .3), transparent 50%); }
.ac-main h3 { color: #fff; font-size: 1.6rem; }
.ac-main .b-icon { background: var(--brand-l); color: #052e14; }
.ac-main p { margin: 0; }
.ac-stat { background: var(--brand-l); color: #14532d; }
.ac-stat.alt { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.ac-stat b { display: block; font: 800 2.6rem/1 var(--font-head); color: var(--ink); margin-bottom: 6px; }
.skills { display: grid; gap: 18px; margin-top: 28px; }
.skill-top { display: flex; justify-content: space-between; font: 600 14.5px var(--font-head); color: var(--ink); margin-bottom: 8px; }
.skill-bar { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.skill-bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad); transition: width 1.4s var(--ease); }
.in .skill-bar span, .skills.in .skill-bar span { width: var(--w); }
.love-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.love { padding: 34px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.love:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.love p { color: var(--muted); margin: 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv { padding: 44px; border-radius: 26px; background: linear-gradient(140deg, #ecfdf3, #f7fee7); }
.mv h3 { font-size: 1.6rem; }
.mv p { margin: 0; font-size: 1.05rem; }
.mv-dark { background: var(--ink); color: #9aa4b5; }
.mv-dark h3 { color: #fff; }
.mv-dark .b-icon { background: rgba(255, 255, 255, .08); color: var(--brand-l); }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client { height: 110px; display: grid; place-items: center; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font: 700 17px var(--font-head); color: var(--ink); text-align: center; }
.client img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .75; transition: .3s; }
.client:hover img { filter: none; opacity: 1; }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.ci-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); margin-bottom: 12px; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
a.ci-card:hover { transform: translateX(4px); border-color: transparent; box-shadow: var(--shadow); }
.ci-card .b-icon { margin: 0; }
.ci-card small { display: block; color: var(--muted); font-size: 13px; }
.ci-card b { color: var(--ink); font-family: var(--font-head); font-weight: 700; }
.ci-card.wa .b-icon { background: #dcfce7; color: #16a34a; }
.next-steps { list-style: none; padding: 26px; margin: 28px 0 0; border-radius: 20px; background: var(--ink); color: #e2e8f0; display: grid; gap: 14px; }
.next-steps li { display: flex; gap: 12px; align-items: center; }
.next-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-l); color: #052e14; font: 800 13px var(--font-head); }

/* ==========================================================
   BLOG
   ========================================================== */
.blog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 40px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chips.center { justify-content: center; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 14px var(--font-head); color: var(--text); transition: .2s; }
.chip-link small { color: var(--muted); font-weight: 500; }
.chip-link:hover { border-color: var(--ink); }
.chip-link.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-link.is-active small { color: #9aa4b5; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; min-width: 280px; }
.search-box input { border: 0; outline: 0; flex: 1; font: 400 15px var(--font-body); background: transparent; }
.search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(34, 197, 94, .12); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); font: 600 15px var(--font-head); transition: .2s; }
.pagination a:hover { border-color: var(--ink); }
.pagination a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { text-align: center; padding: 80px 20px; border-radius: 24px; border: 2px dashed var(--line); }
.empty-state > .bi { font-size: 48px; color: var(--brand); }
.empty-state p { color: var(--muted); max-width: 460px; margin: 0 auto 24px; }

.post-hero { padding: calc(var(--header-h) + 56px) 0 72px; }
.post-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 22px; }
.post-cover { margin: -40px 0 48px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.post-layout { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 32px; padding-top: 56px; }
.post-cover + .post-layout { padding-top: 0; }
.share-rail { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 10px; align-self: start; }
.share-rail a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text); transition: .2s; }
.share-rail a:hover { background: var(--ink); color: var(--brand-l); border-color: var(--ink); }
.author-box { display: flex; align-items: center; gap: 18px; margin: 56px 0 100px; padding: 26px; border-radius: 22px; background: var(--soft); }
.author-box b { font-family: var(--font-head); color: var(--ink); }
.author-box p { margin: 0; color: var(--muted); font-size: 14.5px; }
.author-box .btn { margin-left: auto; }

/* ==========================================================
   CTA + FOOTER
   ========================================================== */
.cta-band { padding: 0 0 110px; }
.section-soft + .cta-band, .section-dark + .cta-band { padding-top: 110px; }
.page-contact .cta-band { display: none; }
.cta-card {
  position: relative; overflow: hidden; border-radius: 32px; padding: 64px; background: var(--dark);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; isolation: isolate;
}
.cta-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 0% 100%, rgba(74, 222, 128, .35), transparent 45%), radial-gradient(circle at 100% 0%, rgba(99, 102, 241, .35), transparent 45%); }
.cta-card h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cta-card p { color: #9aa4b5; font-size: 1.08rem; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

.site-footer { background: var(--dark); color: #8a94a6; padding: 88px 0 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr 1.3fr; gap: 40px; }
.f-brand p { font-size: 15px; margin: 22px 0 24px; max-width: 340px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--dark-line); color: #cbd5e1; transition: .25s; }
.socials a:hover { background: var(--brand-l); color: #052e14; border-color: transparent; transform: translateY(-3px); }
.f-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; letter-spacing: 0; }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-col a { font-size: 14.5px; transition: color .2s; }
.f-col a:hover { color: var(--brand-l); }
.fc-item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14.5px; color: #cbd5e1; }
.fc-item .bi { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--brand-l); }
.fc-item small { display: block; color: #64748b; font-size: 12px; }
a.fc-item:hover { color: var(--brand-l); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding: 26px 0; border-top: 1px solid var(--dark-line); font-size: 14px; }
.footer-bottom p { margin: 0; }
.fb-tag .bi { color: #ef4444; }
.footer-word { font: 800 clamp(4rem, 15.5vw, 15rem)/.8 var(--font-head); letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); margin-bottom: -.12em; user-select: none; white-space: nowrap; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 28px; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 89; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .svc-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .site-header::before { background: rgba(6, 8, 13, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .nav-toggle { display: flex; }
  .nav-phone { display: none; }
  .nav-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--dark); padding: 20px 24px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .4s var(--ease); margin: 0; display: flex; flex-direction: column;
  }
  .nav-open .main-nav { transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li { border-bottom: 1px solid var(--dark-line); position: relative; }
  .nav-link { padding: 16px 4px; font-size: 18px; border-radius: 0; background: none !important; }
  .nav-link .caret { display: none; }
  .submenu-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 8px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--dark-line); background: transparent; color: #fff; transition: transform .3s; }
  .has-mega.open .submenu-toggle { transform: rotate(180deg); }
  .mega { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; display: none; grid-template-columns: 1fr; background: transparent; box-shadow: none; padding: 0 0 16px; }
  .has-mega:hover .mega { transform: none; }
  .has-mega.open .mega { display: grid; }
  .mega-col { padding: 0; }
  .mega-label { color: #64748b; padding: 12px 0 6px; }
  .mega-item { padding: 8px 0; }
  .mega-item:hover { background: none; }
  .mega-item b { color: #e2e8f0; }
  .mega-item small { display: none; }
  .mi-icon { background: rgba(255, 255, 255, .06); color: var(--brand-l); width: 32px; height: 32px; font-size: 15px; }
  .mega-cta { display: none; }
  .nav-mobile-foot { display: grid; gap: 14px; margin-top: auto; padding-top: 32px; }
  .nav-mobile-foot a { display: flex; gap: 10px; color: #cbd5e1; }
  .nav-mobile-foot .bi { color: var(--brand-l); }

  .hero-inner, .erp-grid, .faq-quote, .contact-grid, .about-grid, .svc-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin: 20px auto 0; width: 100%; }
  .dash { transform: none; }
  .svc-grid, .post-grid, .work-grid, .love-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process::before { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .cta-card { grid-template-columns: 1fr; padding: 48px 36px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .svc-aside .sticky { position: static; }
  .section { padding: 84px 0; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .nav-cta { display: none; }
  .brand img, .logo-img { height: 38px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-inner { gap: 32px; padding-bottom: 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { display: none; }

  .dash-side { display: none; }
  .dash-kpis b { font-size: 14px; }
  .pillars, .svc-grid, .post-grid, .work-grid, .love-grid, .bento, .mv-grid, .feat-grid, .qf-grid { grid-template-columns: 1fr; }
  .b-wide, .b-dark { grid-column: auto; }
  .pillar { padding: 32px 24px; min-height: 0; }
  .pillar-code, .pillar-graph { display: none; }
  .ticks { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .erp-modules { gap: 10px; }
  .erp-mod { border-radius: 16px; font-size: 12.5px; }
  .erp-mod .bi { font-size: 22px; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .quote-form { padding: 24px 18px; }
  .testi { padding: 28px 22px; }
  .testi-track { grid-auto-columns: 88%; }
  .testi-track.single { grid-auto-columns: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .f-contact { grid-column: 1 / -1; }
  .post-layout { grid-template-columns: 1fr; }
  .share-rail { position: static; flex-direction: row; order: 2; }
  .author-box { flex-wrap: wrap; }
  .author-box .btn { margin-left: 0; }
  .search-box { min-width: 0; width: 100%; }
  .section { padding: 68px 0; }
  .cta-band { padding-bottom: 68px; }
  .section-soft + .cta-band, .section-dark + .cta-band { padding-top: 68px; }
  .cta-card { padding: 36px 22px; border-radius: 24px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .sec-head { margin-bottom: 36px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 22px; bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   MEGA MENU – PRODUCTS
   ========================================================== */
.mega-label.light { color: #7c8798; padding-left: 0; }
.mega-product { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); margin-bottom: 10px; transition: background .2s, border-color .2s; }
.mega-product:hover { background: rgba(74, 222, 128, .1); border-color: rgba(74, 222, 128, .35); }
.mega-product b { display: flex; align-items: center; gap: 8px; color: #fff; font: 700 15px/1.3 var(--font-head); }
.mega-product small { display: block; font-size: 12.5px; line-height: 1.45; color: #9aa4b5; margin-top: 3px; }
.mp-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: var(--brand-l); color: #052e14; font-size: 18px; }
.live-dot { font-style: normal; font: 700 10px/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 99px; background: rgba(74, 222, 128, .15); color: var(--brand-l); }
.mega-cta-link { margin-top: auto; padding-top: 8px; display: inline-flex; gap: 6px; align-items: center; color: var(--brand-l); font: 600 13.5px var(--font-head); }
.mb-list { margin-bottom: 28px !important; }

/* ==========================================================
   SERVICE / PRODUCT PAGE v2
   ========================================================== */
.svc-hero { position: relative; background: var(--dark); color: #cbd5e1; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 48px) 0 88px; }
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.svc-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.9rem); margin-bottom: 18px; }
.svc-hero .hero-sub { margin-bottom: 30px; }
.live-at { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-l); }
.live-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font: 600 14px var(--font-head); }
.live-chip .bi { color: var(--brand-l); }
.hero-ticks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; color: #d4dae3; font-size: 14.5px; }
.hero-ticks .bi { color: var(--brand-l); }

.svc-hero-visual { position: relative; }
.hv-image { border-radius: 24px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); padding: 18px; }
.hv-image img { border-radius: 14px; margin: 0 auto; }
.hv-stack { position: relative; padding: 0 110px 120px 0; }
.hv-panel { border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8); overflow: hidden; }
.hv-panel-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; }
.hv-mod { display: flex; flex-direction: column; gap: 10px; padding: 16px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); color: #e2e8f0; font: 600 12.5px/1.3 var(--font-head); min-height: 96px; }
.hv-mod .bi { font-size: 20px; color: var(--brand-l); }
.hv-mod:nth-child(2) { background: var(--brand-l); color: #052e14; border-color: transparent; }
.hv-mod:nth-child(2) .bi { color: #052e14; }
.phone.hv-phone { position: absolute; right: 0; bottom: 0; width: 180px; animation: float 6s ease-in-out infinite; }

/* Phone mockup */
.phone { position: relative; width: 220px; margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 34px; padding: 10px; background: #0b0f19; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), inset 0 0 0 2px #1b2130; }
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 64px; height: 16px; border-radius: 99px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 26px; background: linear-gradient(180deg, #f6fbf6, #fff); padding: 40px 12px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; color: var(--ink); text-align: left; }
.ps-head { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 14px; background: var(--ink); color: #fff; margin-bottom: 4px; }
.ps-head b { font: 700 12.5px/1.2 var(--font-head); color: #fff; }
.ps-icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; background: var(--brand-l); color: #052e14; font-size: 14px; }
.ps-row { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; font-weight: 500; }
.ps-row .bi { color: var(--brand-d); }
.ps-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-tile { display: flex; flex-direction: column; gap: 8px; padding: 12px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font: 600 11px/1.3 var(--font-head); min-height: 84px; }
.ps-tile .bi { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #ecfdf3; color: var(--brand-d); font-size: 13px; }
.ps-tile:nth-child(2) .bi { background: #eef2ff; color: var(--indigo); }
.ps-tile:nth-child(3) .bi { background: #fef3c7; color: #b45309; }
.ps-tile:nth-child(4) .bi { background: #ecfeff; color: #0891b2; }
.ps-bar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ps-bar span { width: 18px; height: 4px; border-radius: 4px; background: #d1d5db; }
.ps-bar span:first-child { background: var(--brand); }

/* Glance card (services without apps) */
.glance-card { border-radius: 24px; padding: 28px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8); }
.gc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.gc-head .svc-icon { margin: 0; background: var(--ink); color: var(--brand-l); }
.gc-head small { display: block; font: 700 11px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gc-head b { font: 800 20px var(--font-head); }
.glance-card ul { list-style: none; margin: 0; padding: 0; }
.glance-card li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.glance-card li:last-child { border: 0; padding-bottom: 0; }
.glance-card li > .bi { color: var(--brand-d); font-size: 18px; margin-top: 1px; }
.glance-card li b { display: block; font: 600 14.5px var(--font-head); }
.glance-card li small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }

/* In-page anchors clear the fixed header */
.svc-hero ~ .section { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Overview */
.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.ov-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.ov-card { border-radius: 20px; padding: 24px; background: var(--soft); border: 1px solid var(--line); }
.ov-card h4 { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; }
.ov-card h4 .bi { color: var(--brand-d); }
.ov-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ov-facts li { padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ov-facts b { display: block; font: 800 26px/1.1 var(--font-head); color: var(--ink); }
.ov-facts b .bi { color: var(--brand-d); font-size: 24px; }
.ov-facts span { font-size: 13px; color: var(--muted); }

/* Modules */
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.mod:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.mod-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; background: #ecfdf3; color: var(--brand-d); margin-bottom: 18px; transition: .3s; }
.mod:hover .mod-icon { background: var(--ink); color: var(--brand-l); }
.mod h3 { font-size: 1.05rem; margin-bottom: 6px; }
.mod p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* Apps */
.apps-sec::before { content: ""; position: absolute; width: 800px; height: 800px; left: 50%; top: 40%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(74, 222, 128, .12), transparent 60%); pointer-events: none; }
.apps-sec .sec-head p { color: #9aa4b5; }
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.app-card { text-align: center; padding: 32px 24px; border-radius: 28px; background: rgba(255, 255, 255, .03); border: 1px solid var(--dark-line); transition: transform .35s var(--ease), border-color .35s; }
.app-card:hover { transform: translateY(-6px); border-color: rgba(74, 222, 128, .35); }
.app-card .phone { margin-bottom: 28px; }
.app-card h3 { font-size: 1.3rem; }
.app-card p { color: #9aa4b5; font-size: 15px; }
.app-feats { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.app-feats li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: #e2e8f0; font-size: 13px; }
.app-feats .bi { color: var(--brand-l); }

/* Trusted band */
.trusted-band { padding: 56px 0; background: var(--brand-l); }
.trusted-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.trusted-inner .eyebrow { color: #14532d; margin-bottom: 8px; }
.trusted-inner h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #052e14; margin: 0; max-width: 460px; }
.trusted-list { display: flex; flex-wrap: wrap; gap: 12px; }
.trusted-item { display: inline-flex; align-items: center; gap: 10px; padding: 16px 22px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px -12px rgba(5, 46, 20, .35); }
.trusted-item .bi { color: var(--brand-d); font-size: 20px; }
.trusted-item b { font: 700 16px var(--font-head); color: var(--ink); }
.trusted-item.next { background: transparent; box-shadow: none; border: 2px dashed rgba(5, 46, 20, .3); transition: .25s; }
.trusted-item.next:hover { background: rgba(255, 255, 255, .4); }
.trusted-item.next .bi, .trusted-item.next b { color: #14532d; }

.feat-grid.three { grid-template-columns: repeat(3, 1fr); }

/* Quote / demo section */
.quote-sec { background: var(--dark); color: #9aa4b5; overflow: hidden; isolation: isolate; }
.quote-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 0% 100%, rgba(74, 222, 128, .22), transparent 45%), radial-gradient(circle at 100% 0%, rgba(99, 102, 241, .22), transparent 45%); }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.quote-copy h2 { color: #fff; }
.quote-copy > p { font-size: 1.08rem; margin-bottom: 28px; }
.quote-copy .next-steps { background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); margin-top: 0; }
.quote-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #cbd5e1; }
.quote-wa .bi { color: #25d366; font-size: 20px; }
.quote-wa b { color: var(--brand-l); }

/* Home – products showcase */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.prod-card { position: relative; display: flex; flex-direction: column; border-radius: 28px; padding: 34px; background: var(--dark-2); color: #9aa4b5; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s; }
.prod-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(74, 222, 128, .2), transparent 50%); }
.prod-card:nth-child(3n+2)::before { background: radial-gradient(circle at 100% 0%, rgba(129, 140, 248, .25), transparent 50%); }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.prod-card .mp-icon { width: 56px; height: 56px; border-radius: 16px; font-size: 26px; }
.prod-card h3 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.prod-card > p { font-size: 15.5px; }
.prod-mods { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 22px; }
.prod-mods span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: #e2e8f0; font-size: 13px; }
.prod-mods .bi { color: var(--brand-l); }
.prod-apps { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); color: #e2e8f0; font-size: 14px; margin-bottom: 26px; }
.prod-apps .bi { color: var(--brand-l); font-size: 18px; }
.prod-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.prod-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #cbd5e1; }
.prod-live b { color: #fff; }
.prod-live .pill-dot { flex-shrink: 0; }

/* Services page – product cards */
.svc-card.prod { background: var(--dark-2); border-color: var(--dark-2); }
.svc-card.prod h3 { color: #fff; }
.svc-card.prod p { color: #9aa4b5; }
.svc-card.prod .svc-icon { background: var(--brand-l); color: #052e14; }
.svc-card.prod .svc-more { color: var(--brand-l); }

@media (max-width: 1180px) {
  .mod-grid { grid-template-columns: repeat(3, 1fr); }
  .overview-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
}
@media (max-width: 1024px) {
  .mega-cta { display: block; background: none; padding: 8px 0 0; }
  .mega-cta-link { display: none; }
  .svc-hero-grid, .overview-grid, .quote-grid, .prod-grid { grid-template-columns: 1fr; }
  .svc-hero-visual { max-width: 560px; width: 100%; margin: 12px auto 0; }
  .ov-aside { position: static; grid-template-columns: 1fr 1fr; }
  .mod-grid { grid-template-columns: 1fr 1fr; }
  .apps-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .feat-grid.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .svc-hero { padding: calc(var(--header-h) + 32px) 0 64px; }
  .svc-hero .hero-actions .btn { flex: 1 1 100%; }
  .hv-stack { padding: 0 70px 90px 0; }
  .hv-panel-body { grid-template-columns: 1fr 1fr; }
  .hv-mod:nth-child(n+5) { display: none; }
  .phone.hv-phone { width: 140px; right: -4px; }
  .hv-phone .ps-row { font-size: 10px; padding: 6px; }
  .ov-aside, .mod-grid, .feat-grid.three { grid-template-columns: 1fr; }
  .trusted-item { padding: 12px 16px; }
  .prod-card { padding: 28px 22px; }
}
.ov-facts li:last-child:nth-child(odd) { grid-column: span 2; }

/* ==========================================================
   RESPONSIVE FIXES (device audit 320px – 1920px)
   ========================================================== */
html { overflow-x: clip; }
.live-dot { font-size: 11px; }
.search-box input { height: 100%; min-width: 0; }

@media (max-width: 1024px) {
  /* closed off-canvas menu must not create side-scroll or receive focus */
  .main-nav { visibility: hidden; transition: transform .4s var(--ease), visibility 0s linear .4s; }
  .mega-cta { order: -1; }
  .mega-item.compact { padding: 8px 0; }
  .nav-open .main-nav { visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
}

@media (max-width: 680px) {
  .sec-head.split .tabs { width: 100%; }
  .tabs .tab { flex: 1; justify-content: center; padding: 11px 12px; }
}

@media (max-width: 400px) {
  .tabs .tab { font-size: 14px; gap: 6px; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .about-visual { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .about-card { padding: 22px 18px; }
  .ac-stat b { font-size: 2rem; }
  .ac-main { min-height: 220px; }
  .ac-main h3 { font-size: 1.35rem; }
  .ov-facts { grid-template-columns: 1fr 1fr; }
  .ov-facts li { padding: 14px 12px; }
  .hero-trust { gap: 12px; }
  .stat b { font-size: 2.2rem; }
}
