/* ================================================= */
/* ================= RESET / BASE ================== */
/* ================================================= */
* { box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
button, input, textarea { font: inherit; }

html, body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ================================================= */
/* ===================== HEADER ==================== */
/* ================================================= */
/* Reset básico elegante */




/* Header estilo Apple */
.mac-header {
  position: sticky;
  top: 0;
  width: 100%;
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
}

/* Contenedor */
.mac-nav {
  max-width: 1200px;
  margin: 0 auto;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

/* Marca */
.mac-brand a {
  font-size: 18px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  letter-spacing: -0.2px;
}

/* Links */
.mac-links a {
  font-size: 14px;
  color: #1d1d1f;
  text-decoration: none;
  margin-left: 24px;
  transition: opacity 0.2s ease;
}

.mac-links a:hover {
  opacity: 0.6;
}


/* ================================================= */
/* ===================== BUTTONS =================== */
/* ================================================= */
.btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}

.btn:hover {
  background: #f6f7f8;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: #1d1d1f;
  border: none;
  border-radius: 980px;
  padding: 14px 28px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #000;
  transform: scale(1.03);
}

/* ================================================= */
/* ===================== FOOTER ==================== */
/* ================================================= */
.footer {
  margin-top: auto;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(0,0,0,.6);
  border-top: 1px solid rgba(0,0,0,.12);
  background: #fafafa;
}

/* Reset básico para canvas */
canvas {
  vertical-align: middle;
}

/* Asegurar que los paneles sean enlaces válidos */
a.panel {
  text-decoration: none;
  color: inherit;
}
