/* ============================================================
   Sense Softech — design system v2 (glossy gradients)
   Brand lime #8CC63F on deep ocean → indigo → violet gradients.
   Fonts: Sora (display) + Inter (body).
   ============================================================ */

:root {
  --brand: #8cc63f;
  --brand-2: #b9ef5c;
  --brand-600: #6fa62b;
  --brand-700: #578a1f;
  --brand-100: #eef7e2;
  --brand-glow: rgba(140, 198, 63, 0.45);

  --ocean: #0b2c6b;
  --ocean-2: #0e3a8a;
  --indigo: #3730a3;
  --violet: #6d28d9;
  --teal: #0ea5b7;
  --sky: #38bdf8;

  --grad-deep: linear-gradient(135deg, #071c45 0%, #0c2f7a 32%, #2e1f8f 66%, #0d3d6e 100%);
  --grad-band: linear-gradient(120deg, #0b2f78 0%, #3221a3 55%, #0e6a8f 100%);
  --grad-footer: linear-gradient(180deg, #0a2559 0%, #071740 60%, #060f2e 100%);
  --grad-lime: linear-gradient(135deg, #a4dd4f 0%, #8cc63f 55%, #6fb52a 100%);
  --grad-text: linear-gradient(90deg, #b9ef5c 0%, #8cc63f 35%, #5ee7d6 70%, #b9ef5c 100%);

  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: linear-gradient(180deg, #f7faff 0%, #eef3fc 100%);
  --bg-soft-2: #eef2f7;

  --on-dark: #ffffff;
  --on-dark-2: #c7d3ec;
  --on-dark-3: #9fb0d3;

  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow: 0 14px 34px -14px rgba(15, 23, 42, 0.22);
  --shadow-lg: 0 34px 70px -24px rgba(11, 44, 107, 0.45);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-600); }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 1.2em; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1:focus, h1:focus-visible { outline: none; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-soft { background: var(--bg-soft); }

/* Gradient text */
.grad-text {
  background: var(--grad-text); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* ---------- Dark glossy sections ---------- */
.section-dark {
  position: relative; overflow: hidden; color: var(--on-dark-2);
  background: var(--grad-deep);
  isolation: isolate;
}
.section-dark::before {
  /* glossy sheen */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.03) 28%, rgba(255,255,255,0) 55%);
}
.section-dark::after {
  /* aurora glows */
  content: ""; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 50% at 12% 20%, rgba(140,198,63,.30), transparent 70%),
    radial-gradient(34% 44% at 88% 18%, rgba(56,189,248,.28), transparent 70%),
    radial-gradient(40% 50% at 70% 95%, rgba(139,92,246,.34), transparent 70%);
  animation: auroraShift 18s ease-in-out infinite alternate;
  filter: blur(10px);
}
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark-2); }

@keyframes auroraShift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, -4%, 0) scale(1.06); }
  100% { transform: translate3d(-3%, 3%, 0) scale(1.02); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-700);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad-lime); }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--brand-2); }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: var(--on-dark-3); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: transform .25s var(--ease-out), box-shadow .3s ease, background .25s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; line-height: 1.2;
}
.btn::after {
  /* sheen sweep */
  content: ""; position: absolute; top: -60%; bottom: -60%; left: -40%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  transform: skewX(-20deg) translateX(-120%); transition: transform .7s var(--ease-out); pointer-events: none;
}
.btn:hover::after { transform: skewX(-20deg) translateX(420%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  background: var(--grad-lime); color: #0b1a05;
  box-shadow: 0 12px 28px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.08);
}
.btn-primary:hover { color: #0b1a05; box-shadow: 0 18px 36px -10px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 4px rgba(140,198,63,.18); }
.btn-dark { background: var(--grad-band); color: #fff; box-shadow: 0 14px 30px -12px rgba(46,31,143,.6), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-dark:hover { color: #fff; box-shadow: 0 18px 36px -12px rgba(46,31,143,.7), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--ink); box-shadow: 0 10px 24px -14px rgba(15,23,42,.35); }
.btn-ghost-light { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.14); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.9); border-bottom-color: rgba(226,232,240,.9); box-shadow: 0 8px 30px -18px rgba(11,44,107,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.brand img { height: 42px; width: auto; transition: transform .3s var(--ease-out); }
.brand:hover img { transform: scale(1.03); }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  position: relative; padding: 0.55rem 0.9rem; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: 0.95rem;
  transition: color .15s ease;
}
.nav a::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px; border-radius: 2px;
  background: var(--grad-lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-2); font-weight: 500; font-size: .92rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--brand-700); }

