/**
 * FutureOps — Futuristic platform theme
 *
 * Classes:
 *   fo-theme  — shared typography, glass, radius (shell + work pages)
 *   fo-shell  — platform cyan/violet accents (--gold alias); NOT for vertical dashboards
 *   fo-fx     — marketing aurora + grid (landing, login, register only)
 *   fo-work   — calm dark work mode (setup, dashboards, onboarding)
 */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Design tokens (override legacy gold/cream palette) ─────────── */
body.fo-theme {
  --fo-bg: #03050a;
  --fo-bg2: #070b14;
  --fo-bg3: #0c1220;
  --fo-bg4: #111827;
  --fo-glass: rgba(255, 255, 255, 0.06);
  --fo-glass-hover: rgba(255, 255, 255, 0.1);
  --fo-glass-border: rgba(255, 255, 255, 0.16);
  --fo-glass-highlight: rgba(255, 255, 255, 0.22);
  --fo-surface: var(--fo-glass);

  --fo-cyan: #00e5ff;
  --fo-cyan-dim: rgba(0, 229, 255, 0.22);
  --fo-cyan-glow: rgba(0, 229, 255, 0.12);
  --fo-cyan-soft: rgba(0, 229, 255, 0.06);

  --fo-violet: #8b5cf6;
  --fo-violet-dim: rgba(139, 92, 246, 0.28);
  --fo-violet-glow: rgba(139, 92, 246, 0.14);

  --fo-magenta: #ec4899;
  --fo-text: #eef4ff;
  --fo-text-dim: rgba(238, 244, 255, 0.58);
  --fo-text-faint: rgba(238, 244, 255, 0.32);
  --fo-border: rgba(0, 229, 255, 0.14);
  --fo-border-strong: rgba(0, 229, 255, 0.32);

  --fo-radius-sm: 8px;
  --fo-radius-md: 12px;
  --fo-radius-lg: 16px;

  --sans: 'DM Sans', system-ui, sans-serif;
  --serif: 'Syne', 'DM Sans', sans-serif;
  --display: 'Syne', 'DM Sans', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  color: var(--fo-text);
  font-family: var(--sans);
}

/* Platform shell only — vertical dashboards keep their own --gold / --teal */
body.fo-theme.fo-shell {
  --bg: var(--fo-bg);
  --bg2: var(--fo-bg2);
  --bg3: var(--fo-bg3);
  --bg4: var(--fo-bg4);
  --gold: var(--fo-cyan);
  --gold-light: #67efff;
  --gold-dim: var(--fo-cyan-dim);
  --gold-glow: var(--fo-cyan-glow);
  --teal: var(--fo-cyan);
  --teal-dim: var(--fo-cyan-dim);
  --teal-glow: var(--fo-cyan-glow);
  --teal-bg: var(--fo-cyan-soft);
  --white: var(--fo-text);
  --white-dim: var(--fo-text-dim);
  --white-faint: rgba(238, 244, 255, 0.05);
  --accent: var(--fo-cyan);

  /* Vertical product accents (register / login cards) */
  --fo-v-psych: #8b70d8;
  --fo-v-legal: #5090e0;
  --fo-v-accounting: #c9a84c;
  --fo-v-general: #00b8b2;
  --fo-v-collections: #e05555;
}

body.fo-theme.fo-work,
body.fo-theme:not(.fo-fx) {
  background: var(--fo-bg) !important;
}

body.fo-theme.fo-work {
  background-color: var(--fo-bg) !important;
  background-image: none !important;
}

/* Let ambient layers show through (inline page CSS sets opaque html/body) */
html:has(body.fo-theme.fo-fx) {
  min-height: 100%;
  background: var(--fo-bg);
}

html:has(body.fo-theme.fo-fx),
html:has(body.fo-theme.fo-fx) body.fo-theme.fo-fx {
  background-color: transparent !important;
  background-image: none !important;
}

body.fo-theme.fo-fx {
  background-color: transparent !important;
}

/* ── Ambient background ─────────────────────────────────────────── */
body.fo-theme.fo-fx {
  position: relative;
  isolation: isolate;
}

