/* masatio.com home page (EN + TR): AI agents and finance automation.
   Loads after crm.css and premium.css and reuses their tokens, header, buttons, FAQ, form and footer.
   Everything here is scoped to body.fx. Motion stops under prefers-reduced-motion. */

@property --fx-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

body.fx {
  --fx-night: #0a1626;
  --fx-navy: #11283f;
  --fx-orange: #ff7a29;
  --fx-amber: #ffb547;
  --fx-cyan: #5fd4ff;
  --fx-green: #4ade80;
  --fx-glass: rgba(255, 255, 255, .06);
  --fx-glass-line: rgba(255, 255, 255, .12);
  background: var(--paper);
}
body.fx .top { position: sticky; top: 0; background: color-mix(in srgb, var(--fx-night) 82%, transparent); backdrop-filter: blur(14px) saturate(140%); }

/* Scroll reveal */
.fx .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.fx .rv.in { opacity: 1; transform: none; }

.fx-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--fx-orange); font: 800 12px/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.fx-kicker::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--fx-orange), var(--fx-amber)); }
.fx-section { position: relative; padding: 112px 0; }
.fx-section h2 { max-width: 20ch; }
.fx-section .lede { max-width: 62ch; }
.fx-dark { background: var(--fx-night); color: var(--on-dark); }
.fx-dark .lede { color: var(--on-dark-2); }
.fx-grad { background: linear-gradient(100deg, var(--fx-orange) 0%, var(--fx-amber) 35%, var(--fx-cyan) 70%, var(--fx-orange) 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fx-shimmer 9s linear infinite; }
@keyframes fx-shimmer { to { background-position: -260% 0; } }

/* ---------- Hero ---------- */
.fx-hero { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0 0; background: var(--fx-night); color: var(--on-dark); }
.fx-hero canvas.fx-net, .fx-inner-hero canvas.fx-net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .75; }
.fx-aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; pointer-events: none; filter: blur(70px) saturate(130%); opacity: .7; }
.fx-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: fx-drift 22s ease-in-out infinite alternate; }
.fx-aurora span:nth-child(1) { left: 2%; top: 4%; width: 46vw; height: 46vw; background: radial-gradient(circle, rgba(255, 122, 41, .55), transparent 62%); }
.fx-aurora span:nth-child(2) { right: -4%; top: -6%; width: 42vw; height: 42vw; background: radial-gradient(circle, rgba(95, 212, 255, .38), transparent 62%); animation-duration: 28s; animation-delay: -6s; }
.fx-aurora span:nth-child(3) { left: 34%; top: 36%; width: 38vw; height: 38vw; background: radial-gradient(circle, rgba(124, 92, 255, .32), transparent 62%); animation-duration: 25s; animation-delay: -11s; }
@keyframes fx-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vh) scale(1.12); } 100% { transform: translate(-5vw, -3vh) scale(.94); } }
.fx-floor { position: absolute; left: -10%; right: -10%; bottom: 0; height: 46%; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(95, 212, 255, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 212, 255, .28) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(520px) rotateX(64deg); transform-origin: bottom; mask-image: linear-gradient(to top, #000 10%, transparent 90%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); animation: fx-floor 6s linear infinite; }
@keyframes fx-floor { to { background-position: 0 64px, 0 0; } }

.fx-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.fx-hero h1 { font-size: clamp(42px, 6vw, 82px); line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; }
.fx-hero h1 .soft { display: block; margin-top: 10px; font-size: .52em; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--on-dark-2); max-width: 26ch; }
.fx-hero .lede { color: var(--on-dark-2); max-width: 54ch; }
.fx-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fx-hero .btn-primary { position: relative; overflow: hidden; }
.fx-hero .btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: fx-sheen 4.5s ease-in-out 1.5s infinite; }
@keyframes fx-sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.fx-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 7px 14px 7px 8px; border: 1px solid var(--fx-glass-line); border-radius: 99px; background: var(--fx-glass); color: var(--on-dark); font: 650 13px var(--display); backdrop-filter: blur(8px); }
.fx-badge b { padding: 3px 9px; border-radius: 99px; background: linear-gradient(90deg, var(--fx-orange), var(--fx-amber)); color: #1a1206; font-size: 11px; letter-spacing: .08em; }
.fx-rotator { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 22px; color: var(--on-dark-2); font: 600 16px var(--display); }
.fx-rotator [data-words] { min-width: 18ch; color: var(--fx-amber); font-weight: 800; }
.fx-rotator [data-words]::after { content: '▍'; margin-left: 2px; color: var(--fx-orange); animation: fx-blink 1s steps(1) infinite; }
@keyframes fx-blink { 50% { opacity: 0; } }

/* Agent console */
.fx-console { position: relative; border: 1px solid var(--fx-glass-line); border-radius: 22px; background: linear-gradient(160deg, rgba(23, 46, 72, .78), rgba(10, 22, 38, .88)); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(16px); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(4deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.fx-console:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.fx-console::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--fx-angle), transparent 0 70%, var(--fx-orange) 80%, var(--fx-cyan) 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: fx-spin 5s linear infinite; pointer-events: none; }
@keyframes fx-spin { to { --fx-angle: 360deg; } }
.fx-console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--fx-glass-line); color: var(--on-dark-2); font: 700 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.fx-console-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.fx-console-bar i:nth-child(2) { background: #febc2e; }
.fx-console-bar i:nth-child(3) { background: #28c840; margin-right: 8px; }
.fx-console-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--fx-green); }
.fx-console-bar .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--fx-green); box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: fx-ping 1.8s infinite; }
@keyframes fx-ping { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.fx-log { list-style: none; margin: 0; padding: 14px; display: grid; gap: 10px; min-height: 324px; align-content: start; }
.fx-log li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 13px; background: rgba(255, 255, 255, .035); font-size: 13.5px; line-height: 1.4; }
.fx-log li.in { animation: fx-in .6s cubic-bezier(.2, .8, .2, 1) both; }
.fx-log li.out { animation: fx-out .45s ease both; }
@keyframes fx-in { from { opacity: 0; transform: translateY(-14px) scale(.97); filter: blur(4px); } }
@keyframes fx-out { to { opacity: 0; transform: translateY(12px); } }
.fx-log .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font: 800 13px var(--display); }
.fx-log .ok .ic { background: rgba(74, 222, 128, .15); color: var(--fx-green); }
.fx-log .flag .ic { background: rgba(255, 122, 41, .16); color: var(--fx-orange); }
.fx-log .read .ic { background: rgba(95, 212, 255, .14); color: var(--fx-cyan); }
.fx-log b { display: block; color: var(--on-dark); font-weight: 650; }
.fx-log span { color: var(--on-dark-2); }
.fx-log em { font-style: normal; font: 700 11px var(--mono); padding: 4px 8px; border-radius: 7px; background: rgba(255, 255, 255, .06); color: var(--on-dark-2); white-space: nowrap; }
.fx-console-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px 16px; color: var(--on-dark-2); font-size: 12px; }
.fx-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--fx-glass-line); border-radius: 14px; background: rgba(12, 26, 44, .82); backdrop-filter: blur(10px); color: var(--on-dark); font: 700 13px var(--display); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .7); animation: fx-bob 6s ease-in-out infinite; }
.fx-float small { display: block; color: var(--on-dark-2); font: 500 11px var(--body); }
.fx-float .dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--fx-orange), var(--fx-amber)); color: #1a1206; font-weight: 900; }
.fx-float.f1 { left: -42px; top: -30px; }
.fx-float.f2 { right: -26px; bottom: 74px; animation-delay: -3s; }
.fx-float.f2 .dot { background: linear-gradient(135deg, var(--fx-cyan), #7c5cff); color: #06121f; }
@keyframes fx-bob { 50% { transform: translateY(-12px); } }
.fx-console-wrap { position: relative; }

/* Marquee */
.fx-marquee { position: relative; margin-top: 88px; padding: 22px 0; border-top: 1px solid var(--fx-glass-line); 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); }
.fx-marquee p { margin: 0 0 14px; text-align: center; color: var(--on-dark-2); font: 700 11px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.fx-track { display: flex; gap: 14px; width: max-content; animation: fx-marquee 38s linear infinite; }
.fx-marquee:hover .fx-track { animation-play-state: paused; }
.fx-track span { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border: 1px solid var(--fx-glass-line); border-radius: 99px; background: var(--fx-glass); color: var(--on-dark); font: 650 14px var(--display); white-space: nowrap; }
.fx-track span::before { content: ''; width: 8px; height: 8px; border-radius: 3px; background: linear-gradient(135deg, var(--fx-orange), var(--fx-cyan)); }
@keyframes fx-marquee { to { transform: translateX(-50%); } }

/* ---------- Finance agents ---------- */
.fx-finance { background: radial-gradient(1200px 500px at 85% -10%, rgba(255, 122, 41, .10), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(95, 212, 255, .10), transparent 60%), var(--paper); }
.fx-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 54px; }
.fx-card { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 24px 40px -38px rgba(17, 39, 63, .5); overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.fx-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 122, 41, .13), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fx-card:hover { transform: translateY(-6px); border-color: rgba(255, 122, 41, .45); box-shadow: 0 30px 60px -36px rgba(223, 100, 29, .45); }
.fx-card:hover::before { opacity: 1; }
.fx-card h3 { font-size: 18px; }
.fx-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.fx-card .fx-tag { align-self: flex-start; padding: 0; background: none; border: 0;
   margin-top: auto; padding-top: 6px; color: var(--muted); font: 700 11px var(--display); letter-spacing: .09em; text-transform: uppercase; }
.fx-card a { color: var(--action); font-weight: 700; text-decoration: none; font-size: 14px; }
.fx-icon { position: relative; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, #13263b, #1f3d5c); color: #fff; box-shadow: 0 12px 24px -12px rgba(19, 38, 59, .7); }
.fx-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fx-icon::after { content: ''; position: absolute; inset: -4px; border-radius: 18px; border: 1.5px solid var(--fx-orange); opacity: 0; transform: scale(.85); transition: .35s; }
.fx-card:hover .fx-icon::after { opacity: .7; transform: scale(1); }
.fx-card:hover .fx-icon svg { animation: fx-wiggle .6s ease; }
@keyframes fx-wiggle { 30% { transform: rotate(-9deg) scale(1.08); } 60% { transform: rotate(6deg); } }
.fx-icon.c2 { background: linear-gradient(135deg, #b84a08, #ff7a29); }
.fx-icon.c3 { background: linear-gradient(135deg, #0e6f8f, #5fd4ff); }
.fx-icon.c4 { background: linear-gradient(135deg, #3b2f86, #7c5cff); }
.fx-note { margin-top: 26px; color: var(--muted); font-size: 14px; }

/* ---------- Pipeline ---------- */
.fx-flow { background: var(--fx-night); color: var(--on-dark); overflow: hidden; }
.fx-flow::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 380px at 50% 55%, rgba(255, 122, 41, .16), transparent 70%); pointer-events: none; }
.fx-flow .lede { color: var(--on-dark-2); }
.fx-flow-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px; }
.fx-sample { padding: 7px 12px; border: 1px dashed var(--fx-glass-line); border-radius: 99px; color: var(--on-dark-2); font: 700 11px var(--display); letter-spacing: .1em; text-transform: uppercase; }
.fx-pipe { position: relative; margin-top: 48px; border: 1px solid var(--fx-glass-line); border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); padding: 18px; }
.fx-pipe svg { display: block; width: 100%; height: auto; }
.fx-pipe .wire { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 2; }
.fx-pipe .wire.flow { stroke: url(#fx-g1); stroke-width: 2.5; stroke-dasharray: 8 12; animation: fx-dash 1.6s linear infinite; }
.fx-pipe .wire.flow.warn { stroke: var(--fx-orange); }
@keyframes fx-dash { to { stroke-dashoffset: -40; } }
.fx-pipe .node rect { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .16); }
.fx-pipe .node text { fill: #eef3f8; font: 700 15px var(--display); }
.fx-pipe .node text.sub { fill: #a9b8c8; font: 500 12px var(--body); }
.fx-pipe .core circle.ring { fill: none; stroke: url(#fx-g1); stroke-width: 2; stroke-dasharray: 6 10; transform-origin: 600px 180px; animation: fx-rot 12s linear infinite; }
.fx-pipe .core circle.ring.r2 { stroke-dasharray: 2 8; animation-duration: 18s; animation-direction: reverse; }
.fx-pipe .core circle.glow { fill: url(#fx-rg); animation: fx-pulse 2.6s ease-in-out infinite; transform-origin: 600px 180px; }
@keyframes fx-rot { to { transform: rotate(360deg); } }
@keyframes fx-pulse { 50% { transform: scale(1.12); opacity: .75; } }
.fx-pipe .core text { fill: #fff; font: 800 17px var(--display); text-anchor: middle; }
.fx-pipe .core text.sub { fill: #ffd2b0; font: 600 11px var(--display); letter-spacing: .12em; }
.fx-pipe .ok rect { stroke: rgba(74, 222, 128, .55); fill: rgba(74, 222, 128, .07); }
.fx-pipe .warn-n rect { stroke: rgba(255, 122, 41, .6); fill: rgba(255, 122, 41, .08); }
.fx-pipe .you rect { stroke: rgba(95, 212, 255, .55); fill: rgba(95, 212, 255, .07); }
.fx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.fx-stats div { padding: 20px 22px; border: 1px solid var(--fx-glass-line); border-radius: 18px; background: var(--fx-glass); }
.fx-stats b { display: block; font: 800 clamp(30px, 3.4vw, 44px)/1 var(--display); letter-spacing: -.04em; color: #fff; }
.fx-stats div:nth-child(2) b { color: var(--fx-green); }
.fx-stats div:nth-child(3) b { color: var(--fx-orange); }
.fx-stats div:nth-child(4) b { color: var(--fx-cyan); }
.fx-stats span { display: block; margin-top: 8px; color: var(--on-dark-2); font-size: 14px; }

/* ---------- Guardrails ---------- */
.fx-guard-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.fx-shield { position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto; display: grid; place-items: center; }
.fx-shield .orb { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-2); animation: fx-rot 40s linear infinite; }
.fx-shield .orb.o2 { inset: 13%; border-style: solid; border-color: var(--line); animation-duration: 26s; animation-direction: reverse; }
.fx-shield .orb.o3 { inset: 26%; border: 0; background: radial-gradient(circle, rgba(255, 122, 41, .2), transparent 70%); animation: fx-pulse 3.2s ease-in-out infinite; }
.fx-shield .orb i { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--fx-orange); box-shadow: 0 0 18px var(--fx-orange); }
.fx-shield .orb.o2 i { background: var(--fx-cyan); box-shadow: 0 0 18px var(--fx-cyan); }
.fx-shield svg { position: relative; width: 38%; height: auto; filter: drop-shadow(0 20px 30px rgba(19, 38, 59, .35)); }
.fx-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.fx-checks article { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.fx-checks h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.fx-checks h3::before { content: '✓'; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(43, 138, 62, .12); color: var(--won); font-size: 14px; }
.fx-checks p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Products ---------- */
.fx-products { background: var(--fx-night); color: var(--on-dark); }
.fx-products .lede { color: var(--on-dark-2); }
.fx-prod-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 52px; }
.fx-prod { --mx: 50%; --my: 50%; position: relative; grid-column: span 2; display: flex; flex-direction: column; min-height: 100%; border-radius: 22px; background: linear-gradient(170deg, #142b44, #0d1c2f); color: var(--on-dark); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.fx-prod.wide { grid-column: span 3; }
.fx-prod::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--fx-angle), rgba(255, 255, 255, .1) 0 55%, var(--fx-orange) 70%, var(--fx-amber) 78%, var(--fx-cyan) 88%, rgba(255, 255, 255, .1) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: fx-spin 7s linear infinite; animation-play-state: paused; opacity: .55; transition: opacity .3s; }
.fx-prod::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 122, 41, .16), transparent 45%); opacity: 0; transition: opacity .3s; }
.fx-prod:hover { transform: translateY(-8px); }
.fx-prod:hover::before { animation-play-state: running; opacity: 1; }
.fx-prod:hover::after { opacity: 1; }
.fx-prod-art { position: relative; height: 190px; margin: 14px 14px 0; border-radius: 15px; overflow: hidden; background: linear-gradient(135deg, #1a3350, #102238); }
.fx-prod-art img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.fx-prod:hover .fx-prod-art img { transform: scale(1.06); }
.fx-prod-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.fx-prod-body .pill { align-self: flex-start; padding: 5px 11px; border-radius: 99px; background: rgba(255, 122, 41, .14); color: var(--fx-amber); font: 800 11px var(--display); letter-spacing: .1em; text-transform: uppercase; }
.fx-prod-body h3 { font-size: 22px; color: #fff; }
.fx-prod-body p { color: var(--on-dark-2); font-size: 15px; line-height: 1.6; }
.fx-prod-body .go { margin-top: auto; padding-top: 6px; color: var(--fx-amber); font: 700 14px var(--display); }
.fx-prod-body .go::after { content: ' →'; display: inline-block; transition: transform .3s; }
.fx-prod:hover .go::after { transform: translateX(6px); }

/* CSS-drawn product art */
.art-phone { position: absolute; left: 50%; top: 18px; width: 96px; height: 168px; margin-left: -52px; border-radius: 22px; border: 3px solid #36577b; background: linear-gradient(180deg, #0f2238, #18324f); animation: fx-bob 5s ease-in-out infinite; }
.art-phone::before { content: ''; position: absolute; left: 50%; top: 8px; width: 34px; height: 6px; margin-left: -17px; border-radius: 6px; background: #36577b; }
.art-phone i { position: absolute; left: 12px; right: 12px; height: 18px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.art-phone i:nth-child(1) { top: 30px; background: linear-gradient(90deg, var(--fx-orange), var(--fx-amber)); }
.art-phone i:nth-child(2) { top: 56px; }
.art-phone i:nth-child(3) { top: 82px; width: 50%; }
.art-phone i:nth-child(4) { top: 108px; }
.art-phone.p2 { margin-left: -118px; top: 34px; transform: rotate(-10deg); opacity: .7; animation-delay: -2.5s; }
.art-phone.p3 { margin-left: 22px; top: 34px; transform: rotate(10deg); opacity: .7; animation-delay: -1.2s; }
.art-ledger { position: absolute; inset: 22px 22px auto; display: grid; gap: 8px; }
.art-ledger i { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 8px; height: 16px; }
.art-ledger i::before, .art-ledger i::after { content: ''; border-radius: 5px; background: rgba(255, 255, 255, .1); }
.art-ledger i { position: relative; border-radius: 5px; background: linear-gradient(90deg, rgba(255, 255, 255, .1) 0 56%, transparent 56%); }
.art-ledger i:nth-child(odd)::after { background: rgba(74, 222, 128, .45); }
.art-ledger i:nth-child(3)::after { background: rgba(255, 122, 41, .7); animation: fx-blink 1.4s steps(1) infinite; }
.art-ledger i { animation: fx-rowin .7s both; animation-delay: calc(var(--i) * .12s); }
@keyframes fx-rowin { from { opacity: 0; transform: translateX(-12px); } }
.art-qr { position: absolute; left: 50%; top: 50%; width: 124px; height: 124px; margin: -62px 0 0 -62px; padding: 9px; border-radius: 16px; background: #ffc61a; box-shadow: 0 0 0 10px rgba(255, 198, 26, .12), 0 18px 40px -16px rgba(255, 198, 26, .6); animation: fx-bob 5s ease-in-out infinite; }
.art-qr svg { display: block; width: 100%; height: 100%; fill: #17244a; }
.art-qr::after { content: ''; position: absolute; left: -18px; right: -18px; top: 0; height: 3px; background: var(--fx-cyan); box-shadow: 0 0 16px 3px var(--fx-cyan); animation: fx-scan 2.4s ease-in-out infinite; }
@keyframes fx-scan { 50% { top: 100%; } }
.art-dna { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.art-dna i { width: 10px; height: 10px; border-radius: 50%; background: var(--fx-cyan); animation: fx-helix 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.2s); }
.art-dna i:nth-child(even) { background: var(--fx-orange); }
@keyframes fx-helix { 0%, 100% { transform: translateY(-46px) scale(.7); opacity: .6; } 50% { transform: translateY(46px) scale(1.15); opacity: 1; } }

.art-auto { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-auto rect { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .22); }
.art-auto rect.hub { fill: #13263b; stroke: var(--fx-orange); stroke-width: 2; animation: fx-pulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.art-auto rect.out { stroke: rgba(74, 222, 128, .6); fill: rgba(74, 222, 128, .08); }
.art-auto .ln { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 2; stroke-dasharray: 6 8; animation: fx-dash 1.6s linear infinite; }

/* ---------- Process ---------- */
.fx-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
.fx-steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 31px; height: 2px; background: var(--line); }
.fx-steps::after { content: ''; position: absolute; left: 6%; top: 31px; height: 2px; width: 0; background: linear-gradient(90deg, var(--fx-orange), var(--fx-amber), var(--fx-cyan)); transition: width 1.8s cubic-bezier(.2, .7, .2, 1) .3s; }
.fx-steps.in::after { width: 88%; }
.fx-steps article { position: relative; padding: 0 6px; }
.fx-steps .no { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--fx-navy); color: #fff; font: 800 22px var(--display); box-shadow: 0 16px 30px -16px rgba(17, 40, 63, .8); }
.fx-steps h3 { margin-top: 22px; font-size: 21px; }
.fx-steps p { margin-top: 10px; color: var(--muted); line-height: 1.65; }

/* Contact tweaks */
body.fx .contact { background: radial-gradient(900px 420px at 15% 0%, rgba(255, 122, 41, .16), transparent 60%), radial-gradient(800px 400px at 100% 100%, rgba(95, 212, 255, .12), transparent 60%), var(--fx-night); }


/* ---------- Inner pages (body.fx-page): same look, existing content ---------- */
.fx-inner-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--fx-night) !important; }
.fx-inner-hero .fx-floor { height: 60%; opacity: .28; }
.fx-inner-hero h1 { letter-spacing: -.035em; }
.fx-inner-hero h1 .soft { background: linear-gradient(100deg, var(--fx-orange) 0%, var(--fx-amber) 35%, var(--fx-cyan) 70%, var(--fx-orange) 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fx-shimmer 9s linear infinite; }
.fx-inner-hero .btn-primary { position: relative; overflow: hidden; }
.fx-inner-hero .btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: fx-sheen 4.5s ease-in-out 1.5s infinite; }
body.fx-page main section:not(.fx-inner-hero) article { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s, opacity .8s cubic-bezier(.2, .7, .2, 1); }
body.fx-page main section:not(.fx-inner-hero) article:hover { transform: translateY(-5px); box-shadow: 0 28px 54px -34px rgba(223, 100, 29, .45); border-color: rgba(255, 122, 41, .45); }
body.fx-page main section:not(.fx-inner-hero) article.rv:not(.in) { transform: translateY(28px); }
body.fx-page .page-section-label, body.fx-page .company-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
body.fx-page .page-section-label::before, body.fx-page .company-eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--fx-orange), var(--fx-amber)); }
body.fx-page .week-band { background: radial-gradient(900px 400px at 85% 0%, rgba(255, 122, 41, .08), transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(95, 212, 255, .08), transparent 60%), var(--paper); }

/* Landing pages */
.fx-cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-steps.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fx-subh { margin-top: 64px; font-size: clamp(26px, 3vw, 36px); }
.fx-card .fx-more { margin-top: auto; padding-top: 6px; font: 700 13px var(--display); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .fx-hero-grid, .fx-guard-grid { grid-template-columns: 1fr; }
  .fx-console { transform: none; }
  .fx-float.f1 { left: 8px; top: -22px; }
  .fx-float.f2 { right: 8px; bottom: -18px; }
  .fx-cards, .fx-cards.c3, .fx-steps.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-steps.c4::before, .fx-steps.c4::after { display: none; }
  .fx-prod, .fx-prod.wide { grid-column: span 3; }
  .fx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-shield { max-width: 280px; }
}
@media (max-width: 680px) {
  .fx-section { padding: 76px 0; }
  .fx-hero { padding-top: 64px; }
  .fx-cards, .fx-cards.c3, .fx-checks, .fx-steps, .fx-steps.c4 { grid-template-columns: 1fr; }
  .fx-steps::before, .fx-steps::after { display: none; }
  .fx-prod, .fx-prod.wide { grid-column: span 6; }
  .fx-float { display: none; }
  .fx-log { min-height: 0; }
  .fx-pipe { padding: 8px; overflow-x: auto; }
  .fx-pipe svg { min-width: 760px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx *, .fx *::before, .fx *::after { animation: none !important; transition: none !important; }
  .fx .rv { opacity: 1; transform: none; }
  .fx-steps::after { width: 88%; }
  .fx-hero canvas.fx-net, .fx-inner-hero canvas.fx-net { display: none; }
}