.nav-toggle { display: none; }
.nav-burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .2s ease; }

@media (max-width: 960px) {
  .nav, .header-cta .btn, .header-phone { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-toggle:checked ~ .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 0.75rem 1.25rem 1.25rem;
    box-shadow: var(--shadow); animation: dropIn .3s var(--ease-out);
  }
  .nav-toggle:checked ~ .nav a { padding: 0.85rem 0.75rem; font-size: 1.05rem; }
  .nav-toggle:checked ~ .nav a::after { display: none; }
  .nav-toggle:checked ~ .nav .nav-mobile-cta { display: inline-flex; margin-top: .75rem; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.nav-mobile-cta { display: none; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: var(--grad-deep);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 30%, rgba(255,255,255,0) 60%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 80%);
}
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .75; mix-blend-mode: screen;
  animation: blob 16s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 560px; height: 560px; left: -12%; top: -20%; background: radial-gradient(circle, rgba(140,198,63,.9), rgba(140,198,63,0) 65%); }
.aurora span:nth-child(2) { width: 640px; height: 640px; right: -14%; top: -30%; background: radial-gradient(circle, rgba(56,189,248,.85), rgba(56,189,248,0) 65%); animation-delay: -5s; animation-duration: 20s; }
.aurora span:nth-child(3) { width: 620px; height: 620px; left: 35%; bottom: -45%; background: radial-gradient(circle, rgba(139,92,246,.95), rgba(139,92,246,0) 65%); animation-delay: -10s; animation-duration: 22s; }
.aurora span:nth-child(4) { width: 380px; height: 380px; right: 22%; bottom: -10%; background: radial-gradient(circle, rgba(14,165,183,.85), rgba(14,165,183,0) 65%); animation-delay: -3s; animation-duration: 14s; }
@keyframes blob {
  0%   { transform: translate3d(0,0,0) scale(1); }
  33%  { transform: translate3d(6%, -6%, 0) scale(1.12); }
  66%  { transform: translate3d(-5%, 5%, 0) scale(.94); }
  100% { transform: translate3d(3%, 8%, 0) scale(1.05); }
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-lead { font-size: 1.15rem; color: var(--on-dark-2); max-width: 560px; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .5rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); font-size: .85rem; color: #e2e9f7; margin-bottom: 1.4rem;
  backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.hero-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-lime); display: inline-grid; place-items: center; color: #0b1a05; font-size: .7rem; font-weight: 800; box-shadow: 0 0 0 4px rgba(140,198,63,.2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(140,198,63,.45); } 60% { box-shadow: 0 0 0 9px rgba(140,198,63,0); } }
.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stat span { font-size: .85rem; color: var(--on-dark-3); }

/* hero entrance */
.hero .hero-pill, .hero h1, .hero .hero-lead, .hero .hero-actions, .hero .hero-stats, .hero-visual {
  animation: riseIn .9s var(--ease-out) both;
}
.hero h1 { animation-delay: .08s; } .hero .hero-lead { animation-delay: .18s; } .hero .hero-actions { animation-delay: .28s; }
.hero .hero-stats { animation-delay: .38s; } .hero-visual { animation-delay: .25s; animation-duration: 1.1s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; perspective: 1400px; }
.browser-frame {
  border-radius: 18px; overflow: hidden; background: #0e1627;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 50px 100px -30px rgba(2,8,30,.8), 0 0 0 1px rgba(140,198,63,.15), 0 0 80px -20px rgba(56,189,248,.45);
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform .8s var(--ease-out), box-shadow .8s ease;
}
.hero-visual:hover .browser-frame { transform: rotateY(-2deg) rotateX(1deg) translateY(-4px); }
.browser-bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; background: linear-gradient(180deg, #1b2740, #141d31); border-bottom: 1px solid rgba(255,255,255,.08); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3a57; display: block; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar em { margin-left: .5rem; font-style: normal; font-size: .72rem; color: #8d9ab8; background: #0e1627; padding: .2rem .7rem; border-radius: 6px; flex: 1; }
.browser-frame img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; object-position: top; }
.float-card {
  position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); color: var(--ink); border-radius: 16px; padding: .8rem 1rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff; display: flex; align-items: center; gap: .75rem; font-size: .85rem;
  border: 1px solid rgba(255,255,255,.7);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-lime); color: #0b1a05; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card.a { left: -28px; bottom: 34px; }
