/* AUTO-SCOPED from public/ai-first-pages/styles.css under .aifx. Re-run _scope-aifx.cjs to regenerate. */
/* ============================================================
   Cloudastra · AI-First Engineering — shared design system
   Brand blue #058BF0 / navy #172554. Light canvas, dark footer.
   Mirrors the Cloudastra landing prototype tokens + motion.
   ============================================================ */
.aifx {
  --bg:          #f8faff;
  --bg-2:        #ffffff;
  --bg-3:        #eff4ff;
  --bg-dark:     #07091a;
  --bg-dark-2:   #0c1024;
  --bg-dark-3:   #0e1430;

  --fg:          #0a1b3a;
  --fg-dark:     #f5f7fb;
  --muted:       #4b5563;
  --muted-dark:  #94a3c4;

  --font-sans:    var(--font-inter), 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: var(--font-poppins), 'Poppins', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --border:      #e4e9f0;
  --border-2:    #d1d8e5;
  --border-dark: #1b234a;

  --accent:      #058BF0;
  --accent-2:    #046DEB;
  --accent-soft: #e6f1fd;
  --accent-dim:  #14305a;
  --navy:        #172554;

  --shadow-sm:   0 1px 2px rgba(12,21,48,0.04);
  --shadow-md:   0 4px 24px -8px rgba(12,21,48,0.10), 0 2px 6px rgba(12,21,48,0.04);
  --shadow-lg:   0 24px 60px -24px rgba(5,139,240,0.18), 0 8px 24px -8px rgba(12,21,48,0.08);
  --glow:        0 20px 60px -20px rgba(5,139,240,0.45);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
}

.aifx *, .aifx *::before, .aifx *::after { box-sizing: border-box; }
.aifx, .aifx { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
/* overflow-x: clip (not hidden) — `hidden` coerces overflow-y to `auto`, which
   makes .aifx a scroll container and breaks the `position: sticky` scroll-pin
   sections (.cov2-pin etc.). `clip` still clips horizontal overflow but never
   establishes a scroll container, so sticky keeps pinning to the viewport. */
.aifx { font-family: var(--font-sans); -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: clip; }
.aifx .display { font-family: var(--font-display); letter-spacing: -0.025em; }
.aifx .mono { font-family: var(--font-sans); }
.aifx .wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.aifx .wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; }
.aifx section { position: relative; }
.aifx a { color: inherit; text-decoration: none; }
.aifx button { font-family: inherit; }
.aifx img { display: block; max-width: 100%; }

/* ====== shared bits ====== */
.aifx .eyebrow {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: inline-block;
}
.aifx .eyebrow.on-dark { color: var(--accent); }
.aifx .section-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08; letter-spacing: -0.025em;
  margin: 0 0 20px; max-width: 920px; color: var(--fg);
}
.aifx .section-headline em { font-style: normal; color: var(--accent); }
.aifx .section-headline.on-dark { color: var(--fg-dark); }
.aifx .section-sub { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 640px; margin: 0; }
.aifx .section-sub.on-dark { color: var(--muted-dark); }

.aifx .section-pad { padding: clamp(72px, 10vw, 130px) 0; }
.aifx .section-dark { background: var(--bg-dark); color: var(--fg-dark); }
.aifx .section-tint { background: var(--bg-3); }

/* ====== reveal motion (IntersectionObserver) ====== */
.aifx .reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 0.55s ease, transform 0.55s var(--ease-out), filter 0.55s var(--ease-out); }
.aifx .reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
.aifx .reveal-2 { transition-delay: 0.08s; }
.aifx .reveal-3 { transition-delay: 0.16s; }
.aifx .reveal-4 { transition-delay: 0.24s; }
.aifx .reveal-5 { transition-delay: 0.32s; }
.aifx .reveal-6 { transition-delay: 0.42s; }

/* ====== word-by-word headline reveal ====== */
.aifx .r-word { display: inline-block; overflow: hidden; vertical-align: top; }
.aifx .r-word > span { display: inline-block; opacity: 0; transform: translateY(110%); transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out); }
.aifx .in-words .r-word > span { opacity: 1; transform: translateY(0); }

/* ====== custom cursor pill ====== */
.aifx .cursor-pill {
  position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
  background: var(--fg); color: #fff;
  font-family: var(--font-sans); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 15px; border-radius: 999px; white-space: nowrap;
  opacity: 0; transform: translate(-50%, -50%) scale(0);
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out);
  box-shadow: 0 12px 34px -10px rgba(5,139,240,0.55);
}
.aifx .cursor-pill.show { opacity: 1; }

