/* HydroMine Professional Design System */

/* Importação de fontes profissionais */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* Variáveis CSS para cores corporativas */
:root {
  /* Cores principais */
  --primary-blue: #1e40af;
  --secondary-blue: #3b82f6;
  --accent-gold: #f59e0b;
  --success-green: #10b981;
  --warning-orange: #f97316;
  --error-red: #ef4444;
  --neutral-gray: #6b7280;
  
  /* Backgrounds */
  --background-dark: #0f172a;
  --surface-dark: #1e293b;
  --surface-light: #334155;
  --surface-hover: #475569;
  
  /* Textos */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  /* Bordas e sombras */
  --border-color: #334155;
  --border-hover: #475569;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgb(59 130 246 / 0.3);
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  --gradient-gold: linear-gradient(135deg, var(--accent-gold), #fbbf24);
  --gradient-background: linear-gradient(135deg, var(--background-dark), #1e293b);
  
  /* Transições */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Espaçamentos */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
}

/* Reset e base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gradient-background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Tipografia */
.text-display {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.text-h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}

.text-h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}

.text-h4 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
}

.text-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.text-small {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.text-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
}

/* Cores de texto */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-blue { color: var(--secondary-blue); }
.text-gold { color: var(--accent-gold); }
.text-green { color: var(--success-green); }
.text-orange { color: var(--warning-orange); }
.text-red { color: var(--error-red); }

/* Layout containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Grid system */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

/* Cards e superfícies */
.card {
  background: var(--surface-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.card-premium {
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-light));
  border: 1px solid var(--secondary-blue);
  box-shadow: var(--shadow-glow);
}

.surface {
  background: var(--surface-dark);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

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

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

.btn-secondary {
  background: var(--surface-light);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--background-dark);
  font-weight: 600;
}

.btn-gold:hover {
  box-shadow: 0 0 20px rgb(245 158 11 / 0.4);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--secondary-blue);
  color: white;
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: 1rem;
}

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.75rem;
}

/* Inputs */
.input {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--surface-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: all var(--transition-normal);
}

.input:focus {
  outline: none;
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

.input::placeholder {
  color: var(--text-muted);
}

/* Badges e indicadores */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success {
  background: rgb(16 185 129 / 0.1);
  color: var(--success-green);
  border: 1px solid rgb(16 185 129 / 0.2);
}

.badge-warning {
  background: rgb(245 158 11 / 0.1);
  color: var(--accent-gold);
  border: 1px solid rgb(245 158 11 / 0.2);
}

.badge-error {
  background: rgb(239 68 68 / 0.1);
  color: var(--error-red);
  border: 1px solid rgb(239 68 68 / 0.2);
}

.badge-info {
  background: rgb(59 130 246 / 0.1);
  color: var(--secondary-blue);
  border: 1px solid rgb(59 130 246 / 0.2);
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgb(59 130 246 / 0.3); }
  50% { box-shadow: 0 0 30px rgb(59 130 246 / 0.5); }
}

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

.animate-slide-in {
  animation: slideIn 0.6s ease-out;
}

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

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

/* Utilidades */
.hidden { display: none; }
.visible { display: block; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }

/* Responsividade */
@media (max-width: 1024px) {
  .container, .container-wide {
    padding: 0 var(--spacing-md);
  }
  
  .text-display { font-size: 2.5rem; }
  .text-h1 { font-size: 2rem; }
  .text-h2 { font-size: 1.75rem; }
}

@media (max-width: 768px) {
  .container, .container-wide, .container-narrow {
    padding: 0 var(--spacing-md);
  }
  
  .text-display { font-size: 2rem; }
  .text-h1 { font-size: 1.75rem; }
  .text-h2 { font-size: 1.5rem; }
  
  .card {
    padding: var(--spacing-lg);
  }
  
  .btn-lg {
    padding: var(--spacing-md) var(--spacing-lg);
  }
}

@media (max-width: 480px) {
  .text-display { font-size: 1.75rem; }
  .text-h1 { font-size: 1.5rem; }
  .text-h2 { font-size: 1.25rem; }
  
  .card {
    padding: var(--spacing-md);
  }
}