.float-card.b { right: -18px; top: 26px; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .browser-frame { transform: none; }
  .float-card.a { left: 8px; bottom: -14px; } .float-card.b { right: 8px; top: -14px; }
}
@media (max-width: 600px) { .float-card.b { display: none; } }

/* ---------- Logo marquee ---------- */
.logo-strip { padding: 2.2rem 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f7faff); overflow: hidden; }
.logo-strip p { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 1.4rem; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 3.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 42px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s ease, opacity .3s ease, transform .3s var(--ease-out); }
.marquee-track img:hover { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(-50%); } }

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

.card {
  position: relative; border-radius: var(--radius-lg); padding: 1.8rem;
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #e6ecf5, #edf1f7) border-box;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s ease, background .35s ease;
  transform-style: preserve-3d; will-change: transform;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -22px rgba(11,44,107,.35);
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--brand), var(--sky) 50%, var(--violet)) border-box;
}
.card .ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #f1f9e4, #dff2c2); color: var(--brand-700);
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(140,198,63,.6);
  transition: transform .35s var(--ease-out), background .35s ease, color .35s ease;
}
.card:hover .ic { transform: translateY(-2px) rotate(-4deg); background: var(--grad-lime); color: #0b1a05; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.1rem; font-weight: 600; color: var(--ink); }
.card .card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.card:hover .card-link svg { transform: translateX(4px); }
.card-link-cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card ul { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.card ul li { display: flex; gap: .55rem; align-items: flex-start; color: var(--ink-2); font-size: .93rem; }
.card ul li::before { content: "✓"; color: var(--brand-700); font-weight: 800; flex: none; margin-top: .05em; }

/* glass cards on gradient */
.card-dark {
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)) padding-box,
              linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,.08)) border-box;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--on-dark-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 20px 40px -24px rgba(0,0,0,.5);
}
.card-dark:hover {
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.06)) padding-box,
              linear-gradient(135deg, var(--brand-2), var(--sky) 50%, #c4b5fd) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 30px 60px -24px rgba(0,0,0,.6), 0 0 40px -10px rgba(140,198,63,.35);
}
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--on-dark-3); }
.card-dark .ic { background: linear-gradient(135deg, rgba(140,198,63,.35), rgba(56,189,248,.25)); color: var(--brand-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.card-dark:hover .ic { background: var(--grad-lime); color: #0b1a05; }
.card-dark ul li { color: var(--on-dark-2); }
.card-dark ul li::before { color: var(--brand-2); }

/* ---------- Solutions ---------- */
.solution { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 3rem 0; border-top: 1px solid var(--line); }
.solution:first-of-type { border-top: 0; }
.solution.flip .solution-media { order: -1; }
.solution-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.solution-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top left; }
.solution h3 { font-size: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.4rem; }
.chip { font-size: .8rem; font-weight: 500; padding: .35rem .75rem; border-radius: 999px; background: var(--bg-soft-2); color: var(--ink-2); border: 1px solid var(--line); }
@media (max-width: 960px) { .solution { grid-template-columns: 1fr; gap: 1.6rem; } .solution.flip .solution-media { order: 0; } }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 3.1rem; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(140,198,63,.7), rgba(56,189,248,.7), rgba(196,181,253,.7), transparent);
}
.step {
  position: relative; padding: 1.7rem;
  border-radius: var(--radius-lg); border: 1px solid transparent;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)) padding-box,
              linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,.08)) border-box;
  backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 30px 50px -24px rgba(0,0,0,.6); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; display: block; margin-bottom: .6rem; line-height: 1;
  background: var(--grad-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--on-dark-3); font-size: .93rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Tech ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tech {
  display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.3rem .8rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-align: center; transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .3s ease;
}
.tech:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -20px rgba(11,44,107,.35); border-color: #c7d2fe; }
.tech .tech-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .8rem; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 16px -8px rgba(0,0,0,.4); transition: transform .35s var(--ease-out); }
.tech:hover .tech-ic { transform: scale(1.1) rotate(-6deg); }
.tech strong { font-size: .9rem; font-weight: 600; }
.tech small { color: var(--muted); font-size: .75rem; }
@media (max-width: 960px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Portfolio ---------- */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.portfolio-filters a { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 500; font-size: .9rem; transition: all .25s ease; }
.portfolio-filters a.active, .portfolio-filters a:hover { background: var(--grad-band); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -12px rgba(46,31,143,.6); }
.work {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #e6ecf5, #edf1f7) border-box;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-out), box-shadow .35s ease, background .35s ease;
}
.work:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(11,44,107,.35); background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--brand), var(--sky) 50%, var(--violet)) border-box; }
.work .work-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft-2); border-bottom: 1px solid var(--line); position: relative; }
.work .work-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11,44,107,.18)); opacity: 0; transition: opacity .4s ease; }
.work:hover .work-media::after { opacity: 1; }
.work .work-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1.2s var(--ease-out); }
.work:hover .work-media img { transform: scale(1.04); }
.work-body { padding: 1.2rem 1.4rem 1.4rem; }
.work-body .cat { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700); }
.work-body h3 { font-size: 1.1rem; margin: .3rem 0 .35rem; }
.work-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.work.mobile .work-media { display: grid; place-items: center; padding: 1rem; background: linear-gradient(135deg, #e0f2fe, #ede9fe); }
.work.mobile .work-media img { width: auto; height: 100%; object-fit: contain; }
.work-body .hl { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.work-body .hl li { display: flex; gap: .5rem; font-size: .88rem; color: var(--ink-2); }
.work-body .hl li::before { content: "✓"; color: var(--brand-700); font-weight: 800; flex: none; }

/* ---------- Feature list / split / stats ---------- */
.feature-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list .fi { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-lime); color: #0b1a05; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 16px -10px var(--brand-glow); }
.feature-list .fi svg { width: 20px; height: 20px; }
.feature-list strong { display: block; font-family: var(--font-display); font-weight: 600; }
.feature-list span { color: var(--muted); font-size: .93rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transition: transform .6s var(--ease-out); }
.split-media:hover { transform: translateY(-6px) scale(1.01); }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
  padding: 1.7rem 1.4rem; border-radius: var(--radius-lg); text-align: center; color: #fff; position: relative; overflow: hidden;
  background: var(--grad-band); box-shadow: 0 20px 40px -20px rgba(46,31,143,.6), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .35s var(--ease-out);
}
.stat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 50%); pointer-events: none; }
.stat:hover { transform: translateY(-5px); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; margin-bottom: .35rem; font-variant-numeric: tabular-nums; }
.stat strong em { font-style: normal; color: var(--brand-2); }
.stat span { color: var(--on-dark-2); font-size: .9rem; }
@media (max-width: 720px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(2.2rem, 5vw, 3.8rem);
  background: var(--grad-band); color: #fff; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center;
  box-shadow: 0 40px 80px -30px rgba(46,31,143,.6), inset 0 1px 0 rgba(255,255,255,.25);
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 45%); pointer-events: none; }
.cta-band::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(140,198,63,.55), transparent 65%); pointer-events: none; filter: blur(20px);
  animation: blob 14s ease-in-out infinite alternate;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: var(--on-dark-2); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; position: relative; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-deep); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 50%); pointer-events: none; }
