/* ==========================================================================
   Weblancer Technologies - site.css
   One stylesheet, no framework. Tokens match products.weblancertechnologies.com
   (dark-first, Inter + Outfit, cyan -> green brand gradient).
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;
  --bg: 6 7 13;
  --surface: 15 17 28;
  --surface-2: 22 25 40;
  --fg: 241 245 249;
  --muted: 148 163 184;
  --line: 255 255 255;
  --line-a: .09;
  --glow-a: .55;
  --grid: rgb(255 255 255 / .045);

  --cyan: #35c4e7;
  --blue: #4bb4ff;
  --green: #79e885;
  --violet: #8b5cf6;
  --ice: #aaeff7;
  --lime: #56ff3d;

  --grad: linear-gradient(115deg, var(--ice) 0%, var(--cyan) 35%, var(--green) 75%, var(--lime) 100%);
  --grad-text: linear-gradient(100deg, #aaeff7 0%, #35c4e7 40%, #79e885 80%);
  --btn-ink: #04110a;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Outfit", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;

  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1220px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -30px rgb(0 0 0 / .6);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: 248 250 252;
  --surface: 255 255 255;
  --surface-2: 241 245 249;
  --fg: 15 23 42;
  --muted: 71 85 105;
  --line: 15 23 42;
  --line-a: .1;
  --glow-a: .28;
  --grid: rgb(15 23 42 / .05);
  --grad-text: linear-gradient(100deg, #0369a1 0%, #0891b2 45%, #16a34a 90%);
  --shadow: 0 30px 60px -34px rgb(15 23 42 / .25);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: rgb(var(--bg));
  color: rgb(var(--fg));
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 650; }
p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; }
::selection { background: rgb(53 196 231 / .35); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: rgb(var(--fg)); color: rgb(var(--bg)); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-sm { padding-block: clamp(48px, 7vw, 80px); }
.section.alt { background: rgb(var(--surface) / .55); border-block: 1px solid rgb(var(--line) / var(--line-a)); }

.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: rgb(var(--muted)); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgb(var(--muted)); max-width: 62ch; }

/* ---------- eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  border: 1px solid rgb(53 196 231 / .3); background: rgb(53 196 231 / .08);
  color: rgb(var(--fg) / .9);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.eyebrow.violet { border-color: rgb(139 92 246 / .35); background: rgb(139 92 246 / .1); }
.eyebrow.violet::before { background: var(--violet); box-shadow: 0 0 12px var(--violet); }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); justify-items: start; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2, .h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  --pad: 14px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: var(--btn-ink); box-shadow: 0 10px 30px -10px rgb(53 196 231 / .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgb(121 232 133 / .65); }
.btn-ghost { border-color: rgb(var(--line) / .18); background: rgb(var(--surface) / .5); color: rgb(var(--fg)); }
.btn-ghost:hover { border-color: rgb(var(--line) / .35); background: rgb(var(--surface) / .9); }
.btn-lg { --pad: 17px 28px; font-size: 1.02rem; }
.btn-sm { --pad: 10px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: rgb(var(--fg)); }
.link-arrow .icon { width: 18px; height: 18px; color: var(--cyan); transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: 12px; }
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding-inline: 14px 10px; border-radius: 18px;
  border: 1px solid transparent; transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.site-header.scrolled .header-bar, .nav-open .header-bar {
  background: rgb(var(--bg) / .72); border-color: rgb(var(--line) / var(--line-a));
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px -20px rgb(0 0 0 / .5);
}
.brand { display: inline-flex; align-items: center; gap: 8px; color: rgb(var(--fg)); flex: none; }
.brand-mark { height: 38px; width: 56px; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-4deg); }
.brand-word { height: 28px; width: 105px; }
.logo-muted { fill: rgb(var(--muted)); }

.nav { display: none; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-size: .94rem; font-weight: 500; color: rgb(var(--fg) / .82); background: none; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: rgb(var(--fg)); background: rgb(var(--line) / .06); }
.nav-link .icon { width: 16px; height: 16px; transition: transform .25s; }
.has-menu { position: relative; }
.has-menu:hover .nav-link .icon, .has-menu:focus-within .nav-link .icon { transform: rotate(180deg); }
.mega {
  position: absolute; left: 50%; top: calc(100% + 10px); width: min(760px, 90vw);
  translate: -50% 6px; opacity: 0; visibility: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; padding: 18px;
  border-radius: var(--radius); border: 1px solid rgb(var(--line) / var(--line-a));
  background: rgb(var(--bg) / .94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  transition: opacity .2s, translate .25s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; translate: -50% 0; }
.mega-title { grid-column: span 1; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--muted)); padding: 6px 10px; }
.mega-col { display: grid; align-content: start; gap: 2px; }
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; transition: background-color .2s; }
.mega a:hover { background: rgb(var(--line) / .06); }
.mega a .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--cyan); }
.mega a.ai .icon { color: var(--violet); }
.mega strong { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.mega small { display: block; font-size: .8rem; color: rgb(var(--muted)); line-height: 1.4; margin-top: 2px; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; padding: 12px 10px 2px; border-top: 1px solid rgb(var(--line) / var(--line-a)); font-size: .88rem; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgb(var(--line) / .12); background: rgb(var(--surface) / .5); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { border-color: rgb(var(--line) / .3); }
.icon-btn .icon { width: 19px; height: 19px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
.header-cta { display: none; }
.menu-toggle .i-close { display: none; }
.nav-open .menu-toggle .i-close { display: block; }
.nav-open .menu-toggle .i-menu { display: none; }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 88px 12px auto; z-index: 49; max-height: calc(100dvh - 100px); overflow-y: auto;
  padding: 18px; border-radius: var(--radius); border: 1px solid rgb(var(--line) / var(--line-a));
  background: rgb(var(--bg) / .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .2s, translate .25s var(--ease), visibility .2s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; translate: 0 0; }
.mobile-nav h3 { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--muted)); margin: 14px 8px 6px; font-weight: 600; }
.mobile-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 8px; border-radius: 10px; font-weight: 500; }
.mobile-nav a:hover { background: rgb(var(--line) / .06); }
.mobile-nav a .icon { color: var(--cyan); width: 18px; height: 18px; }
.mobile-nav .btn { width: 100%; margin-top: 14px; }
.mobile-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none; }
}

/* ---------- backgrounds ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-glow::before, .bg-glow::after {
  content: ""; position: absolute; border-radius: 50%; opacity: var(--glow-a);
}
.bg-glow::before { width: 720px; height: 720px; right: -220px; top: -260px; background: radial-gradient(closest-side, rgb(53 196 231 / .55), transparent); }
.bg-glow::after { width: 620px; height: 620px; left: -260px; top: 160px; background: radial-gradient(closest-side, rgb(139 92 246 / .4), transparent); }
.bg-glow.green::before { background: radial-gradient(closest-side, rgb(121 232 133 / .45), transparent); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 680; letter-spacing: -.035em; }
.hero h1 .text-grad { display: inline-block; padding-bottom: .06em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; color: rgb(var(--muted)); font-size: .9rem; list-style: none; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 16px; height: 16px; color: var(--green); }
.hero-grid > *, .ai-feature > *, .detail > *, .contact-grid > *, .split > * { min-width: 0; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

/* AI console visual */
.console-wrap { position: relative; }
.console {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgb(var(--line) / .12);
  background: linear-gradient(180deg, rgb(var(--surface) / .95), rgb(var(--surface) / .8));
  box-shadow: var(--shadow), 0 0 0 1px rgb(53 196 231 / .06), 0 40px 120px -40px rgb(53 196 231 / .35);
  font-family: var(--font-mono); font-size: .82rem; line-height: 1.7;
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgb(var(--line) / var(--line-a)); color: rgb(var(--muted)); font-size: .75rem; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--line) / .18); }
.console-bar i:nth-child(1) { background: #ff5f57; } .console-bar i:nth-child(2) { background: #febc2e; } .console-bar i:nth-child(3) { background: #28c840; }
.console-bar span { margin-left: 8px; }
.console-status { margin-left: auto !important; display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.console-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
.console-body { padding: 18px 18px 22px; display: grid; gap: 4px; min-height: 300px; }
.console-line { display: flex; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgb(var(--fg) / .85); }
.console-line .k { color: rgb(var(--muted)); flex: none; }
.console-line .c { color: var(--cyan); } .console-line .g { color: var(--green); } .console-line .v { color: #c4b5fd; } .console-line .y { color: #fcd34d; }
.js .console-line { opacity: 0; transform: translateY(4px); animation: line-in .45s var(--ease) forwards; }
.js .console-line:nth-child(1) { animation-delay: .3s; } .js .console-line:nth-child(2) { animation-delay: .75s; }
.js .console-line:nth-child(3) { animation-delay: 1.2s; } .js .console-line:nth-child(4) { animation-delay: 1.65s; }
.js .console-line:nth-child(5) { animation-delay: 2.1s; } .js .console-line:nth-child(6) { animation-delay: 2.55s; }
.js .console-line:nth-child(7) { animation-delay: 3s; } .js .console-line:nth-child(8) { animation-delay: 3.45s; }
.js .console-line:nth-child(9) { animation-delay: 3.9s; } .js .console-line:nth-child(10) { animation-delay: 4.35s; }
@keyframes line-in { to { opacity: 1; transform: none; } }
.caret { display: inline-block; width: 8px; height: 1.15em; background: var(--cyan); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.console-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px;
  border: 1px solid rgb(var(--line) / .14); background: rgb(var(--bg) / .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap;
}
.console-chip .icon { width: 16px; height: 16px; color: var(--green); }
.console-chip.c1 { left: -14px; bottom: -18px; }
.console-chip.c2 { right: -10px; top: -18px; }
.console-chip.c2 .icon { color: var(--violet); }
@media (max-width: 560px) { .console-chip.c1 { left: 8px; } .console-chip.c2 { right: 8px; } .console { font-size: .74rem; } }
.js .floaty { animation: floaty 6s ease-in-out infinite; }
.js .floaty.d2 { animation-delay: -3s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- marquee / clients ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 22px; border-block: 1px solid rgb(var(--line) / var(--line-a));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 45s linear infinite; list-style: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: rgb(var(--muted)); white-space: nowrap; }
.marquee-track li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--line) / .2); }
@keyframes marquee { to { transform: translateX(-50%); } }

.clients { display: grid; gap: 22px; justify-items: center; text-align: center; }
.clients p { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--muted)); }
.clients ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.clients li { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgb(var(--fg) / .78); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: var(--radius); border: 1px solid rgb(var(--line) / var(--line-a)); background: rgb(var(--surface) / .6); overflow: hidden; }
.stat { padding: clamp(22px, 3vw, 34px); display: grid; gap: 4px; border-color: rgb(var(--line) / var(--line-a)); border-style: solid; border-width: 0 1px 1px 0; }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat strong { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.stat span { color: rgb(var(--muted)); font-size: .92rem; }
@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-width: 0 1px 0 0; }
  .stat:nth-child(2n) { border-right: 1px solid rgb(var(--line) / var(--line-a)); }
  .stat:last-child { border-right: 0; }
}

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 20px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-ai { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-2x2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-2x2 { grid-template-columns: 1fr 1fr; } }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius);
  border: 1px solid rgb(var(--line) / var(--line-a)); background: rgb(var(--surface) / .7);
  transition: transform .35s var(--ease), border-color .35s, background-color .35s, box-shadow .35s;
}
a.card:hover, .card.hoverable:hover { transform: translateY(-4px); border-color: rgb(53 196 231 / .35); box-shadow: var(--shadow); }
.card h3 { font-size: 1.22rem; }
.card p { color: rgb(var(--muted)); font-size: .96rem; }
.card .link-arrow { margin-top: auto; padding-top: 6px; font-size: .94rem; }
.card-icon {
  display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: rgb(53 196 231 / .1); border: 1px solid rgb(53 196 231 / .25); color: var(--cyan);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-icon.violet { background: rgb(139 92 246 / .12); border-color: rgb(139 92 246 / .3); color: #a78bfa; }
.card-icon.green { background: rgb(121 232 133 / .1); border-color: rgb(121 232 133 / .28); color: var(--green); }
:root[data-theme="light"] .card-icon { color: #0891b2; }
:root[data-theme="light"] .card-icon.violet { color: #7c3aed; }
:root[data-theme="light"] .card-icon.green { color: #16a34a; }

.card-glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgb(139 92 246 / .6), transparent 40%, transparent 60%, rgb(53 196 231 / .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tag { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 500; border: 1px solid rgb(var(--line) / .12); background: rgb(var(--line) / .04); color: rgb(var(--fg) / .82); }

/* AI feature block */
.ai-feature { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .ai-feature { grid-template-columns: .9fr 1.1fr; } .ai-feature .sticky { position: sticky; top: calc(var(--header-h) + 32px); } }
.ai-intro { display: grid; gap: 22px; justify-items: start; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: rgb(var(--fg) / .88); }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--green); }

/* project cards */
.project-card { padding: 0; overflow: hidden; gap: 0; }
.project-cover { aspect-ratio: 1200 / 630; background: rgb(var(--surface-2)); overflow: hidden; border-bottom: 1px solid rgb(var(--line) / var(--line-a)); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-cover img { transform: scale(1.04); }
.project-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.project-client { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
:root[data-theme="light"] .project-client { color: #0891b2; }

/* process */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid rgb(var(--line) / var(--line-a)); background: rgb(var(--surface) / .6); display: grid; gap: 10px; align-content: start; }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.step h3 { font-size: 1.12rem; }
.step p { color: rgb(var(--muted)); font-size: .94rem; }

/* industries tiles */
.tile { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius-md); border: 1px solid rgb(var(--line) / var(--line-a)); background: rgb(var(--surface) / .6); transition: border-color .3s, transform .3s var(--ease); }
.tile:hover { border-color: rgb(121 232 133 / .35); transform: translateY(-3px); }
.tile .card-icon { width: 44px; height: 44px; }
.tile strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; }
.tile small { display: block; color: rgb(var(--muted)); font-size: .86rem; line-height: 1.45; margin-top: 2px; }
.tile > .icon { margin-left: auto; color: rgb(var(--muted)); width: 18px; height: 18px; }

/* testimonials */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 420px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.quote-card { gap: 18px; justify-content: space-between; }
.quote-card blockquote { margin: 0; font-size: 1.02rem; color: rgb(var(--fg) / .9); line-height: 1.7; }
.quote-card blockquote .icon { width: 28px; height: 28px; color: var(--cyan); margin-bottom: 12px; }
.quote-card footer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgb(var(--line) / var(--line-a)); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); background: var(--grad); color: var(--btn-ink); flex: none; }
.quote-card cite { font-style: normal; font-weight: 600; display: block; }
.quote-card small { color: rgb(var(--muted)); }

/* products band */
.band {
  position: relative; display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius); overflow: hidden; border: 1px solid rgb(var(--line) / .12);
  background: radial-gradient(120% 140% at 100% 0%, rgb(121 232 133 / .16), transparent 55%), radial-gradient(120% 140% at 0% 100%, rgb(53 196 231 / .14), transparent 55%), rgb(var(--surface) / .8);
}
@media (min-width: 860px) { .band { grid-template-columns: 1fr auto; } }
.band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.band p { color: rgb(var(--muted)); margin-top: 10px; max-width: 60ch; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq.center { margin-inline: auto; }
.faq details { border-radius: var(--radius-md); border: 1px solid rgb(var(--line) / var(--line-a)); background: rgb(var(--surface) / .6); transition: border-color .25s, background-color .25s; }
.faq details[open] { border-color: rgb(53 196 231 / .3); background: rgb(var(--surface) / .9); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; transition: transform .3s var(--ease); color: rgb(var(--muted)); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--cyan); }
.faq .answer { padding: 0 22px 22px; color: rgb(var(--muted)); max-width: 75ch; }

/* CTA */
.cta {
  position: relative; overflow: hidden; text-align: center; display: grid; justify-items: center; gap: 20px;
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 64px); border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgb(var(--line) / .12);
  background: radial-gradient(60% 90% at 50% 0%, rgb(53 196 231 / .22), transparent 70%), radial-gradient(50% 80% at 100% 100%, rgb(121 232 133 / .16), transparent 70%), radial-gradient(50% 80% at 0% 100%, rgb(139 92 246 / .16), transparent 70%), rgb(var(--surface) / .85);
}
.cta > :not(.bg-grid), .band > * { position: relative; z-index: 1; }
.cta .bg-grid { -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 20%, transparent 70%); }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 18ch; }
.cta .lead { margin-inline: auto; }
.cta .hero-actions { justify-content: center; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px)); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero > .container { position: relative; z-index: 1; display: grid; gap: 20px; justify-items: start; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 20ch; letter-spacing: -.03em; }
.page-hero .hero-actions { margin-top: 6px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: .86rem; color: rgb(var(--muted)); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a:hover { color: rgb(var(--fg)); }
.breadcrumbs [aria-current] { color: rgb(var(--fg) / .9); }

/* ---------- detail layout ---------- */
.detail { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 1040px) { .detail { grid-template-columns: minmax(0, 1fr) 340px; } .detail-aside { position: sticky; top: calc(var(--header-h) + 28px); } }
.prose { display: grid; gap: 22px; font-size: 1.04rem; }
.prose > p { color: rgb(var(--fg) / .86); max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 26px; }
.prose ul { display: grid; gap: 10px; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; color: rgb(var(--fg) / .86); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.prose section { display: grid; gap: 14px; }
.prose section p { color: rgb(var(--fg) / .82); max-width: 72ch; }
.aside-card { display: grid; gap: 16px; padding: 24px; border-radius: var(--radius); border: 1px solid rgb(var(--line) / .12); background: rgb(var(--surface) / .85); }
.aside-card h2, .aside-card h3 { font-size: 1.12rem; }
.aside-card p { color: rgb(var(--muted)); font-size: .94rem; }
.aside-card .btn { width: 100%; }
.aside-stack { display: grid; gap: 16px; }
.facts { display: grid; gap: 12px; margin: 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--muted)); }
.facts dd { margin: 0; font-weight: 600; }

