/* ============================================================
   Onterion — onterion-ai.com (static, English)
   Dark foundation, neon cyan/violet, glassmorphism, 3D depth.
   Based on the onterion-ai.de theme (front.css + style.css), 2026-07-02.
   No external assets, system font stack, GDPR-clean.
   ============================================================ */
:root {
  --fx-bg: #04060D;
  --fx-bg-2: #060A16;
  --fx-panel: rgba(255, 255, 255, .045);
  --fx-panel-2: rgba(255, 255, 255, .07);
  --fx-border: rgba(148, 163, 216, .16);
  --fx-border-soft: rgba(148, 163, 216, .09);
  --fx-cyan: #22D3EE;
  --fx-violet: #A855F7;
  --fx-grad: linear-gradient(115deg, #22D3EE 0%, #818CF8 52%, #A855F7 100%);
  --fx-ink: #EDF1FA;
  --fx-mute: #97A3C0;
  --fx-mute-2: #7C89A8;
  --fx-glow-c: rgba(34, 211, 238, .16);
  --fx-glow-v: rgba(139, 92, 246, .18);
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .26, .99);
}

/* ================== Base ================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--fx-ink);
  background: var(--fx-bg); line-height: 1.65; font-size: 17px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; }
a { color: #7DD3FC; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 12px; background: #fff; color: #0B1220; padding: 10px 16px; z-index: 999; border-radius: 8px; }

h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; color: #F4F7FE; font-weight: 750; }
h2.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 24ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #67E8F9; margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--fx-grad); border-radius: 2px; }
.lead { font-size: 1.18rem; color: var(--fx-mute); max-width: 62ch; }
.grad-text {
  background: var(--fx-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ================== Buttons ================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 1.02rem;
  border: 1px solid transparent; cursor: pointer; will-change: transform; min-height: 44px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--fx-grad); color: #050810;
  box-shadow: 0 12px 36px rgba(99, 102, 241, .38), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.btn-primary:hover { box-shadow: 0 18px 50px rgba(34, 211, 238, .42); color: #04070F; }
.btn-ghost { background: rgba(255,255,255,.04); color: #E8EDF8; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ================== Header ================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 8, 16, .72); backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-color: rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.28rem; letter-spacing: -.01em; color: #fff; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 0 12px rgba(34,211,238,.5)); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(234, 239, 248, .82); font-weight: 600; font-size: .96rem; transition: color .2s; padding: 10px 0; display: inline-block; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links .nav-cta a { color: #050810; padding: 12px 22px; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; z-index: 110; min-width: 44px; min-height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================== Sections ================== */
.fx-section { position: relative; padding: clamp(76px, 9vw, 118px) 0; }
.fx-section--panel { background: var(--fx-bg-2); border-top: 1px solid var(--fx-border-soft); border-bottom: 1px solid var(--fx-border-soft); }
.fx-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.fx-head .section-title { max-width: none; }
.fx-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.fx-head--center .eyebrow { justify-content: center; }
.fx-grid { display: grid; gap: 22px; }
.fx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fx-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ================== Hero (home) ================== */
.fx-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(150px, 16vw, 196px) 0 clamp(84px, 9vw, 128px);
  background:
    radial-gradient(1000px 620px at 12% -12%, var(--fx-glow-c), transparent 62%),
    radial-gradient(1100px 720px at 88% 4%, var(--fx-glow-v), transparent 60%),
    var(--fx-bg);
}
.fx-net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.fx-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--fx-bg));
  pointer-events: none;
}
.fx-hero-wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }

.fx-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  border: 1px solid var(--fx-border); border-radius: 999px;
  background: var(--fx-panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .84rem; font-weight: 600; color: #C6D1E8; margin-bottom: 26px;
}
.fx-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fx-cyan); box-shadow: 0 0 14px var(--fx-cyan); animation: fxPulse 2.4s infinite; }
@keyframes fxPulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.fx-hero h1 { font-size: clamp(2.15rem, 5.4vw, 3.85rem); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; max-width: 17ch; margin-bottom: 22px; }
.fx-hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.19rem); max-width: 54ch; margin-bottom: 34px; }
.fx-hero .lead a { color: #7DD3FC; font-weight: 600; }

.fx-trust { display: flex; gap: 12px 24px; flex-wrap: wrap; margin: 42px 0 0; padding: 0; list-style: none; }
.fx-trust li { display: flex; align-items: center; gap: 9px; color: #8FA0C2; font-size: .92rem; font-weight: 600; }
.fx-trust svg { width: 17px; height: 17px; color: var(--fx-cyan); flex: none; filter: drop-shadow(0 0 6px rgba(34, 211, 238, .6)); }

/* Hero console (glass, 3D) */
.fx-scene { perspective: 1300px; position: relative; }
.fx-scene::before {
  content: ""; position: absolute; inset: 8% -6% -10% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(129, 140, 248, .22), transparent 72%);
  filter: blur(28px);
}
.fx-console {
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .028) 58%);
  border: 1px solid var(--fx-border); border-radius: 22px; padding: 24px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(2, 6, 18, .6), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform .5s var(--ease);
  will-change: transform;
}
.fx-console-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.fx-dots { display: inline-flex; gap: 6px; }
.fx-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.fx-dots i:first-child { background: rgba(34, 211, 238, .55); }
.fx-console-title { font-size: .84rem; font-weight: 700; color: #C6D1E8; letter-spacing: .04em; }
.fx-live {
  margin-left: auto; font-size: .74rem; font-weight: 700; color: #67E8F9;
  background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .32);
  padding: 4px 12px; border-radius: 999px;
}
.fx-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.fx-flow li { display: flex; align-items: flex-start; gap: 13px; }
.fx-flow-ico {
  flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; color: #051013;
  background: var(--fx-grad); box-shadow: 0 0 16px rgba(34, 211, 238, .4);
}
.fx-flow li.run .fx-flow-ico { background: rgba(255, 255, 255, .06); border: 1px solid var(--fx-border); box-shadow: none; }
.fx-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(167, 139, 250, .35); border-top-color: #A78BFA; animation: fxSpin 1s linear infinite; }
@keyframes fxSpin { to { transform: rotate(360deg); } }
.fx-flow b { display: block; color: #E4EAF7; font-size: .92rem; font-weight: 700; line-height: 1.35; }
.fx-flow small { color: #7C89A8; font-size: .78rem; }
.fx-console-foot { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 22px; }
.fx-chip {
  font-size: .73rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .13); color: #A9B6D2; background: rgba(255, 255, 255, .04);
}
.fx-chip--ok { color: #67E8F9; border-color: rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .08); }

/* ================== Stats band ================== */
.fx-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fx-stat {
  text-align: center; padding: 26px 16px; border-radius: 16px;
  background: var(--fx-panel); border: 1px solid var(--fx-border-soft);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.fx-stat b { display: block; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }
.fx-stat span { color: var(--fx-mute-2); font-size: .88rem; font-weight: 600; }

/* ================== Cards (glass + 3D tilt) ================== */
.fx-card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: linear-gradient(165deg, var(--fx-panel-2), var(--fx-panel) 60%);
  border: 1px solid var(--fx-border-soft); border-radius: 20px; padding: 30px 28px;
  position: relative; transform-style: preserve-3d; will-change: transform;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(2, 6, 18, .35);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
}
.fx-card:hover { box-shadow: 0 30px 80px rgba(2, 6, 18, .55); border-color: rgba(148, 163, 216, .28); }
.fx-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: 20px; padding: 1px;
  background: var(--fx-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.fx-card:hover::after { opacity: .8; }
.fx-card h3 { font-size: 1.17rem; margin-bottom: 9px; }
.fx-card p { color: var(--fx-mute); margin: 0; font-size: .96rem; flex: 1; }
.fx-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; font-size: .93rem; color: #7DD3FC; min-height: 44px; }
.fx-card .more:hover { color: #BAE6FD; text-decoration: none; }
.fx-ico {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; color: #67E8F9;
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(139, 92, 246, .16));
  border: 1px solid rgba(34, 211, 238, .25);
  box-shadow: 0 0 22px rgba(34, 211, 238, .12) inset;
}
.fx-ico svg { width: 24px; height: 24px; }

/* Offer banner (money page teaser) */
.fx-offer {
  margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 32px 34px; border-radius: 20px; position: relative; overflow: hidden;
  background:
    radial-gradient(560px 220px at 8% 0%, rgba(34, 211, 238, .14), transparent 65%),
    radial-gradient(560px 260px at 95% 110%, rgba(168, 85, 247, .16), transparent 65%),
    var(--fx-panel);
  border: 1px solid var(--fx-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.fx-offer h3 { font-size: 1.3rem; margin-bottom: 6px; }
.fx-offer p { color: var(--fx-mute); margin: 0; max-width: 58ch; }
.fx-offer .btn { flex: none; }
.fx-sublinks { margin-top: 20px; color: var(--fx-mute-2); font-size: .93rem; }
.fx-sublinks a { color: #A5B4FC; font-weight: 600; }

/* ================== Process steps ================== */
.fx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: fxstep; position: relative; }
.fx-steps::before {
  content: ""; position: absolute; top: 44px; left: 4%; right: 4%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .4), rgba(168, 85, 247, .4), transparent);
}
.fx-step {
  position: relative; padding: 26px 22px; border-radius: 18px;
  background: var(--fx-panel); border: 1px solid var(--fx-border-soft);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.fx-step::before {
  counter-increment: fxstep; content: "0" counter(fxstep);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  font-size: .92rem; font-weight: 800; color: #051013;
  background: var(--fx-grad); box-shadow: 0 0 24px rgba(99, 102, 241, .38);
}
.fx-step h3 { font-size: 1.06rem; margin-bottom: 6px; }
.fx-step p { color: var(--fx-mute); font-size: .93rem; margin: 0; }

/* ================== Industry / use-case rows ================== */
.fx-case {
  display: flex; align-items: center; gap: 14px; min-height: 64px;
  padding: 18px 20px; border-radius: 16px; font-weight: 700; color: #E4EAF7;
  background: var(--fx-panel); border: 1px solid var(--fx-border-soft);
  transition: transform .3s var(--ease), border-color .25s, background .25s;
}
.fx-case:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .38); background: var(--fx-panel-2); text-decoration: none; color: #fff; }
.fx-case .fx-ico { width: 42px; height: 42px; margin: 0; border-radius: 12px; flex: none; }
.fx-case .fx-ico svg { width: 20px; height: 20px; }
.fx-case small { display: block; font-weight: 500; color: var(--fx-mute-2); font-size: .84rem; }
.fx-case .fx-arrow { margin-left: auto; color: #67E8F9; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.fx-case:hover .fx-arrow { opacity: 1; transform: none; }
.fx-more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 700; color: #7DD3FC; min-height: 44px; }
.fx-more-link:hover { color: #BAE6FD; text-decoration: none; }

/* ================== Trust ================== */
.fx-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fx-trust-card {
  padding: 28px 24px; border-radius: 18px;
  background: linear-gradient(165deg, var(--fx-panel-2), var(--fx-panel) 65%);
  border: 1px solid var(--fx-border-soft);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.fx-trust-card h3 { font-size: 1.04rem; margin: 0 0 7px; }
.fx-trust-card p { color: var(--fx-mute); font-size: .93rem; margin: 0; }
.fx-address { margin-top: 30px; text-align: center; color: var(--fx-mute-2); font-size: .92rem; }
.fx-address a { color: #A5B4FC; font-weight: 600; }

/* ================== FAQ ================== */
.fx-faq { max-width: 840px; margin: 0 auto; }
.fx-faq details {
  background: var(--fx-panel); border: 1px solid var(--fx-border-soft); border-radius: 16px;
  padding: 0 24px; margin-bottom: 13px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .25s, background .25s;
}
.fx-faq details[open] { border-color: rgba(34, 211, 238, .38); background: var(--fx-panel-2); }
.fx-faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.02rem; color: #E8EDF8;
  padding: 20px 0; min-height: 44px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--fx-border); display: flex; align-items: center; justify-content: center;
  color: #67E8F9; font-size: 1.25rem; font-weight: 600;
  transition: transform .3s var(--ease), background .25s;
}
.fx-faq details[open] summary::after { content: "–"; transform: rotate(180deg); background: rgba(34, 211, 238, .12); }
.fx-faq details p { color: var(--fx-mute); margin: 0 0 22px; }
.fx-faq details a { color: #7DD3FC; font-weight: 600; }

/* ================== Closing CTA ================== */
.fx-cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(56px, 8vw, 84px) clamp(24px, 5vw, 64px); border-radius: 26px;
  background:
    radial-gradient(700px 320px at 20% -20%, rgba(34, 211, 238, .16), transparent 62%),
    radial-gradient(700px 360px at 85% 120%, rgba(168, 85, 247, .18), transparent 62%),
    var(--fx-bg-2);
  border: 1px solid var(--fx-border);
  box-shadow: 0 34px 90px rgba(2, 6, 18, .55);
}
.fx-cta h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); max-width: 22ch; margin: 0 auto .45em; }
.fx-cta p { color: var(--fx-mute); max-width: 58ch; margin: 0 auto 34px; font-size: 1.1rem; }
.fx-cta .cta-row { justify-content: center; }
.fx-cta-contact { margin-top: 26px; color: var(--fx-mute-2); font-size: .93rem; }
.fx-cta-contact a { color: #A5B4FC; font-weight: 600; }

/* ================== Inner pages ================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(150px, 15vw, 180px) 0 clamp(56px, 7vw, 80px);
  background:
    radial-gradient(900px 520px at 10% -20%, var(--fx-glow-c), transparent 62%),
    radial-gradient(1000px 620px at 90% -10%, var(--fx-glow-v), transparent 60%),
    var(--fx-bg);
  border-bottom: 1px solid var(--fx-border-soft);
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 24ch; margin: 0 0 18px; letter-spacing: -.03em; }
.page-hero .lead { margin: 0; }
.page-hero .cta-row { margin-top: 30px; }

.prose { max-width: 800px; margin: 0 auto; padding: clamp(56px, 7vw, 84px) 28px; }
.prose h2 { font-size: 1.7rem; margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .45em; }
.prose p { color: var(--fx-mute); }
.prose ul, .prose ol { color: var(--fx-mute); padding-left: 24px; display: grid; gap: 9px; }
.prose li b, .prose p b, .prose li strong, .prose p strong { color: #E4EAF7; }
.prose li::marker { color: #67E8F9; font-weight: 700; }
.prose a { font-weight: 600; }
.prose .btn { margin: 10px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; color: var(--fx-mute); }
.prose th, .prose td { border: 1px solid var(--fx-border); padding: 12px 14px; text-align: left; }
.prose th { background: var(--fx-panel-2); color: #E8EDF8; }
.prose blockquote { border-left: 3px solid var(--fx-cyan); margin: 1.4em 0; padding: 6px 0 6px 22px; color: var(--fx-mute); }
.prose hr { border: 0; border-top: 1px solid var(--fx-border-soft); margin: 2.2em 0; }

/* ================== Contact form ================== */
.fx-form { display: grid; gap: 18px; max-width: 640px; }
.fx-form label { display: grid; gap: 7px; font-weight: 700; font-size: .93rem; color: #E4EAF7; }
.fx-form input[type="text"], .fx-form input[type="email"], .fx-form textarea, .fx-form select {
  width: 100%; padding: 14px 16px; min-height: 48px; border-radius: 12px;
  background: var(--fx-panel); border: 1px solid var(--fx-border); color: var(--fx-ink);
  font: inherit; font-size: 1rem;
  transition: border-color .25s, background .25s;
}
.fx-form input:focus, .fx-form textarea:focus {
  outline: 2px solid rgba(34, 211, 238, .55); outline-offset: 1px;
  border-color: rgba(34, 211, 238, .45); background: var(--fx-panel-2);
}
.fx-form textarea { min-height: 150px; resize: vertical; }
.fx-form ::placeholder { color: var(--fx-mute-2); }
.fx-form .fx-form-note { color: var(--fx-mute-2); font-size: .87rem; margin: 0; }
.fx-form .fx-form-note a { color: #A5B4FC; }
.fx-form button { justify-self: start; }
.fx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; }
.contact-aside { display: grid; gap: 18px; }
.contact-aside .fx-card { width: 100%; }
.contact-aside .fx-card p { flex: none; }

/* ================== Footer ================== */
.site-footer { background: #03050A; color: #8E9DB8; padding: 70px 0 36px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; margin-bottom: 48px; }
.site-footer .brand { font-size: 1.15rem; }
.site-footer p { font-size: .95rem; max-width: 38ch; }
.site-footer h4 { color: #DCE5F5; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #ABB8D0; font-size: .96rem; padding: 3px 0; display: inline-block; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; }
.footer-bottom a { color: #ABB8D0; }

/* ================== Reveal animations (noscript-safe: active only with html.js) ================== */
.js .reveal { opacity: 0; transform: translateY(30px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal-d1.in { transition-delay: .08s; } .js .reveal-d2.in { transition-delay: .16s; }
.js .reveal-d3.in { transition-delay: .24s; } .js .reveal-d4.in { transition-delay: .32s; }

/* ================== Responsive ================== */
@media (max-width: 1020px) {
  .fx-hero-wrap { grid-template-columns: 1fr; gap: 48px; }
  .fx-scene { max-width: 560px; margin: 0 auto; width: 100%; }
  .fx-console { transform: none; }
  .fx-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .fx-steps { grid-template-columns: repeat(2, 1fr); }
  .fx-steps::before { display: none; }
  .fx-band { grid-template-columns: repeat(2, 1fr); }
  .fx-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 0; background: rgba(4, 6, 12, .96); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; gap: 22px; font-size: 1.2rem;
    transform: translateY(-102%); transition: transform .45s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 680px) {
  .fx-grid--3, .fx-grid--2 { grid-template-columns: 1fr; }
  .fx-steps { grid-template-columns: 1fr; }
  .fx-trust-grid { grid-template-columns: 1fr; }
  .fx-offer { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .fx-hero { padding-top: 132px; }
  .fx-console { padding: 20px 16px; }
  .fx-cta { border-radius: 20px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .fx-band { grid-template-columns: 1fr; }
  .fx-hero .cta-row .btn, .fx-cta .cta-row .btn { width: 100%; }
}

/* ============================================================
   FX layer 2 — animated visuals & Apple-level scroll effects
   Pure CSS/SVG; JS only toggles .in / .play and counts numbers.
   ============================================================ */

/* ---------- Scroll progress bar (element injected by JS) ---------- */
.fx-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: var(--fx-grad); transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none; box-shadow: 0 0 12px rgba(34, 211, 238, .55);
}

/* ---------- Masked text reveal for section titles ---------- */
.js .fx-head.reveal .section-title { opacity: 0; transform: translateY(30px); clip-path: inset(0 -4% 100% -4%); }
.js .fx-head.reveal.in .section-title {
  opacity: 1; transform: none; clip-path: inset(-20% -4% -22% -4%);
  transition: opacity .65s var(--ease) .05s, transform .9s var(--ease) .05s, clip-path .95s var(--ease) .12s;
}

/* ---------- Scale/blur entrances for cards & panels ---------- */
.js .fx-card.reveal, .js .fx-trust-card.reveal, .js .fx-step.reveal, .js .fx-stat.reveal, .js .viz-panel.reveal, .js .dash.reveal {
  transform: translateY(28px) scale(.96); filter: blur(10px);
}
.js .fx-card.reveal.in, .js .fx-trust-card.reveal.in, .js .fx-step.reveal.in, .js .fx-stat.reveal.in, .js .viz-panel.reveal.in, .js .dash.reveal.in {
  transform: none; filter: blur(0);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .65s var(--ease);
}

/* ---------- Page-hero entrance choreography (inner pages) ---------- */
.page-hero .eyebrow, .page-hero h1, .page-hero .lead, .page-hero .cta-row { animation: fxUp .85s var(--ease) both; }
.page-hero h1 { animation-delay: .08s; }
.page-hero .lead { animation-delay: .16s; }
.page-hero .cta-row { animation-delay: .24s; }
@keyframes fxUp { from { opacity: 0; transform: translateY(26px); } }

/* Aurora drift behind inner-page heroes (transform-only, one layer) */
.page-hero::before {
  content: ""; position: absolute; inset: -30% -12%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 340px at 24% 34%, rgba(34, 211, 238, .11), transparent 68%),
    radial-gradient(620px 400px at 76% 46%, rgba(139, 92, 246, .12), transparent 66%);
  animation: fxDrift 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes fxDrift {
  from { transform: translate3d(-3%, -2%, 0) rotate(-2deg) scale(1); }
  to { transform: translate3d(3%, 2.5%, 0) rotate(2deg) scale(1.06); }
}

/* Parallax glow orbs in the home hero */
.fx-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; will-change: transform; }
.fx-orb--c { width: 460px; height: 460px; top: -140px; left: -120px; background: radial-gradient(closest-side, rgba(34, 211, 238, .17), transparent 70%); }
.fx-orb--v { width: 560px; height: 560px; top: 8%; right: -180px; background: radial-gradient(closest-side, rgba(168, 85, 247, .16), transparent 70%); }

/* ---------- Visual A: manual vs. AI-automated (home) ---------- */
.viz-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.viz-panel {
  padding: 30px 28px; border-radius: 20px; position: relative;
  background: linear-gradient(165deg, var(--fx-panel-2), var(--fx-panel) 60%);
  border: 1px solid var(--fx-border-soft);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.viz-panel--ki { border-color: rgba(34, 211, 238, .28); box-shadow: 0 0 44px rgba(34, 211, 238, .07) inset; }
.viz-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 4px; }
.viz-panel .viz-sub { color: var(--fx-mute-2); font-size: .88rem; margin: 0 0 22px; }
.viz-tag { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.viz-tag--old { color: #FCD34D; background: rgba(252, 211, 77, .1); border: 1px solid rgba(252, 211, 77, .3); }
.viz-tag--ki { color: #67E8F9; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .32); }
.viz-rows { display: grid; gap: 14px; }
.viz-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; font-size: .86rem; color: var(--fx-mute); font-weight: 600; }
.viz-bar { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; position: relative; }
.viz-bar i { position: absolute; inset: 0; border-radius: 6px; transform-origin: left; transform: scaleX(var(--w, 1)); }
.viz-bar--old i { background: linear-gradient(90deg, #64748B, #94A3B8); }
.viz-bar--ki i { background: var(--fx-grad); box-shadow: 0 0 14px rgba(34, 211, 238, .45); }
.js .reveal .viz-bar i { transform: scaleX(0); }
.js .reveal.in .viz-bar i { transform: scaleX(var(--w, 1)); transition: transform 1s var(--ease) .25s; }
.js .reveal.in .viz-row:nth-child(2) .viz-bar i { transition-delay: .37s; }
.js .reveal.in .viz-row:nth-child(3) .viz-bar i { transition-delay: .49s; }
.js .reveal.in .viz-row:nth-child(4) .viz-bar i { transition-delay: .61s; }
.js .reveal.in .viz-row:nth-child(5) .viz-bar i { transition-delay: .73s; }
.viz-total { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--fx-border-soft); font-size: .9rem; color: var(--fx-mute-2); display: flex; justify-content: space-between; gap: 12px; }
.viz-total b { color: #F4F7FE; }
.viz-panel--ki .viz-total b { color: #67E8F9; }
.viz-note { text-align: center; color: var(--fx-mute-2); font-size: .88rem; margin-top: 22px; }
.viz-note a { color: #A5B4FC; font-weight: 600; }

/* ---------- Visual B: AI workflow (document AI, SVG) ---------- */
.page-visual { padding: clamp(40px, 6vw, 64px) 0 0; }
.page-visual .container { max-width: 900px; }
.page-visual--wide .container { max-width: var(--container); }
.viz-flow-wrap {
  padding: 34px 30px; border-radius: 20px; margin: 0 auto;
  background: linear-gradient(165deg, var(--fx-panel-2), var(--fx-panel) 60%);
  border: 1px solid var(--fx-border-soft);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.viz-flow svg { display: block; width: 100%; height: auto; }
.viz-flow .fl-line { stroke: rgba(148, 163, 216, .3); stroke-width: 1.6; fill: none; stroke-dasharray: 5 6; }
.viz-flow .fl-doc { fill: rgba(255, 255, 255, .05); stroke: rgba(148, 163, 216, .45); stroke-width: 1.4; }
.viz-flow .fl-docline { stroke: rgba(199, 210, 230, .55); stroke-width: 1.4; stroke-linecap: round; }
.viz-flow .fl-core { fill: rgba(34, 211, 238, .08); stroke: url(#vfGrad); stroke-width: 2; }
.viz-flow .fl-core-ring { fill: none; stroke: rgba(34, 211, 238, .35); stroke-width: 1.4; }
.viz-flow .fl-out { fill: rgba(34, 211, 238, .06); stroke: rgba(34, 211, 238, .4); stroke-width: 1.4; }
.viz-flow .fl-outline { stroke: rgba(103, 232, 249, .75); stroke-width: 2.2; stroke-linecap: round; }
.viz-flow .fl-barrect { fill: rgba(103, 232, 249, .65); }
.viz-flow .fl-check { stroke: #67E8F9; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.viz-flow text { font-family: var(--font); fill: var(--fx-mute); font-size: 12.5px; font-weight: 600; }
.viz-flow .fl-label-core { fill: #F4F7FE; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.viz-flow .fl-dot { r: 4; fill: #22D3EE; filter: drop-shadow(0 0 6px rgba(34, 211, 238, .9)); }
.viz-flow .fl-dot--v { fill: #A78BFA; filter: drop-shadow(0 0 6px rgba(167, 139, 250, .9)); }
.viz-flow .fl-dot { offset-rotate: 0deg; animation: flMove 4.2s linear infinite; animation-play-state: paused; }
.viz-flow .fl-dot--d2 { animation-delay: 1.4s; }
.viz-flow .fl-dot--d3 { animation-delay: 2.8s; }
.viz-flow .fl-dot--p1 { offset-path: path("M96 60 C 220 60, 260 150, 388 150"); }
.viz-flow .fl-dot--p2 { offset-path: path("M96 150 C 200 150, 240 150, 388 150"); }
.viz-flow .fl-dot--p3 { offset-path: path("M96 240 C 220 240, 260 150, 388 150"); }
.viz-flow .fl-dot--q1 { offset-path: path("M512 150 C 610 150, 640 70, 736 70"); }
.viz-flow .fl-dot--q2 { offset-path: path("M512 150 C 610 150, 640 230, 736 230"); }
@keyframes flMove { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.viz-flow.play .fl-dot { animation-play-state: running; }
.viz-flow .fl-pulse { transform-origin: 450px 150px; transform-box: view-box; animation: flPulse 3s ease-in-out infinite; animation-play-state: paused; }
.viz-flow.play .fl-pulse { animation-play-state: running; }
@keyframes flPulse { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.12); opacity: .2; } }
.viz-flow-caption { text-align: center; color: var(--fx-mute-2); font-size: .88rem; margin: 20px 0 0; }

/* ---------- Visual C: ops cockpit mockup (operational web apps) ---------- */
.dash {
  position: relative; border-radius: 22px; padding: 26px clamp(18px, 3vw, 30px) 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .028) 58%);
  border: 1px solid var(--fx-border);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(2, 6, 18, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.dash::before {
  content: ""; position: absolute; inset: -8% -4%; z-index: -1; border-radius: 50%;
  background:
    radial-gradient(420px 260px at 18% 20%, rgba(34, 211, 238, .16), transparent 70%),
    radial-gradient(520px 320px at 85% 85%, rgba(168, 85, 247, .17), transparent 70%);
  filter: blur(26px); pointer-events: none;
}
.dash-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.dash-title { font-size: .84rem; font-weight: 700; color: #C6D1E8; letter-spacing: .04em; }
.dash-head .fx-live { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; }
.dash-head .fx-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fx-cyan); box-shadow: 0 0 10px var(--fx-cyan); }
.dash.play .fx-live::before { animation: fxPulse 2s infinite; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.dash-kpi {
  padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--fx-border-soft);
}
.dash-kpi > span { display: block; color: var(--fx-mute-2); font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; }
.dash-kpi b { display: block; font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; color: #F4F7FE; font-variant-numeric: tabular-nums; line-height: 1.1; }
.dash-kpi b .unit { font-size: .62em; font-weight: 700; color: var(--fx-mute); margin-left: 2px; }
.dash-delta { display: inline-block; margin-top: 7px; font-size: .74rem; font-weight: 700; font-style: normal; }
.dash-delta--good { color: #34D399; }
.dash-delta--info { color: #67E8F9; }
.dash-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; }
.dash-panel {
  padding: 18px 18px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--fx-border-soft);
}
.dash-panel-title { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--fx-mute-2); margin-bottom: 12px; }
.dash-chart svg { display: block; width: 100%; height: auto; }
.dash-chart .grid-line { stroke: rgba(148, 163, 216, .12); stroke-width: 1; }
.dash-chart .dash-area { fill: url(#dashFill); }
.dash-chart .dash-line { fill: none; stroke: url(#dashStroke); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(34, 211, 238, .45)); }
.dash-chart .dash-dot { fill: #22D3EE; filter: drop-shadow(0 0 6px rgba(34, 211, 238, .9)); }
.dash-chart .dash-ping { fill: none; stroke: #22D3EE; stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.dash.play .dash-ping { animation: dashPing 2.4s ease-out infinite .8s; }
@keyframes dashPing { 0% { transform: scale(.35); opacity: .9; } 75%, 100% { transform: scale(2.6); opacity: 0; } }
.js .dash.reveal .dash-line { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .dash.reveal.in .dash-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.7s var(--ease) .35s; }
.js .dash.reveal .dash-area, .js .dash.reveal .dash-dot { opacity: 0; }
.js .dash.reveal.in .dash-area { opacity: 1; transition: opacity .9s ease 1.4s; }
.js .dash.reveal.in .dash-dot { opacity: 1; transition: opacity .5s ease 1.7s; }
.dash-x { display: flex; justify-content: space-between; padding: 8px 2px 0; color: var(--fx-mute-2); font-size: .72rem; font-weight: 600; }
.dash-side { display: grid; gap: 14px; align-content: start; }
.dash-side .viz-row { grid-template-columns: 104px 1fr; font-size: .8rem; }
.dash-queue .viz-rows { gap: 12px; }
.dash-note { margin: 18px 0 0; }
.dash .fx-chip { font-size: .7rem; }
.dash-foot { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Scroll-driven animations (CSS scroll timelines) ----------
   Feature-gated via @supports; IntersectionObserver reveals remain
   the fallback for every other browser. */
@supports (animation-timeline: view()) {
  .fx-progress { animation: fxProgressGrow linear both; animation-timeline: scroll(root block); transform: none; }
  .js .fx-cta { animation: fxCtaRise linear both; animation-timeline: view(); animation-range: entry 5% entry 90%; }
  @media (min-width: 861px) {
    .fx-orb--c { animation: fxOrbC linear both; animation-timeline: scroll(root block); animation-range: 0 120vh; }
    .fx-orb--v { animation: fxOrbV linear both; animation-timeline: scroll(root block); animation-range: 0 120vh; }
  }
}
@keyframes fxProgressGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fxCtaRise { from { opacity: .25; transform: translateY(56px) scale(.965); } to { opacity: 1; transform: none; } }
@keyframes fxOrbC { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(46px, 150px, 0); } }
@keyframes fxOrbV { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-40px, -110px, 0); } }

/* ---------- FX responsive reductions ---------- */
@media (max-width: 1020px) {
  .viz-compare { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .viz-row { grid-template-columns: 118px 1fr; }
}
@media (max-width: 680px) {
  .js .fx-card.reveal, .js .fx-trust-card.reveal, .js .fx-step.reveal, .js .fx-stat.reveal, .js .viz-panel.reveal, .js .dash.reveal { filter: none; transform: translateY(24px); }
  .viz-flow text { font-size: 17px; }
  .viz-flow .fl-label-core { font-size: 20px; }
  .page-hero::before { animation: none; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash { padding: 20px 14px 18px; }
  .viz-panel { padding: 24px 20px; }
  .viz-flow-wrap { padding: 22px 14px; }
}

/* ================== Reduced motion ================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx-badge .dot, .fx-spin { animation: none !important; }
  .fx-console { transform: none; }
  .fx-card, .fx-case { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .fx-card.reveal, .js .fx-trust-card.reveal, .js .fx-step.reveal, .js .fx-stat.reveal, .js .viz-panel.reveal, .js .dash.reveal { transform: none; filter: none; }
  .js .fx-head.reveal .section-title { opacity: 1; transform: none; clip-path: none; }
  .page-hero .eyebrow, .page-hero h1, .page-hero .lead, .page-hero .cta-row { animation: none; }
  .page-hero::before, .fx-orb, .js .fx-cta, .fx-progress { animation: none !important; }
  .fx-progress { display: none; }
  .viz-flow .fl-dot, .viz-flow .fl-pulse, .dash .dash-ping, .dash.play .fx-live::before { animation: none !important; }
  .js .reveal .viz-bar i { transform: scaleX(var(--w, 1)); transition: none; }
  .js .dash.reveal .dash-line { stroke-dasharray: none; stroke-dashoffset: 0; }
  .js .dash.reveal .dash-area, .js .dash.reveal .dash-dot { opacity: 1; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
