/*
Theme Name: ZCTechnologies
Theme URI: https://zctechnologies.fr
Author: ZCTechnologies
Author URI: https://zctechnologies.fr
Description: Enterprise-grade custom theme for ZCTechnologies. Premium SaaS / IT company design with a red, black and white brand identity. No template look, no exposed platform branding.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: zct
*/

/* ============================================================
   ZCTechnologies Design System
   Aesthetic: engineered instrument-panel. Hairline grids,
   monospace utility labels, tabular numerals, red as signal.
   ============================================================ */

:root {
  /* Brand */
  --zct-red: #E30613;
  --zct-red-600: #c40510;
  --zct-red-glow: rgba(227, 6, 19, 0.35);
  --zct-black: #111111;
  --zct-white: #FFFFFF;

  /* Surfaces */
  --zct-bg: #0D0D0D;
  --zct-bg-2: #121212;
  --zct-card: #181818;
  --zct-card-2: #1f1f1f;
  --zct-line: rgba(255, 255, 255, 0.08);
  --zct-line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --zct-text: #f5f5f5;
  --zct-muted: #a3a3a3;
  --zct-dim: #6b6b6b;

  /* Type */
  --zct-font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --zct-font-body: "Inter", system-ui, -apple-system, sans-serif;
  --zct-font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;

  /* Layout */
  --zct-max: 1200px;
  --zct-radius: 14px;
  --zct-radius-sm: 8px;
  --zct-gutter: clamp(20px, 5vw, 64px);
  --zct-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--zct-bg);
  color: var(--zct-text);
  font-family: var(--zct-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--zct-font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
p { margin: 0 0 1.1em; color: var(--zct-muted); }

/* Utility label — the signature mono eyebrow */
.zct-eyebrow {
  font-family: var(--zct-font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--zct-red);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.2rem;
}
.zct-eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--zct-red);
  display: inline-block;
}

/* Tabular numerals everywhere numbers matter */
.zct-num { font-family: var(--zct-font-mono); font-variant-numeric: tabular-nums; }

/* Layout */
.zct-container { width: 100%; max-width: var(--zct-max); margin: 0 auto; padding-inline: var(--zct-gutter); }
.zct-section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.zct-section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* Hairline grid background accent */
.zct-grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--zct-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--zct-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 70%);
  opacity: 0.5;
}
.zct-section > .zct-container { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.zct-btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--zct-ease), box-shadow 0.25s var(--zct-ease), background 0.25s var(--zct-ease);
  will-change: transform;
}
.zct-btn--primary {
  background: linear-gradient(135deg, var(--zct-red), var(--zct-red-600));
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--zct-red-glow);
}
.zct-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px var(--zct-red-glow); }
.zct-btn--ghost {
  background: transparent; color: var(--zct-text);
  border-color: var(--zct-line-strong);
}
.zct-btn--ghost:hover { border-color: var(--zct-red); color: #fff; }
.zct-btn__arrow { transition: transform 0.25s var(--zct-ease); }
.zct-btn:hover .zct-btn__arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.zct-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(13, 13, 13, 0.72);
  border-bottom: 1px solid var(--zct-line);
}
.zct-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.zct-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--zct-font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.zct-brand img { height: 30px; width: auto; }
.zct-brand__mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, var(--zct-red), var(--zct-red-600));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 0.95rem;
}
.zct-nav { display: flex; align-items: center; gap: 2rem; }
.zct-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.zct-nav a { font-size: 0.92rem; color: var(--zct-muted); transition: color 0.2s; position: relative; }
.zct-nav a:hover, .zct-nav .current-menu-item > a { color: #fff; }
.zct-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--zct-red); transition: width 0.25s var(--zct-ease);
}
.zct-nav a:hover::after { width: 100%; }
.zct-header__cta { display: flex; align-items: center; gap: 0.8rem; }

