/* ═══════════════════════════════════════════════════════════════
   PrimeX.io — Premium About Us Page (Task 23)
   Namespaced with the `au-` prefix (page-specific sections) plus the
   shared `pp-` hero/reveal conventions already used on the Privacy,
   Terms and Refund Policy pages, so this file never collides with
   landing.css, panel.css, admin.css or global-header.css. Reuses the
   exact --lp-* design tokens (colors, glass, radius, shadows) defined
   in landing.css so Light/Dark theming stays perfectly in sync with
   the header, footer and the rest of the Premium Design System.
   The "Platform Statistics" section intentionally reuses the existing
   .lp-stats* classes + #lpStatsGrid id from landing.css/landing.js so
   the exact same count-up animation engine powers both pages with
   zero duplicated JS.
   Must be loaded AFTER landing.css.
   ═══════════════════════════════════════════════════════════════ */

/* ══════════════ Hero ══════════════ */
.pp-hero{
  position: relative;
  z-index: 1;
  padding: 64px 20px 30px;
  overflow: hidden;
}
.pp-hero-inner{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.pp-hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lp-text-soft);
  background: var(--lp-glass);
  backdrop-filter: blur(var(--lp-glass-blur)) saturate(var(--lp-glass-sat));
  -webkit-backdrop-filter: blur(var(--lp-glass-blur)) saturate(var(--lp-glass-sat));
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  padding: 7px 16px;
  box-shadow: var(--lp-shadow-sm);
  margin-bottom: 20px;
}
.pp-hero-eyebrow-dot{ width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.pp-hero-title{
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--lp-text);
}
.pp-hero-subtitle{
  font-size: 16px;
  line-height: 1.6;
  color: var(--lp-text-soft);
  max-width: 620px;
  margin: 0 auto 26px;
}
.pp-hero-cta-row{ display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 8px; }

/* Soft animated gradient backdrop, clipped behind the hero only */
.pp-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.pp-hero-aurora{
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(38% 38% at 22% 30%, rgba(99,102,241,.4), transparent 70%),
    radial-gradient(42% 42% at 78% 20%, rgba(59,130,246,.35), transparent 70%),
    radial-gradient(36% 36% at 50% 90%, rgba(16,185,129,.25), transparent 70%);
  filter: blur(70px) saturate(1.4);
  opacity: .85;
  animation: ppAuroraDrift 18s ease-in-out infinite;
}
[data-theme="dark"] .pp-hero-aurora{ opacity: .5; }
@keyframes ppAuroraDrift{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(2%, -3%, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce){
  .pp-hero-aurora{ animation: none; }
}

/* ── "3D illustration" hero orb (pure CSS placeholder — no image asset) ── */
.au-hero-orb-wrap{
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 30px;
}
.au-hero-orb{
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), transparent 45%),
    conic-gradient(from 210deg, #6366f1, #3b82f6, #10b981, #6366f1);
  box-shadow: 0 30px 60px -20px rgba(99,102,241,.55), inset 0 0 40px rgba(255,255,255,.25);
  animation: auOrbSpin 14s linear infinite, auOrbFloat 6s ease-in-out infinite;
}
[data-theme="dark"] .au-hero-orb{ box-shadow: 0 30px 60px -20px rgba(99,102,241,.4), inset 0 0 40px rgba(255,255,255,.08); }
.au-hero-ring{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--lp-line);
  animation: auOrbFloat 6s ease-in-out infinite reverse;
}
.au-hero-ring-2{ inset: -14px; opacity: .6; animation-duration: 8s; }
.au-hero-chip{
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--lp-glass);
  backdrop-filter: blur(var(--lp-glass-blur)) saturate(var(--lp-glass-sat));
  -webkit-backdrop-filter: blur(var(--lp-glass-blur)) saturate(var(--lp-glass-sat));
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow-sm);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--lp-text);
  animation: auOrbFloat 5s ease-in-out infinite;
}
.au-hero-chip svg{ width: 13px; height: 13px; }
.au-chip-1{ top: -4px; left: -34px; animation-delay: .2s; }
.au-chip-2{ bottom: 6px; right: -40px; animation-delay: 1s; }
@keyframes auOrbSpin{ to{ transform: rotate(360deg); } }
@keyframes auOrbFloat{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce){
  .au-hero-orb, .au-hero-ring, .au-hero-chip{ animation: none; }
}
@media (max-width: 480px){
  .au-hero-chip{ display: none; }
}

/* ══════════════ Reveal-on-scroll (progressive enhancement) ══════════════ */
.pp-reveal{ opacity: 1; transform: none; }
.pp-js .pp-reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.pp-js .pp-reveal.pp-in{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .pp-js .pp-reveal{ opacity: 1; transform: none; transition: none; }
}

/* ══════════════ Generic section shell ══════════════ */
.au-section{
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 20px;
}
.au-section-tight{ padding-top: 14px; }
.au-section-head{ max-width: 720px; margin: 0 auto 32px; text-align: center; }
.au-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lp-text-soft);
  margin-bottom: 10px;
}
.au-eyebrow-dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--lp-text); opacity: .5; }
.au-section-title{
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--lp-text);
  margin: 0 0 10px;
}
.au-section-subtitle{ font-size: 15px; line-height: 1.7; color: var(--lp-text-soft); margin: 0; }

