/* =====================================================================
   RevOpinion Design System 2.0
   Brand Colors: Royal Blue, Vivid Cyan, Deep Violet, Midnight Ink
   ===================================================================== */
:root {
  /* Brand Core */
  --ro-midnight: #060B19;
  --ro-surface-dark: #0A1226;
  --ro-surface-card: #0F1A36;
  --ro-surface-hover: #162447;
  
  --ro-blue: #2563EB;
  --ro-blue-bright: #3B82F6;
  --ro-blue-glow: rgba(37, 99, 235, 0.35);
  
  --ro-cyan: #00D2FF;
  --ro-cyan-bright: #38BDF8;
  --ro-cyan-glow: rgba(0, 210, 255, 0.35);
  
  --ro-violet: #7C3AED;
  --ro-violet-bright: #A855F7;
  --ro-violet-glow: rgba(124, 58, 237, 0.35);
  
  --ro-emerald: #10B981;
  --ro-amber: #F59E0B;
  --ro-rose: #F43F5E;
  
  /* Neutral Grays */
  --ro-text-heading: #FFFFFF;
  --ro-text-body: #E2E8F0;
  --ro-text-muted: #94A3B8;
  --ro-text-dim: #64748B;
  
  --ro-border-subtle: rgba(255, 255, 255, 0.08);
  --ro-border-card: rgba(255, 255, 255, 0.12);
  --ro-border-active: rgba(0, 210, 255, 0.45);
  
  /* Gradients */
  --ro-grad-brand: linear-gradient(135deg, #2563EB 0%, #00D2FF 100%);
  --ro-grad-violet: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
  --ro-grad-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(0, 210, 255, 0.2) 50%, rgba(124, 58, 237, 0.25) 100%);
  --ro-grad-card: linear-gradient(180deg, rgba(15, 26, 54, 0.85) 0%, rgba(10, 18, 38, 0.95) 100%);
  --ro-grad-card-highlight: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, rgba(15, 26, 54, 0.6) 100%);
  
  /* Shadows & Radius */
  --ro-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --ro-shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --ro-shadow-lg: 0 20px 45px -15px rgba(2, 6, 23, 0.7);
  --ro-shadow-glow: 0 0 35px -5px rgba(37, 99, 235, 0.4);
  --ro-shadow-cyan: 0 0 35px -5px rgba(0, 210, 255, 0.35);
  
  --ro-radius-sm: 8px;
  --ro-radius-md: 14px;
  --ro-radius-lg: 20px;
  --ro-radius-xl: 28px;
  
  /* Fonts */
  --ro-font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ro-font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ro-font-mono: 'JetBrains Mono', monospace;
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--ro-midnight);
  color: var(--ro-text-body);
  font-family: var(--ro-font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ro-font-heading);
  color: var(--ro-text-heading);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: var(--ro-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-violet {
  background: var(--ro-grad-violet);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.ro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--ro-radius-md);
  font-family: var(--ro-font-heading);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.ro-btn-primary {
  background: var(--ro-grad-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.ro-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 210, 255, 0.45);
}

.ro-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ro-text-heading);
  border-color: var(--ro-border-card);
  backdrop-filter: blur(10px);
}

.ro-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.ro-btn-outline {
  background: transparent;
  color: var(--ro-cyan);
  border-color: rgba(0, 210, 255, 0.4);
}

.ro-btn-outline:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: var(--ro-cyan);
}

/* Cards & Glass Containers */
.ro-card {
  background: var(--ro-grad-card);
  border: 1px solid var(--ro-border-card);
  border-radius: var(--ro-radius-lg);
  padding: 28px;
  backdrop-filter: blur(16px);
  box-shadow: var(--ro-shadow-md);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ro-card:hover {
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--ro-shadow-lg), 0 0 25px -5px rgba(37, 99, 235, 0.2);
}

/* Badges */
.ro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ro-badge-glow {
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--ro-cyan);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.2);
}

.ro-badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
}

/* Micro-animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

@keyframes glowRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-pulse-subtle {
  animation: pulseSubtle 2s ease-in-out infinite;
}
