/*
Theme Name: ProcuraOne
Theme URI: https://www.procuraonesolutions.com
Author: ProcuraOne Solutions Pvt. Ltd.
Author URI: https://www.procuraonesolutions.com
Description: A modern, animated corporate theme for ProcuraOne Solutions Pvt. Ltd. — a B2B procurement and sourcing company. Built around the brand palette (deep navy + emerald), with a 10-section animated homepage, dedicated pages for Services, About, Contact, and full blog support. Designed to pair with the ProcuraOne Core plugin for RFQ and partner registration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: procuraone
Tags: business, corporate, b2b, procurement, animated, one-page, blog
*/

/* =====================================================================
   ProcuraOne Design System
   Palette derived from brand assets:
     Navy (deep)     #0B1F33
     Navy (base)     #10243A
     Navy (panel)    #14304B
     Emerald (base)  #2EE6A0
     Emerald (deep)  #16B981
     Emerald (soft)  #6FE3B8
     Slate text      #5B6B7B
     Mist            #EEF3F2
   ===================================================================== */

:root {
  --c-ink: #060B14;          /* near-black base, AetherGuard-style */
  --c-ink-2: #0A1422;        /* slightly lifted panel */
  --c-navy-deep: #0B1F33;
  --c-navy: #10243A;
  --c-navy-panel: #14304B;
  --c-navy-line: #1E3A57;
  --c-glass-line: rgba(255,255,255,0.10);
  --c-emerald: #2EE6A0;
  --c-emerald-deep: #16B981;
  --c-emerald-soft: #6FE3B8;
  --c-blue-glow: #2563EB;    /* electric blue used in the orb glow */
  --c-white: #FFFFFF;
  --c-mist: #EEF3F2;
  --c-mist-2: #F6F9F8;
  --c-slate: #5B6B7B;
  --c-slate-dark: #34465A;
  --c-border: #E2E9E7;

  /* glassmorphism tokens */
  --glass-bg: rgba(255,255,255,0.06);
  --glass-bg-2: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.12);
  --glass-blur: blur(18px) saturate(140%);
  --glass-shadow: 0 24px 60px rgba(0,0,0,0.45);

  --grad-navy: linear-gradient(135deg, #0B1F33 0%, #14304B 60%, #0E2E37 100%);
  --grad-ink: radial-gradient(140% 120% at 50% -10%, #16233B 0%, #0A1422 45%, #060B14 100%);
  --grad-emerald: linear-gradient(135deg, #2EE6A0 0%, #16B981 100%);
  --grad-emerald-text: linear-gradient(90deg, #2EE6A0 0%, #6FE3B8 100%);

  --shadow-sm: 0 2px 8px rgba(11, 31, 51, 0.06);
  --shadow-md: 0 12px 30px rgba(11, 31, 51, 0.10);
  --shadow-lg: 0 30px 60px rgba(11, 31, 51, 0.18);
  --shadow-emerald: 0 16px 40px rgba(22, 185, 129, 0.28);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --ff-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-slate-dark);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-emerald-deep); text-decoration: none; transition: color .2s var(--ease-soft); }
a:hover { color: var(--c-navy); }
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  color: var(--c-navy);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

/* ---------- Layout helpers ---------- */
.po-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.po-container--wide { max-width: var(--container-wide); }
.po-section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.po-section--tight { padding-block: clamp(48px, 6vw, 90px); }

.po-eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--ff-display);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-emerald-deep);
  margin: 0 0 1rem;
}
.po-eyebrow::before {
  content: ""; width: 28px; height: 2px;
  background: var(--grad-emerald); border-radius: 2px;
}
.po-section--dark .po-eyebrow { color: var(--c-emerald); }

.po-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.po-section--dark .po-title,
.po-section--dark p { color: var(--c-white); }
.po-section--dark .po-lead { color: rgba(255,255,255,0.78); }
.po-lead { font-size: 1.18rem; color: var(--c-slate); max-width: 60ch; }
.po-head-center { text-align: center; margin-inline: auto; }
.po-head-center .po-eyebrow { justify-content: center; }
.po-head-center .po-lead { margin-inline: auto; }

.po-accent { color: var(--c-emerald-deep); }
.po-section--dark .po-accent { color: var(--c-emerald); }

/* ---------------------------------------------------------------
   GLOBAL FIX: any dark surface forces white headings & text.
   This covers every dark container so headings are never black-on-dark.
   --------------------------------------------------------------- */
.po-section--dark,
.po-hero,
.po-process,
.po-pagehero,
.po-cta__box,
.po-contact-card,
.po-ai-visual,
.po-footer,
.po-trust {
  color: rgba(255,255,255,0.82);
}
.po-section--dark h1, .po-section--dark h2, .po-section--dark h3, .po-section--dark h4,
.po-hero h1, .po-hero h2, .po-hero h3,
.po-process h1, .po-process h2, .po-process h3, .po-process h4,
.po-pagehero h1, .po-pagehero h2, .po-pagehero h3,
.po-cta__box h1, .po-cta__box h2, .po-cta__box h3,
.po-contact-card h1, .po-contact-card h2, .po-contact-card h3, .po-contact-card h4,
.po-ai-visual h1, .po-ai-visual h2, .po-ai-visual h3,
.po-footer h1, .po-footer h2, .po-footer h3, .po-footer h4 {
  color: #fff;
}