/* ====== buttons ====== */
.aifx .btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 12px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease, color 0.25s ease;
}
.aifx .btn svg { transition: transform 0.25s var(--ease-out); }
.aifx .btn:hover svg { transform: translateX(3px); }
.aifx .btn-primary { background: var(--accent); color: #fff; box-shadow: var(--glow); }
.aifx .btn-primary:hover { background: var(--accent-2); transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(5,139,240,0.7); }
.aifx .btn-ghost { background: #fff; color: var(--fg); border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.aifx .btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.aifx .btn-on-dark { background: var(--accent); color: #fff; box-shadow: var(--glow); }
.aifx .btn-on-dark:hover { background: var(--accent-2); transform: translateY(-3px); }
.aifx .btn-on-dark.ghost { background: rgba(255,255,255,0.05); color: var(--fg-dark); border-color: rgba(255,255,255,0.18); box-shadow: none; backdrop-filter: blur(8px); }
.aifx .btn-on-dark.ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.09); color: #fff; }

/* ====== NAV (Cloudastra V2 — theme-adaptive floating pill) ====== */
.aifx .v2-header {
  position: fixed; left: 0; right: 0; top: 16px; z-index: 50;
  transition: top 0.3s var(--ease-out);
}
.aifx .v2-header.scrolled { top: 0; }

.aifx .v2-container {
  margin: 0 auto; width: 94%; max-width: 1400px;
  transition: max-width 0.3s var(--ease-out), width 0.3s var(--ease-out);
}
.aifx .v2-header.scrolled .v2-container { width: 100%; max-width: none; }

.aifx .v2-nav {
  position: relative; display: flex; align-items: center; height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.30);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transition: background 0.3s ease, border-color 0.3s ease, border-radius 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.aifx .v2-header.over-light .v2-nav {
  border-color: rgba(10,27,58,0.10);
  background: rgba(255,255,255,0.80);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.10);
}
.aifx .v2-header.scrolled .v2-nav {
  border-radius: 0; border: none; border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06); box-shadow: none;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.aifx .v2-header.scrolled.over-light .v2-nav {
  border-bottom: 1px solid rgba(10,27,58,0.08);
  background: rgba(255,255,255,0.70);
}

.aifx .v2-inner {
  margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  height: 100%; width: 100%; padding: 0 24px;
  transition: max-width 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}
.aifx .v2-header.scrolled .v2-inner { max-width: 1500px; padding: 0 24px; }

.aifx .v2-logo { display: flex; align-items: center; }
.aifx .v2-logo img { height: 28px; width: auto; display: block; }
.aifx .v2-logo .logo-dark { display: none; }
.aifx .v2-header.over-light .v2-logo .logo-light { display: none; }
.aifx .v2-header.over-light .v2-logo .logo-dark { display: block; }

.aifx .v2-links { display: flex; align-items: center; gap: 2px; }
.aifx .v2-link {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  border-radius: 6px; padding: 8px 10px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: background 0.2s ease, color 0.2s ease;
}
.aifx .v2-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.aifx .v2-header.over-light .v2-link { color: rgba(10,27,58,0.85); }
.aifx .v2-header.over-light .v2-link:hover { background: rgba(10,27,58,0.06); color: var(--accent); }
.aifx .v2-link svg { width: 14px; height: 14px; opacity: 0.6; transition: transform 0.2s ease, opacity 0.2s ease; }
.aifx .v2-link:hover svg { transform: rotate(180deg); opacity: 1; }

.aifx .v2-cta {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  border-radius: 8px; padding: 9px 16px; font-size: 14px; font-weight: 600;
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 15px -3px rgba(5,139,240,0.30);
  transition: background 0.2s ease, transform 0.2s ease;
}
.aifx .v2-cta:hover { background: var(--accent-2); transform: translateY(-1px); }
.aifx .v2-cta svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.aifx .v2-cta:hover svg { transform: translateX(2px); }

