/*
Theme Name:  Vault
Theme URI:   https://vault.movingforwardgroup.co.uk
Author:      Moving Forward Group
Author URI:  https://movingforwardgroup.co.uk
Description: Minimal Elementor scaffold. Header, footer, global CSS tokens. All page content built in Elementor.
Version:     1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vault
Tags:        elementor, dark, custom-colors, custom-logo
*/

/* ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --e-global-color-primary:   #0066FF;
  --e-global-color-secondary: #00A2FF;
  --e-global-color-text:      #ffffff;
  --e-global-color-accent:    #00D4FF;
  --vault-blue:       #0066FF;
  --vault-blue-mid:   #0080FF;
  --vault-blue-light: #00A2FF;
  --vault-border:     rgba(255,255,255,0.08);
  --vault-glow:       0 10px 30px rgba(0,102,255,0.4);
}

/* ── BASE ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
html  { scroll-behavior: smooth; }
body  { background: #000; color: #fff; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: -0.01em; overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; }
svg   { display: inline-block; flex-shrink: 0; }

/* ── ELEMENTOR GLOBAL OVERRIDES ─────────────────────────────────────── */
body.elementor-page { background: #000 !important; }
.elementor-section,
.e-con { background-color: transparent; }
.elementor-widget-container { line-height: inherit; }

/* ── UTILITY: GRADIENT TEXT ─────────────────────────────────────────── */
.vault-gradient-text,
.vault-el-gradient-text .elementor-heading-title {
  background: linear-gradient(135deg, #0066FF 0%, #00A2FF 50%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── UTILITY: GLASS CARD ─────────────────────────────────────────────── */
.vault-card,
.vault-el-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.vault-card:hover,
.vault-el-card:hover {
  border-color: rgba(0,102,255,0.4);
  transform: translateY(-4px);
}
.vault-card--featured,
.vault-el-card--featured {
  border-color: rgba(0,102,255,0.5) !important;
  background: linear-gradient(135deg, rgba(0,102,255,0.10) 0%, rgba(0,130,255,0.05) 100%);
}

/* ── UTILITY: WINDOW ─────────────────────────────────────────────────── */
.vault-window,
.vault-el-window {
  background: rgba(20,20,22,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* ── UTILITY: BUTTONS ────────────────────────────────────────────────── */
.vault-btn-primary,
.vault-el-btn-primary .elementor-button {
  background: linear-gradient(135deg, #0066FF, #0080FF) !important;
  color: #fff !important;
  border-radius: 14px !important;
  font-weight: 600 !important;
  box-shadow: 0 10px 30px rgba(0,102,255,0.4) !important;
  border: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
}
.vault-btn-primary:hover,
.vault-el-btn-primary .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0,102,255,0.6) !important;
}
.vault-btn-secondary,
.vault-el-btn-secondary .elementor-button {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 14px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}
.vault-btn-secondary:hover,
.vault-el-btn-secondary .elementor-button:hover {
  background: rgba(255,255,255,0.14) !important;
  border-color: rgba(0,102,255,0.5) !important;
}

/* ── UTILITY: BADGE ──────────────────────────────────────────────────── */
.vault-badge,
.vault-el-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0,102,255,0.10);
  border: 1px solid rgba(0,102,255,0.30);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── UTILITY: ANIMATIONS ─────────────────────────────────────────────── */
@keyframes vault-glow-pulse {
  0%, 100% { box-shadow: 0 0 60px 20px rgba(0,102,255,0.2); }
  50%       { box-shadow: 0 0 80px 30px rgba(0,102,255,0.3); }
}
.vault-glow-anim,
.vault-el-glow { animation: vault-glow-pulse 4s ease-in-out infinite; }

@keyframes vault-dot-pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }
.vault-live-dot,
.vault-el-live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0066FF;
  animation: vault-dot-pulse 2s ease-in-out infinite;
}

/* ── UTILITY: DOT PATTERN ────────────────────────────────────────────── */
.vault-dot-bg,
.vault-el-dot-bg {
  background-image: radial-gradient(circle, rgba(0,102,255,0.10) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── UTILITY: STEP NUMBER ────────────────────────────────────────────── */
.vault-step-num,
.vault-el-step-num {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #0066FF 0%, #00A2FF 50%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── UTILITY: COUNTER ────────────────────────────────────────────────── */
.vault-el-counter .elementor-counter-number-wrapper {
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  background: linear-gradient(135deg, #0066FF 0%, #00A2FF 50%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── UTILITY: TOGGLE/FAQ ─────────────────────────────────────────────── */
.vault-el-faq .elementor-toggle-item {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 20px !important;
  margin-bottom: 12px !important;
  overflow: hidden;
}
.vault-el-faq .elementor-toggle-title { color: #fff !important; font-weight: 700 !important; }
.vault-el-faq .elementor-toggle-content { color: rgba(255,255,255,0.65) !important; font-size: 15px !important; line-height: 1.6 !important; }

/* ── UTILITY: FORM ───────────────────────────────────────────────────── */
.vault-el-form .elementor-field-group input,
.vault-el-form .elementor-field-group textarea,
.vault-el-form .elementor-field-group select {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-family: inherit !important;
}
.vault-el-form .elementor-field-group input:focus,
.vault-el-form .elementor-field-group textarea:focus {
  border-color: rgba(0,102,255,0.5) !important;
  box-shadow: 0 0 0 3px rgba(0,102,255,0.12) !important;
  outline: none !important;
}

/* ── TRAFFIC DOTS ────────────────────────────────────────────────────── */
.vault-dot-r { display:inline-block; width:12px; height:12px; border-radius:50%; background:#FF5F57; }
.vault-dot-y { display:inline-block; width:12px; height:12px; border-radius:50%; background:#FEBC2E; }
.vault-dot-g { display:inline-block; width:12px; height:12px; border-radius:50%; background:#28C840; }

/* ── HEADER ──────────────────────────────────────────────────────────── */
#vault-menubar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#vault-menubar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vault-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.vault-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.vault-brand-name { font-weight: 800; font-size: 15px; color: #fff; letter-spacing: -0.03em; }
.vault-brand-sub  { font-size: 10px; color: rgba(255,255,255,0.4); }
.vault-tray       { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,0.5); }
.vault-tray-time  { font-size: 12px; font-weight: 500; min-width: 36px; text-align: right; }

/* ── CUSTOM LOGO ─────────────────────────────────────────────────────── */
.vault-custom-logo { display: flex; align-items: center; }
.vault-custom-logo a { display: flex; align-items: center; line-height: 1; }
.vault-custom-logo img {
  height: 36px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}
/* When custom logo is present, hide the fallback SVG mark */
.vault-has-logo .vault-logo-fallback { display: none; }

#vault-header-spacer { height: 44px; }

/* ── FOOTER ──────────────────────────────────────────────────────────── */
#vault-footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 24px 130px;
}
#vault-footer-inner { max-width: 1400px; margin: 0 auto; }
.vault-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.vault-footer-brand { display: flex; align-items: center; gap: 14px; }
.vault-footer-brand-name { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: #fff; }
.vault-footer-brand-sub  { font-size: 11px; color: rgba(255,255,255,0.4); }
.vault-sibling-links { display: flex; flex-wrap: wrap; gap: 8px; }
.vault-sibling-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.vault-sibling-link:hover { color: #fff; border-color: rgba(255,255,255,0.2); }
.vault-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.vault-footer-legal { display: flex; gap: 16px; }
.vault-footer-legal a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.vault-footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── DOCK ────────────────────────────────────────────────────────────── */
#vault-dock-wrapper {
  display: none; /* shown on desktop via media query */
  position: fixed;
  bottom: 20px;
  left: 0; right: 0;
  z-index: 9998;
  justify-content: center;
  pointer-events: none;
}
#vault-dock {
  pointer-events: auto;
  background: rgba(18,18,20,0.88);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.vault-dock-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.vault-dock-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
.vault-dock-item--cta {
  background: linear-gradient(135deg, #0066FF, #0080FF);
  color: #fff !important;
  padding: 9px 16px;
  box-shadow: 0 4px 18px rgba(0,102,255,0.45);
}
.vault-dock-item--cta:hover { box-shadow: 0 6px 24px rgba(0,102,255,0.65); }

/* ── MOBILE MENU ─────────────────────────────────────────────────────── */
#vault-mobile-btn {
  display: none; /* shown on mobile via media query */
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0066FF, #0080FF);
  box-shadow: 0 8px 28px rgba(0,102,255,0.55);
}
#vault-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.vault-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.vault-mobile-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vault-mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.vault-mobile-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s;
}
.vault-mobile-item:hover { background: rgba(255,255,255,0.05); }
.vault-mobile-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(0,102,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  #vault-dock-wrapper { display: flex; }
  #vault-mobile-btn   { display: none !important; }
}
@media (max-width: 767px) {
  #vault-dock-wrapper { display: none; }
  #vault-mobile-btn   { display: flex; }
}

/* ── SCROLLBAR ───────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* ── WP CORE ─────────────────────────────────────────────────────────── */
.alignleft  { float: left;  margin-right: 1.5em; }
.alignright { float: right; margin-left:  1.5em; }