body.fo-theme.fo-fx::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 8% 15%, rgba(0, 229, 255, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 92% 12%, rgba(139, 92, 246, 0.26) 0%, transparent 52%),
    radial-gradient(ellipse 45% 40% at 72% 78%, rgba(236, 72, 153, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 18% 82%, rgba(0, 229, 255, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #03050a 0%, #050810 45%, #03050a 100%);
}

body.fo-theme.fo-fx::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle 280px at 12% 35%, rgba(0, 229, 255, 0.2) 0%, transparent 100%),
    radial-gradient(circle 220px at 88% 28%, rgba(139, 92, 246, 0.22) 0%, transparent 100%),
    radial-gradient(circle 200px at 55% 88%, rgba(236, 72, 153, 0.12) 0%, transparent 100%),
    linear-gradient(rgba(0, 229, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.08) 1px, transparent 1px);
  background-size: auto, auto, auto, 48px 48px, 48px 48px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 15%, transparent 100%);
}

/* ── Glass morphism ─────────────────────────────────────────────── */
body.fo-theme .fo-glass,
body.fo-theme .fo-glass-panel,
body.fo-theme .card,
body.fo-theme .card-sm,
body.fo-theme .login-box,
body.fo-theme .auth-box,
body.fo-theme .ind-card,
body.fo-theme .plan-card,
body.fo-theme .product-card,
body.fo-theme .arch-diagram,
body.fo-theme .service-card,
body.fo-theme .review-card,
body.fo-theme .aria-speech,
body.fo-theme .brand-card,
body.fo-theme .pricing-table,
body.fo-theme .demo-card,
body.fo-theme .demo-kpi,
body.fo-theme .kpi-card,
body.fo-theme .snap-item,
body.fo-theme .org-block,
body.fo-theme .register-panel {
  position: relative;
  background: var(--fo-glass) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-color: var(--fo-glass-border) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 var(--fo-glass-highlight),
    inset 0 0 0 1px rgba(0, 229, 255, 0.05) !important;
}

body.fo-theme .fo-glass::before,
body.fo-theme .fo-glass-panel::before,
body.fo-theme .login-box.fo-glass::before,
body.fo-theme .ind-card::before,
body.fo-theme .plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
  z-index: 1;
}

body.fo-theme .ind-card:hover,
body.fo-theme .plan-card:hover,
body.fo-theme .product-card:hover,
body.fo-theme .brand-card:hover {
  background: var(--fo-glass-hover) !important;
  border-color: rgba(0, 229, 255, 0.35) !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(0, 229, 255, 0.08),
    inset 0 1px 0 var(--fo-glass-highlight) !important;
}

body.fo-theme .ind-card.selected,
body.fo-theme .plan-card.selected {
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.14), rgba(139, 92, 246, 0.08)) !important;
  border-color: rgba(0, 229, 255, 0.45) !important;
}