/* nav dropdown (AI-First Engineering mega-menu) */
.aifx .v2-menu { position: relative; }
.aifx .v2-menu:hover .v2-link svg { transform: rotate(180deg); opacity: 1; }
.aifx .v2-panel {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%) translateY(8px);
  width: 286px; padding: 8px; border-radius: 16px; z-index: 60;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
  background: rgba(10,20,36,0.96); border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 28px 64px -22px rgba(0,0,0,0.55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.aifx .v2-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.aifx .v2-menu:hover .v2-panel, .aifx .v2-menu:focus-within .v2-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(2px); }
.aifx .v2-panel a { display: block; border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8); white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.aifx .v2-panel a:hover { background: rgba(255,255,255,0.07); color: #fff; }
.aifx .v2-header.over-light .v2-panel { background: rgba(255,255,255,0.97); border-color: rgba(10,27,58,0.1); box-shadow: 0 28px 64px -22px rgba(0,0,0,0.18); }
.aifx .v2-header.over-light .v2-panel a { color: rgba(10,27,58,0.82); }
.aifx .v2-header.over-light .v2-panel a:hover { background: rgba(5,139,240,0.10); color: var(--accent); }

/* ====== generic card ====== */
.aifx .card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.aifx .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(5,139,240,0.35); }
.aifx .card-dark {
  background: linear-gradient(180deg, var(--bg-dark-3), var(--bg-dark-2));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.aifx .card-dark:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: rgba(5,139,240,0.4); }

/* cursor-follow glow on cards */
.aifx .card, .aifx .card-dark { position: relative; isolation: isolate; }
.aifx .card::after, .aifx .card-dark::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(5,139,240,0.13), transparent 60%);
  opacity: 0; transition: opacity 0.35s ease;
}
.aifx .card-dark::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(5,139,240,0.22), transparent 62%); }
.aifx .card:hover::after, .aifx .card-dark:hover::after { opacity: 1; }
.aifx .card > *, .aifx .card-dark > * { position: relative; z-index: 1; }
.aifx .card-icon, .aifx .card-dark .card-icon { transition: transform 0.3s var(--ease-out); }
.aifx .card:hover .card-icon, .aifx .card-dark:hover .card-icon { transform: scale(1.08) rotate(-4deg); }