.zct-burger { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.zct-burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: 0.3s var(--zct-ease); }
.zct-burger span:nth-child(1) { top: 14px; }
.zct-burger span:nth-child(2) { top: 20px; }
.zct-burger span:nth-child(3) { top: 26px; }
body.zct-nav-open .zct-burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.zct-nav-open .zct-burger span:nth-child(2) { opacity: 0; }
body.zct-nav-open .zct-burger span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.zct-hero { padding-block: clamp(72px, 11vw, 150px); position: relative; overflow: hidden; }
.zct-hero__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; pointer-events: none;
  background: radial-gradient(circle, var(--zct-red-glow), transparent 60%);
  opacity: 0.5; filter: blur(40px);
}
.zct-hero__inner { max-width: 880px; position: relative; z-index: 1; }
.zct-hero h1 { margin-bottom: 0.4em; }
.zct-hero h1 .accent { color: var(--zct-red); }
.zct-hero__lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--zct-muted); max-width: 620px; margin-bottom: 2rem; }
.zct-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero console panel — the "instrument" signature */
.zct-console {
  margin-top: clamp(48px, 7vw, 80px);
  border: 1px solid var(--zct-line);
  border-radius: var(--zct-radius);
  background: linear-gradient(180deg, var(--zct-card), var(--zct-bg-2));
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
}
.zct-console__bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--zct-line);
  font-family: var(--zct-font-mono); font-size: 0.78rem; color: var(--zct-dim);
}
.zct-console__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--zct-card-2); }
.zct-console__dot--red { background: var(--zct-red); }
.zct-console__title { margin-left: auto; letter-spacing: 0.1em; }
.zct-console__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.zct-stat { padding: 1.6rem 1.4rem; border-right: 1px solid var(--zct-line); border-top: 1px solid var(--zct-line); }
.zct-stat:nth-child(4n) { border-right: 0; }
.zct-stat__label { font-family: var(--zct-font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--zct-dim); }
.zct-stat__value { font-family: var(--zct-font-mono); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; margin-top: 0.3rem; }
.zct-stat__value .unit { color: var(--zct-red); font-size: 0.6em; }

/* ---------- Section heading ---------- */
.zct-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.zct-head--center { margin-inline: auto; text-align: center; }
.zct-head p { font-size: 1.1rem; }

/* ---------- Logo / trust strip ---------- */
.zct-trust { border-block: 1px solid var(--zct-line); }
.zct-trust__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; padding-block: 1.8rem; }
.zct-trust__label { font-family: var(--zct-font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--zct-dim); }
.zct-trust__item { font-family: var(--zct-font-display); font-weight: 600; color: var(--zct-muted); opacity: 0.7; transition: opacity 0.2s, color 0.2s; }
.zct-trust__item:hover { opacity: 1; color: #fff; }

/* ---------- Cards / features ---------- */
.zct-grid { display: grid; gap: 1px; background: var(--zct-line); border: 1px solid var(--zct-line); border-radius: var(--zct-radius); overflow: hidden; }
.zct-grid--3 { grid-template-columns: repeat(3, 1fr); }
.zct-grid--2 { grid-template-columns: repeat(2, 1fr); }
.zct-card {
  background: var(--zct-card); padding: 2rem 1.8rem;
  transition: background 0.3s var(--zct-ease);
  position: relative;
}
.zct-card:hover { background: var(--zct-card-2); }
.zct-card__index { font-family: var(--zct-font-mono); font-size: 0.74rem; color: var(--zct-dim); letter-spacing: 0.1em; }
.zct-card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(227, 6, 19, 0.12); border: 1px solid rgba(227, 6, 19, 0.25);
  display: grid; place-items: center; margin: 1rem 0 1.2rem; color: var(--zct-red);
}
.zct-card h3 { margin-bottom: 0.5rem; }
.zct-card p { margin-bottom: 0; font-size: 0.95rem; }

/* Feature list with red ticks */
.zct-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.zct-checklist li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--zct-muted); }
.zct-checklist svg { flex: none; margin-top: 3px; color: var(--zct-red); }

/* Split section */
.zct-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.zct-split--reverse > :first-child { order: 2; }

/* Panel mock (POS preview) */
.zct-panel {
  border: 1px solid var(--zct-line); border-radius: var(--zct-radius);
  background: linear-gradient(180deg, var(--zct-card), var(--zct-bg-2));
  overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}