/* Register: vertical accent when industry selected */
body.fo-shell #ind-psych.selected {
  background: linear-gradient(160deg, rgba(139, 112, 216, 0.2), rgba(139, 112, 216, 0.06)) !important;
  border-color: rgba(139, 112, 216, 0.55) !important;
  box-shadow: 0 0 24px rgba(139, 112, 216, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.fo-shell #ind-legal.selected {
  background: linear-gradient(160deg, rgba(80, 144, 224, 0.2), rgba(80, 144, 224, 0.06)) !important;
  border-color: rgba(80, 144, 224, 0.55) !important;
  box-shadow: 0 0 24px rgba(80, 144, 224, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.fo-shell #ind-accounting.selected {
  background: linear-gradient(160deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.06)) !important;
  border-color: rgba(201, 168, 76, 0.55) !important;
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.fo-shell #ind-general.selected {
  background: linear-gradient(160deg, rgba(0, 184, 178, 0.2), rgba(0, 184, 178, 0.06)) !important;
  border-color: rgba(0, 184, 178, 0.55) !important;
  box-shadow: 0 0 24px rgba(0, 184, 178, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.fo-shell .brand-card[data-vertical="psych"]:hover {
  border-color: rgba(139, 112, 216, 0.45) !important;
  box-shadow: 0 0 20px rgba(139, 112, 216, 0.1) !important;
}

body.fo-shell .brand-card[data-vertical="legal"]:hover {
  border-color: rgba(80, 144, 224, 0.45) !important;
  box-shadow: 0 0 20px rgba(80, 144, 224, 0.1) !important;
}

body.fo-shell .brand-card[data-vertical="bookmind"]:hover,
body.fo-shell .brand-card[data-vertical="accounting"]:hover {
  border-color: rgba(201, 168, 76, 0.45) !important;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.1) !important;
}

body.fo-shell #ind-general.selected {
  background: linear-gradient(160deg, rgba(0, 184, 178, 0.2), rgba(0, 184, 178, 0.06)) !important;
  border-color: rgba(0, 184, 178, 0.55) !important;
  box-shadow: 0 0 24px rgba(0, 184, 178, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.fo-shell #ind-collections.selected {
  background: linear-gradient(160deg, rgba(224, 85, 85, 0.2), rgba(224, 85, 85, 0.06)) !important;
  border-color: rgba(224, 85, 85, 0.55) !important;
  box-shadow: 0 0 24px rgba(224, 85, 85, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.fo-shell .brand-card[data-vertical="collections"]:hover {
  border-color: rgba(224, 85, 85, 0.45) !important;
  box-shadow: 0 0 20px rgba(224, 85, 85, 0.1) !important;
}

body.fo-shell .brand-card[data-vertical="general"]:hover {
  border-color: rgba(0, 184, 178, 0.45) !important;
  box-shadow: 0 0 20px rgba(0, 184, 178, 0.1) !important;
}

body.fo-theme .plan-card.featured {
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.12), rgba(139, 92, 246, 0.1)) !important;
}

body.fo-theme .arch-core {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(139, 92, 246, 0.08)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

body.fo-theme .arch-mod {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Transparent section shells — glass cards float over aurora */
body.fo-theme .hero,
body.fo-theme .arch,
body.fo-theme .products,
body.fo-theme .pricing,
body.fo-theme .wrap,
body.fo-theme .right,
body.fo-theme .setup-content {
  background: transparent !important;
}

body.fo-theme .login-box.fo-glass,
body.fo-theme .fo-glass-panel {
  padding: 36px 32px;
  border-radius: var(--fo-radius-md) !important;
  border: 1px solid var(--fo-glass-border) !important;
}

body.fo-theme .register-panel {
  padding: 36px 32px;
  border-radius: var(--fo-radius-md) !important;
  border: 1px solid var(--fo-glass-border) !important;
  margin-top: 8px;
}

body.fo-theme .arch-diagram,
body.fo-theme .pricing-table {
  border-radius: var(--fo-radius-md) !important;
  overflow: hidden;
  border: 1px solid var(--fo-glass-border) !important;
}

body.fo-theme .product-card,
body.fo-theme .ind-card,
body.fo-theme .plan-card,
body.fo-theme .brand-card,
body.fo-theme .demo-card,
body.fo-theme .kpi-card,
body.fo-theme .demo-kpi,
body.fo-theme .review-card,
body.fo-theme .snap-item,
body.fo-theme .core-pill,
body.fo-theme .pc-feat {
  border-radius: var(--fo-radius-sm) !important;
}

body.fo-theme.fo-work .fo-glass,
body.fo-theme.fo-work .register-panel,
body.fo-theme.fo-work .login-box.fo-glass,
body.fo-theme.fo-work .product-card,
body.fo-theme.fo-work .ind-card,
body.fo-theme.fo-work .plan-card,
body.fo-theme.fo-work .review-card,
body.fo-theme.fo-work .aria-speech,
body.fo-theme.fo-work .kpi-card,
body.fo-theme.fo-work.aria-setup .step-wrap.active {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body.fo-theme.fo-work .fo-hero-ring,
body.fo-theme.fo-work .fo-chip-dot {
  display: none !important;
  animation: none !important;
}

body.fo-theme.fo-work nav,
body.fo-theme.fo-work .steps-bar,
body.fo-theme.fo-work .sidebar,
body.fo-theme.fo-work .left,
body.fo-theme.fo-work .aria-panel,
body.fo-theme.fo-work .topbar {
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

body.fo-theme.aria-setup .step-wrap.active {
  background: var(--fo-glass) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--fo-glass-border);
  border-radius: var(--fo-radius-md);
  padding: 28px 32px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 var(--fo-glass-highlight);
}

body.fo-theme .steps-bar .fo-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.fo-theme .steps-bar .fo-logo-name {
  font-size: 1.05rem;
}

/* ── Setup wizard sidebar brand ─────────────────────────────────── */
body.fo-theme.aria-setup .fo-setup-brand {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--fo-border);
}

.fo-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.fo-logo-mark {
  width: 40px;
  height: 40px;
  position: relative;
  flex-shrink: 0;
}

.fo-logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--fo-cyan) 0%, var(--fo-violet) 100%);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
}