/* ---------- Buttons ---------- */
.po-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--ff-display); font-weight: 600; font-size: 1rem;
  padding: 0.9em 1.7em; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s, color .25s;
  will-change: transform;
}
.po-btn svg { width: 1.05em; height: 1.05em; }
.po-btn--primary { background: var(--grad-emerald); color: var(--c-navy-deep); box-shadow: var(--shadow-emerald); }
.po-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(22,185,129,.4); color: var(--c-navy-deep); }
.po-btn--ghost { background: transparent; border-color: rgba(255,255,255,.28); color: var(--c-white); }
.po-btn--ghost:hover { border-color: var(--c-emerald); color: var(--c-emerald); transform: translateY(-3px); }
.po-btn--outline { background: transparent; border-color: var(--c-border); color: var(--c-navy); }
.po-btn--outline:hover { border-color: var(--c-emerald); color: var(--c-emerald-deep); transform: translateY(-3px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.po-header {
  position: fixed; inset: 18px 0 auto 0; z-index: 999;
  transition: inset .35s var(--ease-soft);
}
.po-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(10, 20, 34, 0.55);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--r-pill);
  padding: 10px 12px 10px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.po-header.is-scrolled { inset: 8px 0 auto 0; }
.po-header.is-scrolled .po-header__bar { background: rgba(6, 11, 20, 0.82); }

.po-brand { display: inline-flex; align-items: center; }
.po-brand img { height: 38px; width: auto; transition: height .35s var(--ease-soft); display: block; }
.po-header.is-scrolled .po-brand img { height: 34px; }
.po-brand__site { font-family: var(--ff-display); font-weight: 700; color: #fff; font-size: 1.2rem; letter-spacing: -.02em; }

/* nav: flex row, never collapses, even spacing */
.po-nav { display: flex; align-items: center; }
.po-nav .po-nav-list,
.po-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.po-nav li { margin: 0; }
.po-nav a {
  display: block; font-family: var(--ff-display); font-weight: 500; font-size: .95rem; white-space: nowrap;
  color: rgba(255,255,255,.78); padding: 9px 16px; border-radius: var(--r-pill);
  position: relative; transition: color .2s, background .2s;
}
.po-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.po-nav .current-menu-item > a,
.po-nav .current_page_item > a { color: #fff; background: rgba(46,230,160,.12); }
.po-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--grad-emerald); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.po-nav a:hover::after,
.po-nav .current-menu-item > a::after,
.po-nav .current_page_item > a::after { transform: scaleX(1); }

.po-header__cta { display: flex; align-items: center; gap: 10px; }
.po-header__cta .po-btn { padding: .62em 1.25em; font-size: .9rem; }

.po-burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.po-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .3s var(--ease-out), opacity .3s; }
.po-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.po-burger.is-open span:nth-child(2) { opacity: 0; }
.po-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* Mobile nav panel */
.po-mobile-nav {
  position: fixed; inset: 0; z-index: 998;
  background: var(--grad-navy);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 80px var(--gutter) 40px;
  transform: translateX(100%); transition: transform .4s var(--ease-out);
}
.po-mobile-nav.is-open { transform: translateX(0); }
.po-mobile-nav a { color: #fff; font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--c-navy-line); }
.po-mobile-nav .po-btn { margin-top: 24px; align-self: flex-start; }

/* =====================================================================
   HERO (Section 1) — AetherGuard-style: glowing orb, centered copy,
   glassmorphic stat cards, optional video background + overlay control.
   ===================================================================== */
.po-hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--grad-ink);
  color: #fff; overflow: hidden;
  padding: 160px 0 60px; text-align: center;
}

/* video / image background layer */
.po-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.po-hero__bg video, .po-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.po-hero__overlay { position: absolute; inset: 0; z-index: 1; background: var(--c-ink); opacity: var(--hero-overlay, .6); }