/* comparison table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid rgb(var(--line) / var(--line-a)); font-size: .95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid rgb(var(--line) / var(--line-a)); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: rgb(var(--surface) / .9); font-family: var(--font-display); font-size: 1rem; }
.compare thead th.us { color: var(--cyan); }
.compare td { color: rgb(var(--muted)); background: rgb(var(--surface) / .5); }
.compare td:first-child { color: rgb(var(--fg)); font-weight: 600; }
.compare td.us { color: rgb(var(--fg) / .92); background: rgb(53 196 231 / .06); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.table-scroll .compare { min-width: 680px; }

/* ---------- filters / gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn { padding: 9px 16px; border-radius: 999px; border: 1px solid rgb(var(--line) / .14); background: rgb(var(--surface) / .5); font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: rgb(var(--line) / .3); }
.filter-btn[aria-pressed="true"] { background: rgb(var(--fg)); color: rgb(var(--bg)); border-color: transparent; }
[data-filter-item][hidden] { display: none !important; }

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery button { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: rgb(var(--surface-2)); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.gallery button:hover img { transform: scale(1.05); }
.album { display: grid; gap: 18px; }
.album + .album { margin-top: 56px; }
.album h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(2 3 8 / .92); backdrop-filter: blur(6px); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 16px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgb(0 0 0 / .6); }
.lightbox .icon-btn { position: absolute; background: rgb(15 17 28 / .8); color: #f1f5f9; border-color: rgb(255 255 255 / .2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; color: #cbd5e1; font-size: .9rem; }

/* ---------- forms ---------- */
.contact-grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.25fr .75fr; } }
.form-card { padding: clamp(22px, 3.4vw, 40px); border-radius: var(--radius); border: 1px solid rgb(var(--line) / .12); background: rgb(var(--surface) / .8); }
.form-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.form-grid > *, .input { min-width: 0; }
@media (min-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 600; }
.field label .opt { color: rgb(var(--muted)); font-weight: 400; }
.input {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid rgb(var(--line) / .16);
  background: rgb(var(--bg) / .6); color: rgb(var(--fg)); transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: rgb(var(--muted) / .8); }