.fo-logo-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--fo-bg);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
}

.fo-logo-mark span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--fo-cyan), var(--fo-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fo-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.fo-logo-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fo-text);
}

.fo-logo-name em {
  font-style: normal;
  background: linear-gradient(90deg, var(--fo-cyan), var(--fo-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fo-logo-tag {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fo-text-dim);
  margin-top: 2px;
}

/* ── Typography helpers ─────────────────────────────────────────── */
body.fo-theme .fo-display,
body.fo-theme .hero-h,
body.fo-theme .login-title,
body.fo-theme .step-title,
body.fo-theme .section-h,
body.fo-theme .section-title,
body.fo-theme .tb-title,
body.fo-theme .nav-logo,
body.fo-theme .brand-name,
body.fo-theme .steps-brand,
body.fo-theme .sb-name,
body.fo-theme .complete-title,
body.fo-theme .aria-name {
  font-family: var(--display) !important;
  letter-spacing: -0.02em;
}

body.fo-theme .fo-eyebrow,
body.fo-theme .hero-tag,
body.fo-theme .section-eyebrow,
body.fo-theme .step-num {
  font-family: var(--mono) !important;
  color: var(--fo-cyan) !important;
  letter-spacing: 0.18em;
}

body.fo-theme em,
body.fo-theme .hero-h em,
body.fo-theme .section-h em {
  font-style: normal;
  background: linear-gradient(90deg, var(--fo-cyan), var(--fo-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Navigation (frosted) ───────────────────────────────────────── */
body.fo-theme nav,
body.fo-theme .steps-bar,
body.fo-theme .topbar,
body.fo-theme .demo-topbar {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-color: var(--fo-glass-border) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.fo-theme .sidebar,
body.fo-theme .left,
body.fo-theme .aria-panel,
body.fo-theme .demo-sidebar {
  background: rgba(255, 255, 255, 0.035) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-color: var(--fo-glass-border) !important;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

body.fo-theme .left {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* ── Buttons ────────────────────────────────────────────────────── */
body.fo-theme .btn-primary,
body.fo-theme .btn-cta,
body.fo-theme .btn-gold,
body.fo-theme .btn-next,
body.fo-theme .btn-primary.btn-sm {
  background: linear-gradient(135deg, var(--fo-cyan) 0%, #0099cc 50%, var(--fo-violet) 100%) !important;
  color: #030508 !important;
  border: none !important;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-weight: 700 !important;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

body.fo-theme .btn-primary:hover,
body.fo-theme .btn-cta:hover,
body.fo-theme .btn-gold:hover,
body.fo-theme .btn-next:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.fo-theme .btn-ghost,
body.fo-theme .btn-back,
body.fo-theme .btn-skip {
  border-color: var(--fo-border-strong) !important;
  color: var(--fo-cyan) !important;
}

body.fo-theme .btn-ghost:hover {
  background: var(--fo-cyan-glow) !important;
}

/* ── Form inputs ────────────────────────────────────────────────── */
body.fo-theme .f-input,
body.fo-theme .f-select,
body.fo-theme .form-control,
body.fo-theme .tb-search {
  background: rgba(238, 244, 255, 0.04) !important;
  border-color: rgba(0, 229, 255, 0.12) !important;
  color: var(--fo-text) !important;
}

body.fo-theme .f-input:focus,
body.fo-theme .f-select:focus,
body.fo-theme .form-control:focus {
  border-color: rgba(0, 229, 255, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

/* ── Cards & chips ──────────────────────────────────────────────── */
body.fo-theme .brand-mark,
body.fo-theme .sb-mark,
body.fo-theme .brand-card:hover,
body.fo-theme .ind-card.selected,
body.fo-theme .plan-card.selected,
body.fo-theme .product-card:hover,
body.fo-theme .vc.active,
body.fo-theme .nav-item.active,
body.fo-theme .step-item.active,
body.fo-theme .step.active .step-dot {
  border-color: var(--fo-cyan-dim) !important;
}

body.fo-theme .brand-mark,
body.fo-theme .sb-mark {
  background: linear-gradient(135deg, var(--fo-cyan), var(--fo-violet)) !important;
  color: #030508 !important;
  border-radius: 6px !important;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

body.fo-theme .nav-item.active,
body.fo-theme .step-item.active {
  background: var(--fo-cyan-glow) !important;
  border-left-color: var(--fo-cyan) !important;
  color: var(--fo-cyan) !important;
}

body.fo-theme .step-dot.done,
body.fo-theme .step.done .step-dot {
  background: linear-gradient(135deg, var(--fo-cyan), var(--fo-violet)) !important;
  border-color: transparent !important;
  color: #030508 !important;
}

body.fo-theme .step-dot.active,
body.fo-theme .step.active .step-dot {
  background: var(--fo-cyan-glow) !important;
  border-color: var(--fo-cyan) !important;
  color: var(--fo-cyan) !important;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
}

body.fo-theme .core-pill,
body.fo-theme .plan-chip,
body.fo-theme .ind-badge,
body.fo-theme .redirect-pill {
  background: var(--fo-cyan-soft) !important;
  border-color: var(--fo-cyan-dim) !important;
  color: var(--fo-cyan) !important;
}

/* ── Hero sections ──────────────────────────────────────────────── */
body.fo-theme .hero {
  background: transparent !important;
}

body.fo-theme .fo-hero-ring {
  position: absolute;
  width: min(680px, 90vw);
  height: min(680px, 90vw);
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
  animation: foRingPulse 8s ease-in-out infinite;
}

body.fo-theme .fo-hero-ring::before {
  content: '';
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.15);
  animation: foRingSpin 40s linear infinite;
}

@keyframes foRingPulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -55%) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -55%) scale(1.03); }
}

@keyframes foRingSpin {
  to { transform: rotate(360deg); }
}

/* ── Product / arch accents ─────────────────────────────────────── */
body.fo-theme .arch-core {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(139, 92, 246, 0.06)) !important;
}

body.fo-theme .product-card::before,
body.fo-theme .product-card.gold::before {
  background: linear-gradient(90deg, var(--fo-cyan), var(--fo-violet)) !important;
}

body.fo-theme .footer-brand,
body.fo-theme .arch-core-title,
body.fo-theme .pc-brand,
body.fo-theme .plan-name {
  color: var(--fo-cyan) !important;
}

body.fo-theme ::-webkit-scrollbar-thumb {
  background: var(--fo-cyan-dim) !important;
}

/* ── Status chips ───────────────────────────────────────────────── */
body.fo-theme .fo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fo-cyan);
  background: var(--fo-cyan-soft);
  border: 1px solid var(--fo-cyan-dim);
  border-radius: 999px;
}

body.fo-theme .fo-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fo-cyan);
  box-shadow: 0 0 8px var(--fo-cyan);
  animation: foDotPulse 2s ease-in-out infinite;
}

@keyframes foDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ── KPI / metric glow ──────────────────────────────────────────── */
body.fo-theme .kpi-card,
body.fo-theme .demo-kpi {
  position: relative;
  overflow: hidden;
}

body.fo-theme .kpi-card::before,
body.fo-theme .demo-kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--fo-cyan), var(--fo-violet), transparent);
  opacity: 0.65;
}

