/* styles/design-tokens.css */

:root {
  /* Brand colors - Navy Blue, Red, White, Orange */
  --efh-navy: #1e3a8a;
  --efh-navy-dark: #1e40af;
  --efh-navy-light: #3b82f6;
  --efh-red: #dc2626;
  --efh-red-dark: #b91c1c;
  --efh-red-light: #fecaca;
  --efh-orange: #f97316;
  --efh-orange-dark: #ea580c;
  --efh-orange-light: #fed7aa;
  --efh-white: #ffffff;

  /* Semantic colors */
  --color-success: #22c55e;
  --color-success-dark: #16a34a;
  --color-success-light: #86efac;
  --color-warning: #f59e0b;
  --color-warning-dark: #d97706;
  --color-warning-light: #fde68a;
  --color-error: #ef4444;
  --color-error-dark: #dc2626;
  --color-error-light: #fecaca;
  --color-info: #2563eb;
  --color-info-dark: #1d4ed8;
  --color-info-light: #93c5fd;

  /* Code editor / dark theme colors (GitHub-inspired) */
  --code-bg: #0d1117;
  --code-bg-secondary: #161b22;
  --code-bg-tertiary: #21262d;
  --code-border: #30363d;
  --code-text: #e6edf3;
  --code-text-muted: #8b949e;
  --code-text-subtle: #6e7681;
  --code-link: #58a6ff;
  --code-success: #3fb950;
  --code-success-emphasis: #238636;
  --code-danger: #f85149;
  --code-danger-emphasis: #da3633;
  --code-warning: #d29922;
  --code-warning-emphasis: #e3b341;
  --code-accent: #a074c4;

  /* VS Code-inspired editor colors */
  --editor-bg: #1e1e1e;
  --editor-sidebar: #252526;
  --editor-active: #3c3c3c;
  --editor-border: #2d2d2d;
  --editor-text: #d4d4d4;
  --editor-text-muted: #8b8b8b;
  --editor-accent: #0e639c;

  /* Language-specific syntax colors */
  --syntax-keyword: #569cd6;
  --syntax-string: #ce9178;
  --syntax-number: #b5cea8;
  --syntax-function: #dcdcaa;
  --syntax-variable: #9cdcfe;
  --syntax-comment: #6a9955;
  --syntax-type: #4ec9b0;
  --syntax-operator: #d4d4d4;

  /* Tech brand colors (for badges/icons) */
  --tech-javascript: #f7df1e;
  --tech-typescript: #3178c6;
  --tech-react: #61dafb;
  --tech-node: #339933;
  --tech-python: #3776ab;
  --tech-go: #00add8;
  --tech-rust: #dea584;
  --tech-ruby: #cc342d;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Typography scale */
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 1.875rem;
  --font-4xl: 2.25rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.15);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.18);

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
}

/* Elevate Brand Theme - Red, Blue, White with Mitchy-style animations */

/* ============================================================================
   BRAND COLORS
   ============================================================================ */
:root {
  --brand-primary: #2563eb; /* Blue */
  --brand-secondary: #dc2626; /* Red */
  --brand-white: #ffffff;
  --brand-light: #f8fafc;
  --brand-dark: #0f172a;
  --brand-gray: #374151;
}

/* Marketing readability baseline. Inter is a variable font in production;
   a 450 body weight prevents the thin/light appearance on large mobile displays
   while explicit Tailwind font-medium/semibold/bold utilities still win. */
body {
  font-weight: 450;
}

/* ============================================================================
   MARQUEE ANIMATIONS - Scrolling text like Mitchy
   ============================================================================ */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.animate-marquee {
  animation: marquee 25s linear infinite;
}

.animate-marquee-reverse {
  animation: marquee-reverse 25s linear infinite;
}

.animate-marquee:hover,
.animate-marquee-reverse:hover {
  animation-play-state: paused;
}

/* ============================================================================
   LOGO TICKER - Partner logos scrolling
   ============================================================================ */
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-ticker {
  animation: ticker 20s linear infinite;
}

/* ============================================================================
   HOVER EFFECTS
   ============================================================================ */
.hover-lift {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

/* ============================================================================
   GRADIENT TEXT
   ============================================================================ */
.gradient-text-blue-red {
  background: linear-gradient(135deg, #2563eb 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================================
   CARD STYLES
   ============================================================================ */
.card-elevated {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card-elevated:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.card-bordered {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.card-bordered:hover {
  border-color: #2563eb;
}

/* Glass effect for light theme */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ============================================================================
   BUTTON STYLES
   ============================================================================ */
.btn-primary {
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background-color: #dc2626;
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background-color: #b91c1c;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background-color: #2563eb;
  color: white;
}

.btn-white {
  background-color: white;
  color: #2563eb;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-white:hover {
  background-color: #f8fafc;
  transform: scale(1.05);
}

/* ============================================================================
   SECTION BACKGROUNDS
   ============================================================================ */
.bg-gradient-blue {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.bg-gradient-red {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.bg-gradient-hero {
  background: linear-gradient(135deg, #2563eb 0%, #dc2626 100%);
}

.bg-pattern {
  background-image: radial-gradient(circle at 1px 1px, #e2e8f0 1px, transparent 0);
  background-size: 40px 40px;
}

/* ============================================================================
   ANIMATED UNDERLINE
   ============================================================================ */
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #dc2626);
  transition: width 0.3s ease;
}

.animated-underline:hover::after {
  width: 100%;
}

/* ============================================================================
   FADE IN ANIMATIONS
   ============================================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}
.delay-500 {
  animation-delay: 0.5s;
}

/* ============================================================================
   PULSE ANIMATION
   ============================================================================ */
@keyframes pulse-blue {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
  }
}

.animate-pulse-blue {
  animation: pulse-blue 2s infinite;
}

/* ============================================================================
   NUMBER COUNTER STYLE
   ============================================================================ */
.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #2563eb 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================================
   TESTIMONIAL CARD
   ============================================================================ */
.testimonial-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #2563eb;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}

/* ============================================================================
   FEATURE ICON BOX
   ============================================================================ */
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  transition: all 0.3s ease;
}

.feature-icon:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  transform: scale(1.1);
}