.po-hero__layers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* The glowing orb — layered radial gradients + slow drift + conic sheen */
.po-orb {
  position: absolute; top: -18%; left: 50%; transform: translateX(-50%);
  width: min(900px, 120vw); aspect-ratio: 1 / 0.82; z-index: 1; pointer-events: none;
  filter: blur(2px);
}
.po-orb::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(closest-side at 50% 42%, rgba(46,230,160,.55), rgba(37,99,235,.28) 45%, transparent 72%),
    radial-gradient(closest-side at 60% 55%, rgba(37,99,235,.55), transparent 70%);
  filter: blur(30px);
  animation: po-orb-breathe 9s var(--ease-soft) infinite;
}
.po-orb::after {
  content: ""; position: absolute; inset: 8% 8% 14%; border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(46,230,160,.0), rgba(46,230,160,.35), rgba(37,99,235,.45), rgba(46,230,160,.0));
  mask: radial-gradient(closest-side, transparent 58%, #000 60%, #000 78%, transparent 82%);
  -webkit-mask: radial-gradient(closest-side, transparent 58%, #000 60%, #000 78%, transparent 82%);
  filter: blur(6px); opacity: .8;
  animation: po-orb-spin 24s linear infinite;
}
.po-orb__ridges {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; opacity: .5;
  background: repeating-radial-gradient(circle at 50% 42%, rgba(255,255,255,.05) 0 2px, transparent 2px 16px);
  mask: radial-gradient(closest-side, #000 30%, transparent 72%);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 72%);
}
@keyframes po-orb-breathe { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes po-orb-spin { to { transform: rotate(360deg); } }

.po-hero__grid {
  position: absolute; inset: 0; opacity: .3; z-index: 1;
  background-image:
    linear-gradient(rgba(46,230,160,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,230,160,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000, transparent 78%);
}
.po-hero__vignette { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 80% 70% at 50% 0%, transparent 40%, rgba(6,11,20,.85) 100%); }

/* centered hero content */
.po-hero__inner { position: relative; z-index: 3; width: 100%; max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.po-hero__pill {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  color: var(--c-emerald-soft); padding: .5em 1.1em; border-radius: var(--r-pill);
  font-family: var(--ff-display); font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  margin-bottom: 30px;
}
.po-hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-emerald); box-shadow: 0 0 0 0 rgba(46,230,160,.6); animation: po-pulse 2.4s infinite; }
@keyframes po-pulse { 0% { box-shadow: 0 0 0 0 rgba(46,230,160,.5); } 70% { box-shadow: 0 0 0 10px rgba(46,230,160,0); } 100% { box-shadow: 0 0 0 0 rgba(46,230,160,0);} }

.po-hero h1 { color: #fff; font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 700; line-height: 1.04; margin-bottom: 24px; letter-spacing: -.03em; }
.po-hero h1 .grad { background: var(--grad-emerald-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.po-hero__lead { font-size: 1.22rem; color: rgba(255,255,255,.78); max-width: 56ch; margin: 0 auto 36px; }
.po-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 56px; }

/* glassmorphic stat cards row (like the reference) */
.po-hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: 100%; max-width: 940px;
  background: var(--glass-bg-2); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--glass-shadow);
}
.po-hstat { padding: 26px 22px; position: relative; text-align: center; }
.po-hstat + .po-hstat::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--glass-line); }
.po-hstat .num { font-family: var(--ff-display); font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; }
.po-hstat .num .grad { background: var(--grad-emerald-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.po-hstat .lbl { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 8px; }

.po-hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  color: rgba(255,255,255,.55); font-size: .72rem; font-family: var(--ff-display); letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.po-hero__scroll .mouse { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.3); border-radius: 12px; position: relative; }
.po-hero__scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; background: var(--c-emerald); border-radius: 2px; transform: translateX(-50%); animation: po-scroll 1.8s infinite; }
@keyframes po-scroll { 0% { opacity: 0; transform: translate(-50%, 0);} 40% { opacity: 1;} 100% { opacity: 0; transform: translate(-50%, 12px);} }

/* =====================================================================
   PRELOADER (intro) — bar wipe + centered logo, then fade out
   ===================================================================== */