/* ── Org logo upload (setup) teal variant → cyan ─────────────────── */
body.fo-theme.aria-setup .org-logo-zone {
  border-color: var(--fo-cyan-dim) !important;
}

body.fo-theme.aria-setup .org-logo-zone:hover,
body.fo-theme.aria-setup .org-logo-zone.is-dragover {
  border-color: rgba(0, 229, 255, 0.55) !important;
  background: var(--fo-cyan-soft) !important;
}

body.fo-theme.aria-setup .org-logo-icon {
  background: var(--fo-cyan-soft) !important;
  border-color: var(--fo-cyan-dim) !important;
  color: var(--fo-cyan) !important;
}

body.fo-theme.aria-setup .org-logo-btn {
  background: var(--fo-cyan-soft) !important;
  border-color: var(--fo-cyan-dim) !important;
}

body.fo-theme .aria-online,
body.fo-theme .mas-dot {
  background: var(--fo-cyan) !important;
  box-shadow: 0 0 8px var(--fo-cyan);
}

body.fo-theme .cursor,
body.fo-theme .aria-subtitle {
  background: var(--fo-cyan) !important;
  color: var(--fo-cyan) !important;
}

body.fo-theme .aria-subtitle {
  background: none !important;
}

/* ── Trust strip (landing) ──────────────────────────────────────── */
body.fo-theme .fo-trust {
  padding: 28px 48px;
  border-top: 1px solid var(--fo-glass-border);
  border-bottom: 1px solid var(--fo-glass-border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.fo-theme .fo-trust-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
}

body.fo-theme .fo-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fo-text-dim);
}