.zct-panel__head { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--zct-line); font-family: var(--zct-font-mono); font-size: 0.76rem; color: var(--zct-dim); }
.zct-panel__row { display: flex; justify-content: space-between; padding: 0.9rem 1.1rem; border-top: 1px solid var(--zct-line); font-size: 0.9rem; }
.zct-panel__row:first-of-type { border-top: 0; }
.zct-panel__row .k { color: var(--zct-muted); }
.zct-panel__row .v { font-family: var(--zct-font-mono); font-variant-numeric: tabular-nums; color: #fff; }
.zct-panel__total { background: rgba(227,6,19,0.08); }
.zct-panel__total .v { color: var(--zct-red); font-weight: 600; }

/* ---------- Pricing ---------- */
.zct-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.zct-plan {
  border: 1px solid var(--zct-line); border-radius: var(--zct-radius);
  background: var(--zct-card); padding: 2rem 1.8rem; display: flex; flex-direction: column;
  transition: transform 0.3s var(--zct-ease), border-color 0.3s;
}
.zct-plan:hover { transform: translateY(-4px); border-color: var(--zct-line-strong); }
.zct-plan--featured { border-color: var(--zct-red); box-shadow: 0 20px 50px -25px var(--zct-red-glow); position: relative; }
.zct-plan--featured::before {
  content: "Most popular"; position: absolute; top: -11px; left: 1.8rem;
  background: var(--zct-red); color: #fff; font-size: 0.66rem; font-family: var(--zct-font-mono);
  letter-spacing: 0.14em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 999px;
}
.zct-plan__name { font-family: var(--zct-font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--zct-muted); }
.zct-plan__price { font-family: var(--zct-font-display); font-size: 2.6rem; font-weight: 600; margin: 0.8rem 0 0.2rem; }
.zct-plan__price .per { font-size: 0.9rem; color: var(--zct-dim); font-family: var(--zct-font-body); font-weight: 400; }
.zct-plan__desc { font-size: 0.9rem; min-height: 2.6em; }
.zct-plan .zct-checklist { margin: 1.4rem 0 1.8rem; font-size: 0.9rem; }
.zct-plan .zct-btn { margin-top: auto; justify-content: center; }

/* ---------- CTA band ---------- */
.zct-cta-band {
  border: 1px solid var(--zct-line); border-radius: var(--zct-radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(227,6,19,0.18), transparent 50%),
    var(--zct-card);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.zct-cta-band h2 { margin-bottom: 0.4em; }

/* ---------- FAQ ---------- */
.zct-faq__item { border-top: 1px solid var(--zct-line); }
.zct-faq__item:last-child { border-bottom: 1px solid var(--zct-line); }
.zct-faq__q { width: 100%; text-align: left; background: none; border: 0; color: #fff; font-family: var(--zct-font-display); font-size: 1.1rem; font-weight: 600; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.zct-faq__q .sign { color: var(--zct-red); transition: transform 0.3s var(--zct-ease); flex: none; }
.zct-faq__item.open .zct-faq__q .sign { transform: rotate(45deg); }
.zct-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--zct-ease); }
.zct-faq__a p { padding-bottom: 1.4rem; margin: 0; }

/* ---------- Forms ---------- */
.zct-form { display: grid; gap: 1.1rem; }
.zct-field label { display: block; font-family: var(--zct-font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--zct-muted); margin-bottom: 0.5rem; }
.zct-field input, .zct-field textarea, .zct-field select {
  width: 100%; padding: 0.85rem 1rem; background: var(--zct-bg-2);
  border: 1px solid var(--zct-line-strong); border-radius: var(--zct-radius-sm);
  color: #fff; font-family: var(--zct-font-body); font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.zct-field input:focus, .zct-field textarea:focus, .zct-field select:focus {
  outline: none; border-color: var(--zct-red); box-shadow: 0 0 0 3px rgba(227,6,19,0.15);
}
.zct-field textarea { resize: vertical; min-height: 130px; }

/* ---------- Contact info cards ---------- */
.zct-info { display: grid; gap: 1px; background: var(--zct-line); border: 1px solid var(--zct-line); border-radius: var(--zct-radius); overflow: hidden; }
.zct-info__row { background: var(--zct-card); padding: 1.4rem 1.5rem; }
.zct-info__row .label { font-family: var(--zct-font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--zct-dim); }
.zct-info__row .value { color: #fff; margin-top: 0.3rem; font-size: 1.02rem; }

/* ---------- Footer ---------- */
.zct-footer { border-top: 1px solid var(--zct-line); background: var(--zct-bg-2); padding-block: clamp(48px, 6vw, 72px) 2rem; }
.zct-footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--zct-line); }
.zct-footer__brand p { font-size: 0.92rem; max-width: 30ch; margin-top: 1rem; }
.zct-footer__col h4 { font-family: var(--zct-font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--zct-dim); margin-bottom: 1.1rem; }
.zct-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.zct-footer__col a { font-size: 0.92rem; color: var(--zct-muted); transition: color 0.2s; }
.zct-footer__col a:hover { color: var(--zct-red); }
.zct-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; font-family: var(--zct-font-mono); font-size: 0.78rem; color: var(--zct-dim); }