.po-preloader { position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: var(--c-ink); display: grid; place-items: center; }
.po-preloader__bar { position: absolute; inset: 0; height: 100svh; width: 100%; z-index: 1; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, rgba(46,230,160,.16), rgba(37,99,235,.16)); }
.po-preloader__logo { position: relative; z-index: 2; display: grid; place-items: center; padding: 0 24px; }
.po-preloader__logo-text {
  margin: 0; text-align: center; font-family: var(--ff-display);
  font-size: clamp(2.2rem, 8vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.02em;
  background: var(--grad-emerald-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap; visibility: hidden;
}
.po-preloader__mask { display: none; } /* keyhole mask removed — full name now visible */

/* char / word reveal primitives (free SplitText replacement) */
.po-char-mask, .po-word-mask { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1; }
.po-char, .po-word { display: inline-block; will-change: transform; }

/* SAFETY NET: if JS/GSAP fails, CSS still reveals content + hides preloader.
   The .js class is added by hero-intro.js the moment it runs; when present,
   JS takes over and these fallbacks are suppressed. */
[data-text-anim] { visibility: hidden; }
.po-no-js [data-text-anim],
html:not(.po-js) [data-text-anim] { visibility: visible; animation: po-fallback-in .8s ease both; }
html:not(.po-js) [data-fade-in] { animation: po-fallback-in .8s ease both; }
html:not(.po-js) #po-preloader { animation: po-fallback-hide .6s ease 2s forwards; }
@keyframes po-fallback-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes po-fallback-hide { to { opacity: 0; visibility: hidden; } }

/* =====================================================================
   HERO v2 — reference-style: full-bleed media, headline, marquee CTA card
   ===================================================================== */
.po-hero2 {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--grad-ink); color: #fff; overflow: hidden; padding: 150px 0 50px;
}
.po-hero2__img { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--c-ink); }
.po-hero2__img video, .po-hero2__img img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.po-hero2__orb { position: absolute; top: -16%; left: 50%; transform: translateX(-50%); width: min(900px, 130vw); aspect-ratio: 1/.82; }
.po-hero2__orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side at 50% 42%, rgba(46,230,160,.5), rgba(37,99,235,.25) 45%, transparent 72%); filter: blur(34px); animation: po-orb-breathe 9s var(--ease-soft) infinite; }
.po-hero2__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,11,20,.55) 0%, rgba(6,11,20,.2) 40%, rgba(6,11,20,.9) 100%); opacity: calc(.5 + var(--hero-overlay, .6) * .5); }
.po-hero2__grid { position: absolute; inset: 0; z-index: 1; opacity: .25; background-image: linear-gradient(rgba(46,230,160,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(46,230,160,.06) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000, transparent 80%); }

.po-hero2 .po-container { position: relative; z-index: 3; width: 100%; }
.po-hero2__content { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: 40px; }
.po-hero2__sub { max-width: 340px; color: #fff; font-size: 1.15rem; font-weight: 600; line-height: 1.35; font-family: var(--ff-display); }
.po-hero2 h1 { color: #fff; font-size: clamp(2.6rem, 8vw, 6.2rem); font-weight: 700; line-height: .92; letter-spacing: -.03em; margin: 0; }
.po-hero2 h1.grad-line { background: var(--grad-emerald-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* CTA card with marquee (right side) */
.po-hero2__cta { position: relative; width: min(300px, 36vw); border-radius: var(--r-lg); overflow: hidden; background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow); flex: none; }
.po-hero2__marquee { background: rgba(46,230,160,.1); display: flex; overflow: hidden; }
.po-marquee-group { display: flex; align-items: center; gap: 10px; white-space: nowrap; width: max-content; padding: 10px 5px; animation: po-mscroll 22s linear infinite; color: var(--c-emerald); font-family: var(--ff-display); font-weight: 600; font-size: .92rem; }
.po-marquee-group svg { width: 16px; height: 16px; }
@keyframes po-mscroll { to { transform: translateX(calc(-100% - 10px)); } }
.po-hero2__card { padding: 20px; }
.po-hero2__card p { color: rgba(255,255,255,.78); font-size: .92rem; margin-bottom: 14px; }
.po-hero2__card .po-btn { width: 100%; }

/* glass stat row */
.po-hero2__stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--glass-bg-2); border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--glass-shadow); }
.po-hero2__stats .po-hstat { padding: 22px 20px; position: relative; text-align: center; }
.po-hero2__stats .po-hstat + .po-hstat::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--glass-line); }
.po-hero2__stats .num { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 700; color: #fff; line-height: 1; }
.po-hero2__stats .num .grad { background: var(--grad-emerald-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.po-hero2__stats .lbl { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 8px; }

@media (max-width: 900px) {
  .po-hero2__content { flex-direction: column; align-items: flex-start; }
  .po-hero2__cta { width: 100%; max-width: 360px; }
  .po-hero2__stats { grid-template-columns: repeat(2, 1fr); }
  .po-hero2__stats .po-hstat:nth-child(3)::before { display: none; }
  .po-hero2__stats .po-hstat:nth-child(3), .po-hero2__stats .po-hstat:nth-child(4) { border-top: 1px solid var(--glass-line); }
}


/* =====================================================================

   TRUST BAR (Section 2)
   ===================================================================== */
.po-trust { background: var(--c-ink); border-top: 1px solid var(--glass-line); padding-block: 30px; }
.po-trust__label { text-align: center; color: rgba(255,255,255,.5); font-family: var(--ff-display); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.po-trust__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; }
.po-trust__chip { color: rgba(255,255,255,.78); border: 1px solid var(--c-navy-line); border-radius: var(--r-pill); padding: .55em 1.2em; font-size: .92rem; font-family: var(--ff-display); transition: border-color .3s, color .3s, transform .3s; }
.po-trust__chip:hover { border-color: var(--c-emerald); color: var(--c-emerald); transform: translateY(-2px); }

/* =====================================================================
   WHAT WE DO (Section 3) — service grid
   ===================================================================== */
.po-grid { display: grid; gap: 22px; }
.po-grid--3 { grid-template-columns: repeat(3, 1fr); }
.po-grid--4 { grid-template-columns: repeat(4, 1fr); }
.po-grid--2 { grid-template-columns: repeat(2, 1fr); }

.po-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.po-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-emerald); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.po-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.po-card:hover::before { transform: scaleX(1); }
.po-card__ic { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--c-mist); color: var(--c-emerald-deep); margin-bottom: 20px; transition: background .35s, color .35s, transform .35s; }
.po-card:hover .po-card__ic { background: var(--grad-emerald); color: var(--c-navy-deep); transform: rotate(-6deg) scale(1.05); }
.po-card__ic svg { width: 28px; height: 28px; }
.po-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.po-card p { color: var(--c-slate); font-size: .98rem; margin: 0; }

/* =====================================================================
   COVERAGE (Section 4) — marquee + tag cloud
   ===================================================================== */
.po-section--mist { background: var(--c-mist-2); }
.po-coverage__cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.po-tag {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-pill);
  padding: .6em 1.3em; font-family: var(--ff-display); font-weight: 500; font-size: .95rem; color: var(--c-navy);
  transition: transform .3s var(--ease-out), border-color .3s, color .3s, background .3s; cursor: default;
}
.po-tag:hover { transform: translateY(-3px); border-color: var(--c-emerald); color: var(--c-emerald-deep); background: #fff; box-shadow: var(--shadow-sm); }

/* =====================================================================
   PROCESS (Section 5) — numbered vertical timeline
   ===================================================================== */
.po-process { background: var(--grad-navy); color: #fff; overflow: hidden; }
.po-process__layers { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(ellipse 60% 50% at 85% 10%, rgba(46,230,160,.12), transparent 70%); }
.po-timeline { position: relative; margin-top: 50px; }
.po-timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--c-emerald), transparent); }
.po-tl-item { position: relative; padding-left: 84px; padding-bottom: 38px; }
.po-tl-item:last-child { padding-bottom: 0; }
.po-tl-item__num {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem;
  background: rgba(20,48,75,.8); border: 1px solid var(--c-navy-line); color: var(--c-emerald);
  transition: background .35s, transform .35s, color .35s;
}
.po-tl-item.is-inview .po-tl-item__num { background: var(--grad-emerald); color: var(--c-navy-deep); transform: scale(1.05); }
.po-tl-item h3 { color: #fff; font-size: 1.3rem; margin-bottom: .35rem; }
.po-tl-item p { color: rgba(255,255,255,.7); margin: 0; max-width: 60ch; }

/* =====================================================================
   AI CAPABILITIES (Section 6) — split feature
   ===================================================================== */
.po-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.po-feature-list { display: grid; gap: 14px; margin-top: 8px; }
.po-feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 18px 20px;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.po-feature:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); border-color: var(--c-emerald-soft); }
.po-feature .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--c-mist); color: var(--c-emerald-deep); display: grid; place-items: center; }
.po-feature .ic svg { width: 22px; height: 22px; }
.po-feature b { font-family: var(--ff-display); color: var(--c-navy); display: block; margin-bottom: 2px; }
.po-feature span { color: var(--c-slate); font-size: .92rem; }
.po-ai-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--grad-navy); padding: 36px; color: #fff; box-shadow: var(--shadow-lg); }
.po-ai-visual h3 { color: #fff; }
.po-ai-bar { height: 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); overflow: hidden; margin: 10px 0 18px; }
.po-ai-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-emerald); width: 0; transition: width 1.2s var(--ease-out); }
.po-ai-row { display: flex; justify-content: space-between; font-size: .9rem; color: rgba(255,255,255,.7); }
.po-ai-row b { color: #fff; font-family: var(--ff-display); }

/* =====================================================================
   WHY CHOOSE (Section 7)
   ===================================================================== */
.po-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.po-why__item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-md); transition: background .3s; }
.po-why__item:hover { background: var(--c-mist-2); }
.po-why__item .tick { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--grad-emerald); color: var(--c-navy-deep); display: grid; place-items: center; }
.po-why__item .tick svg { width: 16px; height: 16px; }
.po-why__item p { margin: 0; color: var(--c-slate-dark); font-weight: 500; }