body.fo-theme .fo-trust-item strong {
  color: var(--fo-cyan);
  font-weight: 500;
}

body.fo-theme footer.fo-footer {
  padding: 48px;
  border-top: 1px solid var(--fo-glass-border);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

body.fo-theme footer.fo-footer .footer-brand {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fo-text) !important;
}

body.fo-theme footer.fo-footer .footer-brand em {
  font-style: normal;
  background: linear-gradient(90deg, var(--fo-cyan), var(--fo-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.fo-theme footer.fo-footer a:hover {
  color: var(--fo-cyan) !important;
}

/* ── Homepage ARIA section ──────────────────────────────────────── */
body.fo-theme .fo-aria {
  padding: 100px 48px;
  border-top: 1px solid var(--fo-glass-border);
  border-bottom: 1px solid var(--fo-glass-border);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.03) 0%, transparent 50%, rgba(139, 92, 246, 0.04) 100%);
}

body.fo-theme .fo-aria-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}

body.fo-theme .fo-aria-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--fo-radius-md);
  overflow: hidden;
  border: 1px solid var(--fo-glass-border);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.12),
    0 24px 64px rgba(0, 0, 0, 0.45);
}

body.fo-theme .fo-aria-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

body.fo-theme .fo-aria-online {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fo-cyan);
  box-shadow: 0 0 12px var(--fo-cyan);
  animation: foDotPulse 2s ease-in-out infinite;
}

body.fo-theme .fo-aria-plate {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 18px 16px;
  background: linear-gradient(0deg, rgba(3, 5, 10, 0.96) 55%, transparent);
}

body.fo-theme .fo-aria-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
}

body.fo-theme .fo-aria-role {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fo-cyan);
  margin-top: 4px;
}

body.fo-theme .fo-aria-origin {
  margin-top: 16px;
  padding: 14px 16px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--fo-text-dim);
  background: var(--fo-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--fo-glass-border);
  border-radius: var(--fo-radius-sm);
}

body.fo-theme .fo-aria-origin strong {
  color: var(--fo-cyan);
  font-weight: 600;
}

body.fo-theme .fo-aria-speech {
  margin-bottom: 22px;
  padding: 18px 20px;
  background: var(--fo-glass) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--fo-glass-border) !important;
  border-radius: var(--fo-radius-md);
  border-left: 3px solid var(--fo-cyan) !important;
}

body.fo-theme .fo-aria-speech-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fo-cyan);
  margin-bottom: 10px;
}

body.fo-theme .fo-aria-speech-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--fo-text);
}

body.fo-theme .fo-aria-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: var(--fo-cyan);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: foAriaBlink 0.7s step-end infinite;
}

@keyframes foAriaBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

body.fo-theme .fo-aria-feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

body.fo-theme .fo-aria-feat {
  padding: 16px 18px;
  background: var(--fo-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--fo-glass-border);
  border-radius: var(--fo-radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.fo-theme .fo-aria-feat:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.08);
}

body.fo-theme .fo-aria-feat-icon {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

body.fo-theme .fo-aria-feat-name {
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 4px;
}

body.fo-theme .fo-aria-feat-sub {
  font-size: 0.74rem;
  color: var(--fo-text-dim);
  line-height: 1.55;
}

body.fo-theme .fo-aria-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 800px) {
  body.fo-theme .fo-aria {
    padding: 60px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.fo-theme .fo-trust {
    padding: 20px 16px;
  }

  body.fo-theme .fo-trust-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  body.fo-theme footer.fo-footer {
    padding: 32px 20px;
    flex-direction: column;
  }
}

/* ── Responsive polish ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body.fo-theme .fo-hero-ring,
  body.fo-theme .fo-hero-ring::before,
  body.fo-theme .fo-chip-dot {
    animation: none !important;
  }
}
