@tailwind base;
@tailwind components;
@tailwind utilities;

/* experimenta Corporate Design CSS Variables */
:root {
  /* experimenta Brand Colors */
  --color-purple: #2e1065;
  --color-purple-dark: #1a0a3a;
  --color-purple-light: #3d1585;

  --color-pink: #e6007e;
  --color-pink-dark: #e40521;
  --color-pink-light: #ff1a94;

  --color-orange: #f59d24;
  --color-orange-dark: #e88a0f;
  --color-orange-light: #ffb649;

  /* Primary Colors (legacy - keep for compatibility) */
  --color-primary: #2e1065;
  --color-primary-dark: #1a0a3a;
  --color-primary-light: #3d1585;

  /* Accent Colors */
  --color-accent: #f59d24;
  --color-accent-dark: #e88a0f;
  --color-accent-light: #ffb649;

  /* Neutral Colors */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Semantic Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;

  /* Typography */
  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
}

/* Base styles */
body {
  font-family: var(--font-sans);
  color: var(--color-gray-900);
  background-color: var(--color-gray-50);
}

/* Dark mode support (optional for future) */
@media (prefers-color-scheme: dark) {
  :root {
    --color-gray-50: #111827;
    --color-gray-900: #f9fafb;
  }

  body {
    background-color: var(--color-gray-900);
    color: var(--color-gray-50);
  }
}

/* experimenta Button with Gradient Animation */
.btn-experimenta {
  background: var(--color-pink);
  background-image: linear-gradient(to left, var(--color-pink), var(--color-pink), var(--color-pink-dark), var(--color-pink));
  background-size: 300%;
  background-position: 0%;
  transition: background-position 1s ease, all 0.3s ease;
  cursor: pointer;
}

.btn-experimenta:hover {
  background-position: 100%;
}

.btn-experimenta:focus {
  outline: 0;
}

.btn-experimenta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive adjustments for mobile */
@media (max-width: 480px) {
  .btn-experimenta {
    padding: 8px 24px !important;
    font-size: 16px !important;
  }
}