/* =====================================================================
   WHO WE SERVE (Section 8)
   ===================================================================== */
.po-serve { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.po-serve__cell {
  border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 22px 18px; text-align: center; background: #fff;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s, color .35s;
}
.po-serve__cell:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--c-emerald-soft); }
.po-serve__cell .ic { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: var(--r-md); background: var(--c-mist); color: var(--c-emerald-deep); display: grid; place-items: center; transition: background .3s, color .3s; }
.po-serve__cell:hover .ic { background: var(--grad-emerald); color: var(--c-navy-deep); }
.po-serve__cell .ic svg { width: 24px; height: 24px; }
.po-serve__cell b { font-family: var(--ff-display); color: var(--c-navy); font-size: .98rem; }

/* =====================================================================
   VALUES (Section 9)
   ===================================================================== */
.po-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.po-value {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px;
  position: relative; transition: transform .4s var(--ease-out), box-shadow .4s;
}
.po-value:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.po-value__n { font-family: var(--ff-display); font-weight: 700; font-size: 1rem; color: var(--c-emerald-deep); opacity: .5; }
.po-value h3 { font-size: 1.2rem; margin: 6px 0 .4rem; }
.po-value p { color: var(--c-slate); font-size: .95rem; margin: 0; }

/* =====================================================================
   CTA (Section 10)
   ===================================================================== */
.po-cta { position: relative; overflow: hidden; }
.po-cta__box {
  background: var(--grad-navy); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 76px);
  text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.po-cta__box::before { content: ""; position: absolute; top: -40%; right: -10%; width: 50%; height: 180%; background: radial-gradient(closest-side, rgba(46,230,160,.22), transparent 70%); }
