/* Variables CSS — Hom8 dark mode palette */
:root {
  --primary: #0369a1;
  --primary-dark: #075985;
  --secondary: #334155;
  --background: #0F172A;
  --foreground: #f1f5f9;
  --card: #1E293B;
  --muted: #1A2332;
  --muted-foreground: #94a3b8;
  --border: #2D3F55;
  --accent: #1e3a5f;
}


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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Estilos globales */
body {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  text-decoration: underline;
}

/* Botones */
.btn {
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(3, 105, 161, 0.3);
  text-decoration: none;
}

/* Remove hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
  .btn-primary:hover {
    transform: none;
    box-shadow: none;
  }
}

.btn-secondary {
  background: var(--accent);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--muted);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Remove hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
  .btn-secondary:hover {
    transform: none;
  }
}