/* ── Glass prose card (Story / Who We Are / Mission / Vision) ── */
.au-card{
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow-sm);
  padding: 30px 26px;
}
@media (min-width: 640px){ .au-card{ padding: 36px 40px; } }
.au-card h2{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(19px, 3vw, 23px);
  font-weight: 800;
  color: var(--lp-text);
  margin: 0 0 14px;
}
.au-card-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 10px;
  background: var(--lp-bg-soft);
  color: var(--lp-text-soft);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
}
.au-card p{ font-size: 14.5px; line-height: 1.8; color: var(--lp-text-soft); margin: 0 0 12px; }
.au-card p:last-child{ margin-bottom: 0; }
.au-card ul{ margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.au-card li{ font-size: 14.5px; line-height: 1.75; color: var(--lp-text-soft); }
.au-card li strong{ color: var(--lp-text); }
.au-card a{ color: var(--lp-text); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.au-stack{ display: flex; flex-direction: column; gap: 18px; }

/* Two-column layout (prose + side card), stacks on mobile */
.au-split{ display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
@media (min-width: 900px){ .au-split{ grid-template-columns: 1.1fr .9fr; gap: 26px; } }

/* ── Feature cards (Why Choose Us) ── */
.au-feature-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px){ .au-feature-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .au-feature-grid{ grid-template-columns: repeat(4, 1fr); } }
.au-feature-card{
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow-sm);
  padding: 24px 20px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.au-feature-card:hover{ transform: translateY(-4px); box-shadow: var(--lp-shadow-md); }
.au-feature-icon{
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: #fff;
  margin-bottom: 14px;
}
.au-feature-icon svg{ width: 22px; height: 22px; }
.au-feature-title{ font-size: 15px; font-weight: 700; color: var(--lp-text); margin: 0 0 6px; }
.au-feature-desc{ font-size: 13.3px; line-height: 1.65; color: var(--lp-text-soft); margin: 0; }

/* ── Values grid ── */
.au-values-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px){ .au-values-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .au-values-grid{ grid-template-columns: repeat(5, 1fr); } }
.au-value-card{
  text-align: center;
  background: var(--lp-bg-soft);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 24px 16px;
}
.au-value-icon{
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  color: var(--lp-text);
}
.au-value-icon svg{ width: 21px; height: 21px; }
.au-value-title{ font-size: 14.5px; font-weight: 700; color: var(--lp-text); margin: 0 0 6px; }
.au-value-desc{ font-size: 12.8px; line-height: 1.6; color: var(--lp-text-soft); margin: 0; }

/* ── Reseller feature list card ── */
.au-reseller-card{
  background: var(--lp-bg-soft);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-lg);
  padding: 26px 24px;
}
.au-reseller-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.au-reseller-list li{ display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--lp-text-soft); line-height: 1.6; }
.au-reseller-check{
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lp-text);
  color: var(--lp-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.au-reseller-check svg{ width: 13px; height: 13px; }
.au-reseller-list strong{ color: var(--lp-text); }

/* ── Security grid (mirrors feature cards, 3-up) ── */
.au-security-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 22px;
}
@media (min-width: 720px){ .au-security-grid{ grid-template-columns: repeat(3, 1fr); } }
.au-security-card{
  background: var(--lp-bg-soft);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 22px 20px;
}
.au-security-icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  color: var(--lp-text);
  margin-bottom: 12px;
}
.au-security-icon svg{ width: 20px; height: 20px; }
.au-security-title{ font-size: 14.5px; font-weight: 700; color: var(--lp-text); margin: 0 0 6px; }
.au-security-desc{ font-size: 13.3px; line-height: 1.65; color: var(--lp-text-soft); margin: 0; }

/* ── Contact / CTA section ── */
.au-cta-card{
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow-md);
  padding: 44px 24px;
}
.au-cta-glow{
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 220px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(99,102,241,.28), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.au-cta-title{ position: relative; font-size: clamp(20px, 3.4vw, 27px); font-weight: 800; color: var(--lp-text); margin: 0 0 8px; }
.au-cta-subtitle{ position: relative; font-size: 14.5px; color: var(--lp-text-soft); max-width: 480px; margin: 0 auto 26px; }

.au-contact-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: left;
}
@media (min-width: 560px){ .au-contact-grid{ grid-template-columns: repeat(2, 1fr); } }
.au-contact-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-line);
  background: var(--lp-bg-soft);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.au-contact-card:hover{ transform: translateY(-2px); box-shadow: var(--lp-shadow-sm); border-color: var(--lp-text-soft); }
.au-contact-icon{
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-text);
}
.au-contact-icon svg{ width: 20px; height: 20px; }
.au-contact-info{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.au-contact-name{ font-size: 14.5px; font-weight: 700; color: var(--lp-text); }
.au-contact-status{ font-size: 12px; color: var(--lp-text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-contact-empty{ position: relative; font-size: 14.5px; color: var(--lp-text-soft); margin: 0 0 24px; }

.au-cta-actions{ position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ── Back-to-top (shared convention with Privacy/Terms/Refund) ── */
.pp-top-btn{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--lp-line);
  background: var(--lp-glass);
  backdrop-filter: blur(var(--lp-glass-blur)) saturate(var(--lp-glass-sat));
  -webkit-backdrop-filter: blur(var(--lp-glass-blur)) saturate(var(--lp-glass-sat));
  color: var(--lp-text);
  box-shadow: var(--lp-shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.pp-top-btn.pp-show{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.pp-top-btn:hover{ background: var(--lp-card); }