.po-cta__box::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(46,230,160,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(46,230,160,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 75%); }
.po-cta__inner { position: relative; z-index: 2; }
.po-cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.po-cta p { color: rgba(255,255,255,.8); font-size: 1.18rem; max-width: 56ch; margin: 0 auto 32px; }
.po-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.po-footer { background: var(--c-navy-deep); color: rgba(255,255,255,.7); padding-block: 70px 30px; }
.po-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--c-navy-line); }
.po-footer img.brand { height: 52px; margin-bottom: 18px; }
.po-footer p { font-size: .95rem; color: rgba(255,255,255,.6); }
.po-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.po-footer ul li { margin-bottom: 10px; }
.po-footer ul a { color: rgba(255,255,255,.65); font-size: .95rem; }
.po-footer ul a:hover { color: var(--c-emerald); }
.po-footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin-bottom: 12px; }
.po-footer__contact svg { width: 18px; height: 18px; flex: none; color: var(--c-emerald); margin-top: 3px; }
.po-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; font-size: .88rem; color: rgba(255,255,255,.5); }
.po-social { display: flex; gap: 10px; }
.po-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--c-navy-line); display: grid; place-items: center; color: rgba(255,255,255,.7); transition: all .3s; }
.po-social a:hover { border-color: var(--c-emerald); color: var(--c-emerald); transform: translateY(-3px); }
.po-social svg { width: 18px; height: 18px; }

/* =====================================================================
   PAGE HERO (interior pages) + content
   ===================================================================== */
.po-pagehero { background: var(--grad-navy); color: #fff; padding: 160px 0 80px; position: relative; overflow: hidden; }
.po-pagehero::before { content:""; position:absolute; inset:0; background-image: radial-gradient(ellipse 50% 60% at 80% 20%, rgba(46,230,160,.14), transparent 70%); }
.po-pagehero__inner { position: relative; z-index: 2; }
.po-pagehero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.po-pagehero p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 60ch; }
.po-breadcrumb { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 18px; font-family: var(--ff-display); }
.po-breadcrumb a { color: var(--c-emerald-soft); }

.po-content { max-width: 760px; margin-inline: auto; }
.po-content h2 { font-size: 1.7rem; margin-top: 1.8em; }
.po-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.po-content img { border-radius: var(--r-md); margin: 1.5em 0; }
.po-content ul:not([class]) { list-style: none; margin: 1em 0; }
.po-content ul:not([class]) li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.po-content ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--grad-emerald); transform: rotate(45deg); }
.po-content blockquote { border-left: 4px solid var(--c-emerald); background: var(--c-mist-2); padding: 18px 24px; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 1.5em 0; font-style: italic; color: var(--c-navy); }

/* ---------- Blog ---------- */
.po-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.po-post { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s; display: flex; flex-direction: column; }
.po-post:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.po-post__thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--c-mist); }
.po-post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.po-post:hover .po-post__thumb img { transform: scale(1.06); }
.po-post__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.po-post__meta { font-size: .8rem; color: var(--c-emerald-deep); font-family: var(--ff-display); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.po-post h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.po-post h3 a { color: var(--c-navy); }
.po-post h3 a:hover { color: var(--c-emerald-deep); }
.po-post p { color: var(--c-slate); font-size: .95rem; }
.po-post__more { margin-top: auto; font-family: var(--ff-display); font-weight: 600; color: var(--c-emerald-deep); font-size: .92rem; }

.po-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.po-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--c-border); font-family: var(--ff-display); color: var(--c-navy); }
.po-pagination .page-numbers.current, .po-pagination .page-numbers:hover { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }

/* ---------- Contact ---------- */
.po-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.po-contact-card { background: var(--grad-navy); color: #fff; border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.po-contact-card h3 { color: #fff; }
.po-contact-card__row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--c-navy-line); }
.po-contact-card__row:last-child { border-bottom: 0; }
.po-contact-card__row .ic { width: 44px; height: 44px; flex: none; border-radius: var(--r-md); background: rgba(46,230,160,.12); color: var(--c-emerald); display: grid; place-items: center; }
.po-contact-card__row .ic svg { width: 22px; height: 22px; }
.po-contact-card__row b { color: #fff; font-family: var(--ff-display); display: block; }
.po-contact-card__row a, .po-contact-card__row span { color: rgba(255,255,255,.75); }

/* Generic form styling (used by plugin shortcodes too) */
.po-form { display: grid; gap: 16px; }
.po-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.po-field label { display: block; font-family: var(--ff-display); font-weight: 500; font-size: .9rem; color: var(--c-navy); margin-bottom: 6px; }
.po-field input, .po-field select, .po-field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--c-border); border-radius: var(--r-md);
  font-family: var(--ff-body); font-size: 1rem; color: var(--c-navy); background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.po-field input:focus, .po-field select:focus, .po-field textarea:focus {
  outline: none; border-color: var(--c-emerald); box-shadow: 0 0 0 4px rgba(46,230,160,.15);
}
.po-field textarea { min-height: 130px; resize: vertical; }

/* =====================================================================
   SCROLL REVEAL — base states (JS adds .is-revealed)
   ===================================================================== */
.po-reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.po-reveal.is-revealed { opacity: 1; transform: none; }
.po-reveal[data-reveal="left"] { transform: translateX(-40px); }
.po-reveal[data-reveal="right"] { transform: translateX(40px); }
.po-reveal[data-reveal="scale"] { transform: scale(.94); }
.po-reveal.is-revealed[data-reveal="left"],
.po-reveal.is-revealed[data-reveal="right"],
.po-reveal.is-revealed[data-reveal="scale"] { transform: none; }
.po-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.po-stagger.is-revealed > * { opacity: 1; transform: none; }