/* ---------- Reveal animation ---------- */
.zct-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--zct-ease), transform 0.7s var(--zct-ease); }
.zct-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile nav panel ---------- */
.zct-mobile-nav {
  position: fixed; inset: 72px 0 auto 0; z-index: 99;
  background: var(--zct-bg); border-bottom: 1px solid var(--zct-line);
  transform: translateY(-120%); transition: transform 0.35s var(--zct-ease);
  padding: 1.4rem var(--zct-gutter) 2rem;
}
body.zct-nav-open .zct-mobile-nav { transform: translateY(0); }
.zct-mobile-nav ul { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.2rem; }
.zct-mobile-nav a { display: block; padding: 0.8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--zct-line); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .zct-grid--3, .zct-pricing, .zct-console__grid { grid-template-columns: repeat(2, 1fr); }
  .zct-stat:nth-child(4n) { border-right: 1px solid var(--zct-line); }
  .zct-stat:nth-child(2n) { border-right: 0; }
  .zct-split, .zct-grid--2 { grid-template-columns: 1fr; }
  .zct-split--reverse > :first-child { order: 0; }
  .zct-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .zct-nav, .zct-header__cta .zct-btn--ghost { display: none; }
  .zct-burger { display: block; }
  .zct-grid--3, .zct-pricing, .zct-console__grid { grid-template-columns: 1fr; }
  .zct-stat { border-right: 0 !important; }
  .zct-footer__top { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .zct-reveal { opacity: 1; transform: none; }
}