/* ====== BorderGlow card (ported from Cloudastra V3, brand-blue) ====== */
.aifx .border-glow-card {
  --edge-proximity: 0; --cursor-angle: 45deg; --edge-sensitivity: 28;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --border-radius: 16px; --glow-padding: 34px; --cone-spread: 25; --fill-opacity: 0.5;
  --glow-color: hsl(204 96% 62% / 100%); --glow-color-60: hsl(204 96% 62% / 60%);
  --glow-color-50: hsl(204 96% 62% / 50%); --glow-color-40: hsl(204 96% 62% / 40%);
  --glow-color-30: hsl(204 96% 62% / 30%); --glow-color-20: hsl(204 96% 62% / 20%);
  --glow-color-10: hsl(204 96% 62% / 10%);
  --gradient-base: linear-gradient(#058BF0 0 100%);
  --gradient-one: radial-gradient(at 80% 55%, #5BB8FF 0px, transparent 50%);
  --gradient-two: radial-gradient(at 69% 34%, #19a7ff 0px, transparent 50%);
  --gradient-three: radial-gradient(at 8% 6%, #5BB8FF 0px, transparent 50%);
  --gradient-four: radial-gradient(at 41% 38%, #058BF0 0px, transparent 50%);
  --gradient-five: radial-gradient(at 86% 85%, #19a7ff 0px, transparent 50%);
  --gradient-six: radial-gradient(at 82% 18%, #5BB8FF 0px, transparent 50%);
  --gradient-seven: radial-gradient(at 51% 4%, #058BF0 0px, transparent 50%);
  position: relative; border-radius: var(--border-radius); isolation: isolate;
  transform: translate3d(0,0,0.01px); display: grid; overflow: visible;
  border: 1px solid rgba(255,255,255,0.1); background: var(--card-bg, #0c1a33);
}
.aifx .border-glow-card::before, .aifx .border-glow-card::after, .aifx .border-glow-card > .edge-light {
  content: ''; position: absolute; inset: 0; border-radius: inherit; transition: opacity 0.25s ease-out; z-index: -1;
}
.aifx .border-glow-card:not(:hover)::before, .aifx .border-glow-card:not(:hover)::after, .aifx .border-glow-card:not(:hover) > .edge-light {
  opacity: 0; transition: opacity 0.7s ease-in-out;
}
.aifx .border-glow-card::before {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-bg, #0c1a33) 0 100%) padding-box,
    linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
    var(--gradient-one) border-box, var(--gradient-two) border-box, var(--gradient-three) border-box,
    var(--gradient-four) border-box, var(--gradient-five) border-box, var(--gradient-six) border-box,
    var(--gradient-seven) border-box, var(--gradient-base) border-box;
  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mask-image: conic-gradient(from var(--cursor-angle) at center, black calc(var(--cone-spread) * 1%), transparent calc((var(--cone-spread) + 15) * 1%), transparent calc((100 - var(--cone-spread) - 15) * 1%), black calc((100 - var(--cone-spread)) * 1%));
}
.aifx .border-glow-card > .edge-light {
  inset: calc(var(--glow-padding) * -1); pointer-events: none; z-index: 1;
  mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}
.aifx .border-glow-card > .edge-light::before {
  content: ''; position: absolute; inset: var(--glow-padding); border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color), inset 0 0 3px 0 var(--glow-color-50),
    inset 0 0 6px 0 var(--glow-color-40), inset 0 0 15px 0 var(--glow-color-30),
    inset 0 0 25px 2px var(--glow-color-20), 0 0 3px 0 var(--glow-color-50),
    0 0 6px 0 var(--glow-color-40), 0 0 15px 0 var(--glow-color-30),
    0 0 25px 2px var(--glow-color-20), 0 0 50px 2px var(--glow-color-10);
}
.aifx .border-glow-inner { display: flex; flex-direction: column; position: relative; z-index: 1; }

.aifx .card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 20px;
}
.aifx .card-dark .card-icon { background: rgba(5,139,240,0.12); }
.aifx .card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0 0 9px; letter-spacing: -0.01em; line-height: 1.3; }
.aifx .card-dark h3 { color: var(--fg-dark); }
.aifx .card p { color: var(--muted); font-size: 15px; margin: 0; }
.aifx .card-dark p { color: var(--muted-dark); }

.aifx .grid { display: grid; gap: 24px; }
.aifx .grid-2 { grid-template-columns: repeat(2, 1fr); }
.aifx .grid-3 { grid-template-columns: repeat(3, 1fr); }
.aifx .grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ====== pill / chip ====== */
.aifx .chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(5,139,240,0.10); color: var(--accent);
  border: 1px solid rgba(5,139,240,0.20);
}
.aifx .chip.on-dark { background: rgba(5,139,240,0.12); color: #6cc1ff; border-color: rgba(5,139,240,0.3); }

/* ====== shared dark particle hero (service pages) ====== */
.aifx .particle-hero { position: relative; overflow: hidden; background: var(--bg-dark); color: var(--fg-dark); padding: 190px 0 112px; text-align: center; }
.aifx .particle-hero .ph-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aifx .particle-hero .ph-canvas::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 38%, transparent, var(--bg-dark) 92%); pointer-events: none; }
.aifx .particle-hero .wrap { position: relative; z-index: 1; }
.aifx .particle-hero .ph-inner { max-width: 880px; margin: 0 auto; }
.aifx .particle-hero .chip { display: inline-flex; margin: 0 0 22px; }
.aifx .particle-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.08; letter-spacing: -0.025em; color: var(--fg-dark); margin: 0 0 22px; }
.aifx .particle-hero h1 em { font-style: normal; background: linear-gradient(135deg, #19a7ff 0%, #6cc1ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aifx .particle-hero h1 em .r-word > span { background: linear-gradient(135deg, #19a7ff 0%, #6cc1ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aifx .particle-hero .lede { font-size: 18.5px; color: var(--muted-dark); max-width: 600px; margin: 0 auto 30px; line-height: 1.65; }
.aifx .particle-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ====== marquee (logo strip) ====== */
.aifx .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); }
.aifx .marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.aifx .marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--muted); opacity: 0.55; white-space: nowrap; transition: color 0.25s, opacity 0.25s; }
.aifx .marquee-track span:hover { color: var(--accent); opacity: 1; }
.aifx .marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ====== trust section (reviews + client-logo marquee) ====== */
.aifx .trust { padding: clamp(44px,5vw,72px) 0; }
.aifx .trust-reviews { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 48px; }
.aifx .trust-rev { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.aifx .trust-rev-logo { width: auto; }
.aifx .trust-rev-score { display: flex; align-items: center; gap: 9px; }
.aifx .trust-rev-score strong { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; color: var(--fg); }
.aifx .trust-stars { display: inline-flex; gap: 2px; }
.aifx .trust-stars svg { width: 16px; height: 16px; color: #FBBC04; }
.aifx .tp-stars { display: inline-flex; gap: 2px; }
.aifx .tp-box { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: #00b67a; }
.aifx .tp-box svg { width: 13px; height: 13px; color: #fff; }
.aifx .tp-box.half { clip-path: inset(0 50% 0 0); }
.aifx .trust-div { display: none; width: 1px; height: 54px; background: var(--border-2); }
.aifx .trust-rev-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.aifx .trust-heading { text-align: center; font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: clamp(34px,4.5vw,54px) 0 30px; }
.aifx .trust-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.aifx .trust-track { display: flex; gap: 48px; width: max-content; animation: marquee 34s linear infinite; }
.aifx .trust-marquee:hover .trust-track { animation-play-state: paused; }
.aifx .trust-logo { flex: none; width: 115px; height: 58px; display: flex; align-items: center; justify-content: center; padding: 0 8px; }
.aifx .trust-logo img { max-height: 38px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1) brightness(0.55) contrast(1.1); transition: filter 0.3s ease; }
.aifx .trust-logo:hover img { filter: none; }
@media (min-width: 1024px) { .aifx .trust-div { display: block; } }

/* ====== footer (Cloudastra V3) ====== */
.aifx .v3-footer { position: relative; overflow: hidden; color: #fff; background: linear-gradient(to bottom right, #04080f, #0a1b3a, #143577); }
.aifx .v3-foot-accent { position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(5,139,240,0.4), transparent); }
.aifx .v3-foot-inner { position: relative; width: 92%; max-width: 1280px; margin: 0 auto; padding: 76px 0 32px; }
.aifx .v3-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.aifx .v3-foot-logo { height: 36px; width: auto; }
.aifx .v3-foot-brand p { margin: 20px 0 0; max-width: 300px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.75); }
.aifx .v3-foot-socials { display: flex; gap: 14px; margin-top: 26px; }
.aifx .v3-foot-socials a { color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.aifx .v3-foot-socials a:hover { color: #fff; }
.aifx .v3-foot-col h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: #fff; margin: 0 0 20px; }
.aifx .v3-foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.aifx .v3-foot-col a { font-size: 14px; color: rgba(255,255,255,0.75); transition: color 0.2s ease; }
.aifx .v3-foot-col a:hover { color: #fff; }
.aifx .v3-foot-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.aifx .v3-office { border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); border-radius: 16px; padding: 24px; backdrop-filter: blur(6px); }
.aifx .v3-office-head { display: flex; align-items: center; gap: 10px; }
.aifx .v3-flag { width: 24px; height: 16px; border-radius: 3px; }
.aifx .v3-office-head h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #5BB8FF; margin: 0; }
.aifx .v3-office p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.8); }
.aifx .v3-office-contacts { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.aifx .v3-office-contacts div { display: flex; align-items: center; gap: 12px; }
.aifx .v3-office-contacts a, .aifx .v3-office-contacts span:last-child { font-size: 14px; color: rgba(255,255,255,0.85); }
.aifx .v3-office-contacts a:hover { color: #fff; }
.aifx .v3-office-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(5,139,240,0.15); color: #5BB8FF; }
.aifx .v3-foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.aifx .v3-foot-copy { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.aifx .v3-foot-legal { display: flex; align-items: center; gap: 20px; font-size: 12px; }
.aifx .v3-foot-legal a { color: rgba(255,255,255,0.65); transition: color 0.2s ease; }
.aifx .v3-foot-legal a:hover { color: #fff; }
.aifx .v3-dmca { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 7px; background: rgba(255,255,255,0.1); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.8); }

/* ====== responsive ====== */
@media (max-width: 1100px) {
  .aifx .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .aifx .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .aifx .v3-foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .aifx .v2-links { display: none; }
  .aifx .grid-2, .aifx .grid-3, .aifx .grid-4 { grid-template-columns: 1fr; }
  .aifx .wrap, .aifx .wrap-narrow { padding: 0 22px; }
  .aifx .v3-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .aifx .v3-foot-brand { grid-column: 1 / -1; }
  .aifx .v3-foot-offices { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .aifx .v3-foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .aifx *, .aifx *::before, .aifx *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .aifx .reveal { opacity: 1; transform: none; filter: none; }
}