/* skip link + a11y */
.po-skip { position: absolute; left: -999px; top: 0; background: var(--c-emerald); color: var(--c-navy-deep); padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0; z-index: 1000; font-family: var(--ff-display); }
.po-skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--c-emerald); outline-offset: 2px; border-radius: 4px; }

/* =====================================================================
   SIDE MEDIA — uploadable image slots in split sections (AI, Why)
   ===================================================================== */
.po-side-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--c-mist); }
.po-side-media--tall { aspect-ratio: 3/4; max-height: 520px; }
.po-side-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.po-side-media__ph { width: 100%; height: 100%; display: grid; place-items: center; gap: 12px; text-align: center; padding: 30px; background: linear-gradient(150deg, var(--c-mist-2), var(--c-mist)); color: var(--c-slate); border: 2px dashed var(--c-border); }
.po-side-media__ph .po-ph-ic { width: 48px; height: 48px; color: var(--c-emerald-deep); }
.po-side-media__ph span { font-size: .9rem; max-width: 28ch; }
#why .po-why { grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) { #why .po-why { grid-template-columns: 1fr; } }

/* =====================================================================
   ABOUT (homepage section 2) — copy + uploadable image
   ===================================================================== */
.po-about-home__points { display: grid; gap: 12px; margin: 22px 0; }
.po-about-home__pt { display: flex; gap: 12px; align-items: center; }
.po-about-home__pt .tick { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--grad-emerald); color: var(--c-navy-deep); display: grid; place-items: center; }
.po-about-home__pt .tick svg { width: 15px; height: 15px; }
.po-about-home__pt p { margin: 0; font-weight: 500; color: var(--c-slate-dark); }
.po-about-home__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.po-about-home__media img { width: 100%; height: 100%; object-fit: cover; }
.po-about-home__placeholder { width: 100%; height: 100%; display: grid; place-items: center; gap: 12px; text-align: center; padding: 30px; background: linear-gradient(150deg, var(--c-mist-2), var(--c-mist)); color: var(--c-slate); border: 2px dashed var(--c-border); }
.po-about-home__placeholder .po-ph-ic { width: 48px; height: 48px; color: var(--c-emerald-deep); }
.po-about-home__placeholder span { font-size: .9rem; max-width: 30ch; }
.po-about-home__badge { position: absolute; right: 18px; bottom: 18px; background: var(--grad-emerald); color: var(--c-navy-deep); border-radius: var(--r-md); padding: 12px 18px; box-shadow: var(--shadow-emerald); font-family: var(--ff-display); }
.po-about-home__badge b { display: block; font-size: 1.5rem; line-height: 1; }
.po-about-home__badge span { font-size: .76rem; }


.po-services { background: var(--grad-ink); }
.po-services__bg { position: absolute; inset: 0; opacity: .8; background-image: radial-gradient(ellipse 80% 50% at 15% 0%, rgba(46,230,160,.12), transparent 50%), radial-gradient(ellipse 70% 50% at 90% 20%, rgba(37,99,235,.12), transparent 50%); pointer-events: none; }
.po-services .po-container { position: relative; z-index: 1; }