/* Accessibility */
:focus-visible { outline: 2px solid var(--zct-red); outline-offset: 2px; }
.zct-skip { position: absolute; left: -9999px; top: 0; background: var(--zct-red); color: #fff; padding: 0.6rem 1rem; z-index: 200; }
.zct-skip:focus { left: 1rem; top: 1rem; }

/* ---------- Long-form prose (pages, posts) ---------- */
.zct-prose { color: var(--zct-muted); font-size: 1.05rem; }
.zct-prose h2, .zct-prose h3 { color: #fff; margin-top: 2rem; }
.zct-prose a { color: var(--zct-red); }
.zct-prose a:hover { text-decoration: underline; }
.zct-prose ul, .zct-prose ol { padding-left: 1.3rem; }
.zct-prose li { margin-bottom: 0.5rem; }
.zct-prose img { border-radius: var(--zct-radius); border: 1px solid var(--zct-line); margin: 1.5rem 0; }
.zct-prose blockquote { border-left: 3px solid var(--zct-red); padding-left: 1.2rem; margin: 1.5rem 0; color: var(--zct-text); font-style: italic; }
.zct-prose code { font-family: var(--zct-font-mono); background: var(--zct-card); padding: 0.15em 0.4em; border-radius: 5px; font-size: 0.9em; }
.zct-prose pre { background: var(--zct-card); border: 1px solid var(--zct-line); border-radius: var(--zct-radius-sm); padding: 1.2rem; overflow-x: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Pagination */
.pagination, .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 0.6rem; border: 1px solid var(--zct-line); border-radius: var(--zct-radius-sm); font-family: var(--zct-font-mono); font-size: 0.85rem; color: var(--zct-muted); }
.page-numbers.current { background: var(--zct-red); border-color: var(--zct-red); color: #fff; }
.page-numbers:hover { border-color: var(--zct-red); color: #fff; }

/* ============================================================
   v1.1 — Imagery + richer motion
   ============================================================ */

/* ---------- Image figures ---------- */
.zct-figure {
  position: relative; margin: 0; border-radius: var(--zct-radius); overflow: hidden;
  border: 1px solid var(--zct-line); aspect-ratio: var(--ratio, 4 / 3);
  background: var(--zct-card); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}
.zct-figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--zct-ease); }
.zct-figure:hover img { transform: scale(1.04); }

/* Branded placeholder shown until a real photo is set */
.zct-figure__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(227,6,19,0.16), transparent 55%), linear-gradient(160deg, var(--zct-card), var(--zct-bg-2));
}
.zct-figure__ph-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--zct-line) 1px, transparent 1px), linear-gradient(90deg, var(--zct-line) 1px, transparent 1px);
  background-size: 38px 38px; opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 75%);
}
.zct-figure__mark {
  position: relative; width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--zct-red), var(--zct-red-600));
  display: grid; place-items: center; color: #fff; font-family: var(--zct-font-display);
  font-weight: 800; font-size: 1.8rem; box-shadow: 0 18px 40px -16px var(--zct-red-glow);
  animation: zct-float 5s var(--zct-ease) infinite;
}
.zct-figure__cap {
  position: absolute; bottom: 14px; left: 16px;
  font-family: var(--zct-font-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--zct-dim);
}

@keyframes zct-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Customer logo marquee (home) ---------- */
.zct-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.zct-marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: zct-marquee 32s linear infinite; }
.zct-marquee:hover .zct-marquee__track { animation-play-state: paused; }
.zct-marquee__item { font-family: var(--zct-font-display); font-weight: 600; font-size: 1.15rem; color: var(--zct-muted); opacity: 0.65; white-space: nowrap; display: flex; align-items: center; gap: 0.6rem; }
.zct-marquee__item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--zct-red); opacity: 0.6; }
@keyframes zct-marquee { to { transform: translateX(-50%); } }

/* ---------- Motion upgrades ---------- */
/* Parallax drift on the hero console (driven by JS scroll var) */
.zct-console { transform: translateY(var(--zct-parallax, 0)); will-change: transform; }

/* Magnetic hover-depth on cards */
.zct-card { transition: background 0.3s var(--zct-ease), transform 0.3s var(--zct-ease), box-shadow 0.3s var(--zct-ease); }
.zct-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.9); z-index: 1; }
.zct-card__icon { transition: transform 0.4s var(--zct-ease), background 0.3s; }
.zct-card:hover .zct-card__icon { transform: scale(1.08) rotate(-3deg); background: rgba(227,6,19,0.2); }

/* Animated sheen sweep on eyebrows */
.zct-eyebrow::before { animation: zct-sheen 3.5s var(--zct-ease) infinite; transform-origin: left; }
@keyframes zct-sheen { 0%,100% { opacity: 0.55; width: 26px; } 50% { opacity: 1; width: 40px; } }

/* Breathing hero grid */
.zct-hero__glow { animation: zct-breathe 7s ease-in-out infinite; }
@keyframes zct-breathe { 0%,100% { opacity: 0.45; transform: translateX(-50%) scale(1); } 50% { opacity: 0.6; transform: translateX(-50%) scale(1.08); } }

/* Staggered reveal — children animate in sequence */
.zct-reveal[data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--zct-ease), transform 0.6s var(--zct-ease); }
.zct-reveal[data-stagger].is-visible > * { opacity: 1; transform: none; }
.zct-reveal[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.zct-reveal[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.zct-reveal[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.zct-reveal[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.zct-reveal[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.zct-reveal[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .zct-figure__mark, .zct-marquee__track, .zct-eyebrow::before, .zct-hero__glow { animation: none !important; }
  .zct-console { transform: none !important; }
}
