/*
Theme Name: Elite Virtual Investments
Theme URI: https://elitevirtual.com
Author: Elite Virtual Investments
Author URI: https://elitevirtual.com
Description: Premium corporate finance & loans WordPress theme. Exact layout, design, animations from Elite Virtual Investments - glass panels, live tickers, charts, parallax, and elite aesthetics.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: evi-theme
Tags: corporate, finance, business, custom-logo, custom-menu, featured-images, full-width-template, one-column, theme-options, translation-ready
*/

/* ============================================
   BASE & RESET - Override WordPress defaults
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #05080f;
  color: #e2e8f0;
  line-height: 1.5;
}
::selection { background: #d4af37; color: #02040a; }
a { color: inherit; text-decoration: none; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #05080f; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d4af37; }

/* ============================================
   BRAND COLORS (CSS Variables)
   ============================================ */
:root {
  --brand-dark: #05080f;
  --brand-primary: #0b1120;
  --brand-secondary: #1e293b;
  --brand-accent: #d4af37;
  --brand-accent-light: #f3e5ab;
  --brand-accent-dark: #aa8c2c;
  --brand-success: #10b981;
  --brand-danger: #ef4444;
}

/* ============================================
   GLASS PANELS
   ============================================ */
.glass-panel {
  background: rgba(255, 255, 255, 0.02);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-panel-strong {
  background: rgba(11, 17, 32, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.glass-panel-light {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes scan {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes glitch1 {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-2px, -2px); }
  80% { transform: translate(2px, 2px); }
  100% { transform: translate(0); }
}
@keyframes glitch2 {
  0% { transform: translate(0); }
  20% { transform: translate(2px, -2px); }
  40% { transform: translate(-2px, 2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(-2px, -2px); }
  100% { transform: translate(0); }
}
@keyframes reveal {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-fade-in { animation: fadeIn 1s ease-out forwards; }
.animate-ticker { animation: ticker 40s linear infinite; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-green { animation: pulseGreen 2s infinite; }
.animate-shimmer { animation: shimmer 2.5s infinite; }
.animate-scan-line { animation: scan 3s linear infinite; }
.animate-glitch-1 { animation: glitch1 0.3s infinite; }
.animate-glitch-2 { animation: glitch2 0.3s infinite; }
.animate-reveal { animation: reveal 0.5s ease-out forwards; }
.animate-spin-slow { animation: spin-slow 20s linear infinite; }

.tabular-nums { font-variant-numeric: tabular-nums; }
.text-balance { text-wrap: balance; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .animate-ticker { animation: none; }
}

/* ============================================
   EVI BUTTONS
   ============================================ */
.evi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
}
.evi-btn:focus { outline: 2px solid #d4af37; outline-offset: 2px; }
.evi-btn-sm { font-size: 0.75rem; padding: 0.625rem 1.25rem; border-radius: 0.5rem; }
.evi-btn-md { font-size: 0.875rem; padding: 0.875rem 1.75rem; border-radius: 0.75rem; }
.evi-btn-lg { font-size: 1rem; padding: 1rem 2.25rem; border-radius: 1rem; }
.evi-btn-primary {
  color: #05080f;
  background: #d4af37;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}
.evi-btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.4);
}
.evi-btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.evi-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
}

/* ============================================
   GRADIENT TEXT & VISIBILITY
   ============================================ */
.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-slate-200 { color: #e2e8f0; }
/* Gradient text fallback for hero/section headlines */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--brand-accent), #fff, var(--brand-accent)); }
.bg-gradient-to-r.from-brand-accent.to-white { background-image: linear-gradient(to right, var(--brand-accent), #fff); }
.bg-\[length\:200\%_100\%\] { background-size: 200% 100%; }

/* Form inputs - placeholder and focus */
#evi-funding-form input::placeholder,
#evi-funding-form textarea::placeholder { color: #475569; }
#evi-funding-form input:focus,
#evi-funding-form textarea:focus {
  outline: none;
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.5);
}
