/* Markadai LLC Design System */
/* Colors: Electric Blue (#007BFF), White, Black, Metallic Gray */

:root {
  /* Brand Colors */
  --primary-blue: #007BFF;
  --primary-white: #FFFFFF;
  --primary-black: #000000;
  --metallic-gray: #6C757D;
  --light-gray: #F8F9FA;
  --dark-gray: #343A40;
  
  /* Gradients */
  --tech-gradient: linear-gradient(135deg, #007BFF 0%, #0056B3 100%);
  --glow-gradient: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 86, 179, 0.1) 100%);
  
  /* Typography */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(0, 123, 255, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--primary-black);
  background-color: var(--primary-white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--tech-gradient);
  color: var(--primary-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--primary-white);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: var(--primary-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-lg);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 123, 255, 0.1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.card-interactive {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card-interactive::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--glow-gradient);
  transition: left var(--transition-slow);
  z-index: 1;
}

.card-interactive:hover::before {
  left: 0;
}

.card-interactive > * {
  position: relative;
  z-index: 2;
}

/* Animations */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 123, 255, 0.3); }
  50% { box-shadow: 0 0 30px rgba(0, 123, 255, 0.5); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

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

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

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

/* Language Toggle */
.language-toggle {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: rgba(0, 123, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--spacing-xs);
}

.language-toggle button {
  background: none;
  border: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.language-toggle button.active {
  background: var(--primary-blue);
  color: var(--primary-white);
}

.language-toggle button:hover:not(.active) {
  background: rgba(0, 123, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
  }
  
  .card {
    padding: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-white: #1a1a1a;
    --primary-black: #ffffff;
    --light-gray: #2d2d2d;
    --dark-gray: #f8f9fa;
  }
  
  body {
    background-color: var(--primary-white);
    color: var(--primary-black);
  }
  
  .card {
    background: #2d2d2d;
    border-color: rgba(0, 123, 255, 0.2);
  }
}