.input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgb(53 196 231 / .15); }
textarea.input { min-height: 150px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input-validation-error, .input[aria-invalid="true"] { border-color: #f87171; }
.field-error { color: #f87171; font-size: .84rem; min-height: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 8px; }
.form-foot small { color: rgb(var(--muted)); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 500; }
.alert .icon { margin-top: 2px; }
.alert-success { background: rgb(121 232 133 / .12); border: 1px solid rgb(121 232 133 / .35); }
.alert-error { background: rgb(248 113 113 / .1); border: 1px solid rgb(248 113 113 / .35); }
.contact-list { list-style: none; display: grid; gap: 4px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background-color .2s; }
.contact-list a:hover { background: rgb(var(--line) / .05); }
.contact-list .card-icon { width: 42px; height: 42px; border-radius: 12px; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--muted)); font-weight: 600; }
.contact-list span { font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
.footer-col a, .facts dd { overflow-wrap: anywhere; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid rgb(var(--line) / var(--line-a)); height: clamp(280px, 40vw, 480px); background: rgb(var(--surface)); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2); }

/* ---------- footer ---------- */
.site-footer { position: relative; margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid rgb(var(--line) / var(--line-a)); background: rgb(var(--surface) / .4); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand p { color: rgb(var(--muted)); font-size: .94rem; max-width: 40ch; }
.footer-col h2 { font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--muted)); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: .94rem; color: rgb(var(--fg) / .82); transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.socials { display: flex; gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 56px; padding-block: 24px; border-top: 1px solid rgb(var(--line) / var(--line-a)); font-size: .86rem; color: rgb(var(--muted)); }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a:hover { color: rgb(var(--fg)); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -8px rgb(37 211 102 / .6); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.stack { display: grid; gap: 16px; }
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; line-height: 1; }
.legal-meta { color: rgb(var(--muted)); font-size: .92rem; }

/* reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-stagger.in > * { opacity: 1; transform: none; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: .07s; } .js .reveal-stagger.in > *:nth-child(3) { transition-delay: .14s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: .21s; } .js .reveal-stagger.in > *:nth-child(5) { transition-delay: .28s; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: .35s; } .js .reveal-stagger.in > *:nth-child(n+7) { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .reveal-stagger > *, .js .console-line { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}

@media print {
  .site-header, .site-footer, .wa-float, .mobile-nav, .bg-glow, .bg-grid { display: none !important; }
  body { background: #fff; color: #000; }
}