.page-hero::after {
  content: ""; position: absolute; inset: -30% -10%; z-index: -2; pointer-events: none; filter: blur(14px);
  background:
    radial-gradient(30% 45% at 85% 30%, rgba(140,198,63,.4), transparent 70%),
    radial-gradient(30% 45% at 10% 80%, rgba(56,189,248,.35), transparent 70%),
    radial-gradient(28% 40% at 55% 100%, rgba(139,92,246,.4), transparent 70%);
  animation: auroraShift 16s ease-in-out infinite alternate;
}
.page-hero h1 { color: #fff; max-width: 820px; animation: riseIn .8s var(--ease-out) both; }
.page-hero p { color: var(--on-dark-2); font-size: 1.12rem; max-width: 680px; margin: 0; animation: riseIn .8s var(--ease-out) .12s both; }
.breadcrumb { display: flex; gap: .5rem; font-size: .82rem; color: var(--on-dark-3); margin-bottom: 1rem; }
.breadcrumb a { color: var(--on-dark-2); }
.breadcrumb a:hover { color: var(--brand-2); }

/* ---------- Service detail ---------- */
.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.service-layout .prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.service-layout .prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { display: grid; gap: .4rem; }
.side-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.side-card .card + .card { margin-top: 1.2rem; }
.side-nav { display: grid; gap: .3rem; }
.side-nav a { display: block; padding: .7rem .9rem; border-radius: 10px; color: var(--ink-2); font-weight: 500; transition: all .2s ease; }
.side-nav a:hover { background: var(--bg-soft-2); color: var(--ink); }
.side-nav a.active { background: var(--grad-band); color: #fff; box-shadow: 0 10px 20px -12px rgba(46,31,143,.6); }
@media (max-width: 960px) { .service-layout { grid-template-columns: 1fr; } .side-card { position: static; } }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.screens figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-out), box-shadow .35s ease; }
.screens figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.screens img { aspect-ratio: 16/10; object-fit: cover; object-position: top left; width: 100%; }
.screens figcaption { font-size: .8rem; color: var(--muted); padding: .55rem .8rem; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .screens { grid-template-columns: 1fr 1fr; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--ink-2); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(140,198,63,.22); }
.field textarea { min-height: 140px; resize: vertical; }
.field .invalid { border-color: #ef4444; }
.validation-message { color: #dc2626; font-size: .8rem; margin-top: .3rem; display: block; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 1.2rem; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.2rem; animation: riseIn .5s var(--ease-out) both; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: .1rem; }
.alert-success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ci { flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--grad-lime); color: #0b1a05; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 16px -10px var(--brand-glow); }
.contact-item .ci svg { width: 22px; height: 22px; }
.contact-item strong { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: .15rem; }
.contact-item a, .contact-item span { color: var(--ink-2); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 1.5rem; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-footer); color: var(--on-dark-3); padding: 4rem 0 2rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(140,198,63,.8), rgba(56,189,248,.8), transparent); }
.site-footer::after {
  content: ""; position: absolute; inset: -40% -10% auto; height: 80%; z-index: -1; pointer-events: none; filter: blur(30px);
  background: radial-gradient(35% 50% at 15% 40%, rgba(140,198,63,.22), transparent 70%), radial-gradient(35% 50% at 85% 30%, rgba(109,40,217,.35), transparent 70%);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-dark-3); transition: color .2s ease, transform .2s ease; display: inline-block; }
.site-footer a:hover { color: var(--brand-2); transform: translateX(3px); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 380px; font-size: .93rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--brand-2); margin-top: .15rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .85rem; }
.footer-bottom .made { color: #7f90b8; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #3ee37a, #1fbf59); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 32px -8px rgba(37,211,102,.7), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .25s var(--ease-out);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37,211,102,.7); animation: ring 2.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation (JS-gated, staggered) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Legal prose ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--ink-2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- Blazor chrome ---------- */
#blazor-error-ui {
  color-scheme: light only; background: #fff3cd; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,.2); box-sizing: border-box;
  display: none; left: 0; padding: .6rem 1.25rem .7rem 1.25rem; position: fixed; width: 100%; z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }
.blazor-error-boundary { background: #b32121; padding: 1rem; color: white; }
.validation-summary { display: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; margin-top: 1rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 1.1rem; transition: border-color .25s ease, box-shadow .25s ease; }
.faq-item[open] { border-color: #c7d2fe; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.02rem; margin: 0; }
.faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); font-weight: 800; transition: transform .3s var(--ease-out), background .3s ease; }
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); background: var(--grad-lime); color: #0b1a05; }
.faq-item p { margin: 0 0 1rem; color: var(--ink-2); }