.po-shape-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1.2rem, 2.8vw, 1.8rem); }
@media (min-width: 900px) { .po-shape-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.po-ux-parent { width: 100%; height: 300px; perspective: 1000px; perspective-origin: 50% 50%; filter: drop-shadow(0 28px 50px rgba(0, 30, 24, 0.5)); }
.po-ux-card {
  position: relative; height: 100%; border-radius: 28px;
  background: linear-gradient(150deg, var(--c-navy-panel) 0%, var(--c-navy) 55%, var(--c-ink-2) 100%);
  border: 1px solid var(--glass-border);
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .55s ease, border-color .55s;
  box-shadow: rgba(0,0,0,0) 40px 50px 25px -40px, rgba(0,0,0,.3) 0 25px 25px -5px;
}
.po-ux-parent:hover .po-ux-card {
  transform: rotate3d(1, 1, 0, 22deg);
  border-color: rgba(46,230,160,.4);
  box-shadow: rgba(0,0,0,.45) 28px 48px 28px -38px, rgba(46,230,160,.18) 0 0 60px -10px, rgba(0,0,0,.2) 0 25px 35px 0;
}

/* glass sheen plane */
.po-ux-glass {
  position: absolute; inset: 8px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 40%);
  transform: translate3d(0, 0, 24px); transition: transform .55s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.po-ux-parent:hover .po-ux-glass { transform: translate3d(0, 0, 40px); }

/* orbiting icon cluster (top-right) */
.po-ux-logo { position: absolute; right: 0; top: 0; transform-style: preserve-3d; }
.po-ux-circle { display: block; position: absolute; aspect-ratio: 1; border-radius: 50%; top: 0; right: 0; box-shadow: rgba(46,230,160,.18) -8px 8px 14px 0; backdrop-filter: blur(5px); background: rgba(46,230,160,.08); transition: transform .55s cubic-bezier(0.22,1,0.36,1); }
.po-ux-circle:nth-child(1) { width: 170px; transform: translate3d(0,0,20px); top: 8px; right: 8px; }
.po-ux-circle:nth-child(2) { width: 140px; transform: translate3d(0,0,40px); top: 10px; right: 10px; transition-delay: .4s; }
.po-ux-circle:nth-child(3) { width: 110px; transform: translate3d(0,0,60px); top: 17px; right: 17px; transition-delay: .8s; }
.po-ux-circle:nth-child(4) { width: 80px; transform: translate3d(0,0,80px); top: 23px; right: 23px; transition-delay: 1.2s; }
.po-ux-circle:nth-child(5) { width: 50px; transform: translate3d(0,0,100px); top: 30px; right: 30px; display: grid; place-items: center; transition-delay: 1.6s; background: var(--grad-emerald); }
.po-ux-circle:nth-child(5) svg { width: 24px; height: 24px; color: var(--c-navy-deep); }
.po-ux-parent:hover .po-ux-circle:nth-child(1) { transform: translate3d(0,0,40px); }
.po-ux-parent:hover .po-ux-circle:nth-child(2) { transform: translate3d(0,0,70px); }
.po-ux-parent:hover .po-ux-circle:nth-child(3) { transform: translate3d(0,0,100px); }
.po-ux-parent:hover .po-ux-circle:nth-child(4) { transform: translate3d(0,0,130px); }
.po-ux-parent:hover .po-ux-circle:nth-child(5) { transform: translate3d(0,0,160px); }

.po-ux-content { position: absolute; left: 26px; right: 26px; bottom: 78px; transform: translate3d(0,0,26px); transition: transform .55s cubic-bezier(0.22,1,0.36,1); }
.po-ux-parent:hover .po-ux-content { transform: translate3d(0,0,50px); }
.po-ux-title { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 1.2rem; color: #fff; margin-bottom: 8px; line-height: 1.15; }
.po-ux-text { display: block; color: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.5; }

.po-ux-bottom { position: absolute; left: 26px; right: 26px; bottom: 24px; display: flex; align-items: center; justify-content: space-between; transform: translate3d(0,0,26px); transition: transform .55s cubic-bezier(0.22,1,0.36,1); }
.po-ux-parent:hover .po-ux-bottom { transform: translate3d(0,0,50px); }
.po-ux-step { font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; color: var(--c-emerald); opacity: .6; }
.po-ux-more-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-display); font-weight: 600; font-size: .9rem; color: var(--c-emerald); }
.po-ux-more-btn svg { width: 16px; height: 16px; transition: transform .3s; }
.po-ux-more-btn:hover svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .po-ux-parent:hover .po-ux-card { transform: none; }
  .po-ux-circle, .po-ux-glass, .po-ux-content, .po-ux-bottom { transition: none !important; }
}


.po-glass {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
/* timeline items become frosted glass cards */
.po-process .po-tl-item {
  background: var(--glass-bg-2); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--r-lg); padding: 24px 24px 24px 84px; margin-bottom: 16px;
}
.po-process .po-timeline::before { left: 51px; top: 28px; }
.po-process .po-tl-item__num { left: 24px; top: 24px; }
/* AI visual + contact card pick up the glass tokens */
.po-ai-visual { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.po-contact-card { background: linear-gradient(160deg, rgba(20,48,75,.6), rgba(10,20,34,.6)); border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
/* CTA box frosted over ink */
.po-cta { background: var(--grad-ink); }
.po-cta__box { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
/* process section now sits on ink to match hero */
.po-process { background: var(--grad-ink); }

/* generic admin notice (plugin-inactive shortcode fallback) */
.po-notice { background: rgba(46,230,160,.08); border: 1px dashed var(--c-emerald-deep); color: var(--c-navy); padding: 16px 18px; border-radius: var(--r-md); font-size: .92rem; }


@media (max-width: 1024px) {
  .po-split { grid-template-columns: 1fr; gap: 36px; }
  .po-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .po-serve { grid-template-columns: repeat(2, 1fr); }
  .po-values { grid-template-columns: repeat(2, 1fr); }
  .po-footer__top { grid-template-columns: 1fr 1fr; }
  .po-contact-grid { grid-template-columns: 1fr; }
  .po-posts { grid-template-columns: repeat(2, 1fr); }
  .po-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .po-hstat:nth-child(3)::before { display: none; }
  .po-hstat:nth-child(3), .po-hstat:nth-child(4) { border-top: 1px solid var(--glass-line); }
}
@media (max-width: 768px) {
  .po-nav, .po-header__cta .po-btn { display: none; }
  .po-burger { display: block; }
  .po-header__bar { padding: 8px 8px 8px 18px; }
  .po-grid--3, .po-grid--4, .po-grid--2 { grid-template-columns: 1fr; }
  .po-why { grid-template-columns: 1fr; }
  .po-serve { grid-template-columns: repeat(2, 1fr); }
  .po-values { grid-template-columns: 1fr; }
  .po-posts { grid-template-columns: 1fr; }
  .po-form .row2 { grid-template-columns: 1fr; }
  .po-hero { padding-top: 130px; }
  .po-orb { width: 150vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .po-reveal, .po-stagger > * { opacity: 1 !important; transform: none !important; }
  .po-orb::before, .po-orb::after { animation: none !important; }
}